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

Method parse_order_time_in_force_integer

python/ccxt/lighter.py:2283–2289  ·  view source on GitHub ↗
(self, tifInteger)

Source from the content-addressed store, hash-verified

2281 return self.safe_string(timeInForces, tif, tif)
2282
2283 def parse_order_time_in_force_integer(self, tifInteger):
2284 timeInForces = {
2285 '0': 'immediate-or-cancel',
2286 '1': 'good-till-time',
2287 '2': 'post-only',
2288 }
2289 return self.safe_string(timeInForces, str(tifInteger))
2290
2291 def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
2292 """

Callers 1

parse_orderMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected