FixedERPStrategy¶
- class scml.scml2020.FixedERPStrategy(*args, execution_fraction=0.95, **kwargs)[source]¶
Bases:
ExecutionRatePredictionStrategy
Predicts that the there is a fixed execution rate that does not change for all partners
- Parameters:
execution_fraction – The expected fraction of any contract’s quantity to be executed
- Provides:
predict_quantity
: A method for predicting the quantity that will actually be executed from a contract
- Hooks Into:
- Remarks:
Attributes
section describes the attributes that can be used to construct the component (passed to its__init__
method).Provides
section describes the attributes (methods, properties, data-members) made available by this component directly. Note that everything provided by the bases of this components are also available to the agent (Check theBases
section above for all the bases of this component).Requires
section describes any requirements from the agent using this component. It defines a set of methods or properties/data-members that must exist in the agent that uses this component. These requirement are usually implemented as abstract methods in the componentAbstract
section describes abstract methods that MUST be implemented by any descendant of this component.Hooks Into
section describes the methods this component overrides callingsuper
() which allows other components to hook into the same method (by overriding it). Usually callbacks starting withon_
are hooked into this way.Overrides
section describes the methods this component overrides without callingsuper
effectively disallowing any other components after it in the MRO to call this method. Usually methods that do some action (i.e. not starting withon_
) are overridden this way.
Methods Summary
predict_quantity
(contract)Methods Documentation