You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
The bot tries to divide by zero in the sellSideStrategy when the price feed for ASSET_B fails, which caused the bot to crash.
Expected behavior
I think the correct behavior in this situation is for the bot to skip the update cycle if any one of the price feeds fail or if either of the price feeds return a zero value.
Frequency
The frequency is: Sometimes [when the price feeds return an invalid value]
Steps To Reproduce
Here are the steps to reproduce the issue (see attachments in section below):
Run the bot with price feeds
Return a zero value from the price feed (can use the "fixed" value to test this)
Describe the bug
The bot tries to divide by zero in the
sellSideStrategy
when the price feed forASSET_B
fails, which caused the bot to crash.Expected behavior
I think the correct behavior in this situation is for the bot to skip the update cycle if any one of the price feeds fail or if either of the price feeds return a zero value.
Frequency
The frequency is: Sometimes [when the price feeds return an invalid value]
Steps To Reproduce
Here are the steps to reproduce the issue (see attachments in section below):
Possible Solution
See expected behavior
Your Environment
Context
I am unable to run the bot reliably because of this bug.
Attachments
See the log here
The text was updated successfully, but these errors were encountered: