(Object symbol, Object... optionalArgs)
| 5826 | } |
| 5827 | |
| 5828 | public Object featureValue(Object symbol, Object... optionalArgs) |
| 5829 | { |
| 5830 | /** |
| 5831 | * @method |
| 5832 | * @name exchange#featureValue |
| 5833 | * @description this method is a very deterministic to help users to know what feature is supported by the exchange |
| 5834 | * @param {string} [symbol] unified symbol |
| 5835 | * @param {string} [methodName] view currently supported methods: https://docs.ccxt.com/README?id=features |
| 5836 | * @param {string} [paramName] unified param value, like: `triggerPrice`, `stopLoss.triggerPrice` (check docs for supported param names) |
| 5837 | * @param {object} [defaultValue] return default value if no result found |
| 5838 | * @returns {object} returns feature value |
| 5839 | */ |
| 5840 | Object methodName = Helpers.getArg(optionalArgs, 0, null); |
| 5841 | Object paramName = Helpers.getArg(optionalArgs, 1, null); |
| 5842 | Object defaultValue = Helpers.getArg(optionalArgs, 2, null); |
| 5843 | Object market = this.market(symbol); |
| 5844 | return this.featureValueByType(Helpers.GetValue(market, "type"), Helpers.GetValue(market, "subType"), methodName, paramName, defaultValue); |
| 5845 | } |
| 5846 | |
| 5847 | public Object featureValueByType(Object marketType, Object subType, Object... optionalArgs) |
| 5848 | { |
nothing calls this directly
no test coverage detected