Commit graph

141 commits

Author SHA1 Message Date
Chris Berkhout
c4afbb5ec0 Update README for --verbose/-vvv changes. 2021-07-17 19:02:23 +02:00
Chris Berkhout
591bb33cd3 Version 0.1.5. 2021-07-17 18:56:00 +02:00
Chris Berkhout
b868602cae Extra coinmarketcap test cases for coverage. 2021-07-17 18:50:01 +02:00
Chris Berkhout
d1704615df Improve coinmarketcap error handling and add tests. 2021-07-17 18:40:53 +02:00
Chris Berkhout
881f3b2acf Minor rewording of error message. 2021-07-17 18:40:53 +02:00
Chris Berkhout
b00bca3903 Allow --verbose or -vvv for any subcommand as well as at the top level. 2021-07-16 11:52:57 +02:00
Chris Berkhout
73c5f3a1c6 Tidy tests for coindesk, ecb. 2021-07-14 16:58:30 +02:00
Chris Berkhout
fadeee4870 Version 0.1.4. 2021-07-14 16:24:32 +02:00
Chris Berkhout
d506b8502e Fix UNIX timestamp logic to avoid timezone issues for yahoo and coinmarketcap. 2021-07-14 16:22:35 +02:00
Chris Berkhout
ab0c0bdca7 Version 0.1.3. 2021-07-14 13:12:30 +02:00
Chris Berkhout
ebb644fb8f Formatting. 2021-07-14 13:11:42 +02:00
Chris Berkhout
633e84ef22 CoinDesk error handling and tests. 2021-07-14 13:10:14 +02:00
Chris Berkhout
fac396d00c Minor tidy up of ECB tests. 2021-07-14 13:10:14 +02:00
Chris Berkhout
fcce842d82 Set User-Agent when talking to Yahoo. 2021-07-14 13:10:14 +02:00
Chris Berkhout
c0c7e546a3 Better logging of critical exceptions. Isolate tests and error handling for ECB. 2021-07-14 13:10:14 +02:00
Chris Berkhout
2aa4319dbb Live tests for ECB source. 2021-07-14 13:10:14 +02:00
Chris Berkhout
6a794cdc6f Exceptions for sources. 2021-07-14 13:10:14 +02:00
Chris Berkhout
360138ee0f Version 0.1.2. 2021-07-02 12:18:10 +02:00
Chris Berkhout
494a721ccd Require base=BTC for coindesk and base=EUR for ecb. 2021-07-02 12:16:41 +02:00
Chris Berkhout
23be58ae74 README formatting. 2021-07-01 14:11:55 +02:00
Chris Berkhout
2b83a6d1f0 README: reformat usage. 2021-07-01 14:08:04 +02:00
Chris Berkhout
15aa62a024 README: mention plain pip. 2021-07-01 14:05:45 +02:00
Chris Berkhout
2d2b80da49 README: more usage information. 2021-07-01 14:02:00 +02:00
Chris Berkhout
ba67ef310f README update. 2021-07-01 13:56:39 +02:00
Chris Berkhout
98355efbc3 Normalize symbols (to upper case). Output symbols returned by coinmarketcap. 2021-06-17 13:42:06 +02:00
Chris Berkhout
0927e27939 Error handling for end date before start date. 2021-06-12 16:10:50 +02:00
Chris Berkhout
7d473c7dba Clean up output comments. 2021-06-11 23:02:59 +02:00
Chris Berkhout
03386e9093 Documentation for the GnuCash SQL output. 2021-06-04 21:58:08 +02:00
Chris Berkhout
7dee55fa17 Tidy up. 2021-06-04 21:57:40 +02:00
Chris Berkhout
2f3578c989 Give version numbers without a 'v'. 2021-06-04 21:57:13 +02:00
Chris Berkhout
ea4cc7ebe7 Don't warn about missing only today's price. 2021-06-04 13:00:39 +02:00
Chris Berkhout
782db67195 Bump version. 2021-06-03 10:42:19 +02:00
Chris Berkhout
abc97b9ec1 Tidy for publishing. 2021-06-03 10:39:10 +02:00
Chris Berkhout
b401bb7621 Note if using default start time. 2021-06-03 10:02:41 +02:00
Chris Berkhout
af297824a6 alphavantage: request compact data if full data isn't needed. 2021-06-02 22:49:54 +02:00
Chris Berkhout
ee8bf69dbe Add note about Alpha Vantage rate limit. 2021-06-02 22:28:51 +02:00
Chris Berkhout
cf429a1ce2 Support Alpha Vantage. 2021-06-02 22:13:43 +02:00
Chris Berkhout
fddf41e23e README: 'at least for now'. 2021-06-02 09:32:41 +02:00
Chris Berkhout
cfb23da31f Update README for new --verbose option. 2021-06-01 21:10:22 +02:00
Chris Berkhout
1d605520a1 Note yahoo source in the README. 2021-06-01 19:19:51 +02:00
Chris Berkhout
d26c9e5d59 Show INFO messages by default and have one option for more: --verbose. 2021-06-01 19:17:42 +02:00
Chris Berkhout
e05cc1656c Fix logger to follow "No % formatting operation is performed on msg when no args are supplied.". 2021-06-01 19:09:39 +02:00
Chris Berkhout
10982b72d4 Add support for Yahoo! Finance. 2021-06-01 19:04:27 +02:00
Chris Berkhout
925ed42b86 Don't print a blank line for ledger or beancount when there are no prices. 2021-05-31 18:59:38 +02:00
Chris Berkhout
5fdbb480e7 Generate valid GnuCash SQL by not inserting values if there are none. 2021-05-31 18:50:48 +02:00
Chris Berkhout
82c4f45ce0 Check that price numbers aren't too big for GnuCash. 2021-05-31 18:49:42 +02:00
Chris Berkhout
303f5d379a Don't use string manipulation to produce rational numbers. 2021-05-31 17:00:02 +02:00
Chris Berkhout
9996354108 Tidy logging. 2021-05-31 15:10:15 +02:00
Chris Berkhout
229ea109ef Do proper SQL escaping and warn about bad values. 2021-05-31 12:19:57 +02:00
Chris Berkhout
71ed878c2a Tidy. 2021-05-30 15:50:48 +02:00