Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests #26

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from
Draft

Update tests #26

wants to merge 4 commits into from

Conversation

RahulJain28
Copy link

  • Change cargo toml before merging
  • builds off dev

jarry-xiao and others added 4 commits March 8, 2023 14:13
Draft implementation of time-in-force (TIF) orders for Phoenix v1.

Added a standard test in test_market.rs. Could use more coverage

Changes:
- Uses the padding on the FIFORestingOrder to store and expiration slot
and an expiration time
- Modifies the OrderPacket struct to enable specification of expiration
- Injects logic into the matching engine to skip orders that are expired
Changes:
- DecrementTake handles partial removals
- Free fund accounting now occurs after the matching/order placement to
ensure that checks work as intended.
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