Awesome
Trading Strategy API specifications
Decentralised trading data API in OpenAPI 3 standard.
Beta warning: Do not use at your own risk.
This repository contains OpenAPI 3 specifications for two APIs
- Open DeFi API for reading DEX data
- Trade Executor API for managing automated trading strategies
Open DeFi API
Open DeFi API is a real-tie APId for server and browser accessible endpoints for decentralised exchange and blockchains. This data is useful for market data websites, real-time candel stick charts, chat bots, trading bots and similar.
Open the Swagger API explorer.
The data covers
-
Blockchains
-
Exchanges
-
Trading pairs
-
OHLCV candles
-
Available liquidity
Rate limit: 200 API requests / minute
Trade Executor API
A trade executor runs live trading strategies as a server-side process. It offers a webhook API to query its current state.
The data covers
-
Current portfolio
-
Open and closed positions
-
Executed trades
-
Profit and loss
-
Deposit and withdraw events
-
Internal metrics and diagnostics
API explorer will be available later.
On-chain data oracle
TODO: The specification not yet available. See Trading Strategy Python client for more information.
Oracle data specification is intended for trading strategy backtesting, trading strategy programming, trading strategy oracles, trade instruction judge smart contracts and other on-chain logic.
This specification covers
-
API key accessible endpoints