Commit Graph

55 Commits

Author SHA1 Message Date
atarax
a2cfbc7415 [feature] Add fundamentals-data 2021-02-11 11:34:46 +01:00
David Minnen
aed36edb65 Update get_news() to work when no sources are provided.
Currently, `sources=[]` by default, which will become "" once the
list is `joined` to form a csv string. The tiingo api appears to
interpret the empty string as "don't match any sources" instead of
"match all sources". This commit fixes the problem by setting
`sources` to `None` if the list is empty.

Adds unit test for empty new sources list.

Updates HISTORY.rst with note about bug fix.
2021-01-11 04:44:35 +00:00
Cameron Yick
ea891a1458 Update test to support both python 2 and python 3 2020-12-12 20:10:24 -05:00
Cameron Yick
e6f3fe205f [testing] Replace deprecated assertRaisesRegexexp with assertRaisesRegex 2020-12-12 19:58:05 -05:00
2xmm
8e0f5344ac Add option to request data in csv format in get_dataframe method 2020-10-17 16:56:22 -03:00
Cameron Yick
b466530231 [tests] Update test to get fixture response for non stock ticker types 2019-10-20 17:21:23 -04:00
Cameron Yick
3e4167fa84 [typo] Fix syntax errors in list_tickers test 2019-10-20 17:12:10 -04:00
Cameron Yick
18fb289d9f Merge pull request #346 from n1rna/improve-list-tickers
Add support for multi tickers in list_tickers function
2019-10-20 15:50:54 -04:00
Cameron Yick
d09e21c1d7 Update price history test assertions 2019-10-19 19:04:11 -04:00
Cameron Yick
6e36317961 [tests] Address typos in cassette test imports 2019-10-19 18:55:19 -04:00
n1rna
9bfa49f585 Fix missed line in test_tiingo 2019-10-19 21:58:42 +03:30
n1rna
c3394c8cdc Add support for multi tickers in list_tickers function 2019-10-18 19:06:35 +03:30
n1rna
58efa544ec Fix status code and some typos in crypto fixtures 2019-10-16 10:56:39 +03:30
n1rna
e7de01cd10 Use vcr cassette fixtures in crypto tests 2019-10-13 23:55:25 +03:30
n1rna
d50c04929c Add cassette fixtures for crypto endpoints 2019-10-13 23:54:48 +03:30
n1rna
50aacf395f Add tests for crypto endpoints 2019-10-13 00:49:58 +03:30
Cameron Yick
98ad58a0ef [feature] Add news onlyWithTickers parameter 2019-09-01 21:13:45 -04:00
Cameron Yick
e66fc36c3f [documentation] Update changelog 2019-09-01 20:58:20 -04:00
Cameron Yick
13579a117b [feature] Rename internal sources URL parameter to source 2019-09-01 20:53:07 -04:00
Cameron Yick
61708c3291 [dev] Update imports for custom exception classes 2019-05-05 15:41:08 -04:00
Davis Thames
3fbb6e5121 Updated frequency error check 2018-07-04 07:34:50 -04:00
Davis Thames
ec15ef85d6 Initial commit 2018-07-03 23:09:15 -04:00
Davis Thames
a2b4d34ab1 reverted to prior indexing method 2018-06-10 14:13:28 -05:00
Davis Thames
f7b3da50a7 addressed comments 2018-06-10 14:12:26 -05:00
Davis Thames
deb5285a74 corrected error 2018-06-09 16:26:48 -05:00
Davis Thames
1296b2469b Added matrix of tests with and without pandas for Travis 2018-05-11 11:31:11 -05:00
Davis Thames
3c369e8208 issue#85 add test fixtures 2018-05-09 22:27:52 -05:00
Davis Thames
e3f26f609b issue#85 initial commit 2018-05-09 22:26:18 -05:00
Davis Thames
9a1b52d25a issue #86 addressing pull comments 2018-04-30 10:33:14 -05:00
Davis Thames
88094947d4 Added api cleaning tools. 2018-04-24 21:37:26 -05:00
Davis Thames
e7315db4c7 Issue #82 2018-04-16 17:05:09 -05:00
Davis Thames
ef3597b083 issue #82: added tests 2018-04-13 09:51:58 -05:00
Davis Thames
47014cf62f issue #82 2018-04-12 21:46:51 -05:00
Clark, Steve
6b08b8987a Add interfaces to obtain mutual fund and ETF tickers.
Add unit tests for new methods.
Update fixtures to support the etf and mutual fund tests.
Change filename inside of zip to supported_tickers.csv
Add second entry into supported_tickers.csv
Added myself to authors.
2018-03-04 07:38:21 -06:00
Cameron Yick
9dbfbcbdbb Fix #44: Raise explicit error when API Key is missing 2017-12-24 13:32:53 -05:00
Cameron Yick
79ac76806a Add coverage for bulk_id object exporting 2017-10-22 19:40:06 -04:00
Cameron Yick
b6ad06aebc Use Decorator Syntax for Tests, Update Broken Cassettes
The previous issue was that the cassettes weren't called with the same params as the non-object requests.
2017-10-22 18:54:28 -04:00
Bharat Kalluri
7d2866d996 Used cassettes for obj tests 2017-10-18 22:45:44 +05:30
Bharat Kalluri
76071d78b1 Added more tests for news API endpoints 2017-10-11 21:23:13 +05:30
Bharat Kalluri
2c7f76b683 Fixed code to handle lists 2017-10-10 11:27:40 +05:30
Bharat Kalluri
25a05d4aa4 pep8 corrections and changed all object names 2017-10-09 09:00:37 +05:30
Dmitry Budaev
c847da3aa9 Use VCR.py to Mock API Responses 2017-10-08 13:59:08 +02:00
Cameron Yick
891de629ee Add method for listing available tickers 2017-09-17 16:26:13 -04:00
Cameron Yick
e6f2638d03 Cover bulk downloads API 2017-09-17 15:30:15 -04:00
Cameron Yick
febffd76da Refactor News Method 2017-09-17 15:21:03 -04:00
Cameron Yick
14d3bb6bd3 Add support + Tests for using News API 2017-09-17 15:17:03 -04:00
Cameron Yick
6506b4f238 Deprecate documentation + tests + code for mutual funds metrics 2017-09-01 09:42:30 -04:00
Cameron Yick
1410175526 Patch testing for /funds endpoint 2017-08-28 23:00:30 -04:00
Cameron Yick
9b5685dd82 Add coverage to Tiingo Client for Tickers Endpoint 2017-08-28 22:48:50 -04:00
Cameron Yick
1127113ef4 Test base REST Client 2017-08-28 22:20:33 -04:00