- method:
getProfile
- method:
getOHLC
- method:
getLTP
- method:
getInstrumentsMargins
- Added MF API calls
- method:
getMFOrders
- method:
getMFHoldings
- method:
placeMFOrder
- method:
cancelMFOrder
- method:
getMFSIPS
- method:
placeMFSIP
- method:
modifyMFSIP
- method:
cancelMFSIP
- method:
getMFInstruments
- method:
exitOrder
- method:
renewAccessToken
- method:
invalidateRefreshToken
- constants for products, order type, transaction type, variety, validity, exchanges and margin segments
v2 | v3 |
---|---|
requestAccessToken | generateSession |
invalidateToken | invalidateAccessToken |
setSessionHook | setSessionExpiryHook |
loginUrl | getLoginURL |
margins | getMargins |
orderPlace | placeOrder |
orderModify | modifyOrder |
orderCancel | cancelOrder |
orders | getOrders |
orders(order_id) | getOrderHistory |
trades | getTrades |
trades(order_id) | getOrderTrades |
holdings | getHoldings |
positions | getPositions |
productModify | convertPosition |
instruments | getInstruments |
historical | getHistoricalData |
triggerRange | getTriggerRange |
KiteConnect
takes all the params as object includingapi_key
convertPosition
method takes all the params as object- All success response returns only
data
field in response instead with envelope - All error thrown are in the format of
{"message": "Unknown error", "error_type": "GeneralException", "data": null}
- Changes in
generateSession
response structure - Changes in
getPositions
response structure - Changes in
getQuote
response structure - Changes in
placeOrder
params - Changes in
getHistoricalData
params - All datetime string fields has been converted to
Date
object.getOrders
,getOrderHistory
,getTrades
,getOrderTrades
,getMFOrders
responses fieldsorder_timestamp
,exchange_timestamp
,fill_timestamp
getMFSIPS
fieldscreated
,last_instalment
generateSession
fieldlogin_time
getQuote
fieldstimestamp
,last_trade_time
getInstruments
fieldexpiry
getMFInstruments
fieldlast_price_date
KiteTicker
receives paramaccess_token
instead ofpublic_token
- New params addedd to
KiteTicker
initializerreconnect
- Toggle auto reconnect on/offmax_retry
- Max retry count for auto reconnectmax_delay
- Max delay between subsequent retries- Auto reconnect is enabled by default
- Renamed callback
reconnecting
toreconnect
- Added new callbacks
error
- when socket connection is closed with error. Error is received as a first paramclose
- when socket connection is closed cleanlyorder_update
- When order update (postback) is received for the connected user (Data object is received as first argument)