- ago
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.
1
943
Solved
8 Replies

Reply

Bookmark

Sort
- ago
#1
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?
0
- ago
#2
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.

0
- ago
#3
I see it now, you're talking about the BrokerProvider API.
0
- ago
#4
Wouldn't these proposed messages be more appropriate in the Orders window rather than the Accounts window? What am I missing?
0
- ago
#5
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.
0
- ago
#6
Offtopic moved to: https://www.wealth-lab.com/Discussion/Can-charts-be-trading-history-aware-like-ATP-charts-are-7353
0
Glitch8
 ( 12.10% )
- ago
#7
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.
0
Best Answer
- ago
#8
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.
0

Reply

Bookmark

Sort