AlgoServer : Rest API.
More...
def pyRT.crypto.Algo.RestSvr.GetWallet |
( |
|
self | ) |
|
Query OMS for Wallet from all Exchanges.
def pyRT.crypto.Algo.RestSvr.OnAlgoStart |
( |
|
cxt | ) |
|
Called from AlgoServer Reactor : Algo Start.
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
def pyRT.crypto.Algo.RestSvr.OnAlgoStop |
( |
|
cxt | ) |
|
Called from AlgoServer Reactor : Stop Algo.
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
def pyRT.crypto.Algo.RestSvr.OnOMSMsg |
( |
|
cxt, |
|
|
|
ddb |
|
) |
| |
Called from AlgoServer Reactor : OMS Message Received (ExecRpt)
- Parameters
-
cxt | - Opaque Context from AlgoServer Reactor |
ddb | - Dict received |
def pyRT.crypto.Algo.RestSvr.Run |
( |
|
self | ) |
|
self.LogRaw( 'Wallet : ' + str( WDB ) + '
' )
gatea.sys.Thread Interface to zero out books in throttled manner
tuple pyRT.crypto.Algo.RestSvr._cfg = RestSvrCfg() |
pyRT.crypto.Algo.RestSvr._REST = None; |