Get All Risk Modes

GET https://api.sfox.com/v1/post-trade-settlement/risk-modes

Retrieve the current risk mode of each currency pair.

Response Body

KeyDescription

currency_pair

The currency pair the risk mode is applied to.

risk_mode

The current risk mode setting of this currency pair. Possible values:

Enabled: Credit may be used to open long or short positions. Long-Only: Credit may be used to open long positions. Short-Only: Credit may be used to open short positions. Reduce-Only: New positions may not be opened.

Responses

200
{
    "data": [
        {
            "currency_pair": "btcusd",
            "risk_mode": "Enabled"
        },
        {
            "currency_pair": "btcpax",
            "risk_mode": "Reduce_Only"
        },
        {
            "currency_pair": "ltcbtc",
            "risk_mode": "Enabled"
        }}

Example Requests

curl -H 'Authorization: Bearer <API_TOKEN>' \
https://api.sfox.com/v1/post-trade-settlement/risk-modes

Last updated