Commit graph

266 commits

Author SHA1 Message Date
Chris Berkhout
338acf2970 Set all defaults for source in arg parser. 2021-08-02 16:27:14 +02:00
Chris Berkhout
16d0405725 Parse provided args when available. 2021-08-02 16:24:32 +02:00
Chris Berkhout
f21636c397 Version 0.1.7. 2021-08-01 18:11:38 +02:00
Chris Berkhout
c8337b9c2c Test fetch. 2021-08-01 18:05:27 +02:00
Chris Berkhout
3218338bff Use logging.warning() instead of deprecated logging.warn(). 2021-08-01 17:35:14 +02:00
Chris Berkhout
de4a8f2227 Add pytest-mock. 2021-08-01 14:03:42 +02:00
Chris Berkhout
5053d57fec Test logger. 2021-07-31 12:02:00 +02:00
Chris Berkhout
944265a7e9 Test format. 2021-07-31 12:01:49 +02:00
Chris Berkhout
bc482957ec Fix flake8 warnings. 2021-07-30 14:23:44 +02:00
Chris Berkhout
4f6dafcbeb Test Series. 2021-07-30 14:09:47 +02:00
Chris Berkhout
1124b6f86c Test formatting of list of sources. 2021-07-29 17:15:36 +02:00
Chris Berkhout
c13e329208 Test exceptions handler. 2021-07-29 17:05:14 +02:00
Chris Berkhout
09b7a25f9d Test isocurrencies. 2021-07-29 16:42:21 +02:00
Chris Berkhout
c912b676b4 Use a common exceptions handler when interacting with a source. 2021-07-29 16:22:06 +02:00
Chris Berkhout
582b9fe178 No prefix to curl commands in debug log output. 2021-07-29 16:17:44 +02:00
Chris Berkhout
2e12167dac Add badges to readme. 2021-07-29 13:42:34 +02:00
Chris Berkhout
260fc428f5 Don't isort/black vendored code. 2021-07-29 13:08:36 +02:00
Chris Berkhout
96315b1b00 Fix isort in CI. 2021-07-29 13:04:37 +02:00
Chris Berkhout
a3709926e4 Log when there are no results for symbol search. 2021-07-29 13:03:29 +02:00
Chris Berkhout
d3931310a2 Improve alphavantage error handling and add tests. 2021-07-29 13:03:29 +02:00
Chris Berkhout
99761ebbd1 Update .gitlab-ci.yml file 2021-07-29 11:00:45 +00:00
Chris Berkhout
81291cbf2b Update .gitlab-ci.yml file 2021-07-29 11:00:29 +00:00
Chris Berkhout
b0834575ed Version 0.1.6. 2021-07-18 18:13:43 +02:00
Chris Berkhout
46db6e9a6f Improve yahoo error handling and add tests. 2021-07-18 18:10:35 +02:00
Chris Berkhout
cdd78f0445 Fix formatting of base-only pairs in exception messages. 2021-07-18 18:10:35 +02:00
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