#1 先导入所需要的程序包
import datetime
import numpy as np
import pandas as pd
import time
from jqdata import *
from pandas import Series, DataFrame
import matplotlib.pyplot as plt
import ...
智能定投——均线偏离法(手工测试)
#初始化
import pandas as pd
import seaborn as sns
import random as rand
from datetime import datetime
#指定要跟踪的指数和定投的基金等
SECURITY =00000...