danilogalisteu

Results 14 comments of danilogalisteu

The check apparently failed due to some network error. Can this be run again? ![image](https://user-images.githubusercontent.com/10237982/154136228-0833968f-58be-4d90-88d3-b553b8c09bf6.png)

The same happens to me. The invalid tickers are not previously identified and removed with the "validate = True" argument. The `data` dictionary is returned from `self._get_data` with a `NaN`...

To sidestep the problem I modified the function `_historical_data_to_dataframe` as such: ```python def _historical_data_to_dataframe(self, data, params, adj_timezone): d = {} invalid = [] for symbol in self._symbols: if data[symbol] is...

Check if this solves it for you: issue https://github.com/dpguthrie/yahooquery/issues/97#issuecomment-977467565 and pull request https://github.com/dpguthrie/yahooquery/pull/102

See solution in [#97](https://github.com/dpguthrie/yahooquery/issues/97#issuecomment-977467565) and pull request #102

> `ma_co_strat = bt.Strategy('EMA_crossover', [bt.algos.WeighTarget(signal), bt.algos.Rebalance()])` Does it work if you add `bt.algos.SelectAll()`? This is how I use it: ``` s1 = bt.Strategy('s1', [bt.algos.SelectAll(), bt.algos.WeighTarget(strat), bt.algos.Rebalance()]) b1 = bt.Backtest(s1, data,...

I'm running the master branch.

@EduardoLoz12 in your third line `Signal.columns=[Price]` you set the *name* of the column as the DataFrame `Price`. That doesn't seem right. See that, in the post above yours, the line...

> Also, the only way to make `bt` work is if you get your data from `bt.get()`? No, any numerical series/dataframe with a datetime index should work. `bt.get()` just gets...