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 futtrader, 04-21-2024, 01:50 AM
    4 responses
    41 views
    0 likes
    Last Post futtrader  
    Started by Option Whisperer, Today, 09:55 AM
    1 response
    11 views
    0 likes
    Last Post bltdavid  
    Started by port119, Today, 02:43 PM
    0 responses
    1 view
    0 likes
    Last Post port119
    by port119
     
    Started by Philippe56140, Today, 02:35 PM
    0 responses
    3 views
    0 likes
    Last Post Philippe56140  
    Started by 00nevest, Today, 02:27 PM
    0 responses
    2 views
    0 likes
    Last Post 00nevest  
    Working...
    X