-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6a4f39
commit c9095fb
Showing
2 changed files
with
31 additions
and
0 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,13 @@ | ||
# hapus saham-saham LQ45 | ||
# agar listnya selalu update | ||
# hanya dgn mengupdate LQ45.csv | ||
rm data/saham/LQ45/* | ||
|
||
# date hari ini | ||
date_today=$(date +'%d %B %Y') | ||
|
||
# jalanin script | ||
# utk update emiten | ||
# dan data emiten | ||
python3 get-list-emiten.py | ||
python3 get-data-harian-emiten.py |
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,18 @@ | ||
# make folder | ||
mkdir -p "data/List Emiten" | ||
mkdir -p "data/saham/semua" | ||
mkdir -p "data/saham/LQ45" | ||
|
||
# install requirements | ||
pip3 install -r requirements.txt | ||
|
||
# kaggle env | ||
export KAGGLE_USERNAME= | ||
export KAGGLE_KEY= | ||
|
||
# get metadata | ||
kaggle datasets metadata -p data tiwill/saham-lq45-idx | ||
|
||
# start script | ||
python3 get-list-emiten.py | ||
python3 get-data-tahunan-emiten.py |