@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.
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.
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.
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