Created
May 10, 2022 21:03
-
-
Save shanev/3b6967963fc3cc18c8c8ec48295e7a64 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
params.trading_fee_percent = trading_fee_bps | |
.map(Decimal::percent) | |
.unwrap_or(params.trading_fee_percent); | |
params.ask_expiry = ask_expiry.unwrap_or(params.ask_expiry); | |
params.bid_expiry = bid_expiry.unwrap_or(params.bid_expiry); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment