Overview
Components
Learning Agents
Examples
API reference
tensortrade.slippage.slippage_model.
SlippageModel
Bases: object
object
A model for simulating slippage on an exchange trade.
fill_order
Simulate slippage on a trade ordered on a specific exchange.
trade (Trade) – The trade executed on the exchange.
Trade
**kwargs – Any other arguments necessary for the model.
A filled Trade with the price and amount adjusted for slippage.