Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Nymphodora, AndrewAMD, TipmyPip, Quad, Imhotep), 847 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Download data with binance plugin #484467
10/27/21 16:37
10/27/21 16:37
Joined: Apr 2021
Posts: 8
O
oldflatop Offline OP
Newbie
oldflatop  Offline OP
Newbie
O

Joined: Apr 2021
Posts: 8
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

Re: Download data with binance plugin [Re: oldflatop] #484472
10/28/21 09:13
10/28/21 09:13
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
The manual says that Binance has no price history beyond a few hours.

Re: Download data with binance plugin [Re: Petra] #484488
10/29/21 17:35
10/29/21 17:35
Joined: Apr 2021
Posts: 8
O
oldflatop Offline OP
Newbie
oldflatop  Offline OP
Newbie
O

Joined: Apr 2021
Posts: 8
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.

Re: Download data with binance plugin [Re: oldflatop] #484489
10/29/21 18:30
10/29/21 18:30
Joined: Aug 2017
Posts: 294
Netherlands
G
Grant Offline
Member
Grant  Offline
Member
G

Joined: Aug 2017
Posts: 294
Netherlands
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

Re: Download data with binance plugin [Re: Grant] #484490
10/29/21 19:05
10/29/21 19:05
Joined: Apr 2021
Posts: 8
O
oldflatop Offline OP
Newbie
oldflatop  Offline OP
Newbie
O

Joined: Apr 2021
Posts: 8
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


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1