Release v1.0.1
over 1 year 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
type
toinstrument_type
- Renamed
underlying
tounderlying_asset
- Renamed
size_step
toamount_step
- Reformatted
instrument_id
to to string format - Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /statistics
- Renamed
price
toindex_price
GET /orderbook
- Renamed argument
symbol
toinstrument_name
- Added
instrument_id
in the response - Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /instrument/{instrument_name}/trade-history
- Removed
account
from the response - Removed
agg_order_id
from the response - Removed
total_matched_amount
from the response - Removed
event_type
from the response - Removed
option_type
from the response - Removed
expiry
from the response - Removed
strike
from the response - Removed
order_type
from the response - Removed
trade_status
from the response - Removed
fees
from the response - Renamed
avg_price
toprice
- Added
instrument_id
in the response - Reformatted timestamp to UNIX timestamp in nanos in string format.
POST /register
- Added
success
in the response - Renamed
signingKeys
tosigning_key
- Renamed
registered_at
tocreated_timestamp
- Reformatted timestamp to UNIX timestamp in nanos in string format.
DELETE /api-key
- Renamed
status
tosuccess
- 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
status
tosuccess
- Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /account
- Renamed
account_id
toaccount
- Renamed
registered_at
tocreated_timestamp
- Renamed
average_entry_price
toavg_entry_price
- Renamed
fee
tofees
- Removed
last_updated_timestamp
from the response - Reformatted
account_type
to string
POST /withdraw
- Renamed
status
tosuccess
GET /orders
- Renamed
id
toorder_id
- Renamed
account_id
toaccount
- Renamed
size
toamount
- Renamed
type
tooption_type
- Added
order_status
in the response - Changed allowed values for
side
tobuy
andsell
only - Reformatted
instrument_id
to 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_amount
tofilled
POST /orders/{order_id}
- Renamed
fill_amount
tofilled
DELETE /orders-all
- Renamed
status
tosuccess
GET /order-history
- Renamed
id
toorder_id
- Renamed
account_id
toaccount
- Renamed
direction
toside
- Renamed
size
toamount
- Renamed
type
tooption_type
- Renamed
status
toorder_status
- Removed
event_type
from the response - Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /trade-history
- Renamed
id
totrade_id
- Renamed
type
totrade_type
- Renamed
account_id
toaccount
- Renamed
direction
toside
- Renamed
size
toamount
- Renamed
status
toorder_status
- Renamed
aggressing_order_id
toagg_order_id
- Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /transaction-history
- Renamed
id
toaccount
- Reformatted timestamp to UNIX timestamp in nanos in string format.
GET /mmp
- Renamed
limit
toamount_limit
- Reformatted
interval
to string in the response - Reformatted
frozen
to string in the response
Websockets Changelog
PUBLISH Ping
- Simplified response to include only
success
andtimestamp
SUBSCRIBE Orderbook
- Renamed
instrument
toinstrument_name
- Renamed
timestamp
tolast_updated
SUBSCRIBE Trades
- Newly added
PUBLISH Create Order
- Renamed argument
isBuy
tois_buy
- Renamed argument
limitPrice
tolimit_price
- Renamed
fill_amount
tofilled
in the response
PUBLISH Cancel Order
- Renamed argument
id
toorder_id
PUBLISH Edit Order
- Renamed argument
id
toorder_id
- Renamed argument
isBuy
tois_buy
- Renamed argument
limitPrice
tolimit_price
SUBSCRIBE Ticker
- Renamed
instrument
toinstrument_name
- Renamed
size
toamount
SUBSCRIBE Order
- Renamed
maker
toaccount
- Renamed
instrument
toinstrument_name
- Renamed
direction
toside
- Renamed
limit_price
toprice
- Renamed
fill_amount
tofilled
- Renamed
timestamp
tocreated_timestamp
- Removed
avg_price
SUBSCRIBE Positions
- Removed
last_updated_timestamp
from the response - Renamed
position
toamount
- Added
instrument_name
in the response - Added
mark_price
in the response - Added
greeks
in the response which include option's Greeks and IV
SUBSCRIBE Fills
- Newly added