UNPKG

@thoshpathi/utils-smartapi

Version:

Extended utilities for Angel One's smartapi-javascript SDK, including custom methods and helpers for market data like candles, P&L, and more.

12 lines (11 loc) 1.06 kB
export { getLastCompletedMarketCandle } from './candle_utils.js'; export { candleFetchDayConfigs, candleMaxDayConfigs, intervalMinuteConfigs } from './configs.js'; export { calculatePL, isProfitReached, isStoplossReached } from './pl_utils.js'; export { getLoggedSmartapi, getLoggedWebsocket, getSmartapi } from './smartapi/index.js'; export { OHLCData } from './smartapi/ohlc_data.js'; export { CandleDataParams, SmartApiEnhanced, SmartApiError } from './smartapi/smartapi_enhanced.js'; export { getIndexHistoricalData, getIndexLatestHistoricalData, getIndexScripLtpMap, getManyScripLtpMap, getManyScripLtpMapCache } from './smartapi_utils.js'; export { OHLCDataType, atrSeries, emaCrossoverTrends, emaSeries, rmaSeries, smaSeries, trSeries } from './ta_lib.js'; export { CacheInterface, CandleInterval, Exchange, InstrumentDump, LTPData, OptionLabel, OptionType, OrderStatus, ScripIdentify, ScripLtp, ScripLtpMap, ScripTrendMap, SpreadType, Transaction, Trend } from './types.js'; import '@thoshpathi/smartapi-javascript'; import '@thoshpathi/utils-core';