Please add a column "Message" to the table of open positions in the account window.
(Like the message column for pending orders in the Order Manager window)
This could show the history of the position:
* Created at <date Time> by Order xyz
* Order zzz Added to position at <Date Time>
* Order abc partially closed the position at <Date Time>
* Order efg finally closed the position at <Date Time>
* Error Messages
and most important for me:
My strategy creates two or three exit orders (Stop Loss, Profit Target, etc) for each open position. With this "Message" column I could write messages like:
* 2 pending closing orders
and check if my strategy (and the complete software chain) is doing what it should do.
(Like the message column for pending orders in the Order Manager window)
This could show the history of the position:
* Created at <date Time> by Order xyz
* Order zzz Added to position at <Date Time>
* Order abc partially closed the position at <Date Time>
* Order efg finally closed the position at <Date Time>
* Error Messages
and most important for me:
My strategy creates two or three exit orders (Stop Loss, Profit Target, etc) for each open position. With this "Message" column I could write messages like:
* 2 pending closing orders
and check if my strategy (and the complete software chain) is doing what it should do.
Rename
It seems that "the history of the position" is directed by Wealth-Lab whereas to "write messages" to that column imposes some WealthScript extension. Could you clarify how they align?
The basic idea here consists of two parts:
1. WL core software adds a List of messages to a BrokerPosition.
2. A Broker Adapter will add to this messages as a position goes through its life cycle.
1. WL core software adds a List of messages to a BrokerPosition.
2. A Broker Adapter will add to this messages as a position goes through its life cycle.
I see it now, you're talking about the BrokerProvider API.
Wouldn't these proposed messages be more appropriate in the Orders window rather than the Accounts window? What am I missing?
We have such messages for (pending) orders already, this is good and helpful.
If I have a strategy which uses several orders to open, enlarge, partially close and finally close a position it would be helpful to have such a "history" for a position also, just to check if everything goes ok.
If I have a strategy which uses several orders to open, enlarge, partially close and finally close a position it would be helpful to have such a "history" for a position also, just to check if everything goes ok.
The Positions in this list are obtained via broker back-end calls, they're not instantiated by WL7 so there's really no way we can hook messages into them.
Let me reiterate and explain this #FeatureRequest in a Software Developer's terms:
* Please add a field called "Messages" of type List<string> to the WL class "Position"
* If this List contains elements, then show these elements/strings/messages in Tools->Accounts, list of open positions table in a column named "Messages".
* Let a broker adapter create fill in these messages.
This is basically exactly the same mechanism as it exists for pending orders.
As I said before, this would allow better transparency and robustness for complex strategies.
* Please add a field called "Messages" of type List<string> to the WL class "Position"
* If this List contains elements, then show these elements/strings/messages in Tools->Accounts, list of open positions table in a column named "Messages".
* Let a broker adapter create fill in these messages.
This is basically exactly the same mechanism as it exists for pending orders.
As I said before, this would allow better transparency and robustness for complex strategies.
Your Response
Post
Edit Post
Login is required