Commit Graph

433 Commits (436e4d2df48e61937ed7462f3964add7b8b440b7)

Author SHA1 Message Date
Tyler Goodlet 436e4d2df4 Add tbk tick streaming with trio-websocket 2020-09-01 13:25:41 -04:00
Tyler Goodlet acd32341e2 Fix assignment out of order 2020-09-01 13:25:41 -04:00
Tyler Goodlet 3cfb15ed6e Make monitor handle non-full quote messages 2020-09-01 13:25:41 -04:00
Tyler Goodlet d66cfb8fa0 Push only new key value pairs over quote streams
This is something I've been meaning to try for a while and will likely
make writing tick data to a db more straight forward (filling in NaN
values is more matter of fact) plus it should minimize bandwidth usage.
Note, it'll require stream consumers to be considerate of non-full
quotes arriving and thus using the first "full" quote message to fill
out dynamically formatted systems or displays.
2020-09-01 13:25:41 -04:00
Tyler Goodlet 335cee63b2 Make stock quote formatter work with diff streams 2020-09-01 13:25:41 -04:00
Tyler Goodlet 213a19b191 Update version and deps 2020-09-01 13:25:40 -04:00
Tyler Goodlet a6c692fb8b Add support for TICK ingest to marketstore 2020-09-01 13:25:09 -04:00
goodboy 837f4d3823
Merge pull request #97 from pikers/relicense_as_agplv3
Relicense to AGPLv3
2020-06-16 10:20:15 -05:00
Tyler Goodlet b58820e297 Relicense to AGPLv3 2020-06-16 00:12:19 -04:00
Tyler Goodlet 2c93bb0302 Drop use of deprecated `trio.Event.clear()` 2020-06-02 10:33:57 -04:00
Tyler Goodlet eccd9e2ffb It's not markdown bub 2020-06-02 10:32:04 -04:00
goodboy 9eddfa7b3b
Merge pull request #92 from pikers/questrade_candles
Questrade candles
2020-06-01 13:44:54 -05:00
Tyler Goodlet 882f4a28d1 Add privacy note 2020-06-01 14:43:39 -04:00
Tyler Goodlet 64993666fa Pull 100 bars by default 2020-05-26 14:49:50 -04:00
Tyler Goodlet 5f200b8db1 Always delay bars 15m; rename to volume 2020-05-26 14:49:50 -04:00
Tyler Goodlet a7f7de32b4 Docstring tweaks 2020-05-26 14:49:50 -04:00
Tyler Goodlet ffd8bdac5f Fix imports 2020-05-26 14:49:50 -04:00
Tyler Goodlet 9b91ecd408 Pass confdir and watchlist path to cli 2020-05-26 14:49:50 -04:00
Tyler Goodlet 057086efdb Pass through test file to monitor 2020-05-26 14:49:50 -04:00
Tyler Goodlet f798d13038 Reord watchlist cmds into new package 2020-05-26 14:49:50 -04:00
Tyler Goodlet ff843372a1 Add `piker bars` command
For easy testing of questrade historical data from cli.
Re-org the common cli components into a new package to avoid having all
commands defined in a top-level module.
2020-05-26 14:49:50 -04:00
Tyler Goodlet c11946988e Implement candles retrieval from Questrade
There's some expected limitations with the number of sticks allowed in
a single query (they say 2k but I've been able to pull 20k). Also note
without a paid data sub there's a 15m delay on 1m sticks (we'll hack
around that shortly, don't worry).
2020-05-26 14:49:50 -04:00
Tyler Goodlet 595f79c632 Add symbol not found 2020-05-26 14:49:50 -04:00
Tyler Goodlet 764f647578 Add a more "motivating" feature set 2020-05-26 14:49:50 -04:00
goodboy f48d4658d3
Merge pull request #87 from pikers/dependabot/pip/psutil-5.6.6
Bump psutil from 5.6.5 to 5.6.6
2020-03-15 12:26:10 -06:00
dependabot[bot] c773136056
Bump psutil from 5.6.5 to 5.6.6
Bumps [psutil](https://github.com/giampaolo/psutil) from 5.6.5 to 5.6.6.
- [Release notes](https://github.com/giampaolo/psutil/releases)
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.6.5...release-5.6.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-12 18:31:45 +00:00
goodboy ed2f22448b
Merge pull request #85 from pikers/use_tractor_logging
Use tractor logging
2020-02-29 11:37:59 -06:00
Tyler Goodlet 732638ae2d Delegate logging to `tractor`
Gives us PIDs and task ids in logs which is much more sane for
debugging and cuts down on superfluous code.
2020-02-29 12:29:20 -05:00
goodboy d1b76a50e9
Merge pull request #86 from pikers/questrade_conns
use >1 asks session connections
2020-02-28 12:00:22 -06:00
Tyler Goodlet 837e30ff68 use >1 asks session connections
Gets us better throughput when polling multiple endpoints (eg. option
and stock quotes simultaneously) since slower round trip request won't
block faster ones when using multiple connections.
2020-02-18 16:13:20 -05:00
goodboy 8cc723d16d
Merge pull request #83 from pikers/kivy_mainline_and_py3.8
Kivy mainline and py3.8
2019-11-21 10:23:49 -05:00
Tyler Goodlet 6bd13f0c5a Lockfile bump 2019-11-21 10:21:43 -05:00
Tyler Goodlet a2e5d07b2c Port to mainline kivy and Python 3.8
This required some copy-paste of code from @matham's branch:
https://github.com/kivy/kivy/pull/5241

namely, the stuff in the `utils_async.py` module. I've added all that as
a standalone file for now.

Update the pipfile to use `kivy`'s master branch (since there seems to
be some lingering cython issues in the current release wheels).
2019-11-21 10:21:43 -05:00
Tyler Goodlet 82416ea144 Add `xclip` to avoid tb at kivy startup 2019-05-01 19:34:01 -04:00
Tyler Goodlet 1dd69d7559 Add pre-build arch pkg deps 2019-04-30 13:19:04 -04:00
Tyler Goodlet 9b438c65db Deps bump 2019-04-30 13:10:06 -04:00
Tyler Goodlet 49d612de49 Port to new @tractor.stream API 2019-04-26 00:27:01 -04:00
Tyler Goodlet 811dbaab4e Add pipenv cmd for installing async kivy branch 2019-04-26 00:26:14 -04:00
Tyler Goodlet 1cc33abca0 Don't bail when a sub-optschain crashes 2019-03-24 12:09:17 -04:00
goodboy 8964b7a5fb
Merge pull request #76 from pikers/optschain_as_subactor
Spawn optschain from monitor via keybinding
2019-03-21 22:55:49 -04:00
Tyler Goodlet 4e2d32d425 Readme bump 2019-03-21 22:46:20 -04:00
Tyler Goodlet b2252e5762 Fix bad import 2019-03-21 22:18:09 -04:00
Tyler Goodlet 8bf82a2f76 Allow spawning an optschain UI from monitor using the `o` keybinding 2019-03-21 22:15:08 -04:00
Tyler Goodlet d59283d36d Update optschain cli entrypoint to pass primitive arg types 2019-03-21 22:14:22 -04:00
Tyler Goodlet 884fcaa88e A slew of tiny pager improvements
- stop displaying search bar widget on <ctrl-c>
- if there's existing search bar content highlight it automatically
  to allow user to start typing new content right away
- when activated allow search bar to insert its own set of keybinding
  controls; restore prior bindings on exit
2019-03-21 22:01:50 -04:00
Tyler Goodlet 3bbb1db2b4 Make option chain spawnable as a subactor
Look up the broker module and set up the loglevel locally.
Ask the arbiter for a portal to the data daemon since we can't
pass one to a subactor by reference.
2019-03-21 21:50:55 -04:00
Tyler Goodlet fc1e63b2c1 Spawn keyboard functions in new tasks 2019-03-18 22:39:21 -04:00
Tyler Goodlet c8da096126 Track table's last clicked row 2019-03-18 22:38:32 -04:00
goodboy 124b533150
Merge pull request #75 from pikers/use_toml
Use toml
2019-03-18 07:28:02 -04:00
Tyler Goodlet 44eb9aa9ff Create a blank config if none exists 2019-03-18 00:04:34 -04:00