{"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\/ja\/backtrader\/","title":{"rendered":"\u30d0\u30c3\u30af\u30c8\u30ec\u30fc\u30c0\u30fc"},"content":{"rendered":"<h2>\u30d0\u30c3\u30af\u30c8\u30ec\u30fc\u30c0\u30fc\u5165\u9580<\/h2>\n<p>Backtrader\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306ePython\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3001\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u53d6\u5f15\u6226\u7565\u306e\u958b\u767a\u3001\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u3001\u30c7\u30d7\u30ed\u30a4\u306e\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u6c4e\u7528\u6027\u3001\u30b7\u30f3\u30d7\u30eb\u3055\u3001\u8907\u96d1\u306a\u53d6\u5f15\u30b7\u30ca\u30ea\u30aa\u3092\u51e6\u7406\u3059\u308b\u80fd\u529b\u3067\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u3002Backtrader\u306f\u3001\u305d\u306e\u5805\u7262\u306a\u6a5f\u80fd\u7fa4\u3001\u67d4\u8edf\u6027\u3001\u5229\u4fbf\u6027\u304b\u3089\u3001\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u611b\u597d\u5bb6\u3001\u30af\u30aa\u30f3\u30c4\u958b\u767a\u8005\u3001\u4e2d\u5c0f\u898f\u6a21\u306e\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u4f1a\u793e\u306b\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<h2>\u6a5f\u80fd\u6027\u3068\u4f7f\u3044\u3084\u3059\u3055<\/h2>\n<p>Backtrader\u306e\u4e2d\u6838\u6a5f\u80fd\u306f\u3001\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u3042\u308a\u307e\u3059\u3002\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001\u904e\u53bb\u306e\u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u3066\u53d6\u5f15\u6226\u7565\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3059\u308b\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3001\u305d\u308c\u306b\u3088\u3063\u3066\u3001\u3042\u308b\u6226\u7565\u304c\u904e\u53bb\u306b\u3069\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3057\u305f\u304b\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002Backtrader\u306f\u30a4\u30d9\u30f3\u30c8\u30c9\u30ea\u30d6\u30f3\u3068\u30d9\u30af\u30c8\u30eb\u5316\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u306e\u4e21\u65b9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u304a\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u81ea\u5206\u306e\u6226\u7565\u306b\u6700\u3082\u9069\u3057\u305f\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Backtrader\u306e\u4e3b\u306a\u5229\u70b9\u306e\u4e00\u3064\u306f\u3001\u305d\u306e\u4f7f\u3044\u3084\u3059\u3055\u3067\u3059\u3002Python\u306e\u77e5\u8b58\u304c\u4e4f\u3057\u3044\u521d\u5fc3\u8005\u3067\u3082\u3001\u77ed\u671f\u9593\u3067\u53d6\u5f15\u6226\u7565\u306e\u958b\u767a\u3068\u30c6\u30b9\u30c8\u3092\u958b\u59cb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306f\u660e\u78ba\u3067\u7c21\u6f54\u306a\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u5b66\u7fd2\u66f2\u7dda\u304c\u7ba1\u7406\u3057\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3068\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u6a5f\u80fd<\/h2>\n<p>Backtrader\u306f\u3001\u30af\u30aa\u30f3\u30c4\u91d1\u878d\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u8a00\u8a9e\u306e1\u3064\u3067\u3042\u308bPython\u3092\u4e2d\u5fc3\u306b\u69cb\u7bc9\u3055\u308c\u3066\u3044\u307e\u3059\u3002Python\u306e\u30b7\u30f3\u30d7\u30eb\u3055\u3068\u5229\u7528\u53ef\u80fd\u306a\u8c4a\u5bcc\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001Backtrader\u306f\u8907\u96d1\u306a\u53d6\u5f15\u6226\u7565\u3092\u958b\u767a\u3059\u308b\u305f\u3081\u306e\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Backtrader\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306f\u3001\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u7528\u306e\u5e45\u5e83\u3044\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u304c\u5185\u8535\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30c8\u30ec\u30fc\u30c0\u30fc\u306f\u3053\u308c\u3089\u306e\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001\u8907\u6570\u306e\u6642\u9593\u67a0\u3068\u5e02\u5834\u306b\u308f\u305f\u3063\u3066\u6226\u7565\u3092\u4f5c\u6210\u3057\u3001\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u30d6\u30ed\u30fc\u30ab\u30fc\u3068\u306e\u7d71\u5408\u3068\u30c7\u30fc\u30bf\u30d5\u30a3\u30fc\u30c9\u306e\u4e92\u63db\u6027<\/h3>\n<p>Backtrader\u306f\u3001\u30b7\u30fc\u30e0\u30ec\u30b9\u306a\u30d6\u30ed\u30fc\u30ab\u30fc\u7d71\u5408\u3067\u512a\u4f4d\u6027\u3092\u767a\u63ee\u3057\u307e\u3059\u3002\u30e9\u30a4\u30d6\u53d6\u5f15\u306f\u3001Interactive Brokers\u3001Oanda\u3001Alpaca\u306a\u3069\u306e\u30d6\u30ed\u30fc\u30ab\u30fc\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u6a5f\u80fd\u306b\u3088\u308a\u3001\u30c8\u30ec\u30fc\u30c0\u30fc\u306f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u74b0\u5883\u3067\u6bd4\u8f03\u7684\u7c21\u5358\u306b\u6226\u7565\u3092\u5c55\u958b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306f\u307e\u305f\u3001CSV\u30d5\u30a1\u30a4\u30eb\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3001\u30d6\u30ed\u30fc\u30ab\u30fc\u304b\u3089\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30fb\u30c7\u30fc\u30bf\u30fb\u30b9\u30c8\u30ea\u30fc\u30e0\u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u30c7\u30fc\u30bf\u30fb\u30d5\u30a3\u30fc\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u3002\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u7279\u5b9a\u306e\u30cb\u30fc\u30ba\u306b\u5408\u308f\u305b\u3066\u72ec\u81ea\u306e\u30c7\u30fc\u30bf\u30d5\u30a3\u30fc\u30c9\u30cf\u30f3\u30c9\u30e9\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3002<\/p>\n<h3>\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u308b\u91d1\u878d\u5546\u54c1\u3068\u30ab\u30b9\u30bf\u30e0\u30fb\u30a4\u30f3\u30c7\u30a3\u30b1\u30fc\u30bf\uff06\u30b9\u30c8\u30e9\u30c6\u30b8\u30fc<\/h3>\n<p>Backtrader\u306f\u4e3b\u306b\u682a\u5f0f\u3068\u5916\u56fd\u70ba\u66ff\u5e02\u5834\u5411\u3051\u306b\u8a2d\u8a08\u3055\u308c\u307e\u3057\u305f\u304c\u3001\u30c7\u30ea\u30d0\u30c6\u30a3\u30d6\u3001\u6697\u53f7\u901a\u8ca8\u3001\u30b3\u30e2\u30c7\u30a3\u30c6\u30a3\u306a\u3069\u306e\u69d8\u3005\u306a\u91d1\u878d\u5546\u54c1\u3082\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30de\u30eb\u30c1\u30a2\u30bb\u30c3\u30c8\u53d6\u5f15\u30b5\u30dd\u30fc\u30c8\u306b\u3088\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u69d8\u3005\u306a\u53d6\u5f15\u6226\u7565\u3092\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001Backtrader\u3067\u306f\u30ab\u30b9\u30bf\u30e0\u53d6\u5f15\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u3084\u30ab\u30b9\u30bf\u30e0\u6226\u7565\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u67d4\u8edf\u6027\u306b\u3088\u308a\u3001\u9769\u65b0\u7684\u306a\u30a2\u30a4\u30c7\u30a2\u3092\u30c6\u30b9\u30c8\u3057\u3001\u53d6\u5f15\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3055\u305b\u308b\u305f\u3081\u306e\u5f37\u529b\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u81ea\u52d5\u53d6\u5f15\u6a5f\u80fd\u3068\u30ea\u30b9\u30af\u7ba1\u7406\u30c4\u30fc\u30eb<\/h2>\n<p>Backtrader\u306f\u305d\u306e\u81ea\u52d5\u53d6\u5f15\u6a5f\u80fd\u3067\u8f1d\u304d\u3092\u653e\u3063\u3066\u3044\u308b\u3002\u3053\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u53d6\u5f15\u6226\u7565\u3092\u81ea\u52d5\u5316\u3057\u3001\u53d6\u5f15\u57f7\u884c\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u611f\u60c5\u7684\u306a\u30d0\u30a4\u30a2\u30b9\u304c\u6392\u9664\u3055\u308c\u3001\u53d6\u5f15\u30eb\u30fc\u30eb\u306e\u4e00\u8cab\u3057\u305f\u9069\u7528\u304c\u4fdd\u8a3c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Backtrader\u306f\u3001\u30b9\u30c8\u30c3\u30d7\u30ed\u30b9\u3001\u30c6\u30a4\u30af\u30d7\u30ed\u30d5\u30a3\u30c3\u30c8\u3001\u30dd\u30b8\u30b7\u30e7\u30f3\u30b5\u30a4\u30b8\u30f3\u30b0\u6a5f\u80fd\u306a\u3069\u306e\u30ea\u30b9\u30af\u7ba1\u7406\u30c4\u30fc\u30eb\u3082\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u3001\u30c8\u30ec\u30fc\u30c0\u30fc\u304c\u30ea\u30b9\u30af\u30a8\u30af\u30b9\u30dd\u30fc\u30b8\u30e3\u30fc\u3092\u7ba1\u7406\u3057\u3001\u8cc7\u672c\u3092\u4fdd\u8b77\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>\u8cbb\u7528\u3068\u624b\u6570\u6599<\/h2>\n<p>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3042\u308bBacktrader\u306f\u3001\u7121\u6599\u3067\u3054\u5229\u7528\u3044\u305f\u3060\u3051\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u30e9\u30a4\u30d6\u30fb\u30d6\u30ed\u30fc\u30ab\u30fc\u3068\u7d71\u5408\u3057\u305f\u308a\u3001\u30d2\u30b9\u30c8\u30ea\u30ab\u30eb\u30fb\u30c7\u30fc\u30bf\u30fb\u30d5\u30a3\u30fc\u30c9\u3092\u8cfc\u5165\u3057\u305f\u308a\u3059\u308b\u969b\u306b\u306f\u3001\u8cbb\u7528\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u53d6\u5f15\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u3057\u3066Backtrader\u3092\u9078\u629e\u3059\u308b\u969b\u306b\u306f\u3001\u3053\u308c\u3089\u306e\u6f5c\u5728\u7684\u306a\u8cbb\u7528\u3092\u8003\u616e\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h3>\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u4fe1\u983c\u6027\u3001\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3<\/h3>\n<p>Backtrader\u306f\u305d\u306e\u5805\u7262\u6027\u3068\u4fe1\u983c\u6027\u3067\u5b9a\u8a55\u304c\u3042\u308a\u307e\u3059\u3002\u9ad8\u8ca0\u8377\u306e\u30c7\u30fc\u30bf\u3084\u8907\u96d1\u306a\u53d6\u5f15\u30b7\u30ca\u30ea\u30aa\u3092\u51e6\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001\u500b\u4eba\u3067\u3082\u6a5f\u95a2\u6295\u8cc7\u5bb6\u3067\u3082\u4f7f\u7528\u3067\u304d\u308b\u62e1\u5f35\u6027\u3092\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u95a2\u3057\u3066\u306f\u3001Backtrader\u306f\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30bd\u30b3\u30f3\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3\u30fb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3042\u308b\u305f\u3081\u3001\u53d6\u5f15\u30b9\u30c8\u30e9\u30c6\u30b8\u30fc\u3092\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u516c\u958b\u3059\u308b\u3053\u3068\u304c\u306a\u304f\u3001\u6f5c\u5728\u7684\u306a\u30cf\u30c3\u30ad\u30f3\u30b0\u3084\u4fb5\u5bb3\u306e\u30ea\u30b9\u30af\u3092\u8efd\u6e1b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3068\u30b5\u30dd\u30fc\u30c8<\/h2>\n<p>Backtrader\u306b\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u3068\u958b\u767a\u8005\u306e\u6d3b\u767a\u306a\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u304c\u3042\u308a\u3001\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u30d5\u30a9\u30fc\u30e9\u30e0\u3067\u7a4d\u6975\u7684\u306b\u77e5\u8b58\u3084\u6d1e\u5bdf\u3092\u5171\u6709\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5f37\u56fa\u306a\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30dd\u30fc\u30c8\u306f\u3001\u521d\u5fc3\u8005\u306b\u3082\u7d4c\u9a13\u8c4a\u5bcc\u306a\u30e6\u30fc\u30b6\u30fc\u306b\u3082\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h3>API\u30a2\u30af\u30bb\u30b9\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5206\u6790<\/h3>\n<p>Backtrader\u306f\u5e83\u7bc4\u306aAPI\u3092\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u4ed6\u306ePython\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30c4\u30fc\u30eb\u3068\u7d71\u5408\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u3088\u308a\u67d4\u8edf\u306a\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Backtrader\u306e\u3082\u3046\u4e00\u3064\u306e\u4e3b\u306a\u7279\u5fb4\u306f\u3001\u5185\u8535\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5206\u6790\u30c4\u30fc\u30eb\u3067\u3059\u3002\u30c8\u30ec\u30fc\u30c0\u30fc\u304c\u6226\u7565\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u30ea\u30bf\u30fc\u30f3\u3001\u30ea\u30b9\u30af\u3001\u7d71\u8a08\u7684\u6307\u6a19\u3067\u8a55\u4fa1\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002 <\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>Backtrader\u306f\u3001\u53d6\u5f15\u6226\u7565\u306e\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u3068\u81ea\u52d5\u5316\u306e\u305f\u3081\u306e\u5f37\u529b\u3067\u67d4\u8edf\u304b\u3064\u52b9\u7387\u7684\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002\u305d\u306e\u4f7f\u3044\u3084\u3059\u3055\u3001\u8c4a\u5bcc\u306a\u6a5f\u80fd\u3001\u5f37\u529b\u306a\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306f\u3001\u521d\u5fc3\u8005\u3068\u7d4c\u9a13\u8c4a\u5bcc\u306a\u30c8\u30ec\u30fc\u30c0\u30fc\u306e\u4e21\u65b9\u306b\u3068\u3063\u3066\u9b45\u529b\u7684\u306a\u9078\u629e\u80a2\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u9577\u6240\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u6f5c\u5728\u7684\u306a\u30b3\u30b9\u30c8\u3001Python\u306e\u77e5\u8b58\u306e\u5fc5\u8981\u6027\u3001\u304a\u3088\u3073\u5c02\u7528\u306e\u9867\u5ba2\u30b5\u30dd\u30fc\u30c8\u30b5\u30fc\u30d3\u30b9\u306e\u4e0d\u5728\u3082\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u308c\u3089\u306e\u6b20\u70b9\u306f\u3001\u3053\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u304c\u63d0\u4f9b\u3059\u308b\u5229\u70b9\u306b\u3088\u3063\u3066\u51cc\u99d5\u3055\u308c\u308b\u3053\u3068\u304c\u591a\u304f\u3001Backtrader\u306f\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u53d6\u5f15\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u3057\u3066\u691c\u8a0e\u3059\u308b\u4fa1\u5024\u304c\u3042\u308a\u307e\u3059\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, and convenience. Functionality and Usability The core functionality of Backtrader lies in its backtesting module. It provides the ability to simulate trading strategies on historical data, thereby giving an understanding of how a strategy would have performed in the past. Backtrader supports both event-driven and vectorized backtesting, allowing users to choose the most suitable approach &hellip; <a href=\"https:\/\/blog.monevis.com\/ja\/backtrader\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u30d0\u30c3\u30af\u30c8\u30ec\u30fc\u30c0\u30fc<\/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\/ja\/backtrader\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\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, and convenience. Functionality and Usability The core functionality of Backtrader lies in its backtesting module. It provides the ability to simulate trading strategies on historical data, thereby giving an understanding of how a strategy would have performed in the past. Backtrader supports both event-driven and vectorized backtesting, allowing users to choose the most suitable approach &hellip; \u7d9a\u304d\u3092\u8aad\u3080 Backtrader\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.monevis.com\/ja\/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=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\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\":\"ja\",\"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\":\"ja\",\"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\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.monevis.com\/#organization\",\"name\":\"Monevis.com\",\"alternateName\":\"Monevis\",\"url\":\"https:\/\/blog.monevis.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@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\":\"ja\",\"@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\/ja\/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\/ja\/backtrader\/","og_locale":"ja_JP","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, and convenience. Functionality and Usability The core functionality of Backtrader lies in its backtesting module. It provides the ability to simulate trading strategies on historical data, thereby giving an understanding of how a strategy would have performed in the past. Backtrader supports both event-driven and vectorized backtesting, allowing users to choose the most suitable approach &hellip; \u7d9a\u304d\u3092\u8aad\u3080 Backtrader","og_url":"https:\/\/blog.monevis.com\/ja\/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":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"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":"ja","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":"ja","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":"ja"},{"@type":"Organization","@id":"https:\/\/blog.monevis.com\/#organization","name":"Monevis.com","alternateName":"Monevis","url":"https:\/\/blog.monevis.com\/","logo":{"@type":"ImageObject","inLanguage":"ja","@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":"ja","@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\/ja\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.monevis.com\/ja\/wp-json\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.monevis.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.monevis.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.monevis.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.monevis.com\/ja\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":0,"href":"https:\/\/blog.monevis.com\/ja\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.monevis.com\/ja\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.monevis.com\/ja\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.monevis.com\/ja\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}