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

Function get_active_markets

python/ccxt/test/exchange/base/test_shared_methods.py:483–488  ·  view source on GitHub ↗
(exchange, include_unknown=True)

Source from the content-addressed store, hash-verified

481
482
483def get_active_markets(exchange, include_unknown=True):
484 filtered_active = exchange.filter_by(exchange.markets, 'active', True)
485 if include_unknown:
486 filtered_undefined = exchange.filter_by(exchange.markets, 'active', None)
487 return exchange.array_concat(filtered_active, filtered_undefined)
488 return filtered_active
489
490
491def remove_proxy_options(exchange, skipped_properties):

Callers

nothing calls this directly

Calls 2

filter_byMethod · 0.80
array_concatMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…