Embedded Python Real-Time FrameWork : API  Build 20250616.1
 All Classes Namespaces Files Functions Variables Pages
pyRT.native.dmaModule Namespace Reference

Embedded DMA Module API. More...

Classes

class  API
 Context-specific API class to wrap native DMA module functions. More...
 
class  Book
 Container for native (raw) Book. More...
 
class  BookStats
 Container for cracked native (raw) BookStats. More...
 
class  LVC
 Access to native DMA.lvc_getBook() API, with methods to return either a book in either raw (native) form, or in a handy Book class. More...
 
class  PriceLevel
 Container for native (raw) Price Level Tuple. More...
 
class  PricePos
 Container for a single Price Position: More...
 
class  Trade
 Container for cracked native (raw) Trade. More...
 

Functions

def Action
 Return name of enumerated Action. More...
 
def Version
 Return Embedded Python version. More...
 

Variables

int _ACT_ADD = 0
 
int _ACT_DEL = 2
 
int _ACT_DELALL = 3
 
int _ACT_DELFROM = 4
 
int _ACT_MOD = 1
 
string _MONS = 'FGHJKMNQUVXZ'
 
int _NOORD = 0x7fffffff
 
float _PREC = 1.0
 Constants. More...
 

Detailed Description

Embedded DMA Module API.

  • Wraps the embedded DMA module native API
  • Returns raw structs such as Python classes - PriceLevel, Book, etc.
  • Exits if the embedded DMA module can not be loaded

Function Documentation

def pyRT.native.dmaModule.Action (   act)

Return name of enumerated Action.

Parameters
act- Enumerated Action
Returns
Action Name
def pyRT.native.dmaModule.Version ( )

Return Embedded Python version.

Returns
Embedded Python version

Variable Documentation

int pyRT.native.dmaModule._ACT_ADD = 0
int pyRT.native.dmaModule._ACT_DEL = 2
int pyRT.native.dmaModule._ACT_DELALL = 3
int pyRT.native.dmaModule._ACT_DELFROM = 4
int pyRT.native.dmaModule._ACT_MOD = 1
string pyRT.native.dmaModule._MONS = 'FGHJKMNQUVXZ'
int pyRT.native.dmaModule._NOORD = 0x7fffffff
float pyRT.native.dmaModule._PREC = 1.0