Code samples that show some of the LYNX API possible implementations.
First you need to setup your environment to work with the LYNX API and Python following these instructions.
Informative
- Request Historical Data - code explained for requesting historical data for a product through the API
- Request Market Data - code explained for requesting realtime ticks for a product through the API
Useful
- Test Connectivity
- Retrieve Contract Details
- Retrieve Last Price
- Retrieve Tick Data
- Retrieve Historical Data
- Store Historical Data
- Retrieve Account Data
- Calculate SMA 20
- Calculate EMA 20 (using TA library)
- Place Order
- Add Stop Loss
- Add Take Profit
- Create Conditional Order 1
- Create Conditional Order 2
- Retrieve Option Chains
- Calculate Implied Volatility or Option Price