Skip to content

Latest commit

 

History

History
75 lines (67 loc) · 2.8 KB

CHANGELOG.md

File metadata and controls

75 lines (67 loc) · 2.8 KB

Changelog

All notable changes to phpkiteconnect will be documented in this file.

4.0.0 - 2021-04-06

  • Major refactor to project structure and code
  • PHP support 7.3+
  • Integrated composer packagist
  • Integrated Guzzle HTTP client ditching CURL
  • Units Tests

1.0.0 - 202X-XX-XX

  • initial release

New Features

  • 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

API method name changes

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

Params and other changes

  • placeOrder method takes all the params as array including variety
  • modifyOrder method takes all the params as array including variety and order_id
  • cancelOrder method takes all the params as array
  • convertPosition method takes all the params as array
  • getHistoricalData 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 fields order_timestamp, exchange_timestamp, fill_timestamp
    • getMFSIPS fields created, last_instalment
    • generateSession field login_time
    • getQuote fields timestamp, last_trade_time
    • getInstruments field expiry
    • getMFInstruments field last_price_date