MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / log_

Function log_

packages/ibkr/ref/source/pythonclient/ibapi/utils.py:206–211  ·  view source on GitHub ↗
(func, params, action)

Source from the content-addressed store, hash-verified

204
205
206def log_(func, params, action):
207 if logger.isEnabledFor(logging.INFO):
208 if "self" in params:
209 params = dict(params)
210 del params["self"]
211 logger.info(f"{action} {func} {params}")
212
213def currentTimeMillis() :
214 return round(time.time() * 1000)

Callers 2

logRequestMethod · 0.90
logAnswerFunction · 0.90

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected