Click or drag to resize

Introduction

KotakNet DotNet Library

An API (Application Programming Interface) is a set of procedures, protocols and methods that enable one application or server to communicate with the other and request or retrieve data

API is everywhere in our life,

Scope of API in Trading

API's extend one's capability of Trading. As of now if one wants to trade, they have to use the trading platform (web or Desktop) provided by the broker only. The Broker platform may offer standard features, if the user want something that not available in the broker platform, the user has no option till now. But with API they can customize anything they want.

Examples:

  • Multileg and Spread orders

  • Order slicing (to overcome freeze quantity)

  • Peg to Market orders (to reduce slippage)

  • Realtime Position Sizing (optimum margin utilization)

  • Exiting Positions on Certain Conditions like Max Profit/Loss

  • Order and Position Alerts (Telegram, Whatsapp etc)

KotakNet

KotakNet is a highly reliable, scalable and efficient DotNet Library for Kotak API. KotakNet provides complete set of tools required by the developers to build algo trading systems, it greatly reduces burden of the developers and helps to deploy their trading system very quickly.

Components
  • KotakNet Core

  • KotakNet Bridge

  • KotakNet RTD

Main Features
  • Supports Order/Quote/Mtm/Position events

  • Bridge to place order from Excel/Amibroker

  • Excel RTD

  • Order Tags

  • Position segregation by Stgycode

  • Ticks and MTM Logging

  • Tray Notification

System Requirements
  • Windows 7 SP1 or later

  • Dot Net Framework 4.5.2 or later

  • MS Office 2007 or later

  • Administrator Rights (Bridge uses TCP/IP Localhost)

  • System Date and Time Format - dd-MMM-yyyy and HH:mm:ss

  • System Time Zone: IST

API Subscription

For Kotak API subscription, check the link below

https://www.kotaksecurities.com/offers/trading-tools/trading-api/index.html

By default websocket is disabled for Kotak API, users has to enable websocket from their Kotak dashboard or email to ks.apihelp@kotak.com for enabling websocket.

Credits

Kerry Jiang for WebSocket4Net and Supersocket

James NK for Newtonsoft.Json

Feedback and Error Reporting

For feedback/issues in Kotak API, please contact Kotak Tech Team

For feedback/issues in KotakNet, contact support@howutrade.in