geniusyield / strategy-executor

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

Throw exception on missing price #44

Open 4TT1L4 opened 2 months ago

4TT1L4 commented 2 months ago

Problem:

Solution:

Code:

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