Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (howardR, sleakz), 706 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
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,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
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,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
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