Hey,
Just to provide an example,
strategy1 = cerebro.run()
st = strategy1[0]
# To return something back from the strategy -
df = st.params.results # Will return your df back.
st.params.midmaperiod # will return back 20 and so on.
Hey,
Just to provide an example,
strategy1 = cerebro.run()
st = strategy1[0]
# To return something back from the strategy -
df = st.params.results # Will return your df back.
st.params.midmaperiod # will return back 20 and so on.
I had the same error that went away after I installed IbPy2. But just another trivial point that I missed is that, do restart your kernel in any python platform you are working on, after pip installing IbPy2. Or else it keeps throwing the same error haha.