IsHusky:
Hi, need second opinion about message body as getting error 400 for response (Your client has issued a malformed or illegal request).
Code sample makes first request to Binance API about exchange info with success and second request about history bars fails with error 400, there must be something wrong with message body that is sent and I cannot figure out what is wrong.
Any ideas, please comment.
Seems that GET I can use workaround by sending full request as part of url. Strange but it works
string endpoint = "/api/v3/klines?symbol=BTCUSDT&interval=1m&limit=1000"; request = WebRequest("GET", BINANCE_API + endpoint, NULL, NULL, 5000, data, ArraySize(data), res_data, server_headers);

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, need second opinion about message body as getting error 400 for response (Your client has issued a malformed or illegal request).
Code sample makes first request to Binance API about exchange info with success and second request about history bars fails with error 400, there must be something wrong with message body that is sent and I cannot figure out what is wrong.
Any ideas, please comment.