mirror of
https://github.com/hydrosquall/tiingo-python.git
synced 2025-12-18 04:14:20 +01:00
Merge branch 'master' into pyup-update-sphinx-5.3.0-to-6.1.3
This commit is contained in:
41
.github/workflows/codeql.yml
vendored
Normal file
41
.github/workflows/codeql.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
schedule:
|
||||
- cron: "11 13 * * 3"
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ python ]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
queries: +security-and-quality
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v2
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
with:
|
||||
category: "/language:${{ matrix.language }}"
|
||||
2
.github/workflows/python-package.yml
vendored
2
.github/workflows/python-package.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.6', '3.7', '3.8']
|
||||
python-version: ['3.7', '3.8', '3.9']
|
||||
WITH_PANDAS: [false, true]
|
||||
|
||||
steps:
|
||||
|
||||
@@ -3,4 +3,4 @@ tiingo==0.14.0
|
||||
|
||||
# You technically don't have to use tiingo with pandas, but
|
||||
# we included it since most data analysts will have it installed already.
|
||||
pandas==1.5.1
|
||||
pandas==1.5.3
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
pip==22.3
|
||||
pip==23.0.1
|
||||
bumpversion==0.6.0
|
||||
wheel==0.38.0
|
||||
watchdog==2.1.9
|
||||
wheel==0.38.4
|
||||
watchdog==3.0.0
|
||||
flake8==5.0.4
|
||||
tox==3.26.0
|
||||
coverage==6.5.0
|
||||
cryptography==38.0.2
|
||||
tox==4.4.8
|
||||
coverage==7.2.2
|
||||
cryptography==40.0.1
|
||||
Sphinx==6.1.3
|
||||
PyYAML==6.0
|
||||
pytest==7.1.3
|
||||
pytest-runner==6.0.0
|
||||
pytest==7.2.2
|
||||
vcrpy==2.1.1
|
||||
twine==4.0.1
|
||||
black==22.10.0
|
||||
twine==4.0.2
|
||||
black==23.1.0
|
||||
|
||||
5
setup.py
5
setup.py
@@ -29,10 +29,6 @@ requirements = [
|
||||
'websocket-client'
|
||||
]
|
||||
|
||||
setup_requirements = [
|
||||
'pytest-runner',
|
||||
]
|
||||
|
||||
test_requirements = [
|
||||
'pytest',
|
||||
'vcrpy',
|
||||
@@ -76,5 +72,4 @@ setup(
|
||||
],
|
||||
test_suite='tests',
|
||||
tests_require=test_requirements,
|
||||
setup_requires=setup_requirements,
|
||||
)
|
||||
|
||||
@@ -265,7 +265,6 @@ class TiingoClient(RestClient):
|
||||
frequency="daily",
|
||||
fmt="json",
|
||||
):
|
||||
|
||||
"""Return a pandas.DataFrame of historical prices for one or more ticker symbols.
|
||||
|
||||
By default, return latest EOD Composite Price for a list of stock tickers.
|
||||
|
||||
@@ -40,7 +40,6 @@ class TiingoWebsocketClient:
|
||||
"""
|
||||
|
||||
def __init__(self, config=None, endpoint=None, on_msg_cb=None):
|
||||
|
||||
self._base_url = "wss://api.tiingo.com"
|
||||
self.config = {} if config is None else config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user