{"id":169,"date":"2024-02-02T12:27:25","date_gmt":"2024-02-02T12:27:25","guid":{"rendered":"https:\/\/blog.monevis.com\/backtrader\/"},"modified":"2024-02-02T12:27:25","modified_gmt":"2024-02-02T12:27:25","slug":"backtrader","status":"publish","type":"post","link":"https:\/\/blog.monevis.com\/zh\/backtrader\/","title":{"rendered":"Backtrader"},"content":{"rendered":"<h2>Backtrader \u7b80\u4ecb<\/h2>\n<p>Backtrader \u662f\u4e00\u4e2a\u5f00\u6e90 Python \u6846\u67b6\uff0c\u8bbe\u8ba1\u7528\u4e8e\u7b97\u6cd5\u4ea4\u6613\u7b56\u7565\u7684\u5f00\u53d1\u3001\u56de\u6eaf\u6d4b\u8bd5\u548c\u90e8\u7f72\u3002\u5b83\u4ee5\u5176\u591a\u529f\u80fd\u6027\u3001\u7b80\u5355\u6027\u548c\u5904\u7406\u590d\u6742\u4ea4\u6613\u573a\u666f\u7684\u80fd\u529b\u800c\u8457\u79f0\u3002\u51ed\u501f\u5176\u5f3a\u5927\u7684\u529f\u80fd\u3001\u7075\u6d3b\u6027\u548c\u4fbf\u5229\u6027\uff0cBacktrader \u5df2\u88ab\u4ea4\u6613\u7231\u597d\u8005\u3001\u91cf\u5316\u5f00\u53d1\u4eba\u5458\u548c\u4e2d\u5c0f\u578b\u4ea4\u6613\u516c\u53f8\u5e7f\u6cdb\u4f7f\u7528\u3002<\/p>\n<h2>\u529f\u80fd\u6027\u548c\u53ef\u7528\u6027<\/h2>\n<p>Backtrader \u7684\u6838\u5fc3\u529f\u80fd\u5728\u4e8e\u5176\u56de\u6eaf\u6d4b\u8bd5\u6a21\u5757\u3002\u5b83\u80fd\u591f\u5728\u5386\u53f2\u6570\u636e\u4e0a\u6a21\u62df\u4ea4\u6613\u7b56\u7565\uff0c\u4ece\u800c\u4e86\u89e3\u7b56\u7565\u5728\u8fc7\u53bb\u7684\u8868\u73b0\u3002Backtrader \u652f\u6301\u4e8b\u4ef6\u9a71\u52a8\u548c\u77e2\u91cf\u5316\u56de\u6eaf\u6d4b\u8bd5\uff0c\u5141\u8bb8\u7528\u6237\u9009\u62e9\u6700\u9002\u5408\u81ea\u5df1\u7b56\u7565\u7684\u65b9\u6cd5\u3002<\/p>\n<p>Backtrader \u7684\u4e3b\u8981\u4f18\u52bf\u4e4b\u4e00\u662f\u7b80\u5355\u6613\u7528\u3002\u5373\u4f7f\u662f Python \u77e5\u8bc6\u6709\u9650\u7684\u521d\u5b66\u8005\uff0c\u4e5f\u80fd\u5728\u77ed\u65f6\u95f4\u5185\u5f00\u59cb\u5f00\u53d1\u548c\u6d4b\u8bd5\u4ea4\u6613\u7b56\u7565\u3002\u8be5\u5e73\u53f0\u63d0\u4f9b\u7b80\u6d01\u660e\u4e86\u7684\u6587\u6863\uff0c\u4f7f\u5b66\u4e60\u66f2\u7ebf\u6613\u4e8e\u7ba1\u7406\u3002<\/p>\n<h2>\u7f16\u7a0b\u8bed\u8a00\u548c\u56de\u6d4b\u529f\u80fd<\/h2>\n<p>Backtrader \u662f\u56f4\u7ed5 Python \u5f00\u53d1\u7684\uff0cPython \u662f\u5b9a\u91cf\u91d1\u878d\u9886\u57df\u6700\u6d41\u884c\u7684\u8bed\u8a00\u4e4b\u4e00\u3002Python \u7684\u7b80\u6d01\u6027\u4e0e\u4e30\u5bcc\u7684\u53ef\u7528\u5e93\u76f8\u7ed3\u5408\uff0c\u4f7f Backtrader \u6210\u4e3a\u5f00\u53d1\u590d\u6742\u4ea4\u6613\u7b56\u7565\u7684\u5f3a\u5927\u5de5\u5177\u3002<\/p>\n<p>Backtrader \u8f6f\u4ef6\u5305\u63d0\u4f9b\u591a\u79cd\u7528\u4e8e\u56de\u6eaf\u6d4b\u8bd5\u7684\u5185\u7f6e\u6307\u6807\u3002\u4ea4\u6613\u8005\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e9b\u6307\u6807\u521b\u5efa\u548c\u6d4b\u8bd5\u8de8\u65f6\u95f4\u6846\u67b6\u548c\u5e02\u573a\u7684\u7b56\u7565\u3002<\/p>\n<h3>\u7ecf\u7eaa\u5546\u96c6\u6210\u548c\u6570\u636e\u6e90\u517c\u5bb9\u6027<\/h3>\n<p>Backtrader \u7684\u4f18\u52bf\u5728\u4e8e\u4e0e\u7ecf\u7eaa\u5546\u7684\u65e0\u7f1d\u96c6\u6210\u3002\u5b9e\u65f6\u4ea4\u6613\u53ef\u901a\u8fc7 Interactive Brokers\u3001Oanda\u3001Alpaca \u7b49\u7ecf\u7eaa\u5546\u6267\u884c\u3002\u8fd9\u4e00\u529f\u80fd\u4f7f\u4ea4\u6613\u8005\u53ef\u4ee5\u5728\u5b9e\u65f6\u73af\u5883\u4e2d\u76f8\u5bf9\u8f7b\u677e\u5730\u90e8\u7f72\u81ea\u5df1\u7684\u7b56\u7565\u3002<\/p>\n<p>\u8be5\u5e73\u53f0\u8fd8\u652f\u6301\u5404\u79cd\u6570\u636e\u6e90\uff0c\u5305\u62ec CSV \u6587\u4ef6\u3001\u6570\u636e\u5e93\u548c\u6765\u81ea\u7ecf\u7eaa\u5546\u7684\u5b9e\u65f6\u6570\u636e\u6d41\u3002\u7528\u6237\u751a\u81f3\u53ef\u4ee5\u5efa\u7acb\u81ea\u5df1\u7684\u6570\u636e\u6e90\u5904\u7406\u7a0b\u5e8f\uff0c\u4ee5\u6ee1\u8db3\u81ea\u5df1\u7684\u7279\u5b9a\u9700\u6c42\u3002<\/p>\n<h3>\u652f\u6301\u7684\u91d1\u878d\u5de5\u5177\u548c\u81ea\u5b9a\u4e49\u6307\u6807\u4e0e\u7b56\u7565<\/h3>\n<p>Backtrader \u4e3b\u8981\u9488\u5bf9\u80a1\u7968\u548c\u5916\u6c47\u5e02\u573a\u8bbe\u8ba1\uff0c\u4f46\u4e5f\u652f\u6301\u884d\u751f\u54c1\u3001\u52a0\u5bc6\u8d27\u5e01\u548c\u5927\u5b97\u5546\u54c1\u7b49\u591a\u79cd\u91d1\u878d\u5de5\u5177\u3002\u8fd9\u79cd\u591a\u8d44\u4ea7\u4ea4\u6613\u652f\u6301\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u66f4\u591a\u9009\u62e9\uff0c\u8ba9\u4ed6\u4eec\u53ef\u4ee5\u5c1d\u8bd5\u4e0d\u540c\u7684\u4ea4\u6613\u7b56\u7565\u3002<\/p>\n<p>\u6b64\u5916\uff0cBacktrader \u8fd8\u5141\u8bb8\u521b\u5efa\u81ea\u5b9a\u4e49\u4ea4\u6613\u6307\u6807\u548c\u7b56\u7565\u3002\u8fd9\u79cd\u7075\u6d3b\u6027\u4f7f\u5176\u6210\u4e3a\u6d4b\u8bd5\u521b\u65b0\u7406\u5ff5\u548c\u63d0\u9ad8\u4ea4\u6613\u6027\u80fd\u7684\u5f3a\u5927\u5e73\u53f0\u3002<\/p>\n<h2>\u81ea\u52a8\u4ea4\u6613\u529f\u80fd\u548c\u98ce\u9669\u7ba1\u7406\u5de5\u5177<\/h2>\n<p>Backtrader \u7684\u4eae\u70b9\u5728\u4e8e\u5176\u81ea\u52a8\u4ea4\u6613\u529f\u80fd\u3002\u8be5\u5e73\u53f0\u5141\u8bb8\u7528\u6237\u81ea\u52a8\u6267\u884c\u4ea4\u6613\u7b56\u7565\u5e76\u63a7\u5236\u4ea4\u6613\u6267\u884c\u3002\u8fd9\u6d88\u9664\u4e86\u60c5\u611f\u504f\u5dee\uff0c\u786e\u4fdd\u4e86\u4ea4\u6613\u89c4\u5219\u7684\u4e00\u81f4\u5e94\u7528\u3002<\/p>\n<p>Backtrader \u8fd8\u63d0\u4f9b\u98ce\u9669\u7ba1\u7406\u5de5\u5177\uff0c\u5305\u62ec\u6b62\u635f\u3001\u6b62\u76c8\u548c\u5934\u5bf8\u5927\u5c0f\u529f\u80fd\u3002\u8fd9\u4e9b\u90fd\u6709\u52a9\u4e8e\u4ea4\u6613\u8005\u7ba1\u7406\u98ce\u9669\u655e\u53e3\uff0c\u4fdd\u62a4\u8d44\u672c\u3002<\/p>\n<h2>\u6210\u672c\u548c\u8d39\u7528<\/h2>\n<p>\u4f5c\u4e3a\u4e00\u4e2a\u5f00\u6e90\u5e73\u53f0\uff0cBacktrader \u53ef\u514d\u8d39\u4f7f\u7528\u3002\u4e0d\u8fc7\uff0c\u5728\u4e0e\u5b9e\u65f6\u7ecf\u7eaa\u5546\u96c6\u6210\u6216\u8d2d\u4e70\u5386\u53f2\u6570\u636e\u6e90\u65f6\u53ef\u80fd\u4f1a\u4ea7\u751f\u8d39\u7528\u3002\u7528\u6237\u5728\u9009\u62e9 Backtrader \u4f5c\u4e3a\u7b97\u6cd5\u4ea4\u6613\u5e73\u53f0\u65f6\uff0c\u5fc5\u987b\u8003\u8651\u5230\u8fd9\u4e9b\u6f5c\u5728\u7684\u8d39\u7528\u3002<\/p>\n<h3>\u5e73\u53f0\u53ef\u9760\u6027\u3001\u53ef\u6269\u5c55\u6027\u548c\u5b89\u5168\u6027<\/h3>\n<p>Backtrader \u4ee5\u5176\u7a33\u5065\u6027\u548c\u53ef\u9760\u6027\u800c\u8457\u79f0\u3002\u5b83\u7684\u8bbe\u8ba1\u53ef\u5904\u7406\u7e41\u91cd\u7684\u6570\u636e\u8d1f\u8f7d\u548c\u590d\u6742\u7684\u4ea4\u6613\u573a\u666f\uff0c\u4f7f\u5176\u5177\u6709\u53ef\u6269\u5c55\u6027\uff0c\u65e2\u9002\u5408\u4e2a\u4eba\u4f7f\u7528\uff0c\u4e5f\u9002\u5408\u673a\u6784\u4f7f\u7528\u3002<\/p>\n<p>\u5728\u5b89\u5168\u65b9\u9762\uff0c\u7531\u4e8e Backtrader \u662f\u5b89\u88c5\u5728\u7528\u6237\u4e2a\u4eba\u7535\u8111\u4e0a\u7684\u72ec\u7acb\u8f6f\u4ef6\uff0c\u56e0\u6b64\u4e0d\u4f1a\u5c06\u4ea4\u6613\u7b56\u7565\u66b4\u9732\u5728\u4e92\u8054\u7f51\u4e0a\uff0c\u4ece\u800c\u964d\u4f4e\u4e86\u6f5c\u5728\u7684\u9ed1\u5ba2\u653b\u51fb\u6216\u6f0f\u6d1e\u98ce\u9669\u3002<\/p>\n<h2>\u793e\u533a\u4e0e\u652f\u6301<\/h2>\n<p>Backtrader \u62e5\u6709\u4e00\u4e2a\u84ec\u52c3\u53d1\u5c55\u7684\u7528\u6237\u548c\u5f00\u53d1\u4eba\u5458\u793e\u533a\uff0c\u4ed6\u4eec\u5728\u5e73\u53f0\u8bba\u575b\u4e0a\u79ef\u6781\u5206\u4eab\u77e5\u8bc6\u548c\u89c1\u89e3\u3002\u8fd9\u79cd\u5f3a\u5927\u7684\u793e\u533a\u652f\u6301\u5bf9\u521d\u5b66\u8005\u548c\u7ecf\u9a8c\u4e30\u5bcc\u7684\u7528\u6237\u90fd\u5f88\u6709\u5e2e\u52a9\u3002<\/p>\n<h3>\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\u8bbf\u95ee\u548c\u6027\u80fd\u5206\u6790<\/h3>\n<p>Backtrader \u63d0\u4f9b\u5e7f\u6cdb\u7684\u5e94\u7528\u7a0b\u5e8f\u63a5\u53e3\uff0c\u4f7f\u7528\u6237\u80fd\u591f\u4e0e\u5176\u4ed6 Python \u5e93\u548c\u5de5\u5177\u96c6\u6210\u3002\u8fd9\u4e3a\u8fdb\u4e00\u6b65\u5b9a\u5236\u63d0\u4f9b\u4e86\u66f4\u591a\u7075\u6d3b\u6027\u548c\u9009\u62e9\u3002<\/p>\n<p>Backtrader \u7684\u53e6\u4e00\u4e2a\u4e3b\u8981\u529f\u80fd\u662f\u5176\u5185\u7f6e\u7684\u6027\u80fd\u5206\u6790\u5de5\u5177\u3002\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4ea4\u6613\u8005\u4ece\u6536\u76ca\u3001\u98ce\u9669\u548c\u7edf\u8ba1\u6307\u6807\u7b49\u65b9\u9762\u8bc4\u4f30\u5176\u7b56\u7565\u7684\u6027\u80fd\u3002 <\/p>\n<h2>\u7ed3\u8bba<\/h2>\n<p>Backtrader \u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u3001\u7075\u6d3b\u9ad8\u6548\u7684\u4ea4\u6613\u7b56\u7565\u56de\u6eaf\u6d4b\u8bd5\u548c\u81ea\u52a8\u5316\u5e73\u53f0\u3002\u5176\u7528\u6237\u53cb\u597d\u6027\u3001\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u5f3a\u5927\u7684\u793e\u533a\u4f7f\u5176\u6210\u4e3a\u521d\u5b66\u8005\u548c\u7ecf\u9a8c\u4e30\u5bcc\u7684\u4ea4\u6613\u8005\u7684\u4e0d\u4e8c\u4e4b\u9009\u3002<\/p>\n<p>\u5c3d\u7ba1\u6709\u8fd9\u4e9b\u4f18\u52bf\uff0c\u7528\u6237\u4e5f\u5e94\u8003\u8651\u6f5c\u5728\u7684\u6210\u672c\u3001Python \u77e5\u8bc6\u7684\u5fc5\u8981\u6027\u4ee5\u53ca\u7f3a\u4e4f\u4e13\u95e8\u7684\u5ba2\u6237\u652f\u6301\u670d\u52a1\u3002\u4e0d\u8fc7\uff0cBacktrader \u5e73\u53f0\u7684\u4f18\u52bf\u5f80\u5f80\u8d85\u8fc7\u4e86\u8fd9\u4e9b\u7f3a\u70b9\uff0c\u56e0\u6b64\u5b83\u662f\u4e00\u4e2a\u503c\u5f97\u8003\u8651\u7684\u7b97\u6cd5\u4ea4\u6613\u5e73\u53f0\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction to Backtrader Backtrader is an open-source Python framework designed for algorithmic trading strategies development, backtesting, and deployment. It is known for its versatility, simplicity, and capacity to handle complex trading scenarios. Backtrader has been extensively used by trading enthusiasts, quant developers, and small to medium-sized trading firms for its robust set of features, flexibility, &hellip; <a href=\"https:\/\/blog.monevis.com\/zh\/backtrader\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Backtrader<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-169","post","type-post","status-publish","format-standard","hentry","category-algo-trading-platforms"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Backtrader - Monevis Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.monevis.com\/zh\/backtrader\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Backtrader - Monevis Blog\" \/>\n<meta property=\"og:description\" content=\"Introduction to Backtrader Backtrader is an open-source Python framework designed for algorithmic trading strategies development, backtesting, and deployment. It is known for its versatility, simplicity, and capacity to handle complex trading scenarios. Backtrader has been extensively used by trading enthusiasts, quant developers, and small to medium-sized trading firms for its robust set of features, flexibility, &hellip; \u7ee7\u7eed\u9605\u8bfbBacktrader\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.monevis.com\/zh\/backtrader\/\" \/>\n<meta property=\"og:site_name\" content=\"Monevis Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/moneviscom\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/moneviscom\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-02T12:27:25+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@moneviscom\" \/>\n<meta name=\"twitter:site\" content=\"@moneviscom\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.monevis.com\/backtrader\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.monevis.com\/backtrader\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/blog.monevis.com\/#\/schema\/person\/8a5c24e9f6067312edfeb77a782207ae\"},\"headline\":\"Backtrader\",\"datePublished\":\"2024-02-02T12:27:25+00:00\",\"dateModified\":\"2024-02-02T12:27:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.monevis.com\/backtrader\/\"},\"wordCount\":718,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.monevis.com\/#organization\"},\"articleSection\":[\"Professional and Retail Algorithmic Trading Platforms\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.monevis.com\/backtrader\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.monevis.com\/backtrader\/\",\"url\":\"https:\/\/blog.monevis.com\/backtrader\/\",\"name\":\"Backtrader - Monevis Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.monevis.com\/#website\"},\"datePublished\":\"2024-02-02T12:27:25+00:00\",\"dateModified\":\"2024-02-02T12:27:25+00:00\",\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.monevis.com\/backtrader\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.monevis.com\/#website\",\"url\":\"https:\/\/blog.monevis.com\/\",\"name\":\"Monevis Blog\",\"description\":\"Unleash your trading potential with monevis.com\",\"publisher\":{\"@id\":\"https:\/\/blog.monevis.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.monevis.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.monevis.com\/#organization\",\"name\":\"Monevis.com\",\"alternateName\":\"Monevis\",\"url\":\"https:\/\/blog.monevis.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/blog.monevis.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.monevis.com\/wp-content\/uploads\/2024\/01\/monevis-logo-white.jpg\",\"contentUrl\":\"https:\/\/blog.monevis.com\/wp-content\/uploads\/2024\/01\/monevis-logo-white.jpg\",\"width\":480,\"height\":480,\"caption\":\"Monevis.com\"},\"image\":{\"@id\":\"https:\/\/blog.monevis.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/moneviscom\",\"https:\/\/twitter.com\/moneviscom\",\"https:\/\/www.instagram.com\/moneviscom\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.monevis.com\/#\/schema\/person\/8a5c24e9f6067312edfeb77a782207ae\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/blog.monevis.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/aeddda5fa4fed72a2e39a07848cf646105df6f4b047725b85341e779d8cfbc9c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/aeddda5fa4fed72a2e39a07848cf646105df6f4b047725b85341e779d8cfbc9c?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/monevis.com\/?ref=monevis\",\"https:\/\/www.facebook.com\/moneviscom\",\"https:\/\/www.instagram.com\/moneviscom\/\",\"https:\/\/www.linkedin.com\/company\/monevis\/\",\"https:\/\/twitter.com\/moneviscom\"],\"url\":\"https:\/\/blog.monevis.com\/zh\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Backtrader - Monevis Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.monevis.com\/zh\/backtrader\/","og_locale":"zh_CN","og_type":"article","og_title":"Backtrader - Monevis Blog","og_description":"Introduction to Backtrader Backtrader is an open-source Python framework designed for algorithmic trading strategies development, backtesting, and deployment. It is known for its versatility, simplicity, and capacity to handle complex trading scenarios. Backtrader has been extensively used by trading enthusiasts, quant developers, and small to medium-sized trading firms for its robust set of features, flexibility, &hellip; \u7ee7\u7eed\u9605\u8bfbBacktrader","og_url":"https:\/\/blog.monevis.com\/zh\/backtrader\/","og_site_name":"Monevis Blog","article_publisher":"https:\/\/www.facebook.com\/moneviscom","article_author":"https:\/\/www.facebook.com\/moneviscom","article_published_time":"2024-02-02T12:27:25+00:00","author":"admin","twitter_card":"summary_large_image","twitter_creator":"@moneviscom","twitter_site":"@moneviscom","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.monevis.com\/backtrader\/#article","isPartOf":{"@id":"https:\/\/blog.monevis.com\/backtrader\/"},"author":{"name":"admin","@id":"https:\/\/blog.monevis.com\/#\/schema\/person\/8a5c24e9f6067312edfeb77a782207ae"},"headline":"Backtrader","datePublished":"2024-02-02T12:27:25+00:00","dateModified":"2024-02-02T12:27:25+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.monevis.com\/backtrader\/"},"wordCount":718,"commentCount":0,"publisher":{"@id":"https:\/\/blog.monevis.com\/#organization"},"articleSection":["Professional and Retail Algorithmic Trading Platforms"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.monevis.com\/backtrader\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.monevis.com\/backtrader\/","url":"https:\/\/blog.monevis.com\/backtrader\/","name":"Backtrader - Monevis Blog","isPartOf":{"@id":"https:\/\/blog.monevis.com\/#website"},"datePublished":"2024-02-02T12:27:25+00:00","dateModified":"2024-02-02T12:27:25+00:00","inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.monevis.com\/backtrader\/"]}]},{"@type":"WebSite","@id":"https:\/\/blog.monevis.com\/#website","url":"https:\/\/blog.monevis.com\/","name":"Monevis Blog","description":"Unleash your trading potential with monevis.com","publisher":{"@id":"https:\/\/blog.monevis.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.monevis.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/blog.monevis.com\/#organization","name":"Monevis.com","alternateName":"Monevis","url":"https:\/\/blog.monevis.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.monevis.com\/#\/schema\/logo\/image\/","url":"https:\/\/blog.monevis.com\/wp-content\/uploads\/2024\/01\/monevis-logo-white.jpg","contentUrl":"https:\/\/blog.monevis.com\/wp-content\/uploads\/2024\/01\/monevis-logo-white.jpg","width":480,"height":480,"caption":"Monevis.com"},"image":{"@id":"https:\/\/blog.monevis.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/moneviscom","https:\/\/twitter.com\/moneviscom","https:\/\/www.instagram.com\/moneviscom\/"]},{"@type":"Person","@id":"https:\/\/blog.monevis.com\/#\/schema\/person\/8a5c24e9f6067312edfeb77a782207ae","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/blog.monevis.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/aeddda5fa4fed72a2e39a07848cf646105df6f4b047725b85341e779d8cfbc9c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aeddda5fa4fed72a2e39a07848cf646105df6f4b047725b85341e779d8cfbc9c?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/monevis.com\/?ref=monevis","https:\/\/www.facebook.com\/moneviscom","https:\/\/www.instagram.com\/moneviscom\/","https:\/\/www.linkedin.com\/company\/monevis\/","https:\/\/twitter.com\/moneviscom"],"url":"https:\/\/blog.monevis.com\/zh\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.monevis.com\/zh\/wp-json\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.monevis.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.monevis.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.monevis.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.monevis.com\/zh\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":0,"href":"https:\/\/blog.monevis.com\/zh\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.monevis.com\/zh\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.monevis.com\/zh\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.monevis.com\/zh\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}