Container for a single Price Position:
More...
Container for a single Price Position:
Base class for PriceLevel
Member | Description |
_Price | Price |
_Size | Quantity at Price Level |
_TimeNs | Exchange time in nanos since epoch |
- See Also
- PriceLevel
def pyRT.native.dmaModule.PricePos.__init__ |
( |
|
self, |
|
|
|
Price = 0.0 , |
|
|
|
Size = 0 , |
|
|
|
TimeNs = 0 |
|
) |
| |
Constructor.
- Parameters
-
Price | - Current Price |
Size | - Quantity |
TimeNs | - Time in nanos since Eposh |
def pyRT.native.dmaModule.PricePos.Add |
( |
|
self, |
|
|
|
pos |
|
) |
| |
Adds the PricePos to self.
- Parameters
-
- Returns
- self
def pyRT.native.dmaModule.PricePos.Sub |
( |
|
self, |
|
|
|
pos |
|
) |
| |
Subtracts the PricePos to self.
- Parameters
-
- Returns
- self
def pyRT.native.dmaModule.PricePos.Update |
( |
|
self, |
|
|
|
pos |
|
) |
| |
Assignment operator.
- Parameters
-
- Returns
- self
The documentation for this class was generated from the following file: