danilogalisteu

Results 14 comments of danilogalisteu

Before I run the code, this is what I see in the relevant columns of your data: Date | Adj Close | Signals -- | -- | -- 2016-12-29 00:00:00...

You should change your signal to stay at 1 when you want to be long and go to 0 when you want to be flat, if that's what you want....

This would be the weight calculation from the signal if you want to go long at signal=1 and go flat at signal=-1. ```python import numpy as np import pandas as...

Hello, For the same reasons, it would be nice to have a `thousands` argument (optional, would be sometimes set to '.' by European and LatAm users, and to ',' by...