I NEED HELPPPPP
but who is going to buy or sell through the command window?
HOW DO YOU RECORD TO A FILE EXECUTABLE ON PC OR ON MOBILE PHONE?
I NEED HELPPPPP
but who is going to buy or sell through the command window?
HOW DO YOU RECORD TO A FILE EXECUTABLE ON PC OR ON MOBILE PHONE?
I am a premium student, I have a problem for more than a week I have posted more than 3 times and I still have no answer, good course âŚ
Hey @R.C, hope you are great.
I already replied your executable files on another topic, now we do not teach nothing related to executable files on our courses.
If you have any more questions, please let us know so we can help you!
Carlos Z.
Hey @cincinnato, hope you are ok.
Now the USB Key is a feature to add a second layer of security on your Gemini Account, but to use it you will need an USB Security Key Device, if you dont have one, you should not activate that feature, also is not need it to complete the course, is just an extra feature from Gemini.
Here is some examples to give you a better idea: The best USB security keys for 2020
If you have any more questions, please let us know so we can help you!
Carlos Z.
Thank you for your reply. I know what is a security USB key, but I am surprised that Gemini asks for that like if I activated this service before. The account is new and I have never activated any USB security key. In any case, do you know if there is the possibility to exclude this control?
Sorry, I cancel all my previous words, it was my mistake. I clicked on Security --> Add new security key while I had to go on API --> Create a new API key. Simply my personal logic was to create an API key in the Security section.
Hi, when installing yarn i get this error⌠anyone can help here?
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access â/usr/local/lib/node_modulesâ
npm ERR! [Error: EACCES: permission denied, access â/usr/local/lib/node_modulesâ] {
npm ERR! errno: -13,
npm ERR! code: âEACCESâ,
npm ERR! syscall: âaccessâ,
npm ERR! path: â/usr/local/lib/node_modulesâ
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/awm/.npm/_logs/2020-10-26T02_44_23_109Z-debug.log
Hi Ivan,
2 questions on Gemini Sandbox
Q1. After login, i cannot see the âDash boardâ as per your video, is this normal?
Q2. When creating the new API key, do we need to create the Master or Primary?
Pls advice. Thank you.
Hey @De_Fi, hope you are great.
Have you tried to open your powershell console has Administrator?
If you have any more questions, please let us know so we can help you!
Carlos Z.
Probably Gemini changed their frontend few months ago, so the dashboard of this moment could look different from when the video get recorded.
I created a Private Key, there is some difference between them but i think the Private Key should be enough for the course.
If you have any more questions, please let us know so we can help you!
Carlos Z.
Hi again,
I managed to figure out that error, but ran into many more. i am using mac so the comands in the videos are somewhat different and require me to search for alternatives on some.
Installing yarn was completely different as i was getting to many errors
Im now up to video 14, using Gemini BUY ORDER. i installed the gemini API and all files where added. Here is the index.js code copied:
const GeminiAPI = require(âgemini-apiâ).default;
const secret = â";
const key = "â;
const restClient = new GeminiAPI({key, secret, sandbox:true});
restClient.newOrder({amount:1,price:13000,side:âbuyâ,symbol:âbtcusdtâ});
.then(response => console.log(response));
when executing in terminal im getting this error: node index.js
/Users/awm/Desktop/node/index.js:10
.then(response => console.log(response));
^
SyntaxError: Unexpected token â.â
at wrapSafe (node:internal/modules/cjs/loader:999:16)
at Module._compile (node:internal/modules/cjs/loader:1047:27)
at Object.Module._extensionsâŚjs (node:internal/modules/cjs/loader:1112:10)
at Module.load (node:internal/modules/cjs/loader:948:32)
at Function.Module._load (node:internal/modules/cjs/loader:789:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:72:12)
at node:internal/main/run_main_module:17:47
Hi Carlos,
Noted and thank you!
you have a miss typed ;
after your newOrder function.
function({arguments}).then(something)
as an Example.
If you have any more questions, please let us know so we can help you!
Carlos Z.
Thanks, i removed the ; now this is the new error:
node:internal/process/promises:218
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason â#â.] {
code: âERR_UNHANDLED_REJECTIONâ
}
Ok, you might have to use .catch
function to get any error from your function.
const restClient = new GeminiAPI({key, secret, sandbox:true});
restClient.newOrder({amount:1,price:13000,side:âbuyâ,symbol:âbtcusdtâ});
.then(response => console.log(response))
//add this line
.catch(console.error);
Carlos Z.
thanks again. very frustrating to say the least. new error:
{
result: âerrorâ,
reason: âMissingAccountsâ,
message: âExpected a JSON payload with accountsâ
}
Iâm sure that error appears because you are using the Master Key of Gemini API instead of Private Key.
The Master Key use some kind of account
argument that I think gemini-api-node does not manage. Try to change/create a Private Key.
Carlos Z
Bingo working now through terminal
thanks Carlos, have a good day
anyone here interested in helping connect API from Nomics to my website ?
happy to pay in crypto for your time
my email is [email protected]
hello,
iâm getting this error:
"yarn : File C:\Users\GamerX\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this s
ystem. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
What can i do?
Best regards,
Glenn