beeb / pancaketrade

Limit orders for PancakeSwap
GNU General Public License v3.0
200 stars 92 forks source link

sqlalchemy support #78

Open geeks121 opened 2 years ago

geeks121 commented 2 years ago

Feature Request

I'm running bot in heroku and it work and running ,, but i have problem ,, the bot run in worker and the database is sqlite.

heroku has restarted the bot every 24 hours and the data is loss because it not permanent.. the best way is to provide the sqlalchemy or there's other way to connect mysql or postgresql db with current code..

heroku has 1gb free for postgresql db ,, and it enought to use for bot,,

i'll push the simple workflow for heroku,,

beeb commented 2 years ago

Hello,

The script currently uses peewee which should support postgres and MySQL. I don't have time to add support right now but it's something that could be done.

If anyone has the resources to do it, please submit a PR against the development branch.