geniusyield / strategy-executor

Trading Strategy Executor Framework for the Genius Yield DEX.
https://www.geniusyield.co/
Apache License 2.0
10 stars 5 forks source link

Throw exception on missing price #44

Open 4TT1L4 opened 7 months ago

4TT1L4 commented 7 months ago

Problem:

Solution:

Code:

https://github.com/geniusyield/strategy-executor/blob/f29a01890032b0eaad5f1f33d61d444ec09ea05c/api.py#L69