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 pibrew, Today, 06:37 AM
    0 responses
    0 views
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    12 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Working...
    X