You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> **NOTICE (Jan 2018): Upgrade to Kite Connect 3.0**
2
-
This repository is being phased and will be replaced soon by Kite Connect v3. Use the [kite3](https://github.com/zerodhatech/javakiteconnect/tree/kite3) branch instead. Read the [announcement](https://kite.trade/forum/discussion/2998/upgrade-to-kite-connect-3-0) on the forum.
3
-
4
-
# The Kite Connect API Java client
5
-
1
+
# The Kite Connect 3.0 API Java client
6
2
The official Java client for communicating with [Kite Connect API](https://kite.trade).
7
3
8
4
Kite Connect is a set of REST-like APIs that expose many capabilities required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (WebSockets), and more, with the simple HTTP API collection.
9
5
10
-
[Rainmatter](http://rainmatter.com) (c) 2016. Licensed under the MIT License.
11
-
12
-
##Documentation
13
-
-[Kite Connect HTTP API documentation](https://kite.trade/docs/connect/v1)
-[Download Kite Connect 3 jar file](https://github.com/zerodhatech/javakiteconnect/tree/kite3/dist) and include it in your build path.
19
14
20
-
> **This version will be deprecated soon. Please refer to the [kite3](https://github.com/zerodhatech/javakiteconnect/tree/kite3) branch for the Kite Connect 3 API and use the JAR in the dist directory.**
15
+
- Include com.rainmatter.kiteconnect into build path from maven. Use version 3.0.0
21
16
22
-
-[Download jar file](https://github.com/rainmattertech/javakiteconnect/blob/master/dist/kiteconnect.jar) and include it in your build path.
23
-
24
-
- Include com.rainmatter.kiteconnect into build path from maven. Use version 1.4.5
17
+
- To use javakiteconnect in **Android**, you need to include jar file in the libs directory and add the following line in you module's gradle file ``` compile files('libs/kiteconnect.jar') ```
/** set mode is used to set mode in which you need tick for list of tokens.
143
+
* Ticker allows three modes, modeFull, modeQuote, modeLTP.
144
+
* For getting only last traded price, use modeLTP
145
+
* For getting last traded price, last traded quantity, average price, volume traded today, total sell quantity and total buy quantity, open, high, low, close, change, use modeQuote
For more details about each method go to [KiteConnect.java](https://github.com/zerodhatech/javakiteconnect/blob/kite3/kiteconnect/src/com/zerodhatech/kiteconnect/KiteConnect.java)
247
+
248
+
#### Funds (model)
249
+
250
+
| version 2 | version 3 |
251
+
| :---: | :---: |
252
+
| Margins | Margin |
253
+
254
+
#### User (model)
255
+
256
+
* UserModel is now User.
257
+
258
+
| version 2 | version 3 |
259
+
| :---: | :---: |
260
+
| product | products |
261
+
| exchange | exchanges |
262
+
| orderType | orderTypes |
263
+
| passwordReset |**NA**|
264
+
| memberId |**NA**|
265
+
|**NA**| apiKey |
266
+
267
+
* loginTime is now of Date type.
268
+
269
+
#### Position (model)
270
+
271
+
Added new fields
272
+
273
+
| version 3 |
274
+
| :---: |
275
+
| dayBuyQuantity |
276
+
| daySellQuantity |
277
+
| dayBuyPrice |
278
+
| daySellPrice |
279
+
| dayBuyValue |
280
+
| daySellValue |
281
+
| value |
282
+
283
+
#### Kite Ticker (Websockets)
284
+
285
+
* Kite Ticker is now authenticated using access_token and not public_token.
0 commit comments