PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 27 → Windev 17 - ActiveX - Interactive Brokers API
Windev 17 - ActiveX - Interactive Brokers API
Started by TabSoft, Nov., 03 2012 8:44 PM - 1 reply
Registered member
1 message
Posted on November, 03 2012 - 8:44 PM
Hi

I have ActiveX and ActiveX Events working good with Interactive Brokers API.

I make a call and data comes back via Events.

However on some calls, the properties are referenced like this:-
ByVal contract As TWSLib.IContract

or more info

reqMktDataEx(ByVal tickerId As Integer, ByVal contract As TWSLib.IContract, ByVal genericTicks As String, ByVal snapshot As Integer)

http://www.interactivebrokers.com/en/software/api/api.htm

So I kind of want to do this (which of course is wrong):
contract = AX_TWS>>createContract()

I am stuck.

any ideas?

Thanks

Tony Turner
Posted on March, 14 2023 - 1:49 PM
Hello

Did you find something to use InteractiveBrokers API ?

Thank you in advance