'Fix `Optional` and use `'linear/reverse'` in `OptionPair.venue`'

fix_deribit_hist_queries
Tyler Goodlet 2024-11-19 17:05:13 -05:00
parent bdc3bc9219
commit be84d0dae1
1 changed files with 2 additions and 2 deletions

View File

@ -22,6 +22,7 @@ from __future__ import annotations
import pendulum
from typing import (
Literal,
Optional,
)
from decimal import Decimal
@ -111,7 +112,6 @@ class OptionPair(Pair, frozen=True):
block_trade_min_trade_amount: int # '25'
block_trade_commission: float # '0.003'
# NOTE: see `.data._symcache.SymbologyCache.load()` for why
ns_path: str = 'piker.brokers.deribit:OptionPair'
@ -122,7 +122,7 @@ class OptionPair(Pair, frozen=True):
@property
def venue(self) -> str:
return 'option'
return f'{self.instrument_type}_option'
@property
def bs_fqme(self) -> str: