Log a warning on no symcache support in a backend
parent
e4731eff10
commit
a05a82486d
|
@ -59,7 +59,10 @@ async def load_provider_search(
|
||||||
),
|
),
|
||||||
open_symcache(brokermod) as symcache,
|
open_symcache(brokermod) as symcache,
|
||||||
):
|
):
|
||||||
assert symcache
|
if not symcache.mktmaps:
|
||||||
|
log.warning(
|
||||||
|
f'BACKEND DOES NOT (yet) support symcaching: `{brokermod.name}`'
|
||||||
|
)
|
||||||
|
|
||||||
# keep search engine stream up until cancelled
|
# keep search engine stream up until cancelled
|
||||||
await trio.sleep_forever()
|
await trio.sleep_forever()
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# piker: trading gear for hackers
|
# piker: trading gear for hackers
|
||||||
# Copyright (C) Tyler Goodlet (in stewardship for piker0)
|
# Copyright (C) Tyler Goodlet (in stewardship for pikers)
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as published by
|
# it under the terms of the GNU Affero General Public License as published by
|
||||||
|
@ -15,7 +15,9 @@
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
'''
|
'''
|
||||||
Position (pos) info and display to track ur PnLz B)
|
UI components to display real-time and historical
|
||||||
|
`.accounting.Position` cross-asset PnL(s) as well as manage market
|
||||||
|
agnostic asset ownership state.
|
||||||
|
|
||||||
'''
|
'''
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
Loading…
Reference in New Issue