`deribit`: add new `Trade.block_trade_id` field..
parent
e6fd2adb69
commit
2ea850eed0
|
@ -128,8 +128,9 @@ class Trade(Struct):
|
||||||
index_price: float
|
index_price: float
|
||||||
direction: str
|
direction: str
|
||||||
amount: float
|
amount: float
|
||||||
combo_trade_id: Optional[int] = 0,
|
combo_trade_id: Optional[int] = 0
|
||||||
combo_id: Optional[str] = '',
|
combo_id: Optional[str] = ''
|
||||||
|
block_trade_id: str | None = ''
|
||||||
|
|
||||||
|
|
||||||
class LastTradesResult(Struct):
|
class LastTradesResult(Struct):
|
||||||
|
|
|
@ -46,9 +46,12 @@ from cryptofeed.defines import (
|
||||||
from cryptofeed.symbols import Symbol
|
from cryptofeed.symbols import Symbol
|
||||||
|
|
||||||
from .api import (
|
from .api import (
|
||||||
Client, Trade,
|
Client,
|
||||||
|
Trade,
|
||||||
get_config,
|
get_config,
|
||||||
str_to_cb_sym, piker_sym_to_cb_sym, cb_sym_to_deribit_inst,
|
str_to_cb_sym,
|
||||||
|
piker_sym_to_cb_sym,
|
||||||
|
cb_sym_to_deribit_inst,
|
||||||
maybe_open_price_feed
|
maybe_open_price_feed
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue