diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e9b0ee..c103c0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.2.0 + +* New API to get Virtual contract notes + ## 4.1.1 * AuctionNumber param in PlaceOrder diff --git a/Documentation/docs/changelog.md b/Documentation/docs/changelog.md index 4e9b0ee..c103c0e 100755 --- a/Documentation/docs/changelog.md +++ b/Documentation/docs/changelog.md @@ -1,3 +1,7 @@ +## 4.2.0 + +* New API to get Virtual contract notes + ## 4.1.1 * AuctionNumber param in PlaceOrder diff --git a/Documentation/docs/reference.md b/Documentation/docs/reference.md index a4f8212..a365c1c 100755 --- a/Documentation/docs/reference.md +++ b/Documentation/docs/reference.md @@ -105,6 +105,16 @@ Gets currently logged in user details **Returns:** User profile +### ![Method](/assets/method.jpg)   Kite.GetVirtualContractNote + +A virtual contract provides detailed charges order-wise for brokerage, STT, stamp duty, exchange transaction charges, SEBI turnover charge, and GST. + +| Argument | Type | Description | +| --- | --- | --- | +| ContractNoteParams | Collections.Generic.List{ContractNoteParams} | List of all order params to get contract notes for | + +**Returns:** List of contract notes for the params + ### ![Method](/assets/method.jpg)   Kite.GetOrderMargins Margin data for a specific order @@ -635,6 +645,86 @@ Variety (Constants.VARIETY_REGULAR, Constants.VARIETY_AMO, etc.) OrderMargin structure +## ![Class](/assets/class.jpg)   ContractNoteParams Class + +ContractNoteParams structure + +### ![Field](/assets/pubfield.jpg)   ContractNoteParams.OrderID + +Order ID that is received in the orderbook + +### ![Field](/assets/pubfield.jpg)   ContractNoteParams.Exchange + +Exchange in which instrument is listed (Constants.EXCHANGE_NSE, Constants.EXCHANGE_BSE, etc.) + +### ![Field](/assets/pubfield.jpg)   ContractNoteParams.TradingSymbol + +Tradingsymbol of the instrument (ex. RELIANCE, INFY) + +### ![Field](/assets/pubfield.jpg)   ContractNoteParams.TransactionType + +Transaction type (Constants.TRANSACTION_TYPE_BUY or Constants.TRANSACTION_TYPE_SELL) + +### ![Field](/assets/pubfield.jpg)   ContractNoteParams.Quantity + +Order quantity + +### ![Field](/assets/pubfield.jpg)   ContractNoteParams.AveragePrice + +Average price + +### ![Field](/assets/pubfield.jpg)   ContractNoteParams.Product + +Product code (Constants.PRODUCT_CNC, Constants.PRODUCT_MIS, Constants.PRODUCT_NRML) + +### ![Field](/assets/pubfield.jpg)   ContractNoteParams.OrderType + +Order type (Constants.ORDER_TYPE_MARKET, Constants.ORDER_TYPE_SL, etc.) + +### ![Field](/assets/pubfield.jpg)   ContractNoteParams.Variety + +Variety (Constants.VARIETY_REGULAR, Constants.VARIETY_AMO, etc.) + +## ![Class](/assets/class.jpg)   ContractNote Class + +ContractNote structure + +### ![Field](/assets/pubfield.jpg)   ContractNote.Exchange + +Exchange in which instrument is listed (Constants.EXCHANGE_NSE, Constants.EXCHANGE_BSE, etc.) + +### ![Field](/assets/pubfield.jpg)   ContractNote.TradingSymbol + +Tradingsymbol of the instrument (ex. RELIANCE, INFY) + +### ![Field](/assets/pubfield.jpg)   ContractNote.TransactionType + +Transaction type (Constants.TRANSACTION_TYPE_BUY or Constants.TRANSACTION_TYPE_SELL) + +### ![Field](/assets/pubfield.jpg)   ContractNote.Quantity + +Order quantity + +### ![Field](/assets/pubfield.jpg)   ContractNote.Price + +Order price + +### ![Field](/assets/pubfield.jpg)   ContractNote.Product + +Product code (Constants.PRODUCT_CNC, Constants.PRODUCT_MIS, Constants.PRODUCT_NRML) + +### ![Field](/assets/pubfield.jpg)   ContractNote.OrderType + +Order type (Constants.ORDER_TYPE_MARKET, Constants.ORDER_TYPE_SL, etc.) + +### ![Field](/assets/pubfield.jpg)   ContractNote.Variety + +Variety (Constants.VARIETY_REGULAR, Constants.VARIETY_AMO, etc.) + +### ![Field](/assets/pubfield.jpg)   ContractNote.Charges + +Order charges + ## ![Class](/assets/class.jpg)   OrderCharges Class OrderCharges structure diff --git a/Documentation/kiteconnect.xml b/Documentation/kiteconnect.xml index 00d852f..06204b5 100755 --- a/Documentation/kiteconnect.xml +++ b/Documentation/kiteconnect.xml @@ -94,6 +94,13 @@ User profile + + + A virtual contract provides detailed charges order-wise for brokerage, STT, stamp duty, exchange transaction charges, SEBI turnover charge, and GST. + + List of all order params to get contract notes for + List of contract notes for the params + Margin data for a specific order @@ -549,6 +556,106 @@ OrderMargin structure + + + ContractNoteParams structure + + + + + Order ID that is received in the orderbook + + + + + Exchange in which instrument is listed (Constants.EXCHANGE_NSE, Constants.EXCHANGE_BSE, etc.) + + + + + Tradingsymbol of the instrument (ex. RELIANCE, INFY) + + + + + Transaction type (Constants.TRANSACTION_TYPE_BUY or Constants.TRANSACTION_TYPE_SELL) + + + + + Order quantity + + + + + Average price + + + + + Product code (Constants.PRODUCT_CNC, Constants.PRODUCT_MIS, Constants.PRODUCT_NRML) + + + + + Order type (Constants.ORDER_TYPE_MARKET, Constants.ORDER_TYPE_SL, etc.) + + + + + Variety (Constants.VARIETY_REGULAR, Constants.VARIETY_AMO, etc.) + + + + + ContractNote structure + + + + + Exchange in which instrument is listed (Constants.EXCHANGE_NSE, Constants.EXCHANGE_BSE, etc.) + + + + + Tradingsymbol of the instrument (ex. RELIANCE, INFY) + + + + + Transaction type (Constants.TRANSACTION_TYPE_BUY or Constants.TRANSACTION_TYPE_SELL) + + + + + Order quantity + + + + + Order price + + + + + Product code (Constants.PRODUCT_CNC, Constants.PRODUCT_MIS, Constants.PRODUCT_NRML) + + + + + Order type (Constants.ORDER_TYPE_MARKET, Constants.ORDER_TYPE_SL, etc.) + + + + + Variety (Constants.VARIETY_REGULAR, Constants.VARIETY_AMO, etc.) + + + + + Order charges + + OrderCharges structure diff --git a/KiteConnect/KiteConnect.csproj b/KiteConnect/KiteConnect.csproj index 67b8253..73cb28c 100644 --- a/KiteConnect/KiteConnect.csproj +++ b/KiteConnect/KiteConnect.csproj @@ -5,11 +5,11 @@ Ajin Asokan Zerodha Technology Pvt. Ltd. Tech.Zerodha.KiteConnect - 4.1.1 - 4.1.1 - 4.1.1 + 4.2.0 + 4.2.0 + 4.2.0 The official .Net client for communicating with Kite Connect API. - Copyright 2020 + Copyright 2023 MIT https://github.com/zerodhatech/dotnetkiteconnect https://kite.zerodha.com/static/images/kite-logo.svg