Commit Graph

408 Commits (c773136056ee9283345e4e5ac5ab6e84702d0e61)

Author SHA1 Message Date
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
Tyler Goodlet 6746037784 Deps bump 2019-03-17 23:22:10 -04:00
Tyler Goodlet 88bb5b9f05 Handle file not found 2019-03-17 23:22:00 -04:00
Tyler Goodlet 25b6c4667f Deploy flag is no longer supported I guess? 2019-03-17 23:09:08 -04:00
Tyler Goodlet b99c5d2abe Use confdir if provided even when in CI 2019-03-17 23:04:04 -04:00
Tyler Goodlet 3a439fc99d Fix ask use logic for testing/CI 2019-03-17 23:03:45 -04:00
Tyler Goodlet 6857713adf Deps bump now with toml 2019-03-15 19:38:17 -04:00
Tyler Goodlet 6a50049af7 Use toml instead of ini for broker config 2019-03-15 19:37:04 -04:00
Tyler Goodlet 2d688668ff Questrade is default for now 2019-03-03 11:02:06 -05:00
Tyler Goodlet d0b1d0954f Catch multi-errors too? 2019-03-03 11:01:34 -05:00
goodboy c3651da112
Merge pull request #72 from pikers/readme_bump
Update cli cmds and description
2019-02-26 22:00:43 -05:00
Tyler Goodlet 6cbea10b83 Forgot an error 2019-02-26 19:15:53 -05:00
Tyler Goodlet dfe6197e2e Update cli cmds and description 2019-02-26 01:14:58 -05:00
goodboy dfacf8d338
Merge pull request #71 from pikers/fix_ci
Fix ci
2019-02-26 00:53:04 -05:00
Tyler Goodlet 2306799110 Speed bump quoter a slight bit 2019-02-25 22:40:19 -05:00
Tyler Goodlet 5e9c38039c Move brokerd spawner to `brokers.core` 2019-02-25 22:29:48 -05:00
Tyler Goodlet 1fd033d351 Token should always be from a practice account 2019-02-25 22:12:33 -05:00
Tyler Goodlet e40e18dd5c Cache the piker config dir in CI 2019-02-25 22:07:27 -05:00
Tyler Goodlet 414734f803 Add travisCI specific test suite integration
Questrade is the default broker backend (for now) so the CI
can run using a practice account token handed down through an
env variable. If we add a cached directory to the build then the token
should remain persistent in the brokers config and will only need to be
updated if something goes wrong.

Also, add a `--confdir` flag for pytest much in the same way as for
the `piker` cli.
2019-02-25 20:23:20 -05:00
Tyler Goodlet d3fae00e74 Add a `configdir` cli option 2019-02-25 20:22:29 -05:00
Tyler Goodlet 747d703d92 Add hack-fix to avoid leaking cmdline flags to kivy 2019-02-25 20:14:36 -05:00
Tyler Goodlet 77548d2ee6 Add token-from-user toggles to token auth methods 2019-02-25 20:11:45 -05:00
Tyler Goodlet 130553b8df Accept a path arg to `write()` 2019-02-25 19:29:54 -05:00
Tyler Goodlet 295ccbbe64 Name the data what it is 2019-02-24 10:55:52 -05:00
Tyler Goodlet c1a398d826 Use click context to factor cmd options 2019-02-23 16:13:04 -05:00
Tyler Goodlet bc518b992d Deps bump 2019-02-23 00:01:04 -05:00