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

Method handleOption

js/src/base/Exchange.js:5608–5611  ·  view source on GitHub ↗
(methodName, optionName, defaultValue = undefined)

Source from the content-addressed store, hash-verified

5606 return [value2, params];
5607 }
5608 handleOption(methodName, optionName, defaultValue = undefined) {
5609 const res = this.handleOptionAndParams({}, methodName, optionName, defaultValue);
5610 return this.safeValue(res, 0);
5611 }
5612 handleMarketTypeAndParams(methodName, market = undefined, params = {}, defaultValue = undefined) {
5613 /**
5614 * @ignore

Callers 15

loadOrderBookMethod · 0.95
transferMethod · 0.45
fetchCurrenciesMethod · 0.45
parseMarketMethod · 0.45
fetchLeverageMethod · 0.45
loadAccountSettingsMethod · 0.45
fetchMarginModeMethod · 0.45
createOrderRequestMethod · 0.45
batchOrdersRequestMethod · 0.45
createSubAccountMethod · 0.45

Calls 2

handleOptionAndParamsMethod · 0.95
safeValueMethod · 0.95

Tested by

no test coverage detected