noahtheprogrammer / soltrade

Python trading bot using the Solana blockchain.
https://discord.gg/WDS9Ya8KvX
GNU General Public License v3.0
202 stars 90 forks source link

Stoploss, takeprofit #17

Closed simonpfeifhofer closed 8 months ago

simonpfeifhofer commented 8 months ago

Are https://github.com/noahtheprogrammer/soltrade/blob/87c8eea2ad831813b59b222f3d654414357ff6ed/soltrade/trading.py#L39 and https://github.com/noahtheprogrammer/soltrade/blob/87c8eea2ad831813b59b222f3d654414357ff6ed/soltrade/trading.py#L40 stored only in memory?

What happens on a restart? Would i be necessary to persist the open order?

simonpfeifhofer commented 8 months ago

Duplicate