For the complete documentation index, see llms.txt. This page is also available as Markdown.

setInstrumentsWhitelist

Sets global instruments whitelist. Only whitelisted instruments are allowed for trading.

Instruments whitelist must be enabled before. See api/enableInstrumentsWhitelist

When a Master adds an instrument whitelist, it automatically applies to sub-accounts as well

POST api/setInstrumentsWhitelist

{ 
 "instruments": ["BTC-USD", "ETH-USD"] // array of allowed instruments
}
{
    "error": 0
}
{
    "error": 2
}

Request parameters

Field name
Type
Description

instruments

Array<string>

Array of allowed instruments.

Last updated