-
Notifications
You must be signed in to change notification settings - Fork 133
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 post only slide for perps #541
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -749,6 +749,7 @@ pub enum PostOnlyParam { | |||
None, | |||
MustPostOnly, // Tx fails if order can't be post only | |||
TryPostOnly, // Tx succeeds and order not placed if can't be post only | |||
Slide, // Modify price to be post only if can't be post only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm I think there's a typo here?
0xbigz
pushed a commit
that referenced
this pull request
Jul 24, 2023
* program: add post only slide for perps * tests * add to ts types * CHANGELOG
crispheaney
added a commit
that referenced
this pull request
Jul 31, 2023
…s 100% (#525) * bigz/update-spot-tvl-invariant-check * loosen check in update_spot_balances * add tests/spotWithdrawUtil100.ts * in fill spot order, account for tvl leaving system * test for fulfill_spot_order_with_match with max utilization * more debugging for test * sdk: fix bug in transfer account creation (#532) * sdk: release v2.34.1-beta.5 * sdk: event subscriber avoids web3.js to get performance boost (#542) * sdk: create rpc method to get transactions to avoid some web3.js overhead * sdk: custom parse logs logic * sdk: release v2.34.1-beta.6 * sdk: remove extra console.log in fetchLogs * sdk: release v2.34.1-beta.7 * program: add post only slide for perps (#541) * program: add post only slide for perps * tests * add to ts types * CHANGELOG * sdk: release v2.34.1-beta.8 * program: add cancel_orders_by_ids (#540) * program: add cancelOrdersByIds * CHANGELOG * sdk: release v2.34.1-beta.9 * v2.35.0 * sdk: release v2.35.1-beta.0 * sdk: fixes for lp (liq price and lp share burn) (#522) * sdk: fix liq price issue * incorp getPerpPositionWithLPSettle across sdk/margin calc properly * rename burnLpShares, in getPerpPositionWithLPSettle * CHANGELOG --------- Co-authored-by: 0xbigz <[email protected]> Co-authored-by: Chris Heaney <[email protected]> * sdk: release v2.35.1-beta.1 * intermediate testing * more test progress * CHANGELOG fix * fix use of is_leaving_drift * more consistent naming * more consistent naming * revert test change * CHANGELOG --------- Co-authored-by: Chris Heaney <[email protected]> Co-authored-by: Evan Pipta <[email protected]> Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: lowkeynicc <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.