tradingstrategy-ai / trade-executor

A Python framework for managing positions and trades in DeFi
https://tradingstrategy.ai
Other
101 stars 28 forks source link

different time frames for pre calculated indicators #961

Closed AlexTheLion123 closed 3 months ago

AlexTheLion123 commented 3 months ago

Summary

Acceptance criteria

indicators.add(
      "ema_4h",
      pandas_ta.ema,
      {"length": 10},
      IndicatorSource.close_price,
      time_bucket=TimeBucket.h4,
  )