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: derive auction for crossing limit with no duration #802

Merged
merged 5 commits into from
Dec 29, 2023

Conversation

crispheaney
Copy link
Member

No description provided.

Copy link

codecov bot commented Dec 29, 2023

Codecov Report

Merging #802 (fbdcef6) into master (43f1bb0) will increase coverage by 0.10%.
Report is 8 commits behind head on master.
The diff coverage is 87.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #802      +/-   ##
==========================================
+ Coverage   74.52%   74.63%   +0.10%     
==========================================
  Files         126      128       +2     
  Lines       29603    29727     +124     
==========================================
+ Hits        22062    22187     +125     
+ Misses       7541     7540       -1     
Components Coverage Δ
drift 74.83% <87.69%> (+0.10%) ⬆️

}
PositionDirection::Short => {
let reserve_price = perp_market.amm.reserve_price()?;
let bid_price = perp_market.amm.bid_price(reserve_price)?;
Copy link
Member

Choose a reason for hiding this comment

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

do we know if the amm is recently updated by the time its here?

@crispheaney crispheaney merged commit e9ac408 into master Dec 29, 2023
12 of 13 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