You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is worth fixing because set should not be trying to report profits anyway. Since many users will want to list the trades for their taxes, a separate feature should be to identify sells and follow some simple rule for calculating the capital gain or loss for each one. The asset command should trigger a request for an updated cost basis for whichever assets get their "off-exchange" amounts updated. A solution I'm working on is a "roundTrips" feature, which will explicitly indicate that it under-reports profits by ignoring trades that have not "round-tripped" yet as well as all trades that aren't expected to be closed profitably by the bot.
This is a known bug that I have not fixed. I believe it's due to settling margin trades which causes them to be reported twice.
The text was updated successfully, but these errors were encountered: