Skip to content

Fix protocol API tests for $1k default capital#133

Merged
FlyM1ss merged 1 commit into
Open-Finance-Lab:mainfrom
Allan-Feng:fix/protocol-tests-1k-capital
Jul 16, 2026
Merged

Fix protocol API tests for $1k default capital#133
FlyM1ss merged 1 commit into
Open-Finance-Lab:mainfrom
Allan-Feng:fix/protocol-tests-1k-capital

Conversation

@Allan-Feng

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • pytest dashboard/backend/tests/test_protocol_api.py::test_submit_valid_order (+ the three other previously failing cases) — pass locally
  • CI Backend tests green on this PR

Made with Cursor

Scale order sizes and position-cap expectations to the post-Open-Finance-Lab#126 $1k
equity / 25% weight budget so valid fills no longer starve on cash or
trip the notional cap.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

@Allan-Feng is attempting to deploy a commit to the allan-feng's projects Team on Vercel.

A member of the Team first needs to authorize it.

@FlyM1ss
FlyM1ss merged commit 3868c4f into Open-Finance-Lab:main Jul 16, 2026
3 of 4 checks passed
@FlyM1ss FlyM1ss mentioned this pull request Jul 16, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants