hikeon-kite-util
v1.0.1
Published
1. Install candle lib using npm i -S @hikeon/hikeon-kite-util 2. Import the candle lib in your code using require('@hikeon/hikeon-kite-util'); and assign to a const variable which can be used later
Downloads
1
Readme
hikeon-kite-util
Install and use kite utils
- Install candle lib using npm i -S @hikeon/hikeon-kite-util
- Import the candle lib in your code using require('@hikeon/hikeon-kite-util'); and assign to a const variable which can be used later
Methods and files
kiteConnections
- getKiteConnect - Creates new connection to Zerodha kite using userId(Zerodha userId) passed.
- getKiteTicker - Gets connection to Zerodha kite ticker using userId(Zerodha userId) passed.
- updateClientKiteDataQueue - stores the Zerodha kite details related to each client ,it has to be part of BatchJobs
zerodha
- marginCalculator - To calculate the margin price for given scripId based on entryPrice, scripId, underlyingScripId, instrumentType, orderType,transactionType, allocatedFund, segmentDB, stl, maxInvestRiskPercent, numberOfScrips, coUpperVal, coLowerVal, misMultiplier, normalMargin, lotSize, strikePrice,used in Quantity calculator for order connector