vegaprotocol / vegatools

A go command line utility providing a bunch of tools to use with a Vega network
MIT License
3 stars 4 forks source link

Check for overflowing price levels #289

Closed peterbarrow closed 1 year ago

peterbarrow commented 1 year ago

In the perftest tool, if we try to add price levels to a market but we are adding more levels than the starting mid price, it will overflow. Added a check to stop this happening.

Closes #288