All notable changes to phpkiteconnect
will be documented in this file.
- Major refactor to project structure and code
- PHP support 7.3+
- Integrated composer packagist
- Integrated Guzzle HTTP client ditching CURL
- Units Tests
- initial release
- method:
getProfile
- method:
getOHLC
- method:
getLTP
- method:
getMFOrders
- method:
getMFHoldings
- method:
placeMFOrder
- method:
cancelMFOrder
- method:
getMFSIPS
- method:
placeMFSIP
- method:
modifyMFSIP
- method:
cancelMFSIP
- method:
getMFInstruments
- method:
exitOrder
- method:
renewAccessToken
- method:
invalidateRefreshToken
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 |
placeOrder
method takes all the params as array includingvariety
modifyOrder
method takes all the params as array includingvariety
andorder_id
cancelOrder
method takes all the params as arrayconvertPosition
method takes all the params as arraygetHistoricalData
method takes all the params as array- Changes in
requestAccessToken
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