hikeon-kite-util

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i hikeon-kite-util

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

16.4 kB

Total Files

10

Last publish

Collaborators

  • hikeoncapital