Compare commits
1 Commits
302c2c5732
...
455f10a655
Author | SHA1 | Date |
---|---|---|
|
455f10a655 |
22
README.rst
22
README.rst
|
@ -121,34 +121,34 @@ various sub-readmes:
|
||||||
|
|
||||||
spawn a daemon standalone
|
spawn a daemon standalone
|
||||||
*************************
|
*************************
|
||||||
we call the root actor-process the `pikerd`. it can be (and is
|
we call the root actor-process the ``pikerd``. it can be (and is
|
||||||
recommended normally to be) started separately from the `piker chart`
|
recommended normally to be) started separately from the ``piker
|
||||||
program::
|
chart`` program::
|
||||||
|
|
||||||
pikerd -l info --pdb
|
pikerd -l info --pdb
|
||||||
|
|
||||||
the daemon does nothing until a `piker`-client (like `piker chart`) connects
|
the daemon does nothing until a ``pikers`-client (like `piker chart`) connects
|
||||||
and requests some particular sub-system. for a chart connection
|
and requests some particular sub-system. for a chart connection
|
||||||
`pikerd` will spawn and manage at least,
|
``pikerd`` will spawn and manage at least,
|
||||||
|
|
||||||
- a data-feed daemon: `datad` which does all the work of comms with
|
- a data-feed daemon: ``datad`` which does all the work of comms with
|
||||||
the backend provider (in this case the `binance` cex).
|
the backend provider (in this case the ``binance`` cex).
|
||||||
- a paper-trading engine instance, `paperboi.binance`, (if no live
|
- a paper-trading engine instance, ``paperboi.binance``, (if no live
|
||||||
account has been configured) which allows for auto/manual order
|
account has been configured) which allows for auto/manual order
|
||||||
control against the live quote stream.
|
control against the live quote stream.
|
||||||
|
|
||||||
*using* an actor-service (aka micro-daemon) manager which dynamically
|
*using* an actor-service (aka micro-daemon) manager which dynamically
|
||||||
supervises various sub-subsystems-as-services throughout the `piker`
|
supervises various sub-subsystems-as-services throughout the ``piker``
|
||||||
runtime-stack.
|
runtime-stack.
|
||||||
|
|
||||||
now you can (implicitly) connect your chart::
|
now you can (implicitly) connect your chart::
|
||||||
|
|
||||||
piker chart btcusdt.spot.binance
|
piker chart btcusdt.spot.binance
|
||||||
|
|
||||||
since `pikerd` was started separately you can now enjoy a persistent
|
since ``pikerd`` was started separately you can now enjoy a persistent
|
||||||
real-time data stream tied to the daemon-tree's lifetime. i.e. the next
|
real-time data stream tied to the daemon-tree's lifetime. i.e. the next
|
||||||
time you spawn a chart it will obviously not only load much faster
|
time you spawn a chart it will obviously not only load much faster
|
||||||
(since the underlying `datad.binance` is left running with its
|
(since the underlying ``datad.binance`` is left running with its
|
||||||
in-memory IPC data structures) but also the data-feed and any order
|
in-memory IPC data structures) but also the data-feed and any order
|
||||||
mgmt states should be persistent until you finally cancel ``pikerd``.
|
mgmt states should be persistent until you finally cancel ``pikerd``.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue