Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, Ayumi), 773 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
IB plugin price data is super slow #488000
12/24/23 06:41
12/24/23 06:41
Joined: May 2018
Posts: 134
S
SBGuy Offline OP
Member
SBGuy  Offline OP
Member
S

Joined: May 2018
Posts: 134
So, I finally made the switch to IB. I managed to revise my script to work on IB Gateway (Demo account, so far)

I have a 300 assets in my asset list. I believe the sloooooooooow live price data from IB is causing everything to slooooooooow down. I'm using IEX for assetHistory so I don't have the IB time associated with historical data download, which I'm sure would slow things down even more.

I even used SET_PRICETYPE=8 and things got a bit faster but still unusably slooooow.

One tick cycle to get prices for the 300 assets took like 30 minutes.

Then, I read about the magic powers of custom Asset Symbols. So I used a magic symbol like this: *-STK-SMART-USD!IEX:*!IEX:*

This uses IB to trade, IEX for live prices and historical data, and it just ripped like a REST API should. A tick cycle took about a minute for 300 live prices!!

However, IEX doesn't offer all the goodies like live options data and their live equity prices are only from the IEX exchange, not market wide prices.

Then I found polygon.io, which looks just absolutely perfect. I looked at polygon a few years ago and they didn't like look like they do now. Now, it looks like a better IEX.

Question:
1. Is my observation of IB pretty accurate, or am I doing something wrong?
2. Are there any special issues I need to think about when I use a combination symbol like this: *-STK-SMART-USD!IEX:*!IEX:*
3. Has anyone used polygon.io? Is it reliable?

Thanks in advance for any help and guidance.

Re: IB plugin price data is super slow [Re: SBGuy] #488016
12/28/23 13:47
12/28/23 13:47
Joined: Jul 2023
Posts: 11
helsinki
M
Miska Offline
Newbie
Miska  Offline
Newbie
M

Joined: Jul 2023
Posts: 11
helsinki
Hello SBGuy

So can you give me little help. So I tried to connect via Ib api and cant have progres. Do the zorros ip api work? And can you you check is this ticker name ok for Ib: ES-FUT-20240315-MES-CME/-USD

SP500 march future, mini I think?

Thanks

Miska

Re: IB plugin price data is super slow [Re: SBGuy] #488100
01/13/24 16:41
01/13/24 16:41
Joined: May 2018
Posts: 134
S
SBGuy Offline OP
Member
SBGuy  Offline OP
Member
S

Joined: May 2018
Posts: 134
Hi Miska, sorry, I'm only an options and equities trader. There are more FX traders on Zorro so you might want to post your question in a different section.

And yes the Zorro IB plugin works fine, but a bit slow. The extreme slowness I experienced over Christmas was no longer there.. probably IB server maintenance. However, option greeks are not available via fast mode SET_PRICETYPE=8. So, scanning greeks across multiple assets and multiple options chains proved to be too slow for real world trading. I'm looking fat aster alternatives. The problem is not every data source is perfect or affordable :-)


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