Market Actions

StockMarketABM.MarketActions bundles routines for constructing markets, managing instruments, and mutating agent portfolios in response to trades.

StockMarketABM.MarketActions.add_instrument!Method
add_instrument!(market, instrument, tick)

Add a new instrument to the market, creating an empty order book and storing the tick size. Throws an error if the instrument already exists or the tick is not positive.

source