{"id":120,"date":"2025-06-17T06:45:54","date_gmt":"2025-06-17T06:45:54","guid":{"rendered":"https:\/\/blog.alltick.co\/ja-jp\/?p=120"},"modified":"2025-06-17T06:45:56","modified_gmt":"2025-06-17T06:45:56","slug":"the-turtle-trading-strategy-a-classic-trend-following-system","status":"publish","type":"post","link":"https:\/\/blog.alltick.co\/ja-jp\/the-turtle-trading-strategy-a-classic-trend-following-system\/","title":{"rendered":"\u30bf\u30fc\u30c8\u30eb\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u6226\u7565\uff1a\u30af\u30e9\u30b7\u30c3\u30af\u306a\u30c8\u30ec\u30f3\u30c9\u30d5\u30a9\u30ed\u30fc\u30b7\u30b9\u30c6\u30e0"},"content":{"rendered":"\n<p>\u30bf\u30fc\u30c8\u30eb\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u6226\u7565\u306f\u30011980\u5e74\u4ee3\u306b\u30ea\u30c1\u30e3\u30fc\u30c9\u30fb\u30c7\u30cb\u30b9\u3068\u30a6\u30a3\u30ea\u30a2\u30e0\u30fb\u30a8\u30c3\u30af\u30cf\u30fc\u30c8\u306b\u3088\u3063\u3066\u958b\u767a\u3055\u308c\u305f\u30af\u30e9\u30b7\u30c3\u30af\u306a\u30c8\u30ec\u30f3\u30c9\u30d5\u30a9\u30ed\u30fc\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3059\u3002\u3053\u306e\u6226\u7565\u306f\u3001\u5b9a\u7fa9\u3055\u308c\u305f\u671f\u9593\u5185\u306e\u5e02\u5834\u306e\u6700\u9ad8\u4fa1\u683c\u3068\u6700\u5b89\u5024\u3092\u8ffd\u8de1\u3059\u308b\u3053\u3068\u3067\u3001\u30a8\u30f3\u30c8\u30ea\u30fc\u30dd\u30a4\u30f3\u30c8\u3068\u30a8\u30b0\u30b8\u30c3\u30c8\u30dd\u30a4\u30f3\u30c8\u3092\u7279\u5b9a\u3057\u307e\u3059\u3002\u9577\u671f\u7684\u306a\u30c8\u30ec\u30f3\u30c9\u3092\u6349\u3048\u3001\u6301\u7d9a\u7684\u306a\u4fa1\u683c\u5909\u52d5\u304b\u3089\u5229\u76ca\u3092\u5f97\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u30bf\u30fc\u30c8\u30eb\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u6226\u7565\u306e\u8d77\u6e90<\/strong><\/h2>\n\n\n\n<p>\u30ea\u30c1\u30e3\u30fc\u30c9\u30fb\u30c7\u30cb\u30b9\u306f1970\u5e74\u4ee3\u306e\u4f1d\u8aac\u7684\u306a\u5148\u7269\u30c8\u30ec\u30fc\u30c0\u30fc\u3067\u3001\u308f\u305a\u304b\u6570\u5343\u30c9\u30eb\u3092\u308f\u305a\u304b\u6570\u5e74\u30673\u51045000\u4e07\u30c9\u30eb\u306b\u307e\u3067\u5897\u3084\u3057\u305f\u3068\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30c7\u30cb\u30b9\u306f\u3001\u53d6\u5f15\u306f\u751f\u307e\u308c\u3064\u304d\u306e\u624d\u80fd\u3067\u306f\u306a\u304f\u3001\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u308b\u30b9\u30ad\u30eb\u3067\u3042\u308b\u3068\u4fe1\u3058\u3066\u3044\u307e\u3057\u305f\u3002\u305d\u306e\u8a3c\u660e\u3068\u3057\u3066\u3001\u5f7c\u306f\u53cb\u4eba\u306e\u30a6\u30a3\u30ea\u30a2\u30e0\u30fb\u30a8\u30c3\u30af\u30cf\u30fc\u30c8\u3068\u300c\u666e\u901a\u306e\u4eba\u3005\u3092\u30c8\u30ec\u30fc\u30c0\u30fc\u3068\u3057\u3066\u6210\u529f\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u300d\u3068\u3044\u3046\u8ced\u3051\u3092\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30c7\u30cb\u30b9\u306f\u3055\u307e\u3056\u307e\u306a\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3092\u6301\u306424\u4eba\u3092\u300c\u30bf\u30fc\u30c8\u30eb\u300d\u3068\u547c\u3073\u30012\u9031\u9593\u306e\u96c6\u4e2d\u7684\u306a\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u63d0\u4f9b\u3057\u307e\u3057\u305f\u3002\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3092\u7d42\u3048\u3001\u8a55\u4fa1\u306b\u5408\u683c\u3057\u305f\u5f8c\u3001\u5404\u30bf\u30fc\u30c8\u30eb\u306f\u8cc7\u672c\u3092\u4e0e\u3048\u3089\u308c\u3001250,000\u30c9\u30eb\u304b\u30892\u767e\u4e07\u30c9\u30eb\u306e\u7bc4\u56f2\u3067\u53d6\u5f15\u3092\u884c\u3044\u307e\u3057\u305f\u3002\u305d\u306e\u5f8c5\u5e74\u9593\u3067\u3001\u5f7c\u3089\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306f\u5408\u8a08\u30671\u51047500\u4e07\u30c9\u30eb\u306b\u6210\u9577\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u5b9f\u9a13\u5f8c\u3001\u30c7\u30cb\u30b9\u306f\u81ea\u3089\u304c\u4f7f\u7528\u3057\u305f\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3092\u516c\u958b\u3057\u3001\u305d\u308c\u304c\u30bf\u30fc\u30c8\u30eb\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u6226\u7565\u3068\u3057\u3066\u77e5\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u306e\u6226\u7565\u306f\u91cf\u7684\u53d6\u5f15\u306e\u521d\u671f\u306e\u4f8b\u306e\u4e00\u3064\u3067\u3042\u308a\u3001\u611f\u60c5\u7684\u307e\u305f\u306f\u4e3b\u89b3\u7684\u306a\u610f\u601d\u6c7a\u5b9a\u306b\u5bfe\u3059\u308b\u30b7\u30b9\u30c6\u30de\u30c6\u30a3\u30c3\u30af\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u529b\u3092\u793a\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u53d6\u5f15\u30eb\u30fc\u30eb<\/strong><\/h2>\n\n\n\n<p>\u30bf\u30fc\u30c8\u30eb\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u6226\u7565\u306f\u30ea\u30b9\u30af\u7ba1\u7406\u3092\u5f37\u8abf\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u306f\u73fe\u4ee3\u306e\u91cf\u7684\u53d6\u5f15\u306b\u5927\u304d\u306a\u5f71\u97ff\u3092\u4e0e\u3048\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306f\u6226\u7565\u306e\u4e3b\u8981\u306a\u8981\u7d20\u3067\u3059\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u5e02\u5834\u9078\u629e<\/strong><br>\u3053\u306e\u6226\u7565\u306f\u3001\u5341\u5206\u306a\u6d41\u52d5\u6027\u3068\u30dc\u30e9\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u6301\u3064\u5e02\u5834\u3001\u4f8b\u3048\u3070\u682a\u5f0f\u3001\u5148\u7269\u3001\u5916\u56fd\u70ba\u66ff\u306a\u3069\u3067\u6700\u3082\u52b9\u679c\u7684\u3067\u3059\u3002\u9078\u3070\u308c\u305f\u53d6\u5f15\u5bfe\u8c61\u306f\u6d3b\u767a\u306b\u53d6\u5f15\u3055\u308c\u3001\u30a8\u30f3\u30c8\u30ea\u30fc\u3084\u30a8\u30b0\u30b8\u30c3\u30c8\u304c\u5bb9\u6613\u3067\u3042\u308b\u3079\u304d\u3067\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30a8\u30f3\u30c8\u30ea\u30fc\u30eb\u30fc\u30eb<\/strong><br>\u30bf\u30fc\u30c8\u30eb\u306f\u30d6\u30ec\u30a4\u30af\u30a2\u30a6\u30c8\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u7528\u3057\u3066\u53d6\u5f15\u306e\u958b\u59cb\u6642\u671f\u3092\u6c7a\u5b9a\u3057\u307e\u3057\u305f\uff1a\n<ul class=\"wp-block-list\">\n<li>\u4fa1\u683c\u304c\u904e\u53bbN\u65e5\u9593\u306e\u6700\u9ad8\u5024\u3092\u8d85\u3048\u308b\u3068\u8cb7\u3044\u30b7\u30b0\u30ca\u30eb\u304c\u767a\u751f\u3057\u307e\u3059\uff08\u901a\u5e3820\u65e5\u9593\uff09\u3002<\/li>\n\n\n\n<li>\u4fa1\u683c\u304c\u904e\u53bbN\u65e5\u9593\u306e\u6700\u5b89\u5024\u3092\u4e0b\u56de\u308b\u3068\u58f2\u308a\u30b7\u30b0\u30ca\u30eb\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u30dd\u30b8\u30b7\u30e7\u30f3\u30b5\u30a4\u30ba<\/strong><br>\u30bf\u30fc\u30c8\u30eb\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u56fa\u5b9a\u30ea\u30b9\u30af\u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30dd\u30b8\u30b7\u30e7\u30f3\u30b5\u30a4\u30ba\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u901a\u5e38\u30011\u56de\u306e\u53d6\u5f15\u3067\u306e\u30ea\u30b9\u30af\u306f\u7dcf\u8cc7\u672c\u306e\u7279\u5b9a\u306e\u5272\u5408\uff08\u4f8b\uff1a2%\uff09\u306b\u5236\u9650\u3055\u308c\u307e\u3059\u3002\u30dd\u30b8\u30b7\u30e7\u30f3\u30b5\u30a4\u30ba\u306f\u3001\u73fe\u5728\u306e\u4fa1\u683c\u3068\u30dc\u30e9\u30c6\u30a3\u30ea\u30c6\u30a3\u306b\u57fa\u3065\u3044\u3066\u8a08\u7b97\u3055\u308c\u3001\u30ea\u30b9\u30af\u304c\u8a2d\u5b9a\u3055\u308c\u305f\u5236\u9650\u5185\u3067\u7ba1\u7406\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30b9\u30c8\u30c3\u30d7\u30ed\u30b9\u30eb\u30fc\u30eb<\/strong><br>\u30ea\u30b9\u30af\u7ba1\u7406\u306f\u6226\u7565\u306e\u4e2d\u5fc3\u3067\u3059\u3002\u30b9\u30c8\u30c3\u30d7\u30ed\u30b9\u306f\u5404\u53d6\u5f15\u306e\u958b\u59cb\u6642\u306b\u8a2d\u5b9a\u3055\u308c\u3001\u901a\u5e38\u306f\u904e\u53bbN\u65e5\u9593\uff08\u4f8b\uff1a10\u65e5\u307e\u305f\u306f20\u65e5\uff09\u306e\u9ad8\u5024\/\u5b89\u5024\u306b\u7f6e\u304b\u308c\u307e\u3059\u3002\u53d6\u5f15\u304c\u6709\u5229\u306a\u65b9\u5411\u306b\u9032\u3080\u3068\u3001\u30b9\u30c8\u30c3\u30d7\u30ed\u30b9\u30ec\u30d9\u30eb\u3092\u8abf\u6574\u3057\u3066\u5229\u76ca\u3092\u78ba\u5b9a\u3057\u3001\u30c0\u30a6\u30f3\u30b5\u30a4\u30c9\u3092\u5236\u9650\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30a8\u30b0\u30b8\u30c3\u30c8\u30eb\u30fc\u30eb<\/strong><br>\u6226\u7565\u306f\u4e8b\u524d\u5b9a\u7fa9\u3055\u308c\u305f\u5229\u76ca\u76ee\u6a19\u3092\u4f7f\u7528\u3057\u3066\u53d6\u5f15\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002\u4fa1\u683c\u304c\u76ee\u6a19\u306b\u9054\u3057\u305f\u6642\u70b9\u3067\u30dd\u30b8\u30b7\u30e7\u30f3\u306f\u30af\u30ed\u30fc\u30ba\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u76ee\u6a19\u306f\u3001\u5e02\u5834\u306e\u30dc\u30e9\u30c6\u30a3\u30ea\u30c6\u30a3\u3084\u7279\u5b9a\u306e\u6226\u7565\u76ee\u6a19\u306b\u57fa\u3065\u3044\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30b7\u30b0\u30ca\u30eb\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0<\/strong><br>\u8aa4\u3063\u305f\u30b7\u30b0\u30ca\u30eb\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3001\u8ffd\u52a0\u306e\u30c6\u30af\u30cb\u30ab\u30eb\u6307\u6a19\u3092\u4f7f\u7528\u3057\u3066\u78ba\u8a8d\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u79fb\u52d5\u5e73\u5747\u3084\u76f8\u5bfe\u529b\u6307\u6570\uff08RSI\uff09\u306a\u3069\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u53d6\u5f15\u306e\u8cea\u304c\u5411\u4e0a\u3057\u3001\u30ce\u30a4\u30ba\u3092\u6e1b\u5c11\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u3068\u6700\u9069\u5316<\/strong><br>\u6226\u7565\u3092\u672c\u756a\u74b0\u5883\u3067\u4f7f\u7528\u3059\u308b\u524d\u306b\u3001\u904e\u53bb\u306e\u30c7\u30fc\u30bf\u3067\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u3092\u884c\u3046\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u306f\u3001\u6226\u7565\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u8a55\u4fa1\u3057\u3001\u73fe\u5728\u306e\u5e02\u5834\u6761\u4ef6\u306b\u5408\u308f\u305b\u3066\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6d17\u7df4\u3055\u305b\u308b\u305f\u3081\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u30bf\u30fc\u30c8\u30eb\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u6226\u7565\u306f\u8a3c\u660e\u3055\u308c\u305f\u5f71\u97ff\u529b\u306e\u3042\u308b\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u304c\u3001\u6b20\u70b9\u3082\u3042\u308a\u307e\u3059\u3002\u7bc4\u56f2\u53d6\u5f15\u3084\u30c8\u30ec\u30f3\u30c9\u306e\u306a\u3044\u5e02\u5834\u3067\u306f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u4f4e\u4e0b\u3057\u3001\u5927\u304d\u306a\u30c9\u30ed\u30fc\u30c0\u30a6\u30f3\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u53b3\u683c\u306a\u30ea\u30b9\u30af\u7ba1\u7406\u3068\u898f\u5f8b\u3042\u308b\u5b9f\u884c\u304c\u6210\u529f\u306e\u9375\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306b\u3001\u7279\u5b9a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3084\u30eb\u30fc\u30eb\u306f\u3001\u500b\u3005\u306e\u597d\u307f\u3001\u30ea\u30b9\u30af\u8a31\u5bb9\u5ea6\u3001\u5e02\u5834\u306e\u72b6\u614b\u306b\u5fdc\u3058\u3066\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u6226\u7565\u3092\u52b9\u679c\u7684\u306b\u9069\u5fdc\u3055\u305b\u308b\u305f\u3081\u306b\u306f\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3068\u7d99\u7d9a\u7684\u306a\u6700\u9069\u5316\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Java\u30b3\u30fc\u30c9\u4f8b<\/strong><\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import java.util.List;\n\npublic class TurtleTradingStrategy {\n    public static void main(String[] args) {\n        List&lt;Double> prices = \n        int breakoutPeriod = 20; \n\n        double highestHigh = Double.MIN_VALUE;\n        double lowestLow = Double.MAX_VALUE;\n        boolean inMarket = false; \n        double entryPrice = 0.0; \n\n        for (double price : prices) {\n\n            if (price > highestHigh) {\n                highestHigh = price;\n            }\n            if (price &lt; lowestLow) {\n                lowestLow = price;\n            }\n\n            if (!inMarket &amp;&amp; price > highestHigh) {\n\n                inMarket = true;\n                entryPrice = price;\n\n            } else if (inMarket &amp;&amp; price &lt; lowestLow) {\n\n                inMarket = false;\n\n            }\n\n\n            if (prices.indexOf(price) >= breakoutPeriod) {\n                double previousPrice = prices.get(prices.indexOf(price) - breakoutPeriod);\n                if (previousPrice == highestHigh) {\n\n                    highestHigh = calculateHighestHigh(prices, prices.indexOf(price) - breakoutPeriod + 1, prices.indexOf(price));\n                }\n                if (previousPrice == lowestLow) {\n\n                    lowestLow = calculateLowestLow(prices, prices.indexOf(price) - breakoutPeriod + 1, prices.indexOf(price));\n                }\n            }\n        }\n    }\n\n    private static double calculateHighestHigh(List&lt;Double> prices, int startIndex, int endIndex) {\n        double highestHigh = Double.MIN_VALUE;\n        for (int i = startIndex; i &lt;= endIndex; i++) {\n            double price = prices.get(i);\n            if (price > highestHigh) {\n                highestHigh = price;\n            }\n        }\n        return highestHigh;\n    }\n\n    private static double calculateLowestLow(List&lt;Double> prices, int startIndex, int endIndex) {\n        double lowestLow = Double.MAX_VALUE;\n        for (int i = startIndex; i &lt;= endIndex; i++) {\n            double price = prices.get(i);\n            if (price &lt; lowestLow) {\n                lowestLow = price;\n            }\n        }\n        return lowestLow;\n    }\n}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Python\u30b3\u30fc\u30c9\u4f8b<\/strong><\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">def turtle_trading_strategy(prices, breakout_period=20, risk_percentage=0.02):\n    highest_high = float('-inf')\n    lowest_low = float('inf')\n    in_market = False\n    entry_price = 0.0\n\n    for price in prices:\n        if price > highest_high:\n            highest_high = price\n        if price &lt; lowest_low:\n            lowest_low = price\n\n        if not in_market and price > highest_high:\n            in_market = True\n            entry_price = price\n\n\n        elif in_market and price &lt; lowest_low:\n\n            in_market = False\n\n\n\n        if prices.index(price) >= breakout_period:\n            previous_prices = prices[prices.index(price) - breakout_period:prices.index(price)]\n            previous_highest_high = max(previous_prices)\n            previous_lowest_low = min(previous_prices)\n            if previous_highest_high == highest_high:\n\n                highest_high = calculate_highest_high(prices, prices.index(price) - breakout_period + 1, prices.index(price))\n            if previous_lowest_low == lowest_low:\n\n                lowest_low = calculate_lowest_low(prices, prices.index(price) - breakout_period + 1, prices.index(price))\n\ndef calculate_highest_high(prices, start_index, end_index):\n    highest_high = float('-inf')\n    for i in range(start_index, end_index + 1):\n        price = prices[i]\n        if price > highest_high:\n            highest_high = price\n    return highest_high\n\ndef calculate_lowest_low(prices, start_index, end_index):\n    lowest_low = float('inf')\n    for i in range(start_index, end_index + 1):\n        price = prices[i]\n        if price &lt; lowest_low:\n            lowest_low = price\n    return lowest_low<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30bf\u30fc\u30c8\u30eb\u30c8\u30ec\u30fc\u30c7\u30a3\u30f3\u30b0\u6226\u7565\u306f\u30011980\u5e74\u4ee3\u306b\u30ea\u30c1\u30e3\u30fc\u30c9\u30fb\u30c7\u30cb\u30b9\u3068\u30a6\u30a3\u30ea\u30a2\u30e0\u30fb\u30a8\u30c3\u30af\u30cf\u30fc\u30c8\u306b\u3088\u3063\u3066\u958b\u767a\u3055\u308c\u305f\u30af\u30e9\u30b7\u30c3\u30af\u306a\u30c8\u30ec\u30f3\u30c9\u30d5\u30a9\u30ed\u30fc\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3059\u3002\u3053\u306e\u6226\u7565\u306f\u3001\u5b9a\u7fa9\u3055\u308c\u305f\u671f\u9593\u5185\u306e\u5e02\u5834\u306e\u6700\u9ad8\u4fa1\u683c\u3068\u6700\u5b89\u5024\u3092\u8ffd\u8de1\u3059\u308b\u3053\u3068\u3067\u3001 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":121,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guide"],"featured_image_src":"https:\/\/i0.wp.com\/blog.alltick.co\/ja-jp\/wp-content\/uploads\/sites\/2\/2025\/06\/60e5a5e5aa09b814239053.png?fit=900%2C500&ssl=1","author_info":{"display_name":"admin","author_link":"https:\/\/blog.alltick.co\/ja-jp\/author\/admin\/"},"_links":{"self":[{"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/posts\/120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":1,"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":122,"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/posts\/120\/revisions\/122"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/media\/121"}],"wp:attachment":[{"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.alltick.co\/ja-jp\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}