MACD工具类:
import jqdatasdk as jq
import talib as tl
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
import matplotlib.ticker as mticker
im...
时间序列
import pandas as pd
hz= attribute_history(601088.XSHG,count=2*6*60+60, unit=1d,fields=close)
fin=
h1=
h=
beta=
for i in range(12*60+60):
h1.append(hz) #得到list 全局变量 不改...