摘要: # 导入函数库import jqdataimport numpy as np # 初始化函数,设定基准等等def initialize(context): set_option('use_real_price', True) set_order_cost(OrderCost(close_tax=0. 阅读全文
posted @ 2017-08-24 16:46 study_python 阅读(1445) 评论(0) 推荐(0)
摘要: import jqdata import math import numpy as np import pandas as pd from collections import deque def initialize(context): set_option('use_real_price', T 阅读全文
posted @ 2017-08-24 16:44 study_python 阅读(2523) 评论(0) 推荐(0)
摘要: def initialize(context): set_option('use_real_price', True) set_order_cost(OrderCost(close_tax=0.001, open_commission=0.0003, close_commission=0.0003, 阅读全文
posted @ 2017-08-24 16:43 study_python 阅读(1852) 评论(0) 推荐(1)
摘要: import jqdata def initialize(context): set_option('use_real_price', True) set_order_cost(OrderCost(close_tax=0.001, open_commission=0.0003, close_comm 阅读全文
posted @ 2017-08-24 16:41 study_python 阅读(2156) 评论(0) 推荐(0)