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

Method parseTimeInForce

ts/src/woo.ts:1924–1931  ·  view source on GitHub ↗
(timeInForce: Str)

Source from the content-addressed store, hash-verified

1922 }
1923
1924 parseTimeInForce (timeInForce: Str) {
1925 const timeInForces: Dict = {
1926 'ioc': 'IOC',
1927 'fok': 'FOK',
1928 'post_only': 'PO',
1929 };
1930 return this.safeString (timeInForces, (timeInForce as string));
1931 }
1932
1933 parseOrder (order: Dict, market: Market = undefined): Order {
1934 //

Callers 1

parseOrderMethod · 0.95

Calls 1

safeStringMethod · 0.45

Tested by

no test coverage detected