SenseTecnic / node-red-contrib-binance

A Node-RED node wrapper to make API calls to the Binance exchange
Apache License 2.0
4 stars 8 forks source link

Question: Is this module compatible with binance.us? #2

Open ruralcoder opened 3 years ago

ruralcoder commented 3 years ago

For US citizens we are forced to use binance.us and not .com

Are you planning to support this?

If not, how can I change it to .us

Did not see in the code binance.com anywhere.

Thank you!

sdoherty0 commented 3 years ago

If you change all of the .com to .us in /config/node-red/node_modules/node-binance-api/node-binance-api.js (on a home assistant docker config - lines 15-18 -ish) Then restart node-red it works. I can confirm I have placed orders by making these changes. You probably looked in the wrong directory, as this node installs both the node wrapper and the back-end api, but they are in two different directories. If you update Node-Red and have installed this node from the palette manager, you may need to make the changes again (I did).