Skip to content

cuwan report: realised and unrealised profit per bot - #16

Merged
sgnd merged 1 commit into
mainfrom
claude/cuwan-report
Nov 18, 2026
Merged

sgnd merged 1 commit into
mainfrom
claude/cuwan-report

Conversation

@sgnd

@sgnd sgnd commented Nov 18, 2026

Copy link
Copy Markdown
Owner

cuwan report shows realised (FIFO), unrealised, estimated fees and round trips per bot from the local store. Uses the order's limit price, not the average fill.

Lint and tests pass locally.

🤖 Generated with Claude Code

Realised profit matches fills FIFO; unrealised uses the remaining net
size at last_price. Fees are an estimate at --fee (default 0.1%), since
the store keeps no venue fees. The store has one runtime per bot, so a
bot shows the mode it last ran in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sgnd
sgnd enabled auto-merge November 18, 2026 10:48
@sgnd
sgnd merged commit 7a881b7 into main Nov 18, 2026
8 checks passed
@sgnd
sgnd deleted the claude/cuwan-report branch November 18, 2026 10:51
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant