Session Management
The client application will be responsible for establishing session with the ODIN trading engine and manage the life cycle of the same. Following are the stages in the session life cycle.
Session Establishment
Session is established via a Logon request. The log-on request will be authenticated by the trading engine and on success the caller will receive a successful logon response message.
📡 Message Exchange
Message exchange can commence after session has been established with the trading engine i.e., after successful Logon.
⏳ Session Expiry
Session can be terminated by explicitly disconnecting socket
🏦 List of Exchanges and Market segment IDs
The Following is list of Exchanges and their respective Market segment IDs supported by the API:
| Exchange | Market Segment ID |
|---|---|
| NSE Cash | 1 |
| NSE Derivatives | 2 |
| BSE Cash | 3 |
| BSE Derivatives | 4 |
| MCX Futures | 5 |
| MCX Spot | 6 |
| NCDEX Futures | 7 |
| NCDEX Spot | 8 |
| NSEL SPOTCOM | 9 |
| NSEL COM | 10 |
| MSE Curr Futures | 11 |
| MSE Curr SPOT | 12 |
| NSECDS Futures | 13 |
| NSECDS SPOT | 14 |
| MSE Cash | 15 |
| MSE Derivatives | 16 |
| BSE COMM | 18 |
| NSE COMM | 19 |
| BSE-OFS | 25 |
| NSE-OFS | 33 |