Update StrategyLearner to pass tests

This commit is contained in:
2020-11-04 17:32:02 -05:00
parent 10d87aefd3
commit 5fbbc26929
4 changed files with 22 additions and 58 deletions

View File

@@ -27,6 +27,7 @@ def plot_indicators(symbol, df):
rsi.plot(ax=ax[3])
for a in ax.flat:
a.grid()
m = MultiCursor(fig.canvas, ax, color='r', lw=0.5)
plt.show()
sys.exit(0)
@@ -124,7 +125,7 @@ def experiment1():
for a in ax:
a.grid()
MultiCursor(fig.canvas, ax, color='r', lw=0.5)
m = MultiCursor(fig.canvas, ax, color='r', lw=0.5)
plt.show()
# For debugging the classification learner:
@@ -133,7 +134,5 @@ def experiment1():
# df[["y_train", "y_query"]].plot(ax=ax[1])
if __name__ == "__main__":
experiment1()