Skip to content

KiteConnect .Net Client Library 3.0.0 beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ajinasokan ajinasokan released this 18 Jan 11:38
· 6 commits to kite3 since this release

This is the first beta of .Net client library that uses KiteConnect v3 APIs.
Documentation for the new APIs is available here.

To get started check read me.

If you find any problem report in GitHub issues.
For discussion checkout KiteConnect Developer Forum and .Net client section.

Migrating from Kite Connect v2 to v3

Changes in Kite

  • All timestamps in string are now DateTime objects

New APIs added:

  • GetQuote
  • GetOHLC
  • GetLTP
  • GetHistoricalData with timestamps
  • GetProfile
  • InvalidateRefreshToken
  • RenewAccessToken

Changes in Ticker

  • Use Access Token to authenticate instead of Public Token. User id is not required.
Ticker ticker = new Ticker(MyAPIKey, MyUserId, MyPublicToken);

becomes,

Ticker ticker = new Ticker(MyAPIKey, MyAccessToken);
  • Ticker now streams order updates
  • New fields in Ticks
  • Changed type of instrument token to UInt32

Changes in function names:

Verion 2 Version 3
RequestAccessToken GenerateSession
SetSessionHook SetSessionExpiryHook
InvalidateToken InvalidateAccessToken
Margins GetMargins
GetOrder GetOrderHistory
GetTrades GetOrderTrades
ModifyProduct ConvertPosition
GetHistorical GetHistoricalData
GetMFOrder GetMFOrders
GetMFSIP GetMFSIPs

Changes in User structure

Verion 2 Version 3
_ APIKey
_ AvatarURL
PasswordReset _
MemberId _
OrderType OrderTypes
Exchange Exchanges
Product Products

Changes in Position structure

Verion 2 Version 3
_ DayBuyQuantity
_ DayBuyPrice
_ DaySellQuantity
_ DaySellPrice
NetBuyAmountM2M _
NetSellAmountM2M _

Changes in Quote structure

Verion 2 Version 3
_ InstrumentToken
_ Timestamp
_ AveragePrice
_ OIDayHigh
_ OIDayLow
ChangePercent _
LastTime LastTradeTime
OpenInterest OI

Changes in Tick structure

Verion 2 Version 3
_ LastTradeTime
_ OI
_ OIDayHigh
_ OIDayLow
_ Timestamp

Changes in Trade structure

Verion 2 Version 3
OrderTimestamp -
- FillTimestamp