Logo
Admin API API Documentation

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.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




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" }



Curl
curl -X POST 'URL_ORIGIN/api/instruments' -d '{"symbol":"Test","quoteCurrency":"USD","calendarId":"600452872","pricePrecision":"6","quantityPrecision":"4","minQuantity":"0.0001","maxQuantity":"10000000","status":"Active","description":"Testing instrument"}'

ENDPOINTS