Agents Overview

The src/agents/ modules define how simulated traders interact with the market. Every agent implements a shared activation protocol that lets the scheduler call them in sequence and translate their decisions into orders or cancels.

API Reference

StockMarketABM.FarmerAgentMod.FarmerAgentType
FarmerAgent(; kwargs...)

Zero-intelligence agent inspired by Farmer et al. (2005). Limit orders are posted at least one tick away from the best price and each accepted order is assigned an exponential lifetime. Expired orders are cancelled automatically before the agent considers any other actions.

source