摘要:
8:双均线交叉 查看代码 # -*- coding:utf-8 -*- import backtrader as bt ##################### import pandas as pd import os import datetime import matplotlib.pypl 阅读全文
posted @ 2024-04-01 12:32
罗论明
阅读(51)
评论(0)
推荐(0)
摘要:
import backtrader as bt if __name__ == '__main__': cerebro = bt.Cerebro() cerebro.broker.set_cash(100000.00) # 设置初始资金金额 初始资金 = cerebro.broker.getvalue 阅读全文
posted @ 2024-04-01 12:30
罗论明
阅读(91)
评论(0)
推荐(0)
摘要:
import pandas as pd import matplotlib.pyplot as plt plt.rcParams['font.sans-serif'] = ['SimHei'] import tushare as ts import os def get_data(code,star 阅读全文
posted @ 2024-04-01 12:27
罗论明
阅读(32)
评论(0)
推荐(0)

浙公网安备 33010602011771号