MarketShareFCNAgent#

class pams.agents.MarketShareFCNAgent(agent_id, prng, simulator, name, logger=None)[ソース]#

Market Share FCN Agent class

This agent submits orders based on market shares. This class inherits from the pams.agents.FCNAgent class.

get_sum_trade_volume(market)[ソース]#

get sum of trade volume.

パラメータ:

market (pams.Market) -- trading market.

戻り値:

total trade volume.

戻り値の型:

int

submit_orders(markets)[ソース]#

submit orders based on FCN-based calculation and market shares. :rtype: List[Union[Order, Cancel]]