Skip to content

Commit

Permalink
bug fix in loading existing trades
Browse files Browse the repository at this point in the history
  • Loading branch information
amor71 committed Dec 30, 2020
1 parent 168b984 commit 53bf8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liualgotrader/models/new_trades.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async def load_latest(
t.algo_run_id=a.algo_run_id AND
a.algo_name=$2 AND
symbol=$1 AND
env=$3
algo_env=$3
ORDER BY tstamp DESC LIMIT 1
""",
symbol,
Expand Down

0 comments on commit 53bf8a6

Please sign in to comment.