Create market script is missing postionDecimalPlaces
daunatv opened this issue · 1 comments
daunatv commented
This function should be added to the sample-api scripts when creating a market so that it can offer decimal points to position sizes.
Not yet on docs.fairground.wtf but on https://docs.vega.xyz/docs/testnet/tutorials/proposals/new-market-proposal
Tried it on fairground by adding it to the existing creation of market scripts and the proposed market worked,
"newMarket": {
"changes": {
"positionDecimalPlaces": 5,
"instrument": {