Skip to content

Instantly share code, notes, and snippets.

View jitenspin's full-sized avatar

jitenspin jitenspin

View GitHub Profile
@jitenspin
jitenspin / README.md
Last active May 9, 2020 02:50
L-M戦略検証
import matplotlib.pyplot as plt
import numpy as np
import csv
def yahoo_finance_close_chart(filename, label=None):
with open(filename) as f:
reader = csv.reader(f, delimiter=",", doublequote=True,
lineterminator="\r\n", quotechar='"', skipinitialspace=True)
rows = [row for row in reader]
@jitenspin
jitenspin / historical_data.go
Last active September 14, 2020 01:33
定期レバ調整比較
package main
import (
"encoding/csv"
"os"
"strconv"
)
type HistoricalData struct {
date string