derivitec.tradables.types.PositionEffect¶
- class derivitec.tradables.types.PositionEffect(contract=None, quantity=None)[source]¶
- __init__(contract=None, quantity=None)[source]¶
- Parameters:
contract – The contract
quantity – The quantity
Methods
IsKeyValuePairListType(key_class_instance, ...)__init__([contract, quantity])json_params()JSON param names.
rebuild(content)Recursive rebuild.
recursive_decompose(item)Helper function to recursively convert some types to a suitable format for json.
to_dict()typename()