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

Method parse_position_side

python/ccxt/bullish.py:2494–2499  ·  view source on GitHub ↗
(self, side: Str)

Source from the content-addressed store, hash-verified

2492 })
2493
2494 def parse_position_side(self, side: Str):
2495 sides = {
2496 'BUY': 'long',
2497 'SELL': 'short',
2498 }
2499 return self.safe_string(sides, side, side)
2500
2501 def fetch_transfers(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[TransferEntry]:
2502 """

Callers 1

parse_positionMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected