- Using HttpClient for HTTP requests. Fixes #36 and #39.
- Using SHA256.HashData instead of SHA256Managed. Fixes #41.
- Fixed Tick.Change value for MODE_FULL
- New API to get Virtual contract notes
- AuctionNumber param in PlaceOrder
- .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 fields in
Holding
struct.
- Updated login URL to https://kite.zerodha.com
- Changed data type of Volume, OI fields in Historical to UInt64
- Added TTL validity for orders
- Added support for Iceberg orders
- Fix price conversion for BCD in ticker
- Added basket margins API
- Added response mode for both basket & order margins APIs
- Better exception messages for DataExceptions
- Added order margins API
- Fixed an exception caused by missing
instrument_token
field in GTT response
- .Net Standard migration
- Culture invariant parsing of decimals
- Changed GTTCondition.InstrumentToken type to UInt32
- Changed GTTParams.InstrumentToken type to UInt32
- Fixed parsing of doubles with scientific notations
- Added Circuit limits to quote
- Added Open Interest to Historical data
- Added GTT support
- Fixed issue in parsing quote data of index instruments
New APIs:
- GetGTTs
- GetGTT
- PlaceGTT
- ModifyGTT
- CancelGTT
- Disabled sending mode updates if the given list of tokens is empty
New APIs:
- GetInstrumentsMargins
- GetQuote
- GetOHLC
- GetLTP
- GetHistoricalData with timestamps
- GetProfile
Changes in Ticker:
- Use Access Token to authenticate instead of Public Token
Ticker ticker = new Ticker(MyAPIKey, MyUserId, MyPublicToken);
becomes,
Ticker ticker = new Ticker(MyAPIKey, MyUserId, MyAccessToken, Root: "wss://websocket.kite.trade/v3");
- Ticker now streams order updates
- New fields in Ticks
Changes in function names:
Verion 2 | Version 3 |
---|---|
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 |
PasswordReset | _ |
MemberId | _ |
OrderType | OrderTypes |
Exchange | Exchanges |
Product | Products |
Changes in Position structure:
Verion 2 | Version 3 |
---|---|
_ | DayBuyQuantity |
_ | DayBuyPrice |
_ | DaySellQuantity |
_ | DaySellPrice |
NetBuyAmountM2M | _ |
NetSellAmountM2M | _ |
BuyM2M | BuyM2MValue |
SellM2M | SellM2MValue |
Changes in Quote structure:
Verion 2 | Version 3 |
---|---|
_ | InstrumentToken |
_ | Timestamp |
_ | AveragePrice |
_ | DayHighOpenInterest |
_ | DayLowOpenInterest |
ChangePercent | _ |
LastTime | LastTradeTime |
Changes in Tick structure:
Verion 2 | Version 3 |
---|---|
_ | LastTradeTime |
_ | OpenInterest |
_ | DayHighOpenInterest |
_ | DayLowOpenInterest |
_ | Timestamp |