Hi, Andrew,
Originally Posted By: AndrewAMD
In the plugin, I get a BrokerBuy call. If the order is placed (instantly in pending mode), I return a trade ID from a counter. And normally, the order will eventually get filled, but not exactly at the most recently quoted price. As in: it might be a series of partial fills at different prices whose average will be close to but not equal to the most recently quoted price.

It would be useful to get the actual OrderId at the broker, rather then an artificial internal trade counter.
Same for actual order fill prices (rather then the quoted ask/bid at the time of placing an order).