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

Classes

class  pyRT.crypto.DeribitOE.Manager
 A little How-do-you-do. More...
 

Namespaces

 pyRT.crypto.DeribitOE
 Deribit Order Entry WebSox Bridge.
 

Functions

def pyRT.crypto.DeribitOE.OnAlgoMsg
 Called when OE message - NewOrder, CxlOrder, etc. More...
 
def pyRT.crypto.DeribitOE.OnConnectAlgo
 Called from cryptoOMS Reactor : OMS Connection Change (UP / DOWN) More...
 
def pyRT.crypto.DeribitOE.OnEngineLoad
 Called when engine is loaded (server start). More...
 
def pyRT.crypto.DeribitOE.OnEngineUnload
 Called when engine is unloaded (server stop). More...
 
def pyRT.crypto.DeribitOE.OnExchangeStart
 Called when user wants to start the exchange. More...
 
def pyRT.crypto.DeribitOE.OnExchangeStop
 Called when user wants to stop the exchange. More...
 
def pyRT.crypto.DeribitOE.OnSoxConn
 Called BEFORE WebSox connects. More...
 
def pyRT.crypto.DeribitOE.OnSoxConnUp
 Called AFTER WebSox connects. More...
 
def pyRT.crypto.DeribitOE.OnSoxDisco
 Called BEFORE WebSox connection is shut down. More...
 
def pyRT.crypto.DeribitOE.OnSoxIdle
 Called at WebSoxConn Idle time; We check heartbeat. More...
 
def pyRT.crypto.DeribitOE.OnSoxMsg
 Called when WebSox Message Arrives. More...
 
def pyRT.crypto.DeribitOE.OnSoxStart
 WS.Register( WebSox._SOXEVT_END, self.OnSoxEnd ) More...
 
def pyRT.crypto.DeribitOE.Run
 gatea.sys.Thread Interface to zero out books in throttled manner More...
 
def pyRT.crypto.DeribitOE.Shutdown
 Stop WebSox. More...
 

Variables

tuple pyRT.crypto.DeribitOE.ack = OEMsg.ExecRpt( OrdStatus=sts, Text=err, ddb=msg )
 
tuple pyRT.crypto.DeribitOE.bye = codec.FlashJ2deribit( msg )
 
string pyRT.crypto.DeribitOE.err = 'Unknown msg type %s'
 jdb['Cash'] = 'TBD' More...
 
 pyRT.crypto.DeribitOE.sts = OEMsg._STS_REJECT