MTS Function Overview


MTS includes the following functions


PlaceOrder()  Places a new order

Cancel()  

Cancels an existing order

PlaceOrderAssoc()  

Places an "Associated" order for "Stop" or "Limit" (GAIN)

ModifyOrderAssoc()  

Modifies an "Associated" "Stop" or "Limit" order (GAIN)

GetOrderStatus()  

Returns the status of an existing order
GetFillAmount()  

Returns the fill amount for an existing FILLED order

GetFillPrice()

Returns the fill price for an existing FILLED order
GetCurrentPosition() Returns the current position for a selected Broker and Symbol
GetAccountInfo() Returns various account infomration from the Broker (such as balance, realized profits, unrealized profits)