Marco Lopes

Results 6 comments of Marco Lopes

from https://pmorissette.github.io/bt/examples.html#sma-crossover-strategy ```python ## download some data & calc SMAs data = bt.get('spy', start='2010-01-01') sma50 = data.rolling(50).mean() sma200 = data.rolling(200).mean() ## now we need to calculate our target weight DataFrame...

Had to debug a program to have the same conclusion. Default level is warning, info will not be shown. As it's seems to take time to incorporate the change I...

The documentation was moved from website (already deleted) to github repos (not yet merged...). pull request: https://github.com/KxSystems/ml/pull/103 You can already read everything from https://github.com/StephenTaylor-Kx/ml/tree/2023.03.01/docs

They are correct you can use dotenv_path or stream to create a dotenv (which make both optionals). Encoding is also optional for tempfile https://docs.python.org/3/library/tempfile.html.

I agree with `dotenv_path: Optional[StrPath] = None`, the DotEnv object is build on `load_dotenv` which first arg is `dotenv_path: Optional[StrPath] = None`.