haasomeapi.dataobjects.accountdata package¶
Submodules¶
haasomeapi.dataobjects.accountdata.AccountInformation module¶
-
class
haasomeapi.dataobjects.accountdata.AccountInformation.
AccountInformation
¶ Bases:
object
Data Object containing the account information
Variables: - guid – str:
- name – str:
- platformType –
EnumPlatform
: - connectedPriceSource –
EnumPriceSource
: - isSimulatedAccount – bool
- availableOrderTemplates – Dict[str, str]:
haasomeapi.dataobjects.accountdata.BaseOrder module¶
-
class
haasomeapi.dataobjects.accountdata.BaseOrder.
BaseOrder
¶ Bases:
object
Data Object containing the Base Order
Variables: - pair –
Market
: - orderId – str:
- orderStatus –
EnumOrderStatus
: - orderType –
EnumOrderType
: - fundMovement –
EnumFundMovingPosition
: - price – float:
- amount – float:
- amountFilled – float:
- addedTime –
datetime
: - unixAddedTime – int:
- pair –
haasomeapi.dataobjects.accountdata.OrderContainer module¶
haasomeapi.dataobjects.accountdata.Position module¶
-
class
haasomeapi.dataobjects.accountdata.Position.
Position
¶ Bases:
object
Data Object containing the Base Order
Variables: - side –
EnumFundPosition
: - usedMargin – float:
- amount – float:
- leverage – float:
- priceMarket –
Market
: - investmentPrice – float:
- profitLossRatio – float:
- profitLossNow – float:
- marginCallPrice – float:
- amountLabel – str:
- profitLabel – str:
- side –
haasomeapi.dataobjects.accountdata.SoftwareInformation module¶
-
class
haasomeapi.dataobjects.accountdata.SoftwareInformation.
SoftwareInformation
¶ Bases:
object
Data Object containing the software information
Variables: - isBeta – bool:
- versionNumber – str:
- licenceType –
EnumSoftwareLicence
: