Use Query Positions to retrieve your current positions and receive continuous updates.
Query Positions
Request
Key
Value
Required
Required
type
string
querypos
Yes
security
string
The specific asset or currency. If not supplied, the response will contain positions for all securities
No
userid
string
Query this specific userid's positions. Note: you must be either be user_type of Firm (F) or (S) global admin. O (Operators) can not see positions other than their own positions.
No
Response
Key
Type
Value
type
string
querypos
result
string
"OK" if successful. If not successful, this field will contain the reject reason.
curios
string
The firm account associated with the login user
security
string
The associated security
userid
string
The associated userid
total_rec
number
The number of records contained with the data array
data
array
The array of securities and the associated position for each