Skip to main content

Set PNL currency preference for a market

PUT 

/pnlpreferences

The PNL currency preference is used to determine which currency to pay out when realizing PNL gains. Calling this API can result in the following error codes:

87: Contract does not exist

88: Contract not a multi-collateral futures contract

89: Currency does not exist

90: Currency is not enabled for multi-collateral futures

41: Would cause liquidation

Request

Query Parameters

    symbol stringrequired

    The symbol for the PnL preference.

    pnlPreference stringrequired

    The asset in which profit will be realised for the specific symbol.

Responses

OK

Schema
    oneOf
    result stringrequired

    Possible values: [success]

    serverTime date-timerequired

    Server time in Coordinated Universal Time (UTC)

Loading...