Q26 ALPHA-TRADING SYSTEM
Public Member Functions | Public Attributes | List of all members
ORDER Class Reference

Public Member Functions

def __init__ (self)
 
def read (self)
 OTHER FUNCTIONS.
 

Public Attributes

 symbolName
 
 orderID
 
 parentID
 
 action
 
 orderType
 
 volume
 
 lmtPrice
 
 cancelDate
 
 totalPrice
 
 requestMargin
 
 brokerLoan
 
 commission
 
 executionPrice
 
 executionDate
 
 comment
 
 executed
 

Detailed Description


Q26 - QuanTester module - ORDER object.

Description :

Examples :

Planned developments :

Known bugs :

Member Data Documentation

◆ action

action

Action

Type : string
Defaut value : None
Description :
Order direction : "long" or "short".

◆ brokerLoan

brokerLoan

Broker Loan

Type : float
Filled at execution
Description :
In case of a leverage > 1, loan value of the broker to access the asked asset volume.

◆ cancelDate

cancelDate

Cancel date

Type : datetime
Defaut value : None
Description :
Date at which, if the order hasn't been executed yet, will be canceled

◆ comment

comment

Comment

Type : string
Defaut value : None
Description :
Comment inputed by the user.

◆ commission

commission

Commission

Type : float
Filled at execution
Description :
Potential fee paid at execution.

◆ executed

executed

Execution status

Type : boolean
Defaut value : False
Description :
If executed, this status becomes True. In case of a cancelled order, the ORDER object is placed in PORTFOLIO.executedOrders list but its execution status remains False.

◆ executionDate

executionDate

Execution date

Type : datetime
Filled at execution
Description :
Exact execution date.

◆ executionPrice

executionPrice

Execution price

Type : float
Filled at execution
Description :
Exact execution price.

◆ lmtPrice

lmtPrice

Limit price

Type : float
Defaut value : None
Description :
Limit price dedicated to trigger LMT and/or MIT orders when conditions are met.

◆ orderID

orderID

Order ID

Type : integer
Defaut value : None
Description :
To each ORDER is associated a random integer. This reference number should not be edited by the user.

◆ orderType

orderType

Order type

Type : string
Defaut value : None
Description :
"MKT" (Market), "LMT" (Limit), "MIT" (Market If Touched)

◆ parentID

parentID

Parent order ID

Type : integer
Defaut value : None
Description :
Typically, children orders are pending orders placed as security orders when a parent order have been placed. The parent order haven parentID value but children orders have a parentOrder value corresponding to the orderID value of the parent order.

◆ requestMargin

requestMargin

Request margin

Type : float
Filled at execution
Description :
Margin requested by the broker to access to the asked asset volume.

◆ symbolName

symbolName

Symbol name

Type : string
Defaut value : None
Description :
Name of the symbol subject to the transaction

◆ totalPrice

totalPrice

Total price

Type : float
Filled at execution
Description :
Price paid by the user+broker to access to the volume of asset requested.

◆ volume

volume

Volume of asset

Type : float
Defaut value : None
Description :
Volume of asset to be traded in symbol lot size unit.


The documentation for this class was generated from the following file: