deribit-api
deribit-api copied to clipboard
Go library for Deribit's v2 API.
第一个问题,心跳机制的实现和官方的Python代码示例不一致,官方的示例Client是在收到server的hearbeat request时调用/public/test方法。deribit-api是Client周期性调用/public/test方法。不知道这样会不会造成连接失效,我现在遇到了有点像连接失效的情况。 第二个问题,官方示例有定时调用refresh方法,deribit-api没有,这样会导致private 方法在token失效后调用失败吗?
Include Greeks field in the GetOrderBookResponse and TickerNotification models: - https://docs.deribit.com/#public-get_order_book - https://docs.deribit.com/#ticker-instrument_name-interval
Deribit Doc missed a "label" field on user.trade.xxx event data. The "label" contains corresponding `label` parameter of the buy/sell request. Since user.trades.xxx event is earlier than user.orders.xxx, handling by `label`...
fix GetUserTradesByOrder returning wrong type, json unmashal error.
Implement CancelByLabel see: https://docs.deribit.com/#private-cancel_by_label together with a new test TestClient_CancelByLabel