Javascript bot programming using Gemini API, NodeJS and CryptoCompare - DISCUSSION


#21

Gemini not working in South Africa. Is it by any chance possible to give instructions to connect to Bitmex API?


#22

Thank you Jebel for your quick response, you are right I typed “sandbox” wrong but still the error is still there, its pointing on a “full-stop” at the beginning of the bottom line 7


#23

Attached is a screenshot of an error on line 7 and I do not know whats wrong


#24

we may offer that in the future, for now we only have Gemini unfortunately


#25

Please don’t take pictures like that as we can’t see your whole code, paste your code here in full


#26

It won’t be covered in this iteration of the class (hopefully in addendum), but you can install CCXT package via NPM and run through the examples etc… if Gemini doesn’t work for you in South Africa, this will help you get through the course.

It’s a unified syntax so you can use the same pkg to connect to multiple exchanges… I’m using it for Bitmex & Binance. Anywho… it’s not what this course covers, so you won’t be able to ask specific questions for help here, however it will work for you and depending on your level of understanding and tenacity to learn, it may be what you’re looking for.

Best of luck ;o)


#27

Hi Michael, your line 7 shouldn’t have a semi-column at the end.


#28

Hi Jebel,
Thank you for your help, you are a star


#30

Thank you. It worked and I was able to connect to Bitmex. I did not manage to connect to Bitmex Testnet but manage to connect to the “real” Bitmex which is fine.


#32

Gemini doesnt work in my country… I tried BitMEX but i couldnt get order information.
i got an error as “unexpected token”…
i see Bitmex is a little different but when you get file from npm you see all files is in it. Everything is almost ready. They provide codes already. but not for beginners …

Can you cover it for BitMEX too…Thank you.


#33

Same here. The problem is that we cannot even try gemini and afterwards try to adopt to bitmex.

Did anybody find out how to send an order to bitmex using bitmex-realtime-api? I read alot at https://www.bitmex.com/api/explorer/#!/Order/Order_new but I don’t know how to write the JS code to open an order. I dont even know where to look it up. ;(


#34

oh, so sad, Gemini exchange is not available in Ukraine . can’t register to get api keys ( Maybe someone knows exchanges that has all needed tools ( demo money, sandbox, api) and is available for entire world, so I will continue practicing the same things that we learn on this course but with other exchange ?
Thanks)


#35

I’ll try out on Bitmex