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

feat: update AC 0019-MCAL-028, 0019-MCAL-029 #10031

Merged
merged 2 commits into from
Nov 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ Feature: Test funding margin for Perps market

And the markets:
| id | quote name | asset | risk model | margin calculator | auction duration | fees | price monitoring | data source config | linear slippage factor | quadratic slippage factor | position decimal places | market type | sla params |
| ETH/DEC19 | ETH | USD | default-simple-risk-model-3 | default-margin-calculator | 1 | default-none | default-none | perp-oracle | 1e6 | 1e6 | -3 | perp | default-futures |
| ETH/DEC19 | ETH | USD | default-simple-risk-model-3 | default-margin-calculator | 1 | default-none | default-none | perp-oracle | 1e6 | 0 | -3 | perp | default-futures |

And the following network parameters are set:
| name | value |
| market.auction.minimumDuration | 1 |
| limits.markets.maxPeggedOrders | 2 |

@Perpetual
Scenario: (0019-MCAL-022,0019-MCAL-023) check funding margin for Perps market when clumps are -0.05 and 0.9
Scenario: (0019-MCAL-028,0019-MCAL-029) check funding margin for Perps market when clumps are -0.05 and 0.9
Given the following network parameters are set:
| name | value |
| network.markPriceUpdateMaximumFrequency | 5s |
Expand Down Expand Up @@ -187,4 +187,3 @@ Feature: Test funding margin for Perps market
And the cumulated balance for all accounts should be worth "330000000"
And the settlement account should have a balance of "0" for the market "ETH/DEC19"

# Then debug transfers