cinar / indicatorts

IndicatorTS - Stock technical indicators and strategies in TypeScript for browser and server programs.
MIT License
280 stars 48 forks source link

Unable to use `macdStrategy` #500

Open Aravin opened 1 month ago

Aravin commented 1 month ago

Describe the bug macdStrategy is not exported into typescript I guess. Unable to use this function

To Reproduce

import { macdStrategy } from 'indicatorts';

const defaultConfig = { fast: 12, slow: 26, signal: 9 };
const actions = macdStrategy(asset, defaultConfig);

TypeScrip Error

Module '"indicatorts"' has no exported member 'macdStrategy'.ts(2305)