-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add columns param to get_ticker_price, including tests
- Loading branch information
Koen werklaptop
committed
Oct 23, 2024
1 parent
80b40c5
commit 6b53725
Showing
5 changed files
with
109 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: ['*/*'] | ||
Accept-Encoding: ['gzip, deflate'] | ||
Authorization: [Token 0000000000000000000000000000000000000000] | ||
Connection: [keep-alive] | ||
Content-Type: [application/json] | ||
User-Agent: [tiingo-python-client 0.5.0] | ||
method: GET | ||
uri: https://api.tiingo.com/tiingo/daily/GOOGL/prices?format=json&resampleFreq=daily&columns=open,high,low,close,volume | ||
response: | ||
body: {string: '[{"close":165.14,"date":"2024-10-22T00:00:00+00:00","high":165.77,"low":162.98,"open":162.98,"volume":16568121}]'} | ||
headers: | ||
Allow: ['GET, HEAD, OPTIONS'] | ||
Content-Length: ['1982'] | ||
Content-Type: [application/json] | ||
Date: ['Wed, 23 Oct 2024 02:42:06 GMT'] | ||
Server: [nginx/1.10.1] | ||
Vary: ['Accept, Cookie'] | ||
X-Frame-Options: [SAMEORIGIN] | ||
status: {code: 200, message: OK} | ||
version: 1 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: ['*/*'] | ||
Accept-Encoding: ['gzip, deflate'] | ||
Authorization: [Token 0000000000000000000000000000000000000000] | ||
Connection: [keep-alive] | ||
Content-Type: [application/json] | ||
User-Agent: [tiingo-python-client 0.5.0] | ||
method: GET | ||
uri: https://api.tiingo.com/tiingo/daily/GOOGL/prices?format=json&resampleFreq=daily&columns=volume | ||
response: | ||
body: {string: '[{"date":"2024-10-22T00:00:00+00:00","volume":16568121}]'} | ||
headers: | ||
Allow: ['GET, HEAD, OPTIONS'] | ||
Content-Length: ['1001'] | ||
Content-Type: [application/json] | ||
Date: ['Wed, 23 Oct 2024 02:42:06 GMT'] | ||
Server: [nginx/1.10.1] | ||
Vary: ['Accept, Cookie'] | ||
X-Frame-Options: [SAMEORIGIN] | ||
status: {code: 200, message: OK} | ||
version: 1 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters