Embedded Python Real-Time FrameWork : API  Build 20250616.1
 All Classes Namespaces Files Functions Variables Pages
Basic.py File Reference

Classes

class  pyRT.apps.warp.VendorCmp.Basic.Bucket
 Bucket of related records : DJI, RUT3K, etc. More...
 
class  pyRT.apps.warp.VendorCmp.Basic.FieldCmp
 A price field - BID, ASK, etc. More...
 
class  pyRT.apps.warp.VendorCmp.Basic.Manager
 Dictionary of records and buckets. More...
 
class  pyRT.apps.warp.VendorCmp.Basic.MsgCount
 Message Counts. More...
 
class  pyRT.apps.warp.VendorCmp.Basic.PriceField
 A price field - BID, ASK, etc. More...
 
class  pyRT.apps.warp.VendorCmp.Basic.Record
 A real-time Record - Basic or SIP - from the tape. More...
 
class  pyRT.apps.warp.VendorCmp.Basic.RecordCmp
 A ( Basic, SIP ) Record-pair. More...
 

Namespaces

 pyRT.apps.warp.VendorCmp.Basic
 

NASDAQ Basic Comparator


 

Functions

def pyRT.apps.warp.VendorCmp.Basic.ASK
 Called when ASK field updates for a registered record. More...
 
def pyRT.apps.warp.VendorCmp.Basic.BID
 Called when BID field updates for a registered record. More...
 
def pyRT.apps.warp.VendorCmp.Basic.On5SecTimer
 Called every 5 seconds for the 1st ticker we registered. More...
 
def pyRT.apps.warp.VendorCmp.Basic.OnCached
 Called when update for registered record completes. More...
 
def pyRT.apps.warp.VendorCmp.Basic.OnEngineLoad
 self.MID._Price = math.sqrt( bid * ask ) More...
 
def pyRT.apps.warp.VendorCmp.Basic.OnEngineUnload
 Called when engine is unloaded (server stop). More...
 
def pyRT.apps.warp.VendorCmp.Basic.OnInitialize
 Called when a registered record is initialized from tape. More...
 
def pyRT.apps.warp.VendorCmp.Basic.OnPubImage
 _MGR.LogRaw( 'CalcAll( s )
' % GLcommon.DateTime( now ) ) More...
 
def pyRT.apps.warp.VendorCmp.Basic.OnPubUpdate
 Called to determine if we can publish Update from tape. More...
 
def pyRT.apps.warp.VendorCmp.Basic.QUOTIM_MS
 Called when QUOTIM_MS field updates. More...
 
def pyRT.apps.warp.VendorCmp.Basic.QUOTIM_NS
 Called when QUOTIM_NS field updates. More...
 
def pyRT.apps.warp.VendorCmp.Basic.SALTIM_MS
 Called when SALTIM_MS field updates. More...
 
def pyRT.apps.warp.VendorCmp.Basic.SALTIM_NS
 Called when SALTIM_NS field updates. More...
 
def pyRT.apps.warp.VendorCmp.Basic.TRDPRC_1
 Called when TRDPRC_1 field updates for a registered record. More...
 

Variables

 pyRT.apps.warp.VendorCmp.Basic._TapeStats = pdb
 
list pyRT.apps.warp.VendorCmp.Basic.fdb
 tdb = _MGR.GetBucketTickers() odb = [ tkr + '.O' for tkr in tdb ] nt = len( tdb ) _MGR.RegisterTickerList( tdb ) _MGR.RegisterTickerList( odb ) _MGR.RegisterTickerList( [ 'IBM.MP', 'IBM.N' ] ) _MGR.LogINFO( 'd tkrs registered from all buckets' % nt ) More...
 
list pyRT.apps.warp.VendorCmp.Basic.k = kv[0]
 
dictionary pyRT.apps.warp.VendorCmp.Basic.pdb = {}
 
tuple pyRT.apps.warp.VendorCmp.Basic.qdb = _cfg.CreateCfgTbl()
 
list pyRT.apps.warp.VendorCmp.Basic.weights = [ _NOWT ]