Tyler Goodlet
112615e374
Add (lack of proper) ring buffer note
2021-08-10 17:02:52 -04:00
Tyler Goodlet
ef27a4f4e2
Position tracker is passed at init
2021-08-10 17:02:17 -04:00
Tyler Goodlet
27ba57217a
Lol, initial size calcs on order line update
2021-08-10 17:01:46 -04:00
Tyler Goodlet
d7cc234a78
Basic allocator state updates from pp sidepane
2021-08-10 17:00:52 -04:00
Tyler Goodlet
7a8e612228
Validate allocator assignments with pydantic
2021-08-10 16:59:44 -04:00
Tyler Goodlet
ebfb700cd2
Add reference gist for Qt guest mode stuff
2021-08-10 16:58:41 -04:00
Tyler Goodlet
61c6bbb592
Add disclaimer to old data mod
2021-08-10 16:58:10 -04:00
Tyler Goodlet
cc40048ab2
Unpack keyboard events into an explicit msg model
2021-08-10 16:57:19 -04:00
Tyler Goodlet
3d4898c4d5
Use `maybe_open_feed()` in ems and fsp daemons
2021-08-10 16:50:40 -04:00
Tyler Goodlet
6f30ae448a
Add a `maybe_open_feed()` which uses new broadcast chans
...
Try out he new broadcast channels from `tractor` for data feeds
we already have cached. Any time there's a cache hit we load the
cached feed and just slap a broadcast receiver on it for the local
consumer task.
2021-08-10 16:00:34 -04:00
Tyler Goodlet
cab1cf4a00
Drop feed refs
2021-08-10 09:34:33 -04:00
Tyler Goodlet
2340a1666b
Add an njs cache gist link
2021-08-10 08:51:03 -04:00
Tyler Goodlet
b2a1c8882b
Let's abstractify: ->
2021-08-09 19:27:42 -04:00
Tyler Goodlet
e9f892916e
Add lifo cache to new module; drop "utils", bleh
2021-08-09 14:35:11 -04:00
Tyler Goodlet
b535effc52
Move feed cacheing to cache mod; put entry retreival into ctx mng
2021-08-09 13:21:12 -04:00
Tyler Goodlet
79000b93cb
Start top level cacheing apis module
2021-08-09 11:43:45 -04:00
Tyler Goodlet
9b2b40598d
Cache `brokerd` feeds for reuse in clearing loop
2021-08-09 11:31:38 -04:00
Tyler Goodlet
68d2000909
Order mode docs/comments updates
2021-08-09 11:21:05 -04:00
Tyler Goodlet
5ae16bf73e
Add draft `pydantic`-`QWidget` ORM system
...
Move all the ``pydantic`` finagling to an `_orm.py` and
just keep an `Allocator` as the backing model for our pp controls
in the position module. This all needs to be tied together in some sane
with with facility for multiple symbols/streams per chart for when we
get to charting-trading aggregate feeds.
2021-08-06 09:14:30 -04:00
Tyler Goodlet
a57d92c8bd
Drop uneeded `typing` types for py3.9+
2021-08-03 10:03:51 -04:00
Tyler Goodlet
5fe8cb7e53
"last" and "current" are better names
2021-08-03 10:03:51 -04:00
Tyler Goodlet
d0ad5e43f9
Remove dead OHLC index consumers from subs list on error
2021-08-02 22:08:59 -04:00
Tyler Goodlet
f5beb22d6e
Flip to view mode on field exit key combos
2021-08-02 18:53:02 -04:00
Tyler Goodlet
37de9e581c
Make god widget focus to chart / "view mode"
2021-08-02 18:52:22 -04:00
Tyler Goodlet
2e086375e7
Call god what it is
2021-08-01 18:53:59 -04:00
Tyler Goodlet
8296bc2699
Use lightest default for pp line
2021-08-01 18:53:30 -04:00
Tyler Goodlet
d1f5e3f62a
Allocate minority to OHLC chart since 2 fsps by default is likely
2021-08-01 16:29:50 -04:00
Tyler Goodlet
4974579e73
"bracket"-ify fills bar + labels and try to evenly space the pane sections
2021-07-30 23:50:03 -04:00
Tyler Goodlet
637364d1c3
Drop old pp config widget inserts; use new pane layout func
2021-07-30 14:23:46 -04:00
Tyler Goodlet
d69b52ac8c
Break health bar and pane layout into separate routines
2021-07-30 14:22:51 -04:00
Tyler Goodlet
ccf79aecf1
Match search bar margins to pp pane
2021-07-30 10:52:21 -04:00
Tyler Goodlet
12e7ceae2b
Fix pp pane to show on symbol switches
2021-07-30 10:51:50 -04:00
Tyler Goodlet
202817bc4d
Use `QFormLayout` instead of rolling our own; add pp and feed status sections
2021-07-30 10:50:05 -04:00
Tyler Goodlet
66b242e19e
Just always use a lambda ; it's innocuous
2021-07-27 10:41:51 -04:00
Tyler Goodlet
177a75adcc
Fixup missing ib section handling; drop `.api` subsection
2021-07-27 08:28:44 -04:00
Tyler Goodlet
770ae75210
Move status back to gunmetal
2021-07-27 07:30:53 -04:00
Tyler Goodlet
2ddf40b8d3
Add a "health bar" factor B)
2021-07-27 07:30:53 -04:00
Tyler Goodlet
472cf036cb
WIP add a lambda-QFrame to get per chart sidpanes for each linkedsplits row
2021-07-27 07:30:52 -04:00
Tyler Goodlet
a68f4b0593
Support (sub)plot names separate from data array keys
2021-07-27 07:28:24 -04:00
Tyler Goodlet
4d66c7ad88
Add position status (health) bar math for sizing and styling
2021-07-27 07:28:24 -04:00
Tyler Goodlet
457cc1a128
Always hide contents labels at startup
2021-07-27 07:28:24 -04:00
Tyler Goodlet
622da73c40
Better search label styling
2021-07-27 07:28:23 -04:00
Tyler Goodlet
8ca6cc180d
Add ctrl-p as "pane toggle"
2021-07-27 07:27:14 -04:00
Tyler Goodlet
12c37f3388
Make field form a vertical layout, add formatted style sheets
2021-07-27 07:27:14 -04:00
Tyler Goodlet
01261d601a
Allocate pp config form alongside god widget as a side-pane
2021-07-27 07:27:14 -04:00
Tyler Goodlet
f27db80bf4
Start using a small schema for generating forms
2021-07-27 07:27:14 -04:00
Tyler Goodlet
4336939507
WIP add input handler for each widget in the form
2021-07-27 07:27:14 -04:00
Tyler Goodlet
fd73d1eef1
Support opening a handler on a collection of widgets
2021-07-27 07:27:14 -04:00
Tyler Goodlet
3302d21086
Use font scaled delegate from forms module
2021-07-27 07:27:14 -04:00
Tyler Goodlet
39ad1ab18f
Size view delegate from monkey patched parent
2021-07-27 07:27:14 -04:00