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

program: add test for max order size with imf #696

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

crispheaney
Copy link
Member

also deleted an unused bool flag

Copy link

codecov bot commented Nov 13, 2023

Codecov Report

❗ No coverage uploaded for pull request base (master@1a51bea). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 065d8fd differs from pull request most recent head 6695296. Consider uploading reports for the commit 6695296 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #696   +/-   ##
=========================================
  Coverage          ?   74.25%           
=========================================
  Files             ?      125           
  Lines             ?    28813           
  Branches          ?        0           
=========================================
  Hits              ?    21394           
  Misses            ?     7419           
  Partials          ?        0           
Components Coverage Δ
drift 74.45% <0.00%> (?)


let mut order_size = 0_u64;
let mut updated_margin_ratio = margin_ratio;
for _ in 0..6 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using iter method like in sdk? jw, is this going to always under estimate the max (to ensure it goes through?)

@crispheaney crispheaney merged commit d58909b into master Nov 15, 2023
10 of 11 checks passed
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