MCPcopy Create free account
hub / github.com/ccxt/ccxt / parse_ws_order_side

Method parse_ws_order_side

python/ccxt/pro/backpack.py:1038–1043  ·  view source on GitHub ↗
(self, side: Str)

Source from the content-addressed store, hash-verified

1036 return self.safe_string(statuses, status, status)
1037
1038 def parse_ws_order_side(self, side: Str):
1039 sides = {
1040 'Bid': 'buy',
1041 'Ask': 'sell',
1042 }
1043 return self.safe_string(sides, side, side)
1044
1045 async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
1046 """

Callers 1

parse_ws_orderMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected