diff --git a/alpaca_trade_api/polygon/py.typed b/alpaca_trade_api/polygon/py.typed new file mode 100644 index 00000000..24adf8ad --- /dev/null +++ b/alpaca_trade_api/polygon/py.typed @@ -0,0 +1,2 @@ +# Refer to PEP 561 for purpose of this file. +# https://www.python.org/dev/peps/pep-0561/ \ No newline at end of file diff --git a/alpaca_trade_api/py.typed b/alpaca_trade_api/py.typed new file mode 100644 index 00000000..24adf8ad --- /dev/null +++ b/alpaca_trade_api/py.typed @@ -0,0 +1,2 @@ +# Refer to PEP 561 for purpose of this file. +# https://www.python.org/dev/peps/pep-0561/ \ No newline at end of file diff --git a/setup.py b/setup.py index b5e498d2..886ec387 100755 --- a/setup.py +++ b/setup.py @@ -35,6 +35,10 @@ 'alpaca_trade_api', 'alpaca_trade_api.polygon', ], + package_data={ + 'alpaca_trade_api': ['py.typed'], + 'alpaca_trade_api.polygon': ['py.typed'], + }, install_requires=REQUIREMENTS, tests_require=REQUIREMENTS_TEST, setup_requires=['pytest-runner', 'flake8'],