PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Windev 17 - ActiveX - Interactive Brokers API
Windev 17 - ActiveX - Interactive Brokers API
Iniciado por TabSoft, 03,nov. 2012 20:44 - 1 respuesta
Miembro registrado
1 mensaje
Publicado el 03,noviembre 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
Publicado el 14,marzo 2023 - 13:49
Hello

Did you find something to use InteractiveBrokers API ?

Thank you in advance