PDA

View Full Version : Function int NTFilled(string orderId)


HelloHello
08-29-2007, 02:29 AM
okay say we bought 1000 shares of MSFT.

we used
NTBuyMarket("X", 1000);

then we sell 200 shares of MSFT using
NTSellMarket("Y", 200);

so we are long 800 shares of MSFT

int NTFilled(string orderId)
Gets the number of contracts/shares filled for the orderId/account combination.

Now does NTFilled("X") return ----> 1000? because that is what we were filled or does it return 800. I'm pretty sure it's 1000, but just gotta make sure.

Thanks

NinjaTrader_Dierk
08-29-2007, 02:40 AM
>> Now does NTFilled("X") return ----> 1000?
correct