Skip to content

Commit

Permalink
fix: Update market+position decimal places to match predefined asset …
Browse files Browse the repository at this point in the history
…decimal places
  • Loading branch information
peterbarrow committed Mar 27, 2024
1 parent acfe284 commit 1d10f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perftest/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ func (w walletWrapper) NewMarket(offset int, user UserDetails) error {
},
"linearSlippageFactor": "0.001",
"quadraticSlippageFactor": "0.0",
"decimalPlaces": "5",
"positionDecimalPlaces": "5",
"decimalPlaces": "2",
"positionDecimalPlaces": "2",
"instrument": map[string]interface{}{
"code": "CRYPTO:BTCUSD/NOV22",
"name": marketName,
Expand Down

0 comments on commit 1d10f58

Please sign in to comment.