TopPairMethod#
API documentation for tradingstrategy.top.TopPairMethod Python class in Trading Strategy framework.
- class TopPairMethod[source]#
Bases:
Enum
Method to query top pair data.
For given exchanges or token addresses, find the best trading pairs
- __init__(*args, **kwds)#
Attributes
Give the endpoint a list of exchange slugs and get the best trading pairs on these exchanges.
Give the endpoint a list of token smart contract addresses and get the best trading pairs for these.
- sorted_by_liquidity_with_filtering = 'sorted-by-liquidity-with-filtering'#
Give the endpoint a list of exchange slugs and get the best trading pairs on these exchanges.
- by_token_addresses = 'by-addresses'#
Give the endpoint a list of token smart contract addresses and get the best trading pairs for these.