pareeohnos / ktrade

A simple UI for managing your trades
MIT License
7 stars 5 forks source link

"Current Position", "Price when ordered" and "ordered at columns" not showing values #15

Closed Dolivent closed 3 years ago

Dolivent commented 3 years ago

image I have 3 AAPL trades with the option to trim all of them. one would sell 2 shares, another would sell 20

Dolivent commented 3 years ago

The potential solution might be to make the log a log, and not have any sell actions. Then have a separate positions panel in the dashboard with the sell actions

pareeohnos commented 3 years ago

So do you think in a situation like this, it should just combine all trades for a single ticker into a single position, rather than keeping them as separated trades? If so, how do you see it working in the situation where

If I then trim 1/3, what does the app deem the original position to calculate the 1/3 position?

Dolivent commented 3 years ago

I think youre right. Keeping them like this is the right methodology since each execution had the intention to be one trade. Would just need to show the original position and the shares remaining (currently a bug and not showing). Or a column titled "% of position remaining".

Was confused and thought the sell portions changing were a result of the multiple rows for the same stock. Rather, I believe this is because the Trim buttons trim remaining shares, not the original position. New Issue raised

Dolivent commented 3 years ago

image Filled not showing the actual filled amount