split_binance_symbol#

API documentation for tradingstrategy.binance.constants.split_binance_symbol Python function.

split_binance_symbol(symbol)[source]#

Split a binance symbol into a base and quote token.

Parameters:

s – E.g. ETHUSDT

Returns:

(base_token, quote_token)

Return type:

(<class ‘str’>, <class ‘str’>)