Skip to content

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.
@RahulJain28 RahulJain28 marked this pull request as draft March 14, 2023 22:10
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.

3 participants