piker/piker
Tyler Goodlet 0e94e89373 Finally, just drop `Transaction.sym`
Turns out we don't really need it directly for most "txn processing" AND
if we do it's usually related to some `Account`-ing related calcs; which
means we can instead just rely on the new `SymbologyCache` lookup to get
it when needed. So, basically just get rid of it and rely instead on the
`.fqme` to be the god-key to getting `MktPair` info (from the cache).

Further, extend the `TransactionLedger` to contain much more info on the
pertaining backend:
- `.mod` mapping to the (pkg) py mod.
- `.filepath` pointing to the actual ledger TOML file.
- `_symcache` for doing any needed asset or mkt lookup as mentioned
  above.
- rename `.iter_trans()` -> `.iter_txns()` and allow passing in
  a symcache or using the init provided one.
  - rename `.to_trans()` similarly.
- delegate paper account txn processing to the `.clearing._paper_engine`
  mod's `norm_trade()` (and expect this similarly from other backends!)
- use new `SymbologyCache.search()` to find the best but
  un-fully-qualified fqme for a given `txdict` being processed when
  writing a config (aka always try to expand to the most verbose `.fqme`
  possible).
- add a `rewrite: bool` control to `open_trade_ledger()`.
2023-07-12 08:45:55 -04:00
..
accounting Finally, just drop `Transaction.sym` 2023-07-12 08:45:55 -04:00
brokers ib.feed: handle fiat (forex) pairs with `Asset` 2023-07-12 08:45:55 -04:00
clearing clearing._messages: add todo to drop the `BrokedPosition` msg 2023-07-12 08:45:55 -04:00
cli Add explicit `piker.cli` logger name for `pikerd` 2023-06-27 13:42:08 -04:00
data Use `MktPair.from_msg()` in symcache 2023-07-12 08:45:55 -04:00
fsp rename `.data._normalize` -> `.ticktools` 2023-06-27 15:47:05 -04:00
service Add marketstore client as storage-backend module 2023-06-27 13:41:47 -04:00
storage Add `store ldshm` subcmd 2023-06-27 13:41:47 -04:00
testing Pass a config `tmp_dir: Path` to the runtime when testing 2023-03-09 15:37:43 -05:00
ui Move `frame_ticks()` and tick-type defs into `.ticktools` 2023-06-27 15:47:05 -04:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Start `piker.service` sub-package 2023-03-09 15:37:42 -05:00
_cacheables.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
_profile.py Make profiler work when nested and not? 2023-02-13 12:27:58 -05:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py Move `.accounting` related config loaders to subpkg 2023-06-27 13:42:08 -04:00
log.py Move `.accounting` related config loaders to subpkg 2023-06-27 13:42:08 -04:00
trionics.py Start trionics mod with an `async_enter_all` 2022-01-23 19:41:57 -05:00