Issue the orders manually, gives more control over the orders sent. Try using the parent-child orders. It would be better if you could post a snippet of the code, for further analysis. Try reading the bracket order documention for manually issuing them.
Still sort of stuck on this. I replicated the examples, and it is still not working. Is there a way I can run the example without changes, where do I get the VChart data used in rollover.py; I could not find them on GitHub. Do u need to subscribe to visual chart to be able to download the data and run this example? Thanks
You can use simple strategy which will go thru the data feeds and every next() print available prices.
Check out the docs: Quickstart - Access prices, Multi Example - How to process several data feeds.
Another way - obtain cerebro results after run and extract data feeds from the strategies returned.
Check out the docs: Cerebro - Returning the results
Your question is not totally clear, but let me try.
You want to issue buy order and sell order at the same time for the same data and gave position open. Right?
You can do this only if order sizes are different. Or you use different data feeds for buy and sell orders. Otherwise it will be zero position after both orders processing.
@robin-dhillon said in About Commission:
Thanks Robin, I did some further studies on how to store the commission info. Turns out the easiest way is to use notify_trade nicely.