Skip to content

Commit a4bc648

Browse files
committed
Add support for indicators module and fix some bugs
1 parent 8d5276d commit a4bc648

File tree

34 files changed

+3252
-181
lines changed

34 files changed

+3252
-181
lines changed

investing_algorithm_framework/__init__.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
CCXTTickerMarketDataSource, CSVOHLCVMarketDataSource, \
1818
CSVTickerMarketDataSource
1919
from .create_app import create_app
20+
from investing_algorithm_framework.indicators import *
2021

2122
__all__ = [
2223
"Algorithm",
@@ -66,5 +67,23 @@
6667
"load_backtest_report",
6768
"BacktestDateRange",
6869
"convert_polars_to_pandas",
69-
"DateRange"
70+
"DateRange",
71+
"get_rsi",
72+
"get_peaks",
73+
"is_uptrend",
74+
"is_downtrend",
75+
"is_crossover",
76+
"is_crossunder",
77+
"is_above",
78+
"is_below",
79+
"has_crossed_upward",
80+
"get_sma",
81+
"get_up_and_downtrends",
82+
"get_rsi",
83+
"get_ema",
84+
"get_adx",
85+
"has_crossed_downward",
86+
"get_willr",
87+
"is_bearish_divergence",
88+
"is_bullish_divergence",
7089
]

0 commit comments

Comments
 (0)