Eduardo Lozada
Eduardo Lozada
Hello, so i used this `pip install requests-html` but i got the package but the **version 0.0.1**. After that i tried using `pip install requests-html==0.10.0` but it gives me this...
### Hello, so i have almost the same error and cant fix it. > Price=data1["Adj Close"].to_frame() > Signal=data1["Signals"].to_frame() > Signal.columns=[Price] > bt_strategy=bt.Strategy("Strategye", [bt.algos.WeighTarget(Signal), bt.algos.Rebalance()]) > bt_backtest=bt.Backtest(bt_strategy, Price) > bt_result=bt.run(bt_backtest) >...
**@danilogalisteu Thank you for the fast reply!** **Alright, so i did this. I put `"ticker"` as a string name for both columns (not sure if that's right though). Both are...
Thanks, sure I can share with you the data of `data1`. [data1Excel.xlsx](https://github.com/pmorissette/bt/files/7516371/data1Excel.xlsx). I still cant fix this problem. When i run this code without the `bt.algos.Rebalance()` it works but give...
@danilogalisteu No, actually. I was trying to code that `Signal=1` = Buy, `Signal=-1` = Sell. Am i using the wrong `algos`? Should i change the Signal data to weigh type?
@danilogalisteu Thank you very much! I used everything you coded and it worked! Will keep working on my trading bot now.