Back to Ccxt

https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code

wiki/examples/py/hyperliquid-load-hip3-dexes.md

4.5.52807 B
Original Source
python
import os
import sys

# PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
# https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code

# AUTO-TRANSPILE #
async def example():
   exchange = ccxt.hyperliquid({
       'options': {
           'fetchMarkets': {
               'hip3': {
                   'dexes': ['flx', 'xyz'],
                   'limit': 10,
               },
           },
       },
   })
   await exchange.load_markets()
   markets = list(exchange.markets.values())
   for i in range(0, len(markets)):
       market = markets[i]
       if market['info']['hip3']:
           print(market['symbol'], 'from DEX')

   await exchange.close()


asyncio.run(example())