Create Instrument

POST {{URL_ORIGIN}}/api/instruments

This API allows to create a new instrument.

ID will be returned in the response, this ID is the unique identifier of the instrument and should be used when sending update commands.

Note: this ID can be retrieved via Get Instruments API.

Request Body

{"symbol"=>"Test", "quoteCurrency"=>"USD", "calendarId"=>"600452872", "pricePrecision"=>"6", "quantityPrecision"=>"4", "minQuantity"=>"0.0001", "maxQuantity"=>"10000000", "status"=>"Active", "description"=>"Testing instrument"}

RESPONSES

status: OK

{"id":"409","symbol":"Test1000","quoteCurrency":"USD","calendarId":"59684565","pricePrecision":"6","quantityPrecision":"4","minQuantity":"0.0001","maxQuantity":"10000000","status":"Active","description":"Testing instrument"}