This actually leads me to an interesting question
How do you make the bots play nicely with each other? If two strategies have unmatched bets how can you stop bot a from cancelling bot b's unmatched orders?
I have looked at tagging each order id with a strategy name however this becomes difficult if there are partial fills coz you have
1 order placed and unmatched with id 001
then 1 fill for £1.50 id 001
then 1 fill for £0.50 id 002
If you have two bots running its hard to know which strategy is responsible for the order 002.
thoughts?