Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
change strength to amount
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialCrafter committed Feb 17, 2024
1 parent 1ccbc13 commit e56187a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def signals():

base = dict(map(lambda x: algorithm_output(*x), zip(algorithms, [prices] * len(algorithms))))

signals = [{'algorithm': k, 'signal': v[0], 'strength': v[1]} for (k, v) in base.items()]
# @TODO replace amount with user specified max instead of 10
signals = [{'algorithm': k, 'signal': v[0], 'amount': v[1] * 10} for (k, v) in base.items()]

return signals

0 comments on commit e56187a

Please sign in to comment.