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
import requests | |
import matplotlib.pyplot as plt | |
from dotenv import load_dotenv | |
import os | |
import japanize_matplotlib # 日本語表示に対応させる | |
# get the refresh token from https://jpx-jquants.com/ and paste on a .env file | |
# load .emv | |
load_dotenv() |
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
#datasets | |
import numpy as np | |
kisobuturi_2s = np.array([ | |
8,9,10,2,7,6,9,7,5,9,15,2,10,7,11,7,4,7,3,7,10,5,6,7,3,8,6,9,4,7,11,11,4,5,10,7,7,19,6,11,11,7,10,9,8,8,16,7,4,8,10,10,9,5,6,7,8,6,10,9,7,4,6,7,6,4,6,10,12,11,8,7,4,4,4,11,4,3,10,16,10,10,8,5,6,9,5,4,5,4,7,7,5,5,12,4,9,4,3,8 | |
]) | |
kisobuturi_4s = np.array([ | |
52,34,48,47,47,20,48,53,51,44,58,52,50,44,49,61,44,49,56,50,54,50,42,44,44,60,45,45,45,44,43,36,46,52,47,47,51,55,45,42,52,40,48,52,49,52,41,44,52,54,49,50,48,37,44,59,56,37,40,48,60,50,45,59,59,63,56,47,65,44,34,45,52,56,46,52,64,46,43,55,43,42,35,43,40,46,45,44,53,47,68,46,55,41,45,43,52,43,49,43 |