Gamestudio Links
Zorro Links
Newest Posts
Is Text Box data check possible?
by gamers. 02/17/20 11:09
Behaviour of user-defined bars
by Petra. 02/15/20 13:34
Optimization parameters results
by Petra. 02/15/20 13:22
Bollinger Band - Multi Timeframe
by migo. 02/15/20 06:50
Votes for future features
by 7th_zorro. 02/13/20 05:50
Quote size
by Zheka. 02/12/20 17:10
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
6 registered members (AndrewAMD, thomasprv, jenGs, Zheka, gamers, txesmi), 800 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
DebraSteed, Ricard, Apollo1, ziphnor, thomasprv
18377 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: 856
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 856
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: 856
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 856
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: 856
Chicago
AndrewAMD Online
User
AndrewAMD  Online
User

Joined: Feb 2017
Posts: 856
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.


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