bs_mktid instead bs_fqme for deribits options
parent
a3ab8dd8fe
commit
f037f851d8
|
@ -85,7 +85,7 @@ class Pair(Struct, frozen=True, kw_only=True):
|
|||
|
||||
@property
|
||||
def bs_mktid(self) -> str:
|
||||
return f'{self.symbol}.{self.venue}'
|
||||
return f'{self.symbol}'
|
||||
|
||||
|
||||
class OptionPair(Pair, frozen=True, kw_only=True):
|
||||
|
@ -122,7 +122,7 @@ class OptionPair(Pair, frozen=True, kw_only=True):
|
|||
|
||||
@property
|
||||
def bs_fqme(self) -> str:
|
||||
return f'{self.symbol}.OPTION'
|
||||
return f'{self.symbol}'
|
||||
|
||||
@property
|
||||
def bs_src_asset(self) -> str:
|
||||
|
@ -134,7 +134,7 @@ class OptionPair(Pair, frozen=True, kw_only=True):
|
|||
|
||||
@property
|
||||
def bs_mktid(self) -> str:
|
||||
return f'{self.symbol}.{self.venue}'
|
||||
return f'{self.symbol}'
|
||||
|
||||
|
||||
PAIRTYPES: dict[MarketType, Pair] = {
|
||||
|
|
Loading…
Reference in New Issue