Perp
đ Connector Info¶
- Exchange Type: Decentralized Exchange (DEX)
- Market Type: Central Limit Order Book (CLOB)
Component | Status | Notes |
---|---|---|
đ Spot Connector | Not available | |
đ Perp Connector | â | |
đ¯ AMM Data Feed | â |
âšī¸ Exchange Info¶
- Website: https://perp.com/
- CoinMarketCap: https://coinmarketcap.com/exchanges/perpetual-protocol/
- CoinGecko: https://www.coingecko.com/en/exchanges/perpetual_protocol
- API Docs: https://perp.com/developers
- Fees:
đ How to Connect¶
Create a wallet on one of the supported networks below:
Chain | Networks |
---|---|
ethereum |
optimism |
From inside the Hummingbot client, run gateway connect perpetual_protocol
in order to connect your wallet:
Which chain do you want perp to connect to? (ethereum) >>>
Which network do you want perp to connect to? (optimism) >>>
Enter your ethereum-optimism private key >>>>
If connection is successful:
đ Spot Connector¶
Integration to spot markets API endpoints
- ID:
perpetualprotocol
- Connection Type: REST via Gateway
- API Docs:
- Folder: https://github.com/hummingbot/gateway/tree/main/src/connectors/perp
- Default Configs: https://github.com/hummingbot/gateway/blob/main/src/templates/perp.yml
Endpoints¶
/amm/perp/market-prices
/amm/perp/market-status
/amm/perp/pairs
/amm/perp/position
/amm/perp/balance
/amm/perp/open
/amm/perp/close
For more info, run Gateway and go to
đ¯ AMM Data Feed¶
Data feed of this exchange's real-time prices
- ID:
perpetualprotocol_[CHAIN]_[NETWORK]
- Connection Type: REST via Gateway
- Folder: https://github.com/hummingbot/hummingbot/blob/master/hummingbot/data_feed/amm_gateway_data_feed.py