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

Perform price level check at start up #288

Closed peterbarrow closed 1 year ago

peterbarrow commented 1 year ago

For the perftest tool, if we try to populate a set of price levels but the mid price is too low, it will not be able to fill the correct number of levels on the buy side. We can catch this at startup and should report the error and shut down gracefully.