ExecutionLog

class pams.logs.ExecutionLog(market_id, time, buy_agent_id, sell_agent_id, buy_order_id, sell_order_id, price, volume, buy_transaction_fee=0.0, sell_transaction_fee=0.0)[source]

Execution type log class.

This log is usually generated when an order is executed on markets.

buy_transaction_fee and sell_transaction_fee are the transaction fees charged to the buyer and the seller (0.0 if the market has no transaction fee). The market adds both to the transaction fees that it collects in the time step (see pams.Market.get_transaction_fee_revenues()).