TradeNote icon indicating copy to clipboard operation
TradeNote copied to clipboard

BUG: Tagged trades getting deleted if day contains tag

Open debegr92 opened this issue 10 months ago • 6 comments

Problem Trades get sometimes deleted from the overview and all statistics. This problem happend a lot to me before I figured out, what causes this.

How to reproduce

  1. Add trades
  2. Add a tag for the trading day (screen 1)
  3. Open a trade
  4. Add a tag for the trade (screen 2)
  5. Reload the page
  6. The tagged trade is now no longer there

Image

Image

Image

Some debug output

Image

debegr92 avatar Mar 17 '25 17:03 debegr92

I cannot reproduce this. For me, tagged trades are visible all the time.

C8opmBM avatar Mar 19 '25 07:03 C8opmBM

I cannot reproduce this.

Are you using TradeNote from the official docker image or building the container from the source?

I even tested tagging first the day then the trade and vice versa. Both leads to missing trades.

debegr92 avatar Mar 20 '25 05:03 debegr92

Using the official docker, hosted on my server. Been tinkering a lot with importing trades, etc, never missing tagged trades. Will send you tomorrow my csv (using Template), and you can test with it. Now Im on the road.

C8opmBM avatar Mar 20 '25 06:03 C8opmBM

Using the official docker, hosted on my server.

I am using the official docker on my server and building the container from source for local development. Both times I can reproduce this behavior.

debegr92 avatar Mar 20 '25 07:03 debegr92

Unfortunately I cannot provide you with sample for you to test now, as reimport does not seem to work, see https://github.com/Eleven-Trading/TradeNote/issues/131 I deleted the trading logs, will get back with a sample in the coming days.

C8opmBM avatar Mar 21 '25 06:03 C8opmBM

You are right, I now can reproduce this.

C8opmBM avatar Apr 08 '25 14:04 C8opmBM