jaggedsoft / node-binance-api

Node Binance API is an asynchronous node.js library for the Binance API designed to be easy to use.
MIT License
1.58k stars 767 forks source link

All future functions are giving same error #888

Closed emreozcan3320 closed 1 year ago

emreozcan3320 commented 1 year ago

I really need help. When i try to interact with future market I am getting connection timeout message.

This is an example code

image

another one

image

and this is the eror

image

and I gave future permission to API image

Eluvade commented 1 year ago

This is the least of your issues. Even if you find the cause to this, the futures data is inaccurate; the cache is getting corrupted.

However, my first advice would be to check your node-binance-api configuration. In particular, whether useServerTime and test are enabled or disabled. Additionally, sync the clock on your OS. You'll get timed out if the difference is over 5000ms.

emreozcan3320 commented 1 year ago

@Eluvade Thanks for the answer. Unfortunately, I started to use another broker with another library.