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

Method parse_time_in_force

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

Source from the content-addressed store, hash-verified

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

Callers 1

parse_orderMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected