piker/piker/clearing
Tyler Goodlet 905352ff2f Spurious first-draft of EG collapsing
Topically, throughout various (seemingly) console-UX-affecting or benign
spots in the code base; nothing that required more intervention beyond
things superficial. A few spots also include `trio.Nursery` ref renames
(always to something with a `tn` in it) and log-level reductions to
quiet (benign) console noise oriented around issues meant to be solved
long..

Note there's still a couple spots i left with the loose-ify flag because
i haven't fully tested them without using the latest version of
`tractor.trionics.collapse_eg()`, but more then likely they should flip
over fine.
2026-01-06 21:44:19 -05:00
..
README.rst Further root readme bump, factor `.clearing` content 2025-02-12 15:01:51 -05:00
__init__.py Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00
_client.py Adjust to `trio`'s strict eg nurseries throughout! 2026-01-06 21:44:19 -05:00
_ems.py Spurious first-draft of EG collapsing 2026-01-06 21:44:19 -05:00
_messages.py Mk `Brokerd[Order].price` avoid `float`-errs 2026-01-06 21:43:59 -05:00
_paper_engine.py Cast to `float` as needed from order-mode and ems 2026-01-06 21:43:59 -05:00
_util.py Various `.clearing` todos/notes on potential issues with loglevel settings.. 2025-02-21 16:25:22 -05:00

README.rst

piker.clearing

trade execution-n-control subsys for both live and paper trading as well as algo-trading manual override/interaction across any backend broker and data provider.

avail UIs

order ctl

the piker.clearing subsys is exposed mainly though the piker chart GUI as a "chart trader" style UX and is automatically enabled whenever a chart is opened.

the "manual" order control features are exposed via the piker.ui.order_mode API and can pretty much always be used (at least) in simulated-trading mode, aka "paper"-mode, and the micro-manual is as follows:

order_mode (

edge triggered activation by any of the following keys, mouse-click on y-level to submit at that price ):

  • f/ ctl-f to stage buy
  • d/ ctl-d to stage sell
  • a to stage alert
search_mode (

ctl-l or ctl-space to open, ctl-c or ctl-space to close ) :

  • begin typing to have symbol search automatically lookup symbols from all loaded backend (broker) providers
  • arrow keys and mouse click to navigate selection
  • vi-like ctl-[hjkl] for navigation

position (pp) mgmt

you can also configure your position allocation limits from the sidepane.