1.0.1 • Published 4 years ago

hikeon-kite-util v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

hikeon-kite-util

Install and use kite utils

  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

Methods and files

kiteConnections

  1. getKiteConnect - Creates new connection to Zerodha kite using userId(Zerodha userId) passed.
  2. getKiteTicker - Gets connection to Zerodha kite ticker using userId(Zerodha userId) passed.
  3. updateClientKiteDataQueue - stores the Zerodha kite details related to each client ,it has to be part of BatchJobs

zerodha

  1. 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
1.0.1

4 years ago

1.0.0

4 years ago