Gamestudio Links
Zorro Links
Newest Posts
retrain - data?
by danatrader. 09/20/20 05:27
Single advise model for portfolio
by jmlocatelli. 09/19/20 22:24
New Zorro version 2.30
by danatrader. 09/19/20 08:25
Special Bars Script
by danatrader. 09/19/20 00:41
NeoDumont's open world treadmill project
by NeoDumont. 09/19/20 00:30
Key_Pressed Variable
by Dooley. 09/18/20 22:46
lock profit without trail
by Grat. 09/18/20 14:30
how to use BrokerHistory2
by Grat. 09/18/20 14:29
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
5 registered members (danatrader, NewBorn, Grat, AndrewAMD, 1 invisible), 429 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
NewBorn, 3dvg, secretagentman, distribution, EditeY
18515 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
IB and historic data? #479068
02/11/20 20:22
02/11/20 20:22
Joined: Feb 2020
Posts: 3
Z
ziphnor Offline OP
Guest
ziphnor  Offline OP
Guest
Z

Joined: Feb 2020
Posts: 3
I am just starting out with Zorro (also looking at StockSharp and MultiCharts.NET), and i am having some trouble just running say the Z1 script as using "Test".

I am trying it out with IB (unfunded account), and i select Account: Demo and "IB(demo)". I then start TWS and log into "Paper Trading" mode. At first i just got "Error 055", but after searching this forum it seemed that i needed to download historic data. So i tried running the "Download" script. At first it could not find the TWS gateway, so i had to change the port. Following this do get !Account <number> at <timestamp>, but if i request say SPX500 i get:

"Download...
Login 0 IB (demo)..
!Open IB Socket 2.01
!Account <snip> at UTC 02-11 19:37
!No security definition has been found for the request SPX500/USD-STK--0--SMART--USD
!SPX500/USD 01-01 00:00:00 to 02-11 19:37:51 failed
!No security definition has been found for the request SPX500/USD-STK--0--SMART--USD
!No security definition has been found for the request SPX500/USD-STK--0--SMART--USD
!No security definition has been found for the request SPX500/USD-STK--0--SMART--USD
!No security definition has been found for the request SPX500/USD-STK--0--SMART--USD - SPX500 history unavailable!
Error 056: Can't download SPX500 2020 history"

If i select EUR/USD i get:

"Download...
Login 0 IB (demo)..
!Open IB Socket 2.01
!Account DU1803964 at UTC 02-11 19:39
!EUR/USD 2020 <timestamp> failed
"

What am i doing wrong?

Re: IB and historic data? [Re: ziphnor] #479069
02/11/20 20:28
02/11/20 20:28
Joined: Feb 2017
Posts: 1,090
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,090
Chicago
Maybe you should try to trade CFD's that IB actually offers.

See this page:
https://ibkb.interactivebrokers.com/node/1984

Re: IB and historic data? [Re: AndrewAMD] #479070
02/11/20 20:32
02/11/20 20:32
Joined: Feb 2020
Posts: 3
Z
ziphnor Offline OP
Guest
ziphnor  Offline OP
Guest
Z

Joined: Feb 2020
Posts: 3
Trying US30 (which is listed in that link):

"!Account <snip> at UTC 02-11 20:30 ok

Download...
!No security definition has been found for the request US30/USD-STK--0--SMART--USD
!No security definition has been found for the request US30/USD-STK--0--SMART--
!No security definition has been found for the request US30/USD-STK--0--SMART--USD
!US30/USD 01-01 00:00:00 to 02-11 20:30:40 failed
!No security definition has been found for the request US30/USD-STK--0--SMART--USD
!No security definition has been found for the request US30/USD-STK--0--SMART--USD - US30 history unavailable!
Error 056: Can't download US30 2020 history
Done
Logout.. ok
"

Re: IB and historic data? [Re: ziphnor] #479071
02/11/20 20:37
02/11/20 20:37
Joined: Feb 2017
Posts: 1,090
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,090
Chicago
Yes, but what is the symbol for that contract?

Re: IB and historic data? [Re: ziphnor] #479072
02/11/20 20:58
02/11/20 20:58
Joined: Feb 2020
Posts: 3
Z
ziphnor Offline OP
Guest
ziphnor  Offline OP
Guest
Z

Joined: Feb 2020
Posts: 3
The symbol at IB or from Zorro you mean? I don't understand where the "USD-STK--0--SMART--USD" part comes from, that is not something i recognize. Do you mean that the correct request would be for IBUS30?

I had kind of hoped that it was possible to follow the steps at https://manual.zorro-project.com/started.htm at least laugh

Re: IB and historic data? [Re: ziphnor] #479073
02/11/20 21:05
02/11/20 21:05
Joined: Feb 2017
Posts: 1,090
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,090
Chicago
Both.

Read these:
https://zorro-trader.com/manual/en/ib.htm
https://manual.zorro-project.com/account.htm

If you want to trade a specific product that IB offers, then you need to show IB the matching symbol so that it actually knows what you are trying to trade. For that, you must create a correct asset list.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1