@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.07 kB
text/typescript
export { getLastCompletedMarketCandle } from './candle_utils.mjs';
export { candleFetchDayConfigs, candleMaxDayConfigs, intervalMinuteConfigs } from './configs.mjs';
export { calculatePL, isProfitReached, isStoplossReached } from './pl_utils.mjs';
export { getLoggedSmartapi, getLoggedWebsocket, getSmartapi } from './smartapi/index.mjs';
export { OHLCData } from './smartapi/ohlc_data.mjs';
export { CandleDataParams, SmartApiEnhanced, SmartApiError } from './smartapi/smartapi_enhanced.mjs';
export { getIndexHistoricalData, getIndexLatestHistoricalData, getIndexScripLtpMap, getManyScripLtpMap, getManyScripLtpMapCache } from './smartapi_utils.mjs';
export { OHLCDataType, atrSeries, emaCrossoverTrends, emaSeries, rmaSeries, smaSeries, trSeries } from './ta_lib.mjs';
export { CacheInterface, CandleInterval, Exchange, InstrumentDump, LTPData, OptionLabel, OptionType, OrderStatus, ScripIdentify, ScripLtp, ScripLtpMap, ScripTrendMap, SpreadType, Transaction, Trend } from './types.mjs';
import '@thoshpathi/smartapi-javascript';
import '@thoshpathi/utils-core';