piker/piker
Tyler Goodlet f65f56ec75 Initial `piker.pp` ledger support for `kraken`
No real-time update support (yet) but this is the first draft at writing
trades ledgers and `pps.toml` entries for the kraken backend.

Deatz:
- drop `pack_positions()`, no longer used.
- use `piker.pp` apis to both write a trades ledger file and update the
  `pps.toml` inside the `trades_dialogue()` endpoint startup.
- drop the weird paper engine swap over if auth can't be done, we should
  be doing something with messaging in the ems over this..
- more web API error response raising.
- pass the `pp.Transaction` set loaded from ledger into
  `process_trade_msgs()` do avoid duplicate sends of already collected
  trades msgs.
- add `norm_trade_records()` public endpoing (used by `piker.pp` api)
  and `update_ledger()` helper.
- rejig `process_trade_msgs()` to drop the weird `try:` assertion block
  and skip already-recorded-in-ledger trade msgs as well as yield *each*
  trade instead of sub-sequences.
2022-07-02 16:20:22 -04:00
..
brokers Initial `piker.pp` ledger support for `kraken` 2022-07-02 16:20:22 -04:00
clearing Drop nesting level from emsd's pp cacheing, adjust order mode 2022-07-02 16:19:58 -04:00
cli Terser startup msg fields 2022-06-28 10:07:57 -04:00
data Make our `Symbol` a `msgspec.Struct` 2022-06-28 10:07:56 -04:00
fsp Use new `anext()` builtin 2022-06-27 13:59:08 -04:00
testing Import client for now until we make a proper shim 2018-02-12 10:35:54 -05:00
ui Drop nesting level from emsd's pp cacheing, adjust order mode 2022-07-02 16:19:58 -04:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Drop dependence on `msgpack` and `msgpack_numpy` 2022-02-28 08:15:18 -05:00
_cacheables.py Port to new `tractor.trionics.maybe_open_context()` api 2022-01-23 21:01:38 -05:00
_daemon.py Flip back to original daemon port 2022-06-16 15:50:05 -04:00
_profile.py Allow passing "ms slower then" value on cli to `--profile` 2022-04-30 11:36:23 -04:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py Passthrough toml lib kwargs 2022-06-28 10:07:56 -04:00
log.py Type annot name in put to log routine 2022-06-05 22:13:36 -04:00
pp.py Right, handle brand-new pp case.. 2022-07-02 16:14:34 -04:00
trionics.py Start trionics mod with an `async_enter_all` 2022-01-23 19:41:57 -05:00