whitmark
09-14-2007, 12:18 PM
Is there nuance to using the OrderStatus DLL function? I see in the help that it is defined as:
string OrderStatus(string orderId)
so in my Delphi code I declare:
FUNCTION OrderStatus ( OrderID: string ) : string; stdcall; external 'NtDirect.dll';
and call it via:
OrderStatus( Nj_LastOrderID );
where Nj_LastOrderID is a string that contains the OrderID that was submitted when the order was PLACED. The OrderFilled and AvgFillPrice function calls work fine and are coded in a similar manner but OrderStatus always returns null values. I've also noticed that NewOrderId() function is not returning any values. Are there any known issues with these functions or special usage instructions?
Thanks,
Whitmark
string OrderStatus(string orderId)
so in my Delphi code I declare:
FUNCTION OrderStatus ( OrderID: string ) : string; stdcall; external 'NtDirect.dll';
and call it via:
OrderStatus( Nj_LastOrderID );
where Nj_LastOrderID is a string that contains the OrderID that was submitted when the order was PLACED. The OrderFilled and AvgFillPrice function calls work fine and are coded in a similar manner but OrderStatus always returns null values. I've also noticed that NewOrderId() function is not returning any values. Are there any known issues with these functions or special usage instructions?
Thanks,
Whitmark