Update StrategyLearner to pass tests
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user