Skip to content

Releases: zerodha/javakiteconnect

Kite Connect 3.1.0

25 Sep 12:50

Choose a tag to compare

  1. Added GTT feature to place, modify, cancel, fetch all GTTs.
  2. Added open interest to getHistoricalData method.
  3. Added upper and lower circuit attributes to Quote model.

Breaking changes from 3.0.2 to 3.1.0

getHistoricalData expects an extra parameter for the open interest of type boolean.

Kite Connect 3.0.2

08 May 05:43

Choose a tag to compare

Breaking changes from 3.0.1 to 3.0.2

** setEnableLogging** method is removed and now the Kite Connect constructor accepts enableDebugLog as a param with api_key.

Kite Connect 3.0.1

06 May 12:52

Choose a tag to compare

Breaking changes from 3.0.0 to 3.0.1

  1. setProxy method is removed and now the Kite Connect constructor accepts proxy as a param with api_key.

  2. Added support to listen to websocket error messages from the API.

Kite Connect 3.0.0

18 Jan 12:01

Choose a tag to compare

Breaking changes from version 2 to version 3

Place order (bracket order) parameters

version 2 version 3
squareoff_value squareoff
stoploss_value stoploss

Model name changes

version 2 version 3
MfHolding MFHolding
MfInstrument MFInstrument
MfOrder MFOrder
MfSip MFSIP

Order (model)

  • The orderTimestamp is now Date type.
  • The exchangeTimestamp is now Date type.

Trades (model)

  • The orderTimestamp is now fillTimestamp.
  • The exchangeTimestamp is now Date type.

MFOrder (model)

  • The orderTimestamp is now Date type.
  • The exchangeTimestamp is now Date type.

MFSIP (model)

  • The created is now Date type.
  • The Date is now Date type.

MFInstrument (model)

  • The purchase_allowed is now boolean type.
  • The redemption_allowed is now boolean type.
  • The last_price_date is now Date type.

Instrument (model)

  • The expiry is now Date type.

Package name changes

version 2 version 3
com.rainmatter.kitehttp com.zerodhatech.kiteconnect.kitehttp
com.rainmatter.utils com.zerodhatech.kiteconnect.utils
com.rainmatter.kiteconnect com.zerodhatech.kiteconnect
com.rainmatter.ticker com.zerodhatech.kiteconnect
com.rainmatter.models com.zerodhatech.models

Method name changes

version 2 version 3
requestAccessToken generateSession
modifyProduct convertPosition
getOrder getOrderHistory
getTrades(order_id) getOrderTrades(order_id)
getMfOrders getMFOrders
getMfOrder getMFOrder
getMfSips getMFSIPs
getMfSip getMFSIP
modifySip modifySIP
cancelSip cancelSIP
getMfInstruments getMFInstruments

Method with signature change

version 2
placeOrder
modifyOrder
cancelOrder
convertPosition
getTriggerRange
getHistoricalData
placeMFOrder
placeMFSIP
modifyMFSIP

For more details about each method go to KiteConnect.java

Funds (model)

version 2 version 3
Margins Margin

User (model)

  • UserModel is now User.
version 2 version 3
product products
exchange exchanges
orderType orderTypes
passwordReset NA
memberId NA
NA apiKey
  • loginTime is now of Date type.

Position (model)

Added new fields

version 3
dayBuyQuantity
daySellQuantity
dayBuyPrice
daySellPrice
dayBuyValue
daySellValue
value

Kite Ticker (Websockets)

  • Kite Ticker is now authenticated using access_token and not public_token.

Version 2:

Kiteconnect kiteSdk = new Kiteconnect("your_apiKey");

Version 3:

KiteTicker tickerProvider = new KiteTicker(kiteConnect.getUserId(), kiteConnect.getAccessToken(), kiteConnect.getApiKey());
  • Order postbacks are now streamed on Kite Ticker.

  • Added new fields in full mode.

version 3
lastTradedTime
openInterest
oiDayHigh
oiDayLow
tickTimestamp
  • Changes:
version 2 version 3
OnTick OnTicks
setTimeIntervalForReconnection NA
NA setMaximumRetryInterval
netPriceChangeFromClosingPrice change

Quote

  • Quote will accept multiple params and returns a map of Quote model.
  • Added new fields open interest, tick timestamp, last traded time, average price, day high OI, day low OI.
  • lastTradedPrice is now lastPrice.
version 3
instrumentToken
timestamp
averagePrice
oiDayHigh
oiDayLow
  • Changes:
version 2 version 3
lastTime(String) lastTradedTime(Date)
changePercent NA
depth(Map<String, ArrayList>) depth(MarketDepth type)
  • Removed:
version 2 version 3
IndicesQuote NA

Profile

  • Added new profile API call to fetch user details.

Added new OHLC and LTP API calls to fetch data for multiple instruments at once.

14 Oct 05:32

Choose a tag to compare

New features:-

  1. Added OHLC fetch API for multiple(up to 200) instruments at once.
  2. Added LTP fetch API for multiple(up to 200) instruments at once.

Breaking changes:-

  1. Get Holdings API will return a list of holdings instead of holdings object.
  2. Get Positions will return a map with day and net positions.
  3. Get Orderbook will return a list of orders instead of single order object.
  4. Get trades will return a list of trades instead of a single trades object.
  5. Get trades for an order will return a list of trades instead of a single object.
  6. Get Mutual Funds orders will return a list of orders.
  7. Get Mutual Funds SIPs will return a list of SIPs.

Updated examples are here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java

Included Mutualfunds API

15 Aug 07:40

Choose a tag to compare

Change log:
Retrieving and placing Mutualfunds orders.
Retrieving, placing and modifying Mutualfunds SIP.
Retrieving Mutualfunds holdings.

added reconnection to ticker

11 Apr 14:58

Choose a tag to compare

  1. Added reconnection mechanism to ticker.
  2. Created new POJO for Indices quotes.

added changes to parse NSE indices in modeLTP

21 Mar 12:17

Choose a tag to compare

v1.4.2

updated readme to denote new version of maven

Added special orders exit and get quotes for indices

29 Nov 08:36

Choose a tag to compare

v1.4.1

updated examples and readme

Bug fixes

01 Nov 10:26

Choose a tag to compare

v1.4

changes to fix routes for get order details.