giu76cala
07-05-2006, 08:09 AM
I developed a trading system in VBA for Excel.
In the VB Code I added in the refererences menĂ¹ NinjaTrader Client. After I wrote the code:
Dim myClient As NinjaTrader_Client.Client
ORDINE = 2
Set myClient = New NinjaTrader_Client.Client
ORDINE = myClient.Command("CANCELALLORDERS", "", "", "", 0, "", 0, 0, "", "", "", "", "")
but he give an error occured. It isn't able to create the ActiveX object.
Can you help me?
tks
In the VB Code I added in the refererences menĂ¹ NinjaTrader Client. After I wrote the code:
Dim myClient As NinjaTrader_Client.Client
ORDINE = 2
Set myClient = New NinjaTrader_Client.Client
ORDINE = myClient.Command("CANCELALLORDERS", "", "", "", 0, "", 0, 0, "", "", "", "", "")
but he give an error occured. It isn't able to create the ActiveX object.
Can you help me?
tks