I am thinking about the decimals a bit.
Looking at decimalPlaces=6
first and that seems appropriate. At the moment I see e.g. 5 price decimals at coinmarketcap giving us 0.07433
. Maybe it will be a little too precise if Doge goes up but appropriate if it tanks.
But position decimals of "positionDecimalPlaces": "6",
seem off. That would mean that the value of the smallest position, at current price, would be 10^-6 x 0.07433
which means that people could trade tiny, tiny amounts and thus spam the network with very little cost to themselves. I would suggest positionDecimalPlaces=-2
which would make the smallest trade notional 10^2 x 0.07433 USD = 7.433 USD
which is still pretty tiny (at ~ 10x leverage) but probably ok. We could consider positionDecimalPlaces=-3
for smallest position notional 74.33 USD
which at 10x leverage still means tiny margin amount to place a trade. What do you think?