How to display buy/sell of shares in the trade history #36
Replies: 8 comments
-
My idea for this... |
Beta Was this translation helpful? Give feedback.
-
Thanks! Your suggestion is similar to what I was thinking also. I will implement it and then we can evaluate it to see if we need to make and further changes and improvements. |
Beta Was this translation helpful? Give feedback.
-
Here is an early design of the new trade history for shares/futures. Still lots of work to do on the underlying logic because I need to ensure that short selling is handled correctly (I don't think it is at this point). There is also the scenario with dealing with FIFO situations where the Share Sell carries across multiple underlying previous share buys. For example, how to display the Sell transaction in the screenshot if it was a sale of 250 shares instead of 100. I assume that I will need to display 3 "SELL" lines (100, 100, 50). |
Beta Was this translation helpful? Give feedback.
-
And here is the previous example using AVERAGE costing rather than FIFO. |
Beta Was this translation helpful? Give feedback.
-
Did a lot of work today on code to handle shares/futures, long and short selling, and handling the related AVERAGE or FIFO costing. Initial tests are promising that the cases are being handled correctly. |
Beta Was this translation helpful? Give feedback.
-
This functionality is starting to take shape nicely. I modified the closed trades logic to capture and Shares/Futures sells (these amounts are also reflected in the Ticker Totals output). This currently works only for AVERAGE COSTING. I still have work to do for FIFO COSTING. |
Beta Was this translation helpful? Give feedback.
-
A lot of work done on implementing FIFO COSTING. Should now be feature complete. Testing remains. |
Beta Was this translation helpful? Give feedback.
-
This is implemented and is in Version 4 |
Beta Was this translation helpful? Give feedback.
-
What would be the best way to display the ongoing purchasing and sales of shares in the Trade history?
I imagine displaying the quantity of shares purchased @ average cost (or FIFO cost).
Likewise, the sale of shares we would display the quantity sold, sale price, average cost and finally the net profit/loss.
I am not the best at visual design so any thoughts on the best way to represent this data visually would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions