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

Method array_slice

python/ccxt/base/exchange.py:2033–2034  ·  view source on GitHub ↗
(self, array, first, second=None)

Source from the content-addressed store, hash-verified

2031 return value is not None
2032
2033 def array_slice(self, array, first, second=None):
2034 return array[first:second] if second else array[first:]
2035
2036 def get_property(self, obj, property, defaultValue=None):
2037 return getattr(obj, property) if hasattr(obj, property) else defaultValue

Callers 15

filter_by_limitMethod · 0.95
filter_by_since_limitMethod · 0.95
create_auth_tokenMethod · 0.80
fetch_order_bookMethod · 0.80
sign_messageMethod · 0.80
signMethod · 0.80
parse_currencyMethod · 0.80
parse_transactionMethod · 0.80
create_auth_tokenMethod · 0.80
fetch_order_bookMethod · 0.80
sign_messageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected