Compare commits
3 Commits
7e139e6a8e
...
f7caa75228
Author | SHA1 | Date |
---|---|---|
|
f7caa75228 | |
|
e9613e46f6 | |
|
6637ca9e4f |
|
@ -99,6 +99,11 @@ class Pair(Struct, frozen=True, kw_only=True):
|
||||||
|
|
||||||
permissionSets: list[list[str]]
|
permissionSets: list[list[str]]
|
||||||
|
|
||||||
|
# https://developers.binance.com/docs/binance-spot-api-docs#2025-08-26
|
||||||
|
# will become non-optional 2025-08-28?
|
||||||
|
# https://developers.binance.com/docs/binance-spot-api-docs#future-changes
|
||||||
|
pegInstructionsAllowed: bool|None = None
|
||||||
|
|
||||||
filters: dict[
|
filters: dict[
|
||||||
str,
|
str,
|
||||||
str | int | float,
|
str | int | float,
|
||||||
|
|
|
@ -185,33 +185,11 @@ def pikerd(
|
||||||
loglevel=loglevel,
|
loglevel=loglevel,
|
||||||
debug_mode=pdb,
|
debug_mode=pdb,
|
||||||
enable_transports=['uds'],
|
enable_transports=['uds'],
|
||||||
|
) as service_mngr,
|
||||||
) as service_mngr, # normally delivers a ``Services`` handle
|
|
||||||
|
|
||||||
# AsyncExitStack() as stack,
|
|
||||||
):
|
):
|
||||||
# TODO: spawn all other sub-actor daemons according to
|
|
||||||
# multiaddress endpoint spec defined by user config
|
|
||||||
assert service_mngr
|
assert service_mngr
|
||||||
|
# ?TODO? spawn all other sub-actor daemons according to
|
||||||
# if tsdb:
|
# multiaddress endpoint spec defined by user config
|
||||||
# dname, conf = await stack.enter_async_context(
|
|
||||||
# service.marketstore.start_ahab_daemon(
|
|
||||||
# service_mngr,
|
|
||||||
# loglevel=loglevel,
|
|
||||||
# )
|
|
||||||
# )
|
|
||||||
# log.info(f'TSDB `{dname}` up with conf:\n{conf}')
|
|
||||||
|
|
||||||
# if es:
|
|
||||||
# dname, conf = await stack.enter_async_context(
|
|
||||||
# service.elastic.start_ahab_daemon(
|
|
||||||
# service_mngr,
|
|
||||||
# loglevel=loglevel,
|
|
||||||
# )
|
|
||||||
# )
|
|
||||||
# log.info(f'DB `{dname}` up with conf:\n{conf}')
|
|
||||||
|
|
||||||
await trio.sleep_forever()
|
await trio.sleep_forever()
|
||||||
|
|
||||||
trio.run(main)
|
trio.run(main)
|
||||||
|
|
Loading…
Reference in New Issue