Release v1.0.1
almost 3 years ago by Steven
RELEASE DATE: 03-02-2023
Stable version for REST API and Websockets. Includes changes to the request and response fields across endpoints.
REST API Changelog
GET /expiries
- Returns an array of UNIX timestamps in nanos in string format.
GET /index
- Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /index-history
- Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /markets
- Renamed
typetoinstrument_type - Renamed
underlyingtounderlying_asset - Renamed
size_steptoamount_step - Reformatted
instrument_idto to string format - Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /statistics
- Renamed
pricetoindex_price
GET /orderbook
- Renamed argument
symboltoinstrument_name - Added
instrument_idin the response - Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /instrument/{instrument_name}/trade-history
- Removed
accountfrom the response - Removed
agg_order_idfrom the response - Removed
total_matched_amountfrom the response - Removed
event_typefrom the response - Removed
option_typefrom the response - Removed
expiryfrom the response - Removed
strikefrom the response - Removed
order_typefrom the response - Removed
trade_statusfrom the response - Removed
feesfrom the response - Renamed
avg_pricetoprice - Added
instrument_idin the response - Reformatted timestamp to UNIX timestamp in nanos in string format.
POST /register
- Added
successin the response - Renamed
signingKeystosigning_key - Renamed
registered_attocreated_timestamp - Reformatted timestamp to UNIX timestamp in nanos in string format.
DELETE /api-key
- Renamed
statustosuccess - Reformatted timestamp to UNIX timestamp in nanos in string format.
POST /api-key
- Reformatted timestamp to UNIX timestamp in nanos in string format.
DELETE /signing-key
- Renamed
statustosuccess - Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /account
- Renamed
account_idtoaccount - Renamed
registered_attocreated_timestamp - Renamed
average_entry_pricetoavg_entry_price - Renamed
feetofees - Removed
last_updated_timestampfrom the response - Reformatted
account_typeto string
POST /withdraw
- Renamed
statustosuccess
GET /orders
- Renamed
idtoorder_id - Renamed
account_idtoaccount - Renamed
sizetoamount - Renamed
typetooption_type - Added
order_statusin the response - Changed allowed values for
sidetobuyandsellonly - Reformatted
instrument_idto to string format - Reformatted expiry to UNIX timestamp in nanos in string format.
- Reformatted timestamp to UNIX timestamp in nanos in string format.
POST /orders
- Renamed
fill_amounttofilled
POST /orders/{order_id}
- Renamed
fill_amounttofilled
DELETE /orders-all
- Renamed
statustosuccess
GET /order-history
- Renamed
idtoorder_id - Renamed
account_idtoaccount - Renamed
directiontoside - Renamed
sizetoamount - Renamed
typetooption_type - Renamed
statustoorder_status - Removed
event_typefrom the response - Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /trade-history
- Renamed
idtotrade_id - Renamed
typetotrade_type - Renamed
account_idtoaccount - Renamed
directiontoside - Renamed
sizetoamount - Renamed
statustoorder_status - Renamed
aggressing_order_idtoagg_order_id - Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /transaction-history
- Renamed
idtoaccount - Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /mmp
- Renamed
limittoamount_limit - Reformatted
intervalto string in the response - Reformatted
frozento string in the response
Websockets Changelog
PUBLISH Ping
- Simplified response to include only
successandtimestamp
SUBSCRIBE Orderbook
- Renamed
instrumenttoinstrument_name - Renamed
timestamptolast_updated
SUBSCRIBE Trades
- Newly added
PUBLISH Create Order
- Renamed argument
isBuytois_buy - Renamed argument
limitPricetolimit_price - Renamed
fill_amounttofilledin the response
PUBLISH Cancel Order
- Renamed argument
idtoorder_id
PUBLISH Edit Order
- Renamed argument
idtoorder_id - Renamed argument
isBuytois_buy - Renamed argument
limitPricetolimit_price
SUBSCRIBE Ticker
- Renamed
instrumenttoinstrument_name - Renamed
sizetoamount
SUBSCRIBE Order
- Renamed
makertoaccount - Renamed
instrumenttoinstrument_name - Renamed
directiontoside - Renamed
limit_pricetoprice - Renamed
fill_amounttofilled - Renamed
timestamptocreated_timestamp - Removed
avg_price
SUBSCRIBE Positions
- Removed
last_updated_timestampfrom the response - Renamed
positiontoamount - Added
instrument_namein the response - Added
mark_pricein the response - Added
greeksin the response which include option's Greeks and IV
SUBSCRIBE Fills
- Newly added