I work on a new Broker Adapter.
In GetActiveOrders() I go
But when I view the order details in Order Manager there are no Messages displayed:

What is wrong?
In GetActiveOrders() I go
CODE:
public override List<Transaction> GetActiveOrders() { .... Transaction tr = new(); tr.Messages.Add($"Reason: {osr.reason.Value}"); .... }
But when I view the order details in Order Manager there are no Messages displayed:
What is wrong?
Rename
Not enough information in the snippet, but probably you're not assigning all the properties (there's not even a symbol).
Definitely don't miss assigning this to tr.Broker.
Definitely don't miss assigning this to tr.Broker.
Then again, I mocked up adding a message for GetActiveOrders() for a one of my brokers and the message was not retained for the transaction. We'll have to look into it!
Indeed, those Transaction Messages were being cleared after GetActiveOrders() - fixed for the next build.
Your Response
Post
Edit Post
Login is required