curl --request GET \
--url https://api.exchange.fairx.net/rest/positions
{
"Acme Trading": {
"position_limit": "5000000",
"positions": {
"BIPZ30": {
"long_filled_position": 0,
"symbol": "BIPZ30",
"short_filled_position": 0,
"long_working_position": 0,
"short_working_position": 0,
"initial_margin": "100",
"long_futures_long_dollar_amount": 0,
"short_futures_long_dollar_amount": 0
}
},
"long_contribution": 100,
"firm_name": "Acme Trading",
"short_contribution": 50
}
}
Retrieves firm-level positions for all firms you have access to
curl --request GET \
--url https://api.exchange.fairx.net/rest/positions
{
"Acme Trading": {
"position_limit": "5000000",
"positions": {
"BIPZ30": {
"long_filled_position": 0,
"symbol": "BIPZ30",
"short_filled_position": 0,
"long_working_position": 0,
"short_working_position": 0,
"initial_margin": "100",
"long_futures_long_dollar_amount": 0,
"short_futures_long_dollar_amount": 0
}
},
"long_contribution": 100,
"firm_name": "Acme Trading",
"short_contribution": 50
}
}
Successfully retrieved positions
The response is of type object
.
Was this page helpful?