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

Method parse_time_in_force

python/ccxt/async_support/derive.py:1779–1786  ·  view source on GitHub ↗
(self, timeInForce: Str)

Source from the content-addressed store, hash-verified

1777 return await self.fetch_orders(symbol, since, limit, extendedParams)
1778
1779 def parse_time_in_force(self, timeInForce: Str):
1780 timeInForces = {
1781 'ioc': 'IOC',
1782 'fok': 'FOK',
1783 'gtc': 'GTC',
1784 'post_only': 'PO',
1785 }
1786 return self.safe_string(timeInForces, timeInForce)
1787
1788 def parse_order_status(self, status: Str):
1789 if status is not None:

Callers 1

parse_orderMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected