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

bigz/improve-calculate_size_premium_liability_weight #350

Merged

Conversation

0xbigz
Copy link
Member

@0xbigz 0xbigz commented Feb 8, 2023

No description provided.

@crispheaney crispheaney merged commit 0efd8d0 into master Feb 10, 2023
crispheaney added a commit that referenced this pull request Feb 18, 2023
…r effect on initial margin (#350)

* bigz/improve-calculate_size_premium_liability_weight

* fmt fix

* margin.ts: sync w/ contract

* CHANGELOG

---------

Co-authored-by: Chris Heaney <[email protected]>
crispheaney added a commit that referenced this pull request Feb 20, 2023
* new is_amm_available_liquidity_source

* tweak how trigger orders work

* tweak get_limit_price to allow limit orders to have auction price

* allow limit order to pass auction params

* do order validation

* make the resting limit order logic based on auction being complete

* dlob trigger order matches on chain

* ts client reflects price changes

* fix ts dlob tests

* add rust tests

* add failing test

* prototype of updateRestingLimitOrders

* address pr feedback

* program: tweak calculate_size_premium_liability_weight to have smaller effect on initial margin (#350)

* bigz/improve-calculate_size_premium_liability_weight

* fmt fix

* margin.ts: sync w/ contract

* CHANGELOG

---------

Co-authored-by: Chris Heaney <[email protected]>

* v2.16.0-beta.2

* sdk: fix borrow limit calc (#356)

* update CHANGELOG.md

* sdk: new squareRootBN implementation using bit shifting

* sdk: change modify order params to be object (#353)

* sdk: change modify order params to be object

* Update CHANGELOG.md

* sdk: DLOB matching logic accounts for zero-price spot market orders not matching resting limit orders

* v2.16.0-beta.3

* sdk: add market lookup table (#359)

* sdk: add look up table to config

* add ability to send version tx with retry sender

* tweak LOOK UP to LOOKUP

* add fetchMarketLookupTableAccount to driftClient

* CHANGELOG

* v2.16.0

* getMarketBids/Asks becomes getTakingBids/Asks

* remove updateRestingLimitOrder from getbestNode

* tests working

* update isFallbackAvailableLiquiditySource

* tweak is_maker_for_taker

* tweaks

* fix updateRestingLimitOrders

* add test for updating resting limit ordres

* add tests for is_maker_for_taker

* fix broken ts test

* tweak some syntax choices

* simplify is_maker_for_taker

* dont let auction prices be zero for market or limit orders

* tweak findJitAuctionNodesToFill

* CHANGELOG

---------

Co-authored-by: bigzPubkey <[email protected]>
Co-authored-by: wphan <[email protected]>
Co-authored-by: Evan Pipta <[email protected]>
Co-authored-by: 0xbigz <[email protected]>
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