Skip to content

Commit 2be33ae

Browse files
Peter CottonPeter Cotton
Peter Cotton
authored and
Peter Cotton
committed
hello quantstats
1 parent 16ee2c2 commit 2be33ae

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

Diff for: requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
yfinance
2+
quantstats
13
vectorbt

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
test_suite='pytest',
2525
tests_require=['pytest'],
2626
include_package_data=True,
27-
install_requires=['vectorbt','yfinance'],
27+
install_requires=['vectorbt','yfinance','quantstats'],
2828
entry_points={
2929
"console_scripts": [
3030
"precise=precise.__main__:main",

Diff for: tests/qs/__init__.py

Whitespace-only changes.

Diff for: tests/qs/test_qs_hello_world.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import quantstats as qs
2+
3+
4+
def test_hello_quantstats():
5+
qs.extend_pandas()
6+
stock = qs.utils.download_returns('FB')
7+
qs.stats.sharpe(stock)
8+
9+
10+
if __name__=='__main__':
11+
test_hello_quantstats()

0 commit comments

Comments
 (0)