Added new fields to SpotPair class in venues

go_httpx
Nelson Torres 2024-05-21 17:56:06 -03:00 committed by Tyler Goodlet
parent 2cdece244c
commit 033ef2e35e
1 changed files with 2 additions and 0 deletions

View File

@ -137,10 +137,12 @@ class SpotPair(Pair, frozen=True):
quoteOrderQtyMarketAllowed: bool
isSpotTradingAllowed: bool
isMarginTradingAllowed: bool
otoAllowed: bool
defaultSelfTradePreventionMode: str
allowedSelfTradePreventionModes: list[str]
permissions: list[str]
permissionSets: list[list[str]]
# NOTE: see `.data._symcache.SymbologyCache.load()` for why
ns_path: str = 'piker.brokers.binance:SpotPair'