|
def | __init__ (self) |
|
def | read (self) |
|
Q26 - QuanTester module - POSITION object.
Description :
Examples :
Planned developments :
Known bugs :
◆ action
Action position
Type : string
Defaut value : None
Description :
Position direction ("long" or "short").
◆ brokerLoan
Broker Loan
Type : float
Defaut value : None
Description :
Broker loan at position opening (to be reimbursed).
◆ closed
Position status
Type : boolean
Defaut value : False
Description :
True if the POSITION is closed.
◆ comment
User comment
Type : string
Defaut value : None
Description :
User can write a comment if he close the position manually.
◆ executionDate
Execution date
Type : datetime
Defaut value : None
Description :
Execution date at position opening.
◆ executionPrice
Execution price
Type : float
Defaut value : None
Description :
Execution price at position opening.
◆ orderID
Order ID
Type : integer
Defaut value : None
Description :
ID of the parent order that generated the POSITION.
◆ possibleCloseDate
Potential close date
Type : datetime
Defaut value : None
Description :
Potential date if close now.
◆ possibleClosePrice
Potential close price
Type : float
Defaut value : None
Description :
Potential price if close now.
◆ profit
Potential profit
Type : float
Defaut value : None
Description :
Potential profit if close now.
◆ requestMargin
Paid Margin
Type : float
Defaut value : None
Description :
Margin paid by the user to open this position.
◆ symbol
Symbol name
Type : string
Defaut value : None
Description :
Name of the symbol on which the POSITION is active.
◆ volume
Asset volume
Type : float
Defaut value : None
Description :
Current owned volume of the asset.
The documentation for this class was generated from the following file: