Merge pull request #2444 from freqtrade/sql_cleanup

Fix scoped_session and add Documentation for strategy
This commit is contained in:
hroff-1902
2019-10-31 23:19:30 +03:00
committed by GitHub
6 changed files with 170 additions and 45 deletions

View File

@@ -106,7 +106,7 @@ def load_trades_from_db(db_url: str) -> pd.DataFrame:
t.stop_loss, t.initial_stop_loss,
t.strategy, t.ticker_interval
)
for t in Trade.query.all()],
for t in Trade.get_trades().all()],
columns=columns)
return trades