Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Function int NTFilled(string orderId)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Function int NTFilled(string orderId)

    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

    #2
    >> Now does NTFilled("X") return ----> 1000?
    correct

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    77 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    27 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X