PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Windev 17 - ActiveX - Interactive Brokers API
Windev 17 - ActiveX - Interactive Brokers API
Débuté par TabSoft, 03 nov. 2012 20:44 - 1 réponse
Membre enregistré
1 message
Posté le 03 novembre 2012 - 20:44
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
Posté le 14 mars 2023 - 13:49
Hello

Did you find something to use InteractiveBrokers API ?

Thank you in advance