-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from tastyware/rewrite
rewrite to use new SDK
- Loading branch information
Showing
36 changed files
with
887 additions
and
1,555 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,3 @@ | ||
# If you want to support this project, you can just sign up using my referral code! | ||
github: tastyware | ||
custom: ['https://start.tastytrade.com/#/login?referralCode=YYGKBEQ2EX'] |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
.PHONY: clean venv test | ||
|
||
clean: | ||
find . -name '*.py[co]' -delete | ||
.PHONY: venv lint | ||
|
||
venv: | ||
python -m venv --prompt 'twcli' env | ||
env/bin/pip install -r requirements.txt | ||
python -m venv .venv | ||
.venv/bin/pip install -r requirements.txt | ||
.venv/bin/pip install -e . | ||
|
||
test: | ||
isort --check --diff twcli/ tests/ | ||
flake8 --count --show-source --statistics --ignore=E501 twcli/ tests/ | ||
python -m pytest --cov=twcli --cov-report=term-missing tests/ | ||
lint: | ||
isort --check --diff ttcli/ | ||
flake8 --count --show-source --statistics ttcli/ | ||
mypy -p ttcli/ |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
git+https://github.com/Graeme22/[email protected]#egg=aiocometd | ||
anyio==3.5.0 | ||
asyncclick==8.0.3.2 | ||
flake8==4.0.1 | ||
isort==5.10.1 | ||
matplotlib==3.5.1 | ||
pandas==1.4.0 | ||
petl==1.7.7 | ||
pytest==7.0.0 | ||
pytest-cov==3.0.0 | ||
python-dateutil==2.8.2 | ||
QuantLib==1.25 | ||
rich==11.1.0 | ||
tastyworks-api==4.2.2 | ||
asyncclick==8.1.7.2 | ||
flake8==7.1.0 | ||
isort==5.13.2 | ||
mypy==1.10.1 | ||
tastytrade==7.7 | ||
rich==13.7.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 |
---|---|---|
@@ -1,40 +1,29 @@ | ||
import os | ||
|
||
from setuptools import find_packages, setup | ||
|
||
from twcli.utils import VERSION | ||
|
||
|
||
f = open('README.md', 'r') | ||
LONG_DESCRIPTION = f.read() | ||
f.close() | ||
|
||
setup( | ||
name='tastyworks-cli', | ||
version=VERSION, | ||
description='An easy-to-use command line interface for Tastyworks!', | ||
name='tastytrade-cli', | ||
version='2.0', | ||
description='An easy-to-use command line interface for Tastytrade!', | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type='text/markdown', | ||
author='Graeme Holliday', | ||
author_email='[email protected]', | ||
url='https://github.com/Graeme22/tastyworks-cli/', | ||
url='https://github.com/tastyware/tastytrade-cli', | ||
license='MIT', | ||
install_requires=[ | ||
'anyio>=3.5.0', | ||
'asyncclick>=8.0.3.2', | ||
'matplotlib>=3.5.1', | ||
'pandas>=1.4.0', | ||
'petl>=1.7.7', | ||
'python-dateutil>=2.8.2', | ||
'rich>=11.1.0', | ||
'QuantLib>=1.25', | ||
'tastyworks-api>=4.2.2', | ||
'asyncclick>=8.1.7.2', | ||
'rich>=13.7.1', | ||
'tastytrade>=7.7', | ||
], | ||
data_files = [('etc', ['etc/twcli.cfg'])], | ||
packages=find_packages(exclude=['ez_setup', 'tests*']), | ||
data_files = [('etc', ['etc/ttcli.cfg'])], | ||
packages=find_packages(exclude=['ez_setup']), | ||
include_package_data=True, | ||
entry_points=""" | ||
[console_scripts] | ||
twcli = twcli.app:main | ||
""", | ||
tt = ttcli.app:main | ||
""" | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.