Skip to content

fix: execution fee refund, limit order boundary tests, weighted avg entry price, write-ordering docs#349

Merged
abayomicornelius merged 1 commit into
SO4-Markets:mainfrom
kulayddon:feat/fix-issues-258-259-260-261
Jun 27, 2026
Merged

fix: execution fee refund, limit order boundary tests, weighted avg entry price, write-ordering docs#349
abayomicornelius merged 1 commit into
SO4-Markets:mainfrom
kulayddon:feat/fix-issues-258-259-260-261

Conversation

@kulayddon

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • cancel_order_refunds_execution_fee_to_user — collateral + fee returned, vault empty
  • limit_increase_at_trigger_price_executes — boundary execution for LimitIncrease
  • limit_decrease_long_at_trigger_price_executes — boundary execution for long take-profit
  • limit_decrease_short_at_trigger_price_executes — boundary execution for short take-profit
  • stop_loss_long_at_trigger_price_executes — boundary execution for long stop-loss
  • position_avg_entry_price_is_weighted_average_after_two_increases — weighted avg correctness
  • sequential_pool_amount_writes_both_accumulate — sequential write ordering

Closes #258
Closes #259
Closes #260
Closes #261

@drips-wave

drips-wave Bot commented Jun 27, 2026

Copy link
Copy Markdown

@kulayddon Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@abayomicornelius abayomicornelius merged commit 454cf33 into SO4-Markets:main Jun 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment