tradingstrategy-ai / trade-executor

A Python framework for managing positions and trades in DeFi
https://tradingstrategy.ai
Other
107 stars 29 forks source link

Support retry for short trade #887

Open hieuh25 opened 7 months ago

hieuh25 commented 7 months ago

Currently short trades can be failed without proper reason with just execution reverted message. Fixing this problem post-mortem proved to be very difficult. Instead we could have retry logic with some wait time (e.g: 30s) to retry these failed trades a few times before giving up totally