Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 838 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Interactive Brokers #394177
02/10/12 17:44
02/10/12 17:44
Joined: Feb 2012
Posts: 37
S
stevegee58 Offline OP
Newbie
stevegee58  Offline OP
Newbie
S

Joined: Feb 2012
Posts: 37
I do most of my trading using Interactive Brokers. I've also written many programs using their API. Is ZT's broker API published somewhere? I might be able to write a dll for it.

Re: Interactive Brokers [Re: stevegee58] #394179
02/10/12 18:05
02/10/12 18:05
Joined: Feb 2012
Posts: 37
S
stevegee58 Offline OP
Newbie
stevegee58  Offline OP
Newbie
S

Joined: Feb 2012
Posts: 37
Sorry I didn't search the other postings. InteractiveBrokers does not support MT4. Their API is proprietary.

But like I said I'm very familiar with this API so maybe I can help out.

Re: Interactive Brokers [Re: stevegee58] #394185
02/10/12 18:53
02/10/12 18:53
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Zorro does not have a DLL broker interface yet, but it's on our to do list. However you can already implement the IB API through the "broker" script function.

http://zorro-trader.com/manual/en/brokers.htm

This is a limited interface, but it should be sufficient to send buy and sell commands to your broker. The price data must be received the usual way from a FXCM demo account.

For accessing your DLL through the "broker" function, use the lite-C DLL interface:

http://zorro-trader.com/manual/en/litec_api.htm

Re: Interactive Brokers [Re: jcl] #394186
02/10/12 19:04
02/10/12 19:04
Joined: Feb 2012
Posts: 37
S
stevegee58 Offline OP
Newbie
stevegee58  Offline OP
Newbie
S

Joined: Feb 2012
Posts: 37
Maybe a call-out function like broker() could be specified that is called when one of the "price" functions is called. e.g. if a lite-c script calls PriceOpen, the call-out function brokerPriceOpen() could be called. The user could then refer to his own data source and return a value.

I have tons of M1 data I can use for testing.

Re: Interactive Brokers [Re: stevegee58] #394188
02/10/12 19:15
02/10/12 19:15
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, exactly this is planned for the broker interface.

If you want to use your M1 data for testing, you can just write a simple function to convert it in Zorro's price data file format. It is just a file with a one-year list of TICK structs. You'll find the TICK struct definition in include\trading.h.

Re: Interactive Brokers [Re: stevegee58] #394312
02/11/12 19:58
02/11/12 19:58
Joined: Jan 2012
Posts: 37
Zaandam, The Netherlands
J
JanBa Offline
Newbie
JanBa  Offline
Newbie
J

Joined: Jan 2012
Posts: 37
Zaandam, The Netherlands
Interesting that ypu have written many program using the TWS-API. You did this in C(++) or Java or something else ?

Re: Interactive Brokers [Re: stevegee58] #394313
02/11/12 20:04
02/11/12 20:04
Joined: Jan 2012
Posts: 37
Zaandam, The Netherlands
J
JanBa Offline
Newbie
JanBa  Offline
Newbie
J

Joined: Jan 2012
Posts: 37
Zaandam, The Netherlands
Imo the connection with IB should maybe be made via socket functions of C++ ??
MT4 approach maybe via Trade-Commander, unfortenately is it commercial software.

Re: Interactive Brokers [Re: JanBa] #394314
02/11/12 20:06
02/11/12 20:06
Joined: Jan 2012
Posts: 37
Zaandam, The Netherlands
J
JanBa Offline
Newbie
JanBa  Offline
Newbie
J

Joined: Jan 2012
Posts: 37
Zaandam, The Netherlands
tons of M1 data ? that's : M1 plays a leading role in the Singapore telecom market ??

Re: Interactive Brokers [Re: JanBa] #394340
02/12/12 08:28
02/12/12 08:28
Joined: Apr 2008
Posts: 586
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 586
Austria
I think he means one-minute data?

Re: Interactive Brokers [Re: Petra] #394355
02/12/12 13:17
02/12/12 13:17
Joined: Jan 2012
Posts: 37
Zaandam, The Netherlands
J
JanBa Offline
Newbie
JanBa  Offline
Newbie
J

Joined: Jan 2012
Posts: 37
Zaandam, The Netherlands
You are probably right, make sense, thanks

Page 1 of 3 1 2 3

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