Lập Trình Linux

Part 2| Setup Python Virtual Environment For Trade Algo On Win 10




Facebook:
www.facebook.com/clueple

We’re now ready
to setup Python pandas package for financial analysis

To use pandas
we need to install at least 4 packages in advance
They are numpy
python-dateutil
pytz
and setuptools
Again
we go back to start
cmd command prompt
and begin our installation

First of all
get back to our virtual environment
pip install numpy
we need this package for calculation

Then we pip install python-dateutil
pytz
and setuptools

If you follow along on my other video
you may not need to install setuptools
because it’s already included in Python 3.6

Once we’ve installed the 4 packages
we can move on to install pandas-datareader
and datetime

According to pandas-datareader’s website
pandas-datareader should be compatible
with pandas 0.20.1
Otherwise
I’ll go back to pandas version 0.19.2

In addition to pandas
we also need other Python packages
Let’s say
if you want to grab web data
you need lxml
html5lib
and beautifulsoup4
let’s install them now

Finally
let us install openpyxl
so that we can export data to Excel

Nguồn:https://ftlinuxcourse.com/

Xem Thêm Bài Viết Khác:https://ftlinuxcourse.com/lap-trinh-linux

Tin HOT
Madridismo is in mourning following the death of Lorenzo Sanz
Tin HOT
Thể Thao 247 – 11/03/2020: CLB TP.HCM tiếp tục dẫn đầu bảng ở AFC CUP
Phần Mềm
Học nhanh Excel cho người mới bắt đầu từ số 0. Zero từ A-Z
There are currently no comments.