Skip to content

ichimokuCloudStrategy is not a function #492

@mikkeldanielsen

Description

@mikkeldanielsen

Hi I'm having some issues with using the strategy methods.

For instance using the ichimokuCloudStrategy method returns this error:
Error: (0 , indicatorts__WEBPACK_IMPORTED_MODULE_3__.ichimokuCloudStrategy) is not a function

My code is somewhat like this:

import { ichimokuCloudStrategy } from "indicatorts"

  const asset = {
    dates: dates,
    highs: highs,
    lows: lows,
    closings: closings
  }

 const defaultConfig = { short: 9, medium: 26, long: 52, close: 26 };
 const test = ichimokuCloudStrategy(asset, defaultConfig);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions