Skip to content

Commit

Permalink
Merge pull request #330 from vegaprotocol/329-adding-mark-price-marke…
Browse files Browse the repository at this point in the history
…t-config

Added mark price config
  • Loading branch information
peterbarrow authored Jan 11, 2024
2 parents 27159a7 + a048b39 commit b1ed610
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
- [286](https://github.com/vegaprotocol/vegatools/pull/286) - Add support for pagination in the accounts and delegations queries to data-node
- [286](https://github.com/vegaprotocol/vegatools/pull/298) - Add support for pagination in the parties query to data-node
- [302](https://github.com/vegaprotocol/vegatools/issues/302) - Removed old market proposal field and renamed network param
- [329](https://github.com/vegaprotocol/vegatools/issues/329) - Added new mark price config to market creation transaction in perftest

## 0.41.1
*2021-08-31*
Expand Down
3 changes: 3 additions & 0 deletions perftest/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ func (w walletWrapper) NewMarket(offset int, user UserDetails) error {
"enactmentTimestamp": w.SecondsFromNowInSecs(30),
"newMarket": map[string]interface{}{
"changes": map[string]interface{}{
"markPriceConfiguration": map[string]interface{}{
"compositePriceType": 3, // LAST TRADE
},
"linearSlippageFactor": "0.001",
"quadraticSlippageFactor": "0.0",
"decimalPlaces": "5",
Expand Down

0 comments on commit b1ed610

Please sign in to comment.