Commit Graph

  • d3bafb0063 Always prefer a config template if found Tyler Goodlet 2023-05-22 22:52:21 -0400
  • 7f246697b4 Remove remaining `fqsn` usage from code base minus backward compats Tyler Goodlet 2023-05-22 12:24:21 -0400
  • dd10acbbf9 Replace `Transaction.fqsn` -> `.fqme` Tyler Goodlet 2023-05-22 12:21:38 -0400
  • 31a00eca94 Rename fqsn -> fqme in ui mods Tyler Goodlet 2023-05-22 12:13:00 -0400
  • c93d119873 Move tmpdir creation into separate fixture Tyler Goodlet 2023-05-22 12:00:41 -0400
  • 588770d034 ib: rename lingering fqsn -> fqme Tyler Goodlet 2023-05-22 12:00:13 -0400
  • 2f2d612b5f Add todo to switch to `dst/src` delim Tyler Goodlet 2023-05-22 11:57:37 -0400
  • 660a94d610 Don't expect `conf.toml`'s network section Tyler Goodlet 2023-05-22 11:54:36 -0400
  • e4e4cacef3 .data.feed: Less stringency with fqme matching Tyler Goodlet 2023-05-22 11:52:36 -0400
  • 60a6f3269c ib: use flex report datetime sort Tyler Goodlet 2023-05-22 09:41:44 -0400
  • 53003618cb Add longer timeout on brokerd ctx cancel; seems to work? Tyler Goodlet 2023-05-22 00:16:58 -0400
  • c6da09f3c6 Add fast(er), time-sorted ledger records Tyler Goodlet 2023-05-18 18:07:12 -0400
  • 89d24cfe33 Oof, fix closed position popping by fqme.. Tyler Goodlet 2023-05-18 12:52:34 -0400
  • 8d7a9fa19e Make `MktPair.pair()` a meth, allow passing in a delim character Tyler Goodlet 2023-05-18 12:01:30 -0400
  • a1a10676cd Go back to `tomllib` for ledger loading, it's wayy faster Tyler Goodlet 2023-05-18 11:27:31 -0400
  • 97b2b25256 Avoid import cycle in clearing client Tyler Goodlet 2023-05-18 01:25:04 -0400
  • b2bf0b06f2 ib.api: wholesale fqsn -> fqme renames Tyler Goodlet 2023-05-17 16:56:04 -0400
  • 907eaa68cb Pass `mkt: MktPair` to `.open_history_client()` Tyler Goodlet 2023-05-17 16:52:15 -0400
  • 89e8a834bf Support fqme rendering *without* the src key Tyler Goodlet 2023-05-17 16:47:15 -0400
  • 12bfabf056 Expose `.accounting.unpack_fqme()` Tyler Goodlet 2023-05-17 16:43:31 -0400
  • a44e926c2f kucoin: handle ws welcome, subs-ack and pong msgs Tyler Goodlet 2023-05-17 11:59:19 -0400
  • d0ba9a0a58 Start draft `conf.toml` "root" config with tsdb contact info Tyler Goodlet 2023-05-17 10:58:12 -0400
  • 3294defee1 `fqme` adjustments to marketstore module Tyler Goodlet 2023-05-17 10:46:32 -0400
  • ae049eb84f Pass and use `MktPair` throughout history routines Tyler Goodlet 2023-05-17 10:19:14 -0400
  • 5c8a45c64a Fix `MktPair.bs_fqme` to properly strip broker suffix Tyler Goodlet 2023-05-17 09:45:00 -0400
  • 07b7d1d229 ib: implement `FeedInit` style quote stream setup Tyler Goodlet 2023-05-16 17:29:07 -0400
  • 147e1baee9 Remove typo-ed `sum_tick_vlm` config from all crypto backends Tyler Goodlet 2023-05-16 17:00:15 -0400
  • b096ee3b7a Make `FeedInit.shm_write_opts` an empty dict by default Tyler Goodlet 2023-05-16 16:30:30 -0400
  • f20e2d6ee2 ib.feed: start drafting out `get_mkt_info()` endpoint Tyler Goodlet 2023-05-15 15:35:57 -0400
  • 1263835034 ib.api: make `get_sym_details()` and `get_quote()` mutex methods Tyler Goodlet 2023-05-15 15:35:30 -0400
  • 1e1e64f7f9 ib: fix op error when `end_dt` is `None`: the first query Tyler Goodlet 2023-05-15 13:30:34 -0400
  • 98c043815a Woops, implement `Symbol.fqme` same a `Mktpair`.. Tyler Goodlet 2023-05-14 20:24:19 -0400
  • ebe351e2ee kucoin: raise `DataUnavailable` if we get empty time array at some point? Tyler Goodlet 2023-05-14 15:13:14 -0400
  • cfb125beef `.data.feed`: finally solve startup overruns issue Tyler Goodlet 2023-05-13 17:35:46 -0400
  • 1f0db3103d ib.broker: always cast `asset_type` to `str` Tyler Goodlet 2023-05-13 17:27:45 -0400
  • 2e8268b53e Allow passing `allow_overruns: bool` to `Services.start_service_task()` Tyler Goodlet 2023-05-13 16:51:11 -0400
  • b572cd1b77 kucoin: store fqme -> mktids table Tyler Goodlet 2023-05-13 16:45:05 -0400
  • b288d7051a ib.broker: load account name map as a `bidict` (no `tomlkit` support) Tyler Goodlet 2023-05-13 16:44:28 -0400
  • c349d50f2f Allow creation of empty account files Tyler Goodlet 2023-05-13 16:12:18 -0400
  • 779c0b73c9 Make `.accounting._ledger` use `tomlkit` Tyler Goodlet 2023-05-13 16:07:17 -0400
  • 50a4c425d3 Add `touch_if_dne: bool` to `config.load()` Tyler Goodlet 2023-05-13 16:05:23 -0400
  • df96155057 Always allow overruns in sampler context Tyler Goodlet 2023-05-13 14:06:27 -0400
  • a62283bae2 Drop final use of `toml` 3rd party lib Tyler Goodlet 2023-05-12 16:15:12 -0400
  • 2865f0efe9 `piker.config`: use `tomlkit` for accounting files Tyler Goodlet 2023-05-12 16:05:45 -0400
  • 5f79434b23 Use new `.config` helpers for `accounting._pos/._ledger` file loading Tyler Goodlet 2023-05-12 13:02:29 -0400
  • 5278f8b560 Add `.config.load_ledger()` for transaction record files Tyler Goodlet 2023-05-12 13:01:45 -0400
  • 488a0cd119 Add `.config.load_account()` Tyler Goodlet 2023-05-12 12:40:09 -0400
  • 957224bdc5 ib: support remote host vnc client connections Tyler Goodlet 2023-05-12 09:41:45 -0400
  • 7ff8aa1ba0 ib: passthrough host arg to vnc client for click hack Tyler Goodlet 2023-05-11 12:32:38 -0400
  • e06f9dc5c0 kucoin: port to new `NoBsWs` api semantics Tyler Goodlet 2023-05-10 16:22:09 -0400
  • c6e5368520 paperboi: fix fqme parsing to handle `bs_fqme` cases Tyler Goodlet 2023-05-09 18:34:01 -0400
  • 769b292dca Allow `brokerd` runtime switch to paper mode Tyler Goodlet 2023-05-09 18:29:28 -0400
  • 361fc4645c Drop passing `loglevel` to `stream_quotes()`, level is set when actor spawns Tyler Goodlet 2023-05-09 18:28:51 -0400
  • f1f2ba2e02 kucoin: deliver `FeedInit` msgs on feed startup Tyler Goodlet 2023-05-09 18:17:50 -0400
  • 80338e1ddd kucoin: WIP moving to FeedInit API marketstore_disable_snappy Tyler Goodlet 2023-05-09 14:46:02 -0400
  • f8c8f63e87 Drop `Optional` usage from marketstore module Tyler Goodlet 2023-05-09 14:45:34 -0400
  • 96532ad38c ui._display: no downsampling on history chart default view call Tyler Goodlet 2023-05-09 14:43:25 -0400
  • 88f3912b2d test_ems: doc out some remaining suites Tyler Goodlet 2023-05-09 14:42:43 -0400
  • cb8833d430 ib: clear error events on every received? Tyler Goodlet 2023-05-09 14:41:46 -0400
  • 038b20d13a wsbs: increase msg rx timeout to 16 secs Tyler Goodlet 2023-05-09 14:39:45 -0400
  • 05fb4a4014 kraken: drop recv timeout for recon ws Tyler Goodlet 2023-05-09 14:38:31 -0400
  • c415bd1ee1 If backend does not provide `bs_mktid`, use the `bs_fqme` Tyler Goodlet 2023-05-09 14:37:32 -0400
  • 226c3364c3 Smh, handle `fixture==None` case.. Tyler Goodlet 2023-05-09 14:36:36 -0400
  • 685688d2b2 ib: add `mbt.cme` micro-btc futes to adhoc set Tyler Goodlet 2023-04-26 11:39:49 -0400
  • 7a3bce3f33 .data._web_bs: add client module name to log msgs Tyler Goodlet 2023-04-26 11:39:23 -0400
  • 363a2bbcc6 binance: use new `int` sub-id for each request Tyler Goodlet 2023-04-22 13:11:40 -0400
  • 0a8dd7b6da Try to disable `snappy` compression on variables; it breaks everything XD Tyler Goodlet 2023-04-21 16:00:34 -0400
  • 0b43e0aa8c Try having `brokerd` eps defined in `.brokers._daemon` rekt_pps Tyler Goodlet 2023-04-21 15:47:54 -0400
  • ed434e284b Disable ems init order-dialog notifications by default Tyler Goodlet 2023-04-21 15:05:42 -0400
  • af068c5c51 binance: port `stream_messages()` to use `match:` and a new `L1` struct Tyler Goodlet 2023-04-21 15:04:47 -0400
  • f6cd08c6fa Attempt to guard against numercial "anomalies" in `Viz.maxmin()`, add cacheing flag Tyler Goodlet 2023-04-21 14:00:13 -0400
  • 34ff5ff249 kraken: port to new `NoBsWs`, passing timeout (counts) during setup Tyler Goodlet 2023-04-21 13:56:42 -0400
  • b03564da2c binance: port to new `NoBsWs` api and drop `trio_util` usage Tyler Goodlet 2023-04-21 13:48:18 -0400
  • 59743b7b73 Rework `NoBsWs` to avoid agen/`trio` incompatibility Tyler Goodlet 2023-04-21 13:05:34 -0400
  • 9d04accf2e Factor out all history mgmt-logic into a new `.data.history` Tyler Goodlet 2023-04-20 13:36:52 -0400
  • 3cd853cb5d order_mode: revert switch to `MktPair` for pre-order loading Tyler Goodlet 2023-04-20 13:04:40 -0400
  • 4a0beda77e kraken: asyncify and use `get_mkt_info()` in `norm_trade_records()` Tyler Goodlet 2023-04-20 12:00:24 -0400
  • d7288972b7 kraken: port to `FeedInit` and proper impl of `get_mkt_info()` ep Tyler Goodlet 2023-04-20 11:59:17 -0400
  • 0d93871c88 kraken: drop `Client.cache_assets()`, simpler `.pair_info()`, drop `.mkt_info()` Tyler Goodlet 2023-04-20 11:52:23 -0400
  • d0e01ff9b6 Fix `Symbol.from_fqme()` extra added symbols.. Tyler Goodlet 2023-04-20 10:41:24 -0400
  • af2f8756c5 binance: use `@async_lifo_cache` on `.get_mkt_info()` ep Tyler Goodlet 2023-04-19 15:29:59 -0400
  • bcf355e2c8 Fix up `@async_lifo_cache` typing, add TODOs for move to `tractor` Tyler Goodlet 2023-04-19 15:08:10 -0400
  • 1b50bff625 Error test harness if `--pdb` passed without `-s` Tyler Goodlet 2023-04-19 14:04:17 -0400
  • e317310ed3 binance: make `stream_quotes()` deliver new `list[FeedInit]` API Tyler Goodlet 2023-04-19 14:03:50 -0400
  • 4131ff1152 Rename `bs_mktid` -> `bs_fqme` and drop (some) `fqsn`s Tyler Goodlet 2023-04-19 13:59:00 -0400
  • 83802e932a Drop (missed) usage of `Symbol.from_fqsn()` in order mode Tyler Goodlet 2023-04-19 13:58:38 -0400
  • 765b8f8e5c Support both input msg-sequence types Tyler Goodlet 2023-04-19 13:14:33 -0400
  • b4f2f49001 ib: make `stream_quotes()` compat with new init msg bare-minimums Tyler Goodlet 2023-04-18 19:28:32 -0400
  • d1cf90e2ae ib: finally convert ledger processing to use `MktPair` Tyler Goodlet 2023-04-18 19:27:44 -0400
  • 6008497b89 Use more "hierarchical" schema for fsp shm segment names Tyler Goodlet 2023-04-18 19:12:53 -0400
  • adb62dc7b4 Port oustanding parts of codebase to `unpack_fqme()` Tyler Goodlet 2023-04-18 19:12:14 -0400
  • 4129d693be Add `.data.validate` checker for live feed layer Tyler Goodlet 2023-04-18 19:05:42 -0400
  • d48b2c5b57 `._paper_engine`: right, load `MktPair` in `fqme is not None` usage Tyler Goodlet 2023-04-18 19:04:54 -0400
  • 6f5a2654ab Port `.clearing` to new `unpack_fqme()` Tyler Goodlet 2023-04-18 19:04:00 -0400
  • afdbf8e10a `.accounting`: Use `_fqme()` throughout and export decimal converters Tyler Goodlet 2023-04-18 19:03:04 -0400
  • d4c8ba19a2 `.accounting._mktinfo`: better fqme `MktPair` handling Tyler Goodlet 2023-04-18 18:55:01 -0400
  • 53a41ba93d Add subsys log to new `.data._util` Tyler Goodlet 2023-04-18 18:17:45 -0400
  • 06b80ff9ed ARRG, disable `dunst` notifications for now in order mode Tyler Goodlet 2023-04-17 17:28:43 -0400
  • fa88924f84 Do we need feed mod enabled? no right? Tyler Goodlet 2023-04-17 16:37:15 -0400
  • 83f1922f6e `binance.get_mkt_info()`: bleh, right `@lru_cache` dun work for async.. Tyler Goodlet 2023-04-17 16:36:52 -0400