To run your bots automatically, you need to set up a cron job on your server. This will execute all active bots at regular intervals.
This example runs all active bots every 5 minutes. Adjust the schedule as needed:
• */1 * * * * = Every 1 minute
• */5 * * * * = Every 5 minutes
• 0 * * * * = Every hour
Remove all log entries from the database
Remove all closed trades (keeps open positions)
WARNING: This will delete all bots, trades, and logs
Note: To add more brokers, you can extend the broker API integration in the brokers.php file.