Releases: zerodha/dotnetkiteconnect
Releases · zerodha/dotnetkiteconnect
v4.3.0
v4.2.1
- Fixed Tick.Change value for MODE_FULL
Full Changelog: v4.2.0...v4.2.1
v4.2.0
v4.1.1
Features
What's Changed
- .NET target is now
net6.0
. Previous targetnetstandard2.0
has reached end-of-life as of Dec 2022. - Charges data in the
GetMargins
API. - New API to get Auctions data -
GetAuctionInstruments
. - New variety
VARIETY_AUCTION
supported inPlaceOrder
. - New param
AuctionNumber
supported inPlaceOrder
. - New fields in
Holding
struct. - New fields in
OrderMargin
struct.
Full Changelog: v3.1.0...v4.1.0
v3.1.0
- Added TTL validity for orders
- Added support for Iceberg orders
Version 3.0.7
- Add order margins API
KiteConnect .Net Standard 3.0.5
This build onwards library will target netstandard2.0 for compatibility with .Net framework and .Net core.
Version 3.0.3
- Added Open Interest data to historical API
- Added Circuit Limit data to quote API
Version 3.0.2
- Added GTT support
- Fixed issue in parsing quote data of index instruments
New APIs:
- GetGTTs
- GetGTT
- PlaceGTT
- ModifyGTT
- CancelGTT
KiteConnect .Net Client Library 3.0.0 beta 2
This is the second 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.
Updates in Beta 2
- Fixed a bug in parsing quote API for indices
- Fixed a bug in receiving ticker packets that resulted in partial tick data while subscribing to many instruments at once.
- Added new trigger range API that supports bulk fetch.
TrigerRange triggerRange = kite.GetTriggerRange(
Exchange: Constants.EXCHANGE_NSE,
TradingSymbol: "INFY",
TrasactionType: Constants.TRANSACTION_TYPE_BUY
);
Changes to:
Dictionary <string, TrigerRange> triggerRange = kite.GetTriggerRange(
InstrumentId: new string[] { "NSE:ASHOKLEY", "NSE:INFY" },
TrasactionType: Constants.TRANSACTION_TYPE_BUY
);
- Changes in TriggerRange structure
Beta 1 | Beta 2 |
---|---|
_ | InstrumentToken |
Start | Lower |
End | Upper |
Percent | Percentage |
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 |