Download data with binance plugin

Posted By: oldflatop

Download data with binance plugin - 10/27/21 16:37

Hello,

I am trying to download some data from binance using the Binance Plugin.
I keep getting this type error message:

Download
Login 0 Binance V3.. at UTC 10-27 16:31
Download...
Load AssetsTest
!ETH/BTC no data
!ETH/BTC 01-01 00:00:00 to 10-27 16:31:24 failed
!ETH/BTC no data
!ETH/BTC 01-01 00:00:00 to 10-27 16:30:24 failed - ETH/BTC history unavailable!
Error 056: Can't download ETH/BTC 2021 history
Done
Logout.. ok


My accounts line for binance:
Binance, https://api1.binance.com/api/, BTC, xxx, xxx, AssetsTest, BTC.B9,1,14,Binance.dll

and my AssetsTest.csv:
Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Leverage,LotAmount,Commission
ETH/BTC,0.01,0.0001,0,0,0.000001,0.000001,0,1,1,-0.1
ADA/BTC,0.01,0.0001,0,0,0.000001,0.000001,0,1,1,-0.1

any help/hint would be greatly appreciated.
Thanks
Posted By: Petra

Re: Download data with binance plugin - 10/28/21 09:13

The manual says that Binance has no price history beyond a few hours.
Posted By: oldflatop

Re: Download data with binance plugin - 10/29/21 17:35

Originally Posted by Petra
The manual says that Binance has no price history beyond a few hours.


what seemed to work was removing spaces on the accounts.csv.
It downloads the data. But a limited number of ticks/bars as you say.

now when I try to test live trades. I get these errors:

TradeTest
Login 0 Binance V3.. at UTC 10-29 17:25
Max Requests: 10.0 / sec
Vol 0.0 Spr 0.00000100 MCost 0.0100
V 2.409 on Fri 21-10-29 18:25:34 (Zorro S Subscription)

Trade: TradeTest ETHBTC (NFA) 2021-10-29
Assets AssetsTestBinance
Multiple assets..
Buy Long ADA/BTC
!&symbol=ADABTC&side=BUY&type=MARKET&newOrderRespType=FULL&quantity=5.0000&newClientOrderId=1635528333 {"code":-1022,"msg":"Signature for this request is not valid."}
Error 075 (ADA/BTC::L) - can't open 5@0.000032260 at 17:26:07
[Stop] at 17:26
Logout.. ok


Any suggestions on what might be the problem?
I have to confess tha I am experimenting zorrosS for crypto and compared to a simple python script, this it's turning into a nightmare.
Thanks.
Posted By: Grant

Re: Download data with binance plugin - 10/29/21 18:30

When you perform a Google search on the phrase "Signature for this request is not valid", then you find this page on top of your results: https://dev.binance.vision/t/faq-signature-for-this-request-is-not-valid/176
Posted By: oldflatop

Re: Download data with binance plugin - 10/29/21 19:05

Thanks for the link.
I also found it. But apart from rechecking my keys I'm still lost.
The point of asking the forum was to know if any of the members had the same sort of problem.

Cheers
© 2024 lite-C Forums