Commit graph

  • f501cc8f9a Last README change for now. Chris Berkhout 2021-08-17 17:01:23 +02:00
  • b5cfdaad1e More README changes. Chris Berkhout 2021-08-17 16:53:45 +02:00
  • fecd61f5f8 More README changes. Chris Berkhout 2021-08-17 12:58:49 +02:00
  • a4c0a142e3 Expand README. Chris Berkhout 2021-08-12 16:30:53 +02:00
  • c3a186fe49 Tidy README. Chris Berkhout 2021-08-11 15:12:02 +02:00
  • 74d9c211c9 Add some live tests. Chris Berkhout 2021-08-11 15:00:58 +02:00
  • d19bc66c61 Avoid running flake8 on cache, etc. Chris Berkhout 2021-08-10 14:16:21 +02:00
  • 637650245e Set up pre-commit hook and related make targets. Chris Berkhout 2021-08-10 13:58:15 +02:00
  • 9050b7948b Run flake8 linting on CI. Chris Berkhout 2021-08-05 12:57:10 +02:00
  • 78b622eade Test outputs. Chris Berkhout 2021-08-04 15:34:52 +02:00
  • 5d0c6aaf03 Don't test baseoutput abstract method. Chris Berkhout 2021-08-04 12:19:23 +02:00
  • 2d1553e2d9 Test basesource methods. Chris Berkhout 2021-08-04 12:18:49 +02:00
  • c0af189ae0 Remove unused imports. Chris Berkhout 2021-08-03 14:09:20 +02:00
  • 0ddaf5893b Basic tests for cli(). Chris Berkhout 2021-08-03 14:06:41 +02:00
  • 66e95c1ac4 Pull validation helpers out of build_parser() for easier testing. Chris Berkhout 2021-08-02 16:42:12 +02:00
  • 784770d9f3 Generate parser errors when basic argument validation fail. Chris Berkhout 2021-08-02 16:41:34 +02:00
  • 338acf2970 Set all defaults for source in arg parser. Chris Berkhout 2021-08-02 16:25:30 +02:00
  • 16d0405725 Parse provided args when available. Chris Berkhout 2021-08-02 16:24:32 +02:00
  • f21636c397 Version 0.1.7. 0.1.7 Chris Berkhout 2021-08-01 18:11:38 +02:00
  • c8337b9c2c Test fetch. Chris Berkhout 2021-08-01 18:05:27 +02:00
  • 3218338bff Use logging.warning() instead of deprecated logging.warn(). Chris Berkhout 2021-08-01 14:04:04 +02:00
  • de4a8f2227 Add pytest-mock. Chris Berkhout 2021-08-01 14:03:42 +02:00
  • 5053d57fec Test logger. Chris Berkhout 2021-07-31 12:02:00 +02:00
  • 944265a7e9 Test format. Chris Berkhout 2021-07-31 12:01:49 +02:00
  • bc482957ec Fix flake8 warnings. Chris Berkhout 2021-07-30 14:23:44 +02:00
  • 4f6dafcbeb Test Series. Chris Berkhout 2021-07-30 14:09:47 +02:00
  • 1124b6f86c Test formatting of list of sources. Chris Berkhout 2021-07-29 17:15:36 +02:00
  • c13e329208 Test exceptions handler. Chris Berkhout 2021-07-29 17:04:32 +02:00
  • 09b7a25f9d Test isocurrencies. Chris Berkhout 2021-07-29 16:42:21 +02:00
  • c912b676b4 Use a common exceptions handler when interacting with a source. Chris Berkhout 2021-07-29 16:22:06 +02:00
  • 582b9fe178 No prefix to curl commands in debug log output. Chris Berkhout 2021-07-29 16:17:44 +02:00
  • 2e12167dac Add badges to readme. Chris Berkhout 2021-07-29 13:42:34 +02:00
  • 260fc428f5 Don't isort/black vendored code. Chris Berkhout 2021-07-29 13:08:36 +02:00
  • 96315b1b00 Fix isort in CI. Chris Berkhout 2021-07-29 13:04:37 +02:00
  • a3709926e4 Log when there are no results for symbol search. Chris Berkhout 2021-07-29 12:32:12 +02:00
  • d3931310a2 Improve alphavantage error handling and add tests. Chris Berkhout 2021-07-29 12:31:44 +02:00
  • 99761ebbd1 Update .gitlab-ci.yml file Chris Berkhout 2021-07-29 11:00:45 +00:00
  • 81291cbf2b Update .gitlab-ci.yml file Chris Berkhout 2021-07-29 11:00:29 +00:00
  • b0834575ed Version 0.1.6. 0.1.6 Chris Berkhout 2021-07-18 18:13:43 +02:00
  • 46db6e9a6f Improve yahoo error handling and add tests. Chris Berkhout 2021-07-18 18:09:42 +02:00
  • cdd78f0445 Fix formatting of base-only pairs in exception messages. Chris Berkhout 2021-07-18 18:10:14 +02:00
  • c4afbb5ec0 Update README for --verbose/-vvv changes. Chris Berkhout 2021-07-17 19:02:23 +02:00
  • 591bb33cd3 Version 0.1.5. 0.1.5 Chris Berkhout 2021-07-17 18:56:00 +02:00
  • b868602cae Extra coinmarketcap test cases for coverage. Chris Berkhout 2021-07-17 18:50:01 +02:00
  • d1704615df Improve coinmarketcap error handling and add tests. Chris Berkhout 2021-07-17 18:39:59 +02:00
  • 881f3b2acf Minor rewording of error message. Chris Berkhout 2021-07-17 18:40:21 +02:00
  • b00bca3903 Allow --verbose or -vvv for any subcommand as well as at the top level. Chris Berkhout 2021-07-16 11:52:57 +02:00
  • 73c5f3a1c6 Tidy tests for coindesk, ecb. Chris Berkhout 2021-07-14 16:58:30 +02:00
  • fadeee4870 Version 0.1.4. 0.1.4 Chris Berkhout 2021-07-14 16:24:32 +02:00
  • d506b8502e Fix UNIX timestamp logic to avoid timezone issues for yahoo and coinmarketcap. Chris Berkhout 2021-07-14 16:22:35 +02:00
  • ab0c0bdca7 Version 0.1.3. 0.1.3 Chris Berkhout 2021-07-14 13:12:30 +02:00
  • ebb644fb8f Formatting. Chris Berkhout 2021-07-14 13:11:42 +02:00
  • 633e84ef22 CoinDesk error handling and tests. Chris Berkhout 2021-07-14 13:09:16 +02:00
  • fac396d00c Minor tidy up of ECB tests. Chris Berkhout 2021-07-14 13:08:03 +02:00
  • fcce842d82 Set User-Agent when talking to Yahoo. Chris Berkhout 2021-07-14 13:05:20 +02:00
  • c0c7e546a3 Better logging of critical exceptions. Isolate tests and error handling for ECB. Chris Berkhout 2021-07-11 15:50:59 +02:00
  • 2aa4319dbb Live tests for ECB source. Chris Berkhout 2021-07-09 12:34:35 +02:00
  • 6a794cdc6f Exceptions for sources. Chris Berkhout 2021-07-14 13:09:34 +02:00
  • 360138ee0f Version 0.1.2. 0.1.2 Chris Berkhout 2021-07-02 12:18:10 +02:00
  • 494a721ccd Require base=BTC for coindesk and base=EUR for ecb. Chris Berkhout 2021-07-02 12:16:41 +02:00
  • 23be58ae74 README formatting. Chris Berkhout 2021-07-01 14:11:55 +02:00
  • 2b83a6d1f0 README: reformat usage. Chris Berkhout 2021-07-01 14:08:04 +02:00
  • 15aa62a024 README: mention plain pip. Chris Berkhout 2021-07-01 14:05:45 +02:00
  • 2d2b80da49 README: more usage information. Chris Berkhout 2021-07-01 14:02:00 +02:00
  • ba67ef310f README update. Chris Berkhout 2021-07-01 13:56:39 +02:00
  • 98355efbc3 Normalize symbols (to upper case). Output symbols returned by coinmarketcap. Chris Berkhout 2021-06-17 13:42:06 +02:00
  • 0927e27939 Error handling for end date before start date. Chris Berkhout 2021-06-12 16:10:50 +02:00
  • 7d473c7dba Clean up output comments. Chris Berkhout 2021-06-11 23:02:59 +02:00
  • 03386e9093 Documentation for the GnuCash SQL output. Chris Berkhout 2021-06-04 21:58:08 +02:00
  • 7dee55fa17 Tidy up. Chris Berkhout 2021-06-04 21:57:40 +02:00
  • 2f3578c989 Give version numbers without a 'v'. Chris Berkhout 2021-06-04 21:57:13 +02:00
  • ea4cc7ebe7 Don't warn about missing only today's price. Chris Berkhout 2021-06-04 13:00:39 +02:00
  • 782db67195 Bump version. 0.1.1 Chris Berkhout 2021-06-03 10:42:19 +02:00
  • abc97b9ec1 Tidy for publishing. Chris Berkhout 2021-06-03 10:39:10 +02:00
  • b401bb7621 Note if using default start time. 0.1.0 Chris Berkhout 2021-06-03 10:02:41 +02:00
  • af297824a6 alphavantage: request compact data if full data isn't needed. Chris Berkhout 2021-06-02 22:49:54 +02:00
  • ee8bf69dbe Add note about Alpha Vantage rate limit. Chris Berkhout 2021-06-02 22:28:51 +02:00
  • cf429a1ce2 Support Alpha Vantage. Chris Berkhout 2021-06-02 22:13:43 +02:00
  • fddf41e23e README: 'at least for now'. Chris Berkhout 2021-06-02 09:32:41 +02:00
  • cfb23da31f Update README for new --verbose option. Chris Berkhout 2021-06-01 21:10:22 +02:00
  • 1d605520a1 Note yahoo source in the README. Chris Berkhout 2021-06-01 19:19:51 +02:00
  • d26c9e5d59 Show INFO messages by default and have one option for more: --verbose. Chris Berkhout 2021-06-01 19:17:42 +02:00
  • e05cc1656c Fix logger to follow "No % formatting operation is performed on msg when no args are supplied.". Chris Berkhout 2021-06-01 19:09:39 +02:00
  • 10982b72d4 Add support for Yahoo! Finance. Chris Berkhout 2021-06-01 19:03:32 +02:00
  • 925ed42b86 Don't print a blank line for ledger or beancount when there are no prices. Chris Berkhout 2021-05-31 18:59:38 +02:00
  • 5fdbb480e7 Generate valid GnuCash SQL by not inserting values if there are none. Chris Berkhout 2021-05-31 18:50:48 +02:00
  • 82c4f45ce0 Check that price numbers aren't too big for GnuCash. Chris Berkhout 2021-05-31 18:48:45 +02:00
  • 303f5d379a Don't use string manipulation to produce rational numbers. Chris Berkhout 2021-05-31 17:00:02 +02:00
  • 9996354108 Tidy logging. Chris Berkhout 2021-05-31 15:10:15 +02:00
  • 229ea109ef Do proper SQL escaping and warn about bad values. Chris Berkhout 2021-05-31 12:19:57 +02:00
  • 71ed878c2a Tidy. Chris Berkhout 2021-05-30 15:50:48 +02:00
  • 758d02db8e Tidy comment. Chris Berkhout 2021-05-30 14:36:08 +02:00
  • a5346c7796 Extract helper method. Chris Berkhout 2021-05-30 14:27:13 +02:00
  • 384817ba6e Warn if the requested date range isn't covered. Chris Berkhout 2021-05-30 14:22:08 +02:00
  • 249d426f9f Generate CSV with the correct escaping. Chris Berkhout 2021-05-29 22:12:36 +02:00
  • 2c3805e4b0 More tidy. Chris Berkhout 2021-05-28 22:27:17 +02:00
  • 569935a5e6 Tidy date handling. Chris Berkhout 2021-05-28 22:11:45 +02:00
  • 0eac8abea3 Improve pair parsing and validation. Chris Berkhout 2021-05-28 21:50:11 +02:00
  • 46d77e4192 Validate price type. Chris Berkhout 2021-05-28 21:25:42 +02:00
  • 5d18218588 Misc. Chris Berkhout 2021-05-28 18:30:41 +02:00