haasomeapi.dataobjects.advancedorders package¶
Submodules¶
haasomeapi.dataobjects.advancedorders.AdvancedOrderBase module¶
-
class
haasomeapi.dataobjects.advancedorders.AdvancedOrderBase.
AdvancedOrderBase
¶ Bases:
object
Data Object containing the Advanced Order Base
Variables: - guid – str:
- name – str:
- activated – bool:
- accountGuid – str:
- market –
Market
: - leverage – float:
- amount – float:
- correctedAmount – float:
- orderDirection – int:
- startOrderOnActivation – bool:
- startOrderPrice – float:
- startTemplateGuid – bool:
- isPlacingStartOrder – bool:
- isTracking – bool:
- templateGuid – str:
- completedOrders – List[
BaseOrder
]:
haasomeapi.dataobjects.advancedorders.StopTakeProfitOrder module¶
-
class
haasomeapi.dataobjects.advancedorders.StopTakeProfitOrder.
StopTakeProfitOrder
¶ Bases:
haasomeapi.dataobjects.advancedorders.AdvancedOrderBase.AdvancedOrderBase
Data Object containing the Advanced Order Base
Variables: - triggerPrice – float:
- executionPrice – float:
haasomeapi.dataobjects.advancedorders.TrailingStop module¶
-
class
haasomeapi.dataobjects.advancedorders.TrailingStop.
TrailingStop
¶ Bases:
haasomeapi.dataobjects.advancedorders.AdvancedOrderBase.AdvancedOrderBase
Data Object containing the Advanced Order Base
Variables: - trailingStopPercentage – str:
- recordedPrice – float: