POSITION HOLDINGS
Clients current holdings in the market center
POSITIONS
Upon login, client will receive initial positions and continuous updates afterwards.
SAMPLE POSITION MESSAGE
{“curpos”:”500”,”security”:”MSFT”,”type”:”position”}
QUERY POSITIONS
Query user position.
SAMPLE QUERY MESSAGE
{“userid”: “TEST1”, “type”:”querypos”}
“userid”, ”firm”, superuser can provide “firm”,
”userid” field. “security” is optional, if input does not provide, query will get all position info for user
SAMPLE QUERY RESPONSE MESSAGE
{“result”:”OK”,”firm”:”TEST”,”data”:[{“curpos”:”300”,”rec_no”:1,”secur
ity”:”ZVZZT”,”type”:”position”},{“curpos”:”300”,”rec_no”:2,”security”:”MSFT”,”ty
pe”:”position”}],”userid”:”TEST1”,”type”:”querypos”,”total_rec”:2}
{“result”:”no position”,”firm”:”TEST,”userid”:”TEST1”,”type”:”querypos”}
Last updated
Was this helpful?