From 9689625fc199c8fd13b9d50b05a526ee868f082d Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Sun, 16 Feb 2025 23:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90macd=E5=9B=9E=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poetry.lock | 375 +++++++++++------------ 回测/backtrader.ipynb | 629 +++++++++++++++++++++++++++++++++++--- 行情监控/Holdle策略.ipynb | 469 ++++++++++++++-------------- 3 files changed, 1021 insertions(+), 452 deletions(-) diff --git a/poetry.lock b/poetry.lock index e490a9e..3fa4a64 100644 --- a/poetry.lock +++ b/poetry.lock @@ -15,14 +15,14 @@ files = [ [[package]] name = "akshare" -version = "1.15.87" +version = "1.15.93" description = "AKShare is an elegant and simple financial data interface library for Python, built for human beings!" optional = false python-versions = ">=3.8" groups = ["main"] files = [ - {file = "akshare-1.15.87-py3-none-any.whl", hash = "sha256:ed1d2da86e3df65aea6838c90dc88f148ce93bbf6ae157f23d114f33d2610bec"}, - {file = "akshare-1.15.87.tar.gz", hash = "sha256:c92cf6401097f268a1ddfea7d906fb435171fb50d4b0d1a8ff46ce092a6a7d51"}, + {file = "akshare-1.15.93-py3-none-any.whl", hash = "sha256:35a1210fec91fe5d2206627e4a651db1286cca5f262e4e39e5e5b3790518cdf9"}, + {file = "akshare-1.15.93.tar.gz", hash = "sha256:03898ec3bd53e17f1af1f3ba7069e389d006d4cadddab7b2e738e50c0130e98d"}, ] [package.dependencies] @@ -2026,67 +2026,67 @@ test = ["pytest", "pytest-console-scripts", "pytest-jupyter", "pytest-tornasync" [[package]] name = "numpy" -version = "2.2.2" +version = "2.2.3" description = "Fundamental package for array computing in Python" optional = false python-versions = ">=3.10" groups = ["main"] files = [ - {file = "numpy-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7079129b64cb78bdc8d611d1fd7e8002c0a2565da6a47c4df8062349fee90e3e"}, - {file = "numpy-2.2.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2ec6c689c61df613b783aeb21f945c4cbe6c51c28cb70aae8430577ab39f163e"}, - {file = "numpy-2.2.2-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:40c7ff5da22cd391944a28c6a9c638a5eef77fcf71d6e3a79e1d9d9e82752715"}, - {file = "numpy-2.2.2-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:995f9e8181723852ca458e22de5d9b7d3ba4da3f11cc1cb113f093b271d7965a"}, - {file = "numpy-2.2.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b78ea78450fd96a498f50ee096f69c75379af5138f7881a51355ab0e11286c97"}, - {file = "numpy-2.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3fbe72d347fbc59f94124125e73fc4976a06927ebc503ec5afbfb35f193cd957"}, - {file = "numpy-2.2.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:8e6da5cffbbe571f93588f562ed130ea63ee206d12851b60819512dd3e1ba50d"}, - {file = "numpy-2.2.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:09d6a2032faf25e8d0cadde7fd6145118ac55d2740132c1d845f98721b5ebcfd"}, - {file = "numpy-2.2.2-cp310-cp310-win32.whl", hash = "sha256:159ff6ee4c4a36a23fe01b7c3d07bd8c14cc433d9720f977fcd52c13c0098160"}, - {file = "numpy-2.2.2-cp310-cp310-win_amd64.whl", hash = "sha256:64bd6e1762cd7f0986a740fee4dff927b9ec2c5e4d9a28d056eb17d332158014"}, - {file = "numpy-2.2.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:642199e98af1bd2b6aeb8ecf726972d238c9877b0f6e8221ee5ab945ec8a2189"}, - {file = "numpy-2.2.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6d9fc9d812c81e6168b6d405bf00b8d6739a7f72ef22a9214c4241e0dc70b323"}, - {file = "numpy-2.2.2-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:c7d1fd447e33ee20c1f33f2c8e6634211124a9aabde3c617687d8b739aa69eac"}, - {file = "numpy-2.2.2-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:451e854cfae0febe723077bd0cf0a4302a5d84ff25f0bfece8f29206c7bed02e"}, - {file = "numpy-2.2.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bd249bc894af67cbd8bad2c22e7cbcd46cf87ddfca1f1289d1e7e54868cc785c"}, - {file = "numpy-2.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:02935e2c3c0c6cbe9c7955a8efa8908dd4221d7755644c59d1bba28b94fd334f"}, - {file = "numpy-2.2.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:a972cec723e0563aa0823ee2ab1df0cb196ed0778f173b381c871a03719d4826"}, - {file = "numpy-2.2.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d6d6a0910c3b4368d89dde073e630882cdb266755565155bc33520283b2d9df8"}, - {file = "numpy-2.2.2-cp311-cp311-win32.whl", hash = "sha256:860fd59990c37c3ef913c3ae390b3929d005243acca1a86facb0773e2d8d9e50"}, - {file = "numpy-2.2.2-cp311-cp311-win_amd64.whl", hash = "sha256:da1eeb460ecce8d5b8608826595c777728cdf28ce7b5a5a8c8ac8d949beadcf2"}, - {file = "numpy-2.2.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ac9bea18d6d58a995fac1b2cb4488e17eceeac413af014b1dd26170b766d8467"}, - {file = "numpy-2.2.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:23ae9f0c2d889b7b2d88a3791f6c09e2ef827c2446f1c4a3e3e76328ee4afd9a"}, - {file = "numpy-2.2.2-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:3074634ea4d6df66be04f6728ee1d173cfded75d002c75fac79503a880bf3825"}, - {file = "numpy-2.2.2-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:8ec0636d3f7d68520afc6ac2dc4b8341ddb725039de042faf0e311599f54eb37"}, - {file = "numpy-2.2.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2ffbb1acd69fdf8e89dd60ef6182ca90a743620957afb7066385a7bbe88dc748"}, - {file = "numpy-2.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0349b025e15ea9d05c3d63f9657707a4e1d471128a3b1d876c095f328f8ff7f0"}, - {file = "numpy-2.2.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:463247edcee4a5537841d5350bc87fe8e92d7dd0e8c71c995d2c6eecb8208278"}, - {file = "numpy-2.2.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9dd47ff0cb2a656ad69c38da850df3454da88ee9a6fde0ba79acceee0e79daba"}, - {file = "numpy-2.2.2-cp312-cp312-win32.whl", hash = "sha256:4525b88c11906d5ab1b0ec1f290996c0020dd318af8b49acaa46f198b1ffc283"}, - {file = "numpy-2.2.2-cp312-cp312-win_amd64.whl", hash = "sha256:5acea83b801e98541619af398cc0109ff48016955cc0818f478ee9ef1c5c3dcb"}, - {file = "numpy-2.2.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b208cfd4f5fe34e1535c08983a1a6803fdbc7a1e86cf13dd0c61de0b51a0aadc"}, - {file = "numpy-2.2.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d0bbe7dd86dca64854f4b6ce2ea5c60b51e36dfd597300057cf473d3615f2369"}, - {file = "numpy-2.2.2-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:22ea3bb552ade325530e72a0c557cdf2dea8914d3a5e1fecf58fa5dbcc6f43cd"}, - {file = "numpy-2.2.2-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:128c41c085cab8a85dc29e66ed88c05613dccf6bc28b3866cd16050a2f5448be"}, - {file = "numpy-2.2.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:250c16b277e3b809ac20d1f590716597481061b514223c7badb7a0f9993c7f84"}, - {file = "numpy-2.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e0c8854b09bc4de7b041148d8550d3bd712b5c21ff6a8ed308085f190235d7ff"}, - {file = "numpy-2.2.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b6fb9c32a91ec32a689ec6410def76443e3c750e7cfc3fb2206b985ffb2b85f0"}, - {file = "numpy-2.2.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:57b4012e04cc12b78590a334907e01b3a85efb2107df2b8733ff1ed05fce71de"}, - {file = "numpy-2.2.2-cp313-cp313-win32.whl", hash = "sha256:4dbd80e453bd34bd003b16bd802fac70ad76bd463f81f0c518d1245b1c55e3d9"}, - {file = "numpy-2.2.2-cp313-cp313-win_amd64.whl", hash = "sha256:5a8c863ceacae696aff37d1fd636121f1a512117652e5dfb86031c8d84836369"}, - {file = "numpy-2.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:b3482cb7b3325faa5f6bc179649406058253d91ceda359c104dac0ad320e1391"}, - {file = "numpy-2.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:9491100aba630910489c1d0158034e1c9a6546f0b1340f716d522dc103788e39"}, - {file = "numpy-2.2.2-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:41184c416143defa34cc8eb9d070b0a5ba4f13a0fa96a709e20584638254b317"}, - {file = "numpy-2.2.2-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:7dca87ca328f5ea7dafc907c5ec100d187911f94825f8700caac0b3f4c384b49"}, - {file = "numpy-2.2.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0bc61b307655d1a7f9f4b043628b9f2b721e80839914ede634e3d485913e1fb2"}, - {file = "numpy-2.2.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9fad446ad0bc886855ddf5909cbf8cb5d0faa637aaa6277fb4b19ade134ab3c7"}, - {file = "numpy-2.2.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:149d1113ac15005652e8d0d3f6fd599360e1a708a4f98e43c9c77834a28238cb"}, - {file = "numpy-2.2.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:106397dbbb1896f99e044efc90360d098b3335060375c26aa89c0d8a97c5f648"}, - {file = "numpy-2.2.2-cp313-cp313t-win32.whl", hash = "sha256:0eec19f8af947a61e968d5429f0bd92fec46d92b0008d0a6685b40d6adf8a4f4"}, - {file = "numpy-2.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:97b974d3ba0fb4612b77ed35d7627490e8e3dff56ab41454d9e8b23448940576"}, - {file = "numpy-2.2.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:b0531f0b0e07643eb089df4c509d30d72c9ef40defa53e41363eca8a8cc61495"}, - {file = "numpy-2.2.2-pp310-pypy310_pp73-macosx_14_0_x86_64.whl", hash = "sha256:e9e82dcb3f2ebbc8cb5ce1102d5f1c5ed236bf8a11730fb45ba82e2841ec21df"}, - {file = "numpy-2.2.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e0d4142eb40ca6f94539e4db929410f2a46052a0fe7a2c1c59f6179c39938d2a"}, - {file = "numpy-2.2.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:356ca982c188acbfa6af0d694284d8cf20e95b1c3d0aefa8929376fea9146f60"}, - {file = "numpy-2.2.2.tar.gz", hash = "sha256:ed6906f61834d687738d25988ae117683705636936cc605be0bb208b23df4d8f"}, + {file = "numpy-2.2.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:cbc6472e01952d3d1b2772b720428f8b90e2deea8344e854df22b0618e9cce71"}, + {file = "numpy-2.2.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:cdfe0c22692a30cd830c0755746473ae66c4a8f2e7bd508b35fb3b6a0813d787"}, + {file = "numpy-2.2.3-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:e37242f5324ffd9f7ba5acf96d774f9276aa62a966c0bad8dae692deebec7716"}, + {file = "numpy-2.2.3-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:95172a21038c9b423e68be78fd0be6e1b97674cde269b76fe269a5dfa6fadf0b"}, + {file = "numpy-2.2.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d5b47c440210c5d1d67e1cf434124e0b5c395eee1f5806fdd89b553ed1acd0a3"}, + {file = "numpy-2.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0391ea3622f5c51a2e29708877d56e3d276827ac5447d7f45e9bc4ade8923c52"}, + {file = "numpy-2.2.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f6b3dfc7661f8842babd8ea07e9897fe3d9b69a1d7e5fbb743e4160f9387833b"}, + {file = "numpy-2.2.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:1ad78ce7f18ce4e7df1b2ea4019b5817a2f6a8a16e34ff2775f646adce0a5027"}, + {file = "numpy-2.2.3-cp310-cp310-win32.whl", hash = "sha256:5ebeb7ef54a7be11044c33a17b2624abe4307a75893c001a4800857956b41094"}, + {file = "numpy-2.2.3-cp310-cp310-win_amd64.whl", hash = "sha256:596140185c7fa113563c67c2e894eabe0daea18cf8e33851738c19f70ce86aeb"}, + {file = "numpy-2.2.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:16372619ee728ed67a2a606a614f56d3eabc5b86f8b615c79d01957062826ca8"}, + {file = "numpy-2.2.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5521a06a3148686d9269c53b09f7d399a5725c47bbb5b35747e1cb76326b714b"}, + {file = "numpy-2.2.3-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:7c8dde0ca2f77828815fd1aedfdf52e59071a5bae30dac3b4da2a335c672149a"}, + {file = "numpy-2.2.3-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:77974aba6c1bc26e3c205c2214f0d5b4305bdc719268b93e768ddb17e3fdd636"}, + {file = "numpy-2.2.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d42f9c36d06440e34226e8bd65ff065ca0963aeecada587b937011efa02cdc9d"}, + {file = "numpy-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2712c5179f40af9ddc8f6727f2bd910ea0eb50206daea75f58ddd9fa3f715bb"}, + {file = "numpy-2.2.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c8b0451d2ec95010d1db8ca733afc41f659f425b7f608af569711097fd6014e2"}, + {file = "numpy-2.2.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d9b4a8148c57ecac25a16b0e11798cbe88edf5237b0df99973687dd866f05e1b"}, + {file = "numpy-2.2.3-cp311-cp311-win32.whl", hash = "sha256:1f45315b2dc58d8a3e7754fe4e38b6fce132dab284a92851e41b2b344f6441c5"}, + {file = "numpy-2.2.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f48ba6f6c13e5e49f3d3efb1b51c8193215c42ac82610a04624906a9270be6f"}, + {file = "numpy-2.2.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:12c045f43b1d2915eca6b880a7f4a256f59d62df4f044788c8ba67709412128d"}, + {file = "numpy-2.2.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:87eed225fd415bbae787f93a457af7f5990b92a334e346f72070bf569b9c9c95"}, + {file = "numpy-2.2.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:712a64103d97c404e87d4d7c47fb0c7ff9acccc625ca2002848e0d53288b90ea"}, + {file = "numpy-2.2.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:a5ae282abe60a2db0fd407072aff4599c279bcd6e9a2475500fc35b00a57c532"}, + {file = "numpy-2.2.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5266de33d4c3420973cf9ae3b98b54a2a6d53a559310e3236c4b2b06b9c07d4e"}, + {file = "numpy-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b787adbf04b0db1967798dba8da1af07e387908ed1553a0d6e74c084d1ceafe"}, + {file = "numpy-2.2.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:34c1b7e83f94f3b564b35f480f5652a47007dd91f7c839f404d03279cc8dd021"}, + {file = "numpy-2.2.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:4d8335b5f1b6e2bce120d55fb17064b0262ff29b459e8493d1785c18ae2553b8"}, + {file = "numpy-2.2.3-cp312-cp312-win32.whl", hash = "sha256:4d9828d25fb246bedd31e04c9e75714a4087211ac348cb39c8c5f99dbb6683fe"}, + {file = "numpy-2.2.3-cp312-cp312-win_amd64.whl", hash = "sha256:83807d445817326b4bcdaaaf8e8e9f1753da04341eceec705c001ff342002e5d"}, + {file = "numpy-2.2.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7bfdb06b395385ea9b91bf55c1adf1b297c9fdb531552845ff1d3ea6e40d5aba"}, + {file = "numpy-2.2.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:23c9f4edbf4c065fddb10a4f6e8b6a244342d95966a48820c614891e5059bb50"}, + {file = "numpy-2.2.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:a0c03b6be48aaf92525cccf393265e02773be8fd9551a2f9adbe7db1fa2b60f1"}, + {file = "numpy-2.2.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:2376e317111daa0a6739e50f7ee2a6353f768489102308b0d98fcf4a04f7f3b5"}, + {file = "numpy-2.2.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8fb62fe3d206d72fe1cfe31c4a1106ad2b136fcc1606093aeab314f02930fdf2"}, + {file = "numpy-2.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:52659ad2534427dffcc36aac76bebdd02b67e3b7a619ac67543bc9bfe6b7cdb1"}, + {file = "numpy-2.2.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:1b416af7d0ed3271cad0f0a0d0bee0911ed7eba23e66f8424d9f3dfcdcae1304"}, + {file = "numpy-2.2.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1402da8e0f435991983d0a9708b779f95a8c98c6b18a171b9f1be09005e64d9d"}, + {file = "numpy-2.2.3-cp313-cp313-win32.whl", hash = "sha256:136553f123ee2951bfcfbc264acd34a2fc2f29d7cdf610ce7daf672b6fbaa693"}, + {file = "numpy-2.2.3-cp313-cp313-win_amd64.whl", hash = "sha256:5b732c8beef1d7bc2d9e476dbba20aaff6167bf205ad9aa8d30913859e82884b"}, + {file = "numpy-2.2.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:435e7a933b9fda8126130b046975a968cc2d833b505475e588339e09f7672890"}, + {file = "numpy-2.2.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:7678556eeb0152cbd1522b684dcd215250885993dd00adb93679ec3c0e6e091c"}, + {file = "numpy-2.2.3-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:2e8da03bd561504d9b20e7a12340870dfc206c64ea59b4cfee9fceb95070ee94"}, + {file = "numpy-2.2.3-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:c9aa4496fd0e17e3843399f533d62857cef5900facf93e735ef65aa4bbc90ef0"}, + {file = "numpy-2.2.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f4ca91d61a4bf61b0f2228f24bbfa6a9facd5f8af03759fe2a655c50ae2c6610"}, + {file = "numpy-2.2.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:deaa09cd492e24fd9b15296844c0ad1b3c976da7907e1c1ed3a0ad21dded6f76"}, + {file = "numpy-2.2.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:246535e2f7496b7ac85deffe932896a3577be7af8fb7eebe7146444680297e9a"}, + {file = "numpy-2.2.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:daf43a3d1ea699402c5a850e5313680ac355b4adc9770cd5cfc2940e7861f1bf"}, + {file = "numpy-2.2.3-cp313-cp313t-win32.whl", hash = "sha256:cf802eef1f0134afb81fef94020351be4fe1d6681aadf9c5e862af6602af64ef"}, + {file = "numpy-2.2.3-cp313-cp313t-win_amd64.whl", hash = "sha256:aee2512827ceb6d7f517c8b85aa5d3923afe8fc7a57d028cffcd522f1c6fd082"}, + {file = "numpy-2.2.3-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:3c2ec8a0f51d60f1e9c0c5ab116b7fc104b165ada3f6c58abf881cb2eb16044d"}, + {file = "numpy-2.2.3-pp310-pypy310_pp73-macosx_14_0_x86_64.whl", hash = "sha256:ed2cf9ed4e8ebc3b754d398cba12f24359f018b416c380f577bbae112ca52fc9"}, + {file = "numpy-2.2.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:39261798d208c3095ae4f7bc8eaeb3481ea8c6e03dc48028057d3cbdbdb8937e"}, + {file = "numpy-2.2.3-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:783145835458e60fa97afac25d511d00a1eca94d4a8f3ace9fe2043003c678e4"}, + {file = "numpy-2.2.3.tar.gz", hash = "sha256:dbdc15f0c81611925f382dfa97b3bd0bc2c1ce19d4fe50482cb0ddc12ba30020"}, ] [[package]] @@ -2422,33 +2422,26 @@ parallel = ["dask[dataframe]", "distributed"] [[package]] name = "psutil" -version = "6.1.1" -description = "Cross-platform lib for process and system monitoring in Python." +version = "7.0.0" +description = "Cross-platform lib for process and system monitoring in Python. NOTE: the syntax of this script MUST be kept compatible with Python 2.7." optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7" +python-versions = ">=3.6" groups = ["main"] files = [ - {file = "psutil-6.1.1-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:9ccc4316f24409159897799b83004cb1e24f9819b0dcf9c0b68bdcb6cefee6a8"}, - {file = "psutil-6.1.1-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:ca9609c77ea3b8481ab005da74ed894035936223422dc591d6772b147421f777"}, - {file = "psutil-6.1.1-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:8df0178ba8a9e5bc84fed9cfa61d54601b371fbec5c8eebad27575f1e105c0d4"}, - {file = "psutil-6.1.1-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:1924e659d6c19c647e763e78670a05dbb7feaf44a0e9c94bf9e14dfc6ba50468"}, - {file = "psutil-6.1.1-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:018aeae2af92d943fdf1da6b58665124897cfc94faa2ca92098838f83e1b1bca"}, - {file = "psutil-6.1.1-cp27-none-win32.whl", hash = "sha256:6d4281f5bbca041e2292be3380ec56a9413b790579b8e593b1784499d0005dac"}, - {file = "psutil-6.1.1-cp27-none-win_amd64.whl", hash = "sha256:c777eb75bb33c47377c9af68f30e9f11bc78e0f07fbf907be4a5d70b2fe5f030"}, - {file = "psutil-6.1.1-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:fc0ed7fe2231a444fc219b9c42d0376e0a9a1a72f16c5cfa0f68d19f1a0663e8"}, - {file = "psutil-6.1.1-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:0bdd4eab935276290ad3cb718e9809412895ca6b5b334f5a9111ee6d9aff9377"}, - {file = "psutil-6.1.1-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b6e06c20c05fe95a3d7302d74e7097756d4ba1247975ad6905441ae1b5b66003"}, - {file = "psutil-6.1.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:97f7cb9921fbec4904f522d972f0c0e1f4fabbdd4e0287813b21215074a0f160"}, - {file = "psutil-6.1.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:33431e84fee02bc84ea36d9e2c4a6d395d479c9dd9bba2376c1f6ee8f3a4e0b3"}, - {file = "psutil-6.1.1-cp36-cp36m-win32.whl", hash = "sha256:384636b1a64b47814437d1173be1427a7c83681b17a450bfc309a1953e329603"}, - {file = "psutil-6.1.1-cp36-cp36m-win_amd64.whl", hash = "sha256:8be07491f6ebe1a693f17d4f11e69d0dc1811fa082736500f649f79df7735303"}, - {file = "psutil-6.1.1-cp37-abi3-win32.whl", hash = "sha256:eaa912e0b11848c4d9279a93d7e2783df352b082f40111e078388701fd479e53"}, - {file = "psutil-6.1.1-cp37-abi3-win_amd64.whl", hash = "sha256:f35cfccb065fff93529d2afb4a2e89e363fe63ca1e4a5da22b603a85833c2649"}, - {file = "psutil-6.1.1.tar.gz", hash = "sha256:cf8496728c18f2d0b45198f06895be52f36611711746b7f30c464b422b50e2f5"}, + {file = "psutil-7.0.0-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:101d71dc322e3cffd7cea0650b09b3d08b8e7c4109dd6809fe452dfd00e58b25"}, + {file = "psutil-7.0.0-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:39db632f6bb862eeccf56660871433e111b6ea58f2caea825571951d4b6aa3da"}, + {file = "psutil-7.0.0-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1fcee592b4c6f146991ca55919ea3d1f8926497a713ed7faaf8225e174581e91"}, + {file = "psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b1388a4f6875d7e2aff5c4ca1cc16c545ed41dd8bb596cefea80111db353a34"}, + {file = "psutil-7.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5f098451abc2828f7dc6b58d44b532b22f2088f4999a937557b603ce72b1993"}, + {file = "psutil-7.0.0-cp36-cp36m-win32.whl", hash = "sha256:84df4eb63e16849689f76b1ffcb36db7b8de703d1bc1fe41773db487621b6c17"}, + {file = "psutil-7.0.0-cp36-cp36m-win_amd64.whl", hash = "sha256:1e744154a6580bc968a0195fd25e80432d3afec619daf145b9e5ba16cc1d688e"}, + {file = "psutil-7.0.0-cp37-abi3-win32.whl", hash = "sha256:ba3fcef7523064a6c9da440fc4d6bd07da93ac726b5733c29027d7dc95b39d99"}, + {file = "psutil-7.0.0-cp37-abi3-win_amd64.whl", hash = "sha256:4cf3d4eb1aa9b348dec30105c55cd9b7d4629285735a102beb4441e38db90553"}, + {file = "psutil-7.0.0.tar.gz", hash = "sha256:7be9c3eba38beccb6495ea33afd982a44074b78f28c434a1f51cc07fd315c456"}, ] [package.extras] -dev = ["abi3audit", "black", "check-manifest", "coverage", "packaging", "pylint", "pyperf", "pypinfo", "pytest-cov", "requests", "rstcheck", "ruff", "sphinx", "sphinx_rtd_theme", "toml-sort", "twine", "virtualenv", "vulture", "wheel"] +dev = ["abi3audit", "black (==24.10.0)", "check-manifest", "coverage", "packaging", "pylint", "pyperf", "pypinfo", "pytest", "pytest-cov", "pytest-xdist", "requests", "rstcheck", "ruff", "setuptools", "sphinx", "sphinx_rtd_theme", "toml-sort", "twine", "virtualenv", "vulture", "wheel"] test = ["pytest", "pytest-xdist", "setuptools"] [[package]] @@ -3087,122 +3080,122 @@ type = ["importlib_metadata (>=7.0.2)", "jaraco.develop (>=7.21)", "mypy (==1.14 [[package]] name = "simplejson" -version = "3.19.3" +version = "3.20.1" description = "Simple, fast, extensible JSON encoder/decoder for Python" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.5" groups = ["main"] files = [ - {file = "simplejson-3.19.3-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:f39caec26007a2d0efab6b8b1d74873ede9351962707afab622cc2285dd26ed0"}, - {file = "simplejson-3.19.3-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:83c87706265ae3028e8460d08b05f30254c569772e859e5ba61fe8af2c883468"}, - {file = "simplejson-3.19.3-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:0b5ddd2c7d1d3f4d23224bc8a04bbf1430ae9a8149c05b90f8fc610f7f857a23"}, - {file = "simplejson-3.19.3-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:ad0e0b1ce9bd3edb5cf64b5b5b76eacbfdac8c5367153aeeec8a8b1407f68342"}, - {file = "simplejson-3.19.3-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:93be280fc69a952c76e261036312c20b910e7fa9e234f1d89bdfe3fa34f8a023"}, - {file = "simplejson-3.19.3-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:6d43e24b88c80f997081503f693be832fc90854f278df277dd54f8a4c847ab61"}, - {file = "simplejson-3.19.3-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:2876027ebdd599d730d36464debe84619b0368e9a642ca6e7c601be55aed439e"}, - {file = "simplejson-3.19.3-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:0766ca6222b410e08e0053a0dda3606cafb3973d5d00538307f631bb59743396"}, - {file = "simplejson-3.19.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:50d8b742d74c449c4dcac570d08ce0f21f6a149d2d9cf7652dbf2ba9a1bc729a"}, - {file = "simplejson-3.19.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:dd011fc3c1d88b779645495fdb8189fb318a26981eebcce14109460e062f209b"}, - {file = "simplejson-3.19.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:637c4d4b81825c1f4d651e56210bd35b5604034b192b02d2d8f17f7ce8c18f42"}, - {file = "simplejson-3.19.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2f56eb03bc9e432bb81adc8ecff2486d39feb371abb442964ffb44f6db23b332"}, - {file = "simplejson-3.19.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ef59a53be400c1fad2c914b8d74c9d42384fed5174f9321dd021b7017fd40270"}, - {file = "simplejson-3.19.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:72e8abbc86fcac83629a030888b45fed3a404d54161118be52cb491cd6975d3e"}, - {file = "simplejson-3.19.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f8efb03ca77bd7725dfacc9254df00d73e6f43013cf39bd37ef1a8ed0ebb5165"}, - {file = "simplejson-3.19.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:add8850db04b98507a8b62d248a326ecc8561e6d24336d1ca5c605bbfaab4cad"}, - {file = "simplejson-3.19.3-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:fc3dc9fb413fc34c396f52f4c87de18d0bd5023804afa8ab5cc224deeb6a9900"}, - {file = "simplejson-3.19.3-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:4dfa420bb9225dd33b6efdabde7c6a671b51150b9b1d9c4e5cd74d3b420b3fe1"}, - {file = "simplejson-3.19.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:7b5c472099b39b274dcde27f1113db8d818c9aa3ba8f78cbb8ad04a4c1ac2118"}, - {file = "simplejson-3.19.3-cp310-cp310-win32.whl", hash = "sha256:817abad79241ed4a507b3caf4d3f2be5079f39d35d4c550a061988986bffd2ec"}, - {file = "simplejson-3.19.3-cp310-cp310-win_amd64.whl", hash = "sha256:dd5b9b1783e14803e362a558680d88939e830db2466f3fa22df5c9319f8eea94"}, - {file = "simplejson-3.19.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e88abff510dcff903a18d11c2a75f9964e768d99c8d147839913886144b2065e"}, - {file = "simplejson-3.19.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:934a50a614fb831614db5dbfba35127ee277624dda4d15895c957d2f5d48610c"}, - {file = "simplejson-3.19.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:212fce86a22188b0c7f53533b0f693ea9605c1a0f02c84c475a30616f55a744d"}, - {file = "simplejson-3.19.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d9e8f836688a8fabe6a6b41b334aa550a6823f7b4ac3d3712fc0ad8655be9a8"}, - {file = "simplejson-3.19.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:23228037dc5d41c36666384062904d74409a62f52283d9858fa12f4c22cffad1"}, - {file = "simplejson-3.19.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0791f64fed7d4abad639491f8a6b1ba56d3c604eb94b50f8697359b92d983f36"}, - {file = "simplejson-3.19.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c4f614581b61a26fbbba232a1391f6cee82bc26f2abbb6a0b44a9bba25c56a1c"}, - {file = "simplejson-3.19.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1df0aaf1cb787fdf34484ed4a1f0c545efd8811f6028623290fef1a53694e597"}, - {file = "simplejson-3.19.3-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:951095be8d4451a7182403354c22ec2de3e513e0cc40408b689af08d02611588"}, - {file = "simplejson-3.19.3-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:2a954b30810988feeabde843e3263bf187697e0eb5037396276db3612434049b"}, - {file = "simplejson-3.19.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:c40df31a75de98db2cdfead6074d4449cd009e79f54c1ebe5e5f1f153c68ad20"}, - {file = "simplejson-3.19.3-cp311-cp311-win32.whl", hash = "sha256:7e2a098c21ad8924076a12b6c178965d88a0ad75d1de67e1afa0a66878f277a5"}, - {file = "simplejson-3.19.3-cp311-cp311-win_amd64.whl", hash = "sha256:c9bedebdc5fdad48af8783022bae307746d54006b783007d1d3c38e10872a2c6"}, - {file = "simplejson-3.19.3-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:66a0399e21c2112acacfebf3d832ebe2884f823b1c7e6d1363f2944f1db31a99"}, - {file = "simplejson-3.19.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:6ef9383c5e05f445be60f1735c1816163c874c0b1ede8bb4390aff2ced34f333"}, - {file = "simplejson-3.19.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:42e5acf80d4d971238d4df97811286a044d720693092b20a56d5e56b7dcc5d09"}, - {file = "simplejson-3.19.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d0b0efc7279d768db7c74d3d07f0b5c81280d16ae3fb14e9081dc903e8360771"}, - {file = "simplejson-3.19.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0552eb06e7234da892e1d02365cd2b7b2b1f8233aa5aabdb2981587b7cc92ea0"}, - {file = "simplejson-3.19.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5bf6a3b9a7d7191471b464fe38f684df10eb491ec9ea454003edb45a011ab187"}, - {file = "simplejson-3.19.3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7017329ca8d4dca94ad5e59f496e5fc77630aecfc39df381ffc1d37fb6b25832"}, - {file = "simplejson-3.19.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:67a20641afebf4cfbcff50061f07daad1eace6e7b31d7622b6fa2c40d43900ba"}, - {file = "simplejson-3.19.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:dd6a7dabcc4c32daf601bc45e01b79175dde4b52548becea4f9545b0a4428169"}, - {file = "simplejson-3.19.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:08f9b443a94e72dd02c87098c96886d35790e79e46b24e67accafbf13b73d43b"}, - {file = "simplejson-3.19.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fa97278ae6614346b5ca41a45a911f37a3261b57dbe4a00602048652c862c28b"}, - {file = "simplejson-3.19.3-cp312-cp312-win32.whl", hash = "sha256:ef28c3b328d29b5e2756903aed888960bc5df39b4c2eab157ae212f70ed5bf74"}, - {file = "simplejson-3.19.3-cp312-cp312-win_amd64.whl", hash = "sha256:1e662336db50ad665777e6548b5076329a94a0c3d4a0472971c588b3ef27de3a"}, - {file = "simplejson-3.19.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:0959e6cb62e3994b5a40e31047ff97ef5c4138875fae31659bead691bed55896"}, - {file = "simplejson-3.19.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7a7bfad839c624e139a4863007233a3f194e7c51551081f9789cba52e4da5167"}, - {file = "simplejson-3.19.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:afab2f7f2486a866ff04d6d905e9386ca6a231379181a3838abce1f32fbdcc37"}, - {file = "simplejson-3.19.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d00313681015ac498e1736b304446ee6d1c72c5b287cd196996dad84369998f7"}, - {file = "simplejson-3.19.3-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d936ae682d5b878af9d9eb4d8bb1fdd5e41275c8eb59ceddb0aeed857bb264a2"}, - {file = "simplejson-3.19.3-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:01c6657485393f2e9b8177c77a7634f13ebe70d5e6de150aae1677d91516ce6b"}, - {file = "simplejson-3.19.3-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2a6a750d3c7461b1c47cfc6bba8d9e57a455e7c5f80057d2a82f738040dd1129"}, - {file = "simplejson-3.19.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ea7a4a998c87c5674a27089e022110a1a08a7753f21af3baf09efe9915c23c3c"}, - {file = "simplejson-3.19.3-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:6300680d83a399be2b8f3b0ef7ef90b35d2a29fe6e9c21438097e0938bbc1564"}, - {file = "simplejson-3.19.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:ab69f811a660c362651ae395eba8ce84f84c944cea0df5718ea0ba9d1e4e7252"}, - {file = "simplejson-3.19.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:256e09d0f94d9c3d177d9e95fd27a68c875a4baa2046633df387b86b652f5747"}, - {file = "simplejson-3.19.3-cp313-cp313-win32.whl", hash = "sha256:2c78293470313aefa9cfc5e3f75ca0635721fb016fb1121c1c5b0cb8cc74712a"}, - {file = "simplejson-3.19.3-cp313-cp313-win_amd64.whl", hash = "sha256:3bbcdc438dc1683b35f7a8dc100960c721f922f9ede8127f63bed7dfded4c64c"}, - {file = "simplejson-3.19.3-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:89b35433186e977fa86ff1fd179c1fadff39cfa3afa1648dab0b6ca53153acd9"}, - {file = "simplejson-3.19.3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d43c2d7504eda566c50203cdc9dc043aff6f55f1b7dae0dcd79dfefef9159d1c"}, - {file = "simplejson-3.19.3-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6890ff9cf0bd2e1d487e2a8869ebd620a44684c0a9667fa5ee751d099d5d84c8"}, - {file = "simplejson-3.19.3-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1069143a8fb3905e1bc0696c62be7e3adf812e9f1976ac9ae15b05112ff57cc9"}, - {file = "simplejson-3.19.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb324bb903330cbb35d87cce367a12631cd5720afa06e5b9c906483970946da6"}, - {file = "simplejson-3.19.3-cp36-cp36m-musllinux_1_2_aarch64.whl", hash = "sha256:0a32859d45d7b85fb803bb68f6bee14526991a1190269116c33399fa0daf9bbf"}, - {file = "simplejson-3.19.3-cp36-cp36m-musllinux_1_2_i686.whl", hash = "sha256:23833ee7e791ec968b744dfee2a2d39df7152050051096caf4296506d75608d8"}, - {file = "simplejson-3.19.3-cp36-cp36m-musllinux_1_2_ppc64le.whl", hash = "sha256:d73efb03c5b39249c82488a994f0998f9e4399e3d085209d2120503305ba77a8"}, - {file = "simplejson-3.19.3-cp36-cp36m-musllinux_1_2_x86_64.whl", hash = "sha256:7923878b7a0142d39763ec2dbecff3053c1bedd3653585a8474666e420fe83f5"}, - {file = "simplejson-3.19.3-cp36-cp36m-win32.whl", hash = "sha256:7355c7203353c36d46c4e7b6055293b3d2be097bbc5e2874a2b8a7259f0325dd"}, - {file = "simplejson-3.19.3-cp36-cp36m-win_amd64.whl", hash = "sha256:d1b8b4d6379fe55f471914345fe6171d81a18649dacf3248abfc9c349b4442eb"}, - {file = "simplejson-3.19.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:d36608557b4dcd7a62c29ad4cd7c5a1720bbf7dc942eff9dc42d2c542a5f042d"}, - {file = "simplejson-3.19.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7137e69c6781ecf23afab064be94a277236c9cba31aa48ff1a0ec3995c69171e"}, - {file = "simplejson-3.19.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:76f8c28fe2d426182405b18ddf3001fce47835a557dc15c3d8bdea01c03361da"}, - {file = "simplejson-3.19.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ff7bc1bbdaa3e487c9469128bf39408e91f5573901cb852e03af378d3582c52d"}, - {file = "simplejson-3.19.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a0782cb9bf827f0c488b6aa0f2819f618308a3caf2973cfd792e45d631bec4db"}, - {file = "simplejson-3.19.3-cp37-cp37m-musllinux_1_2_aarch64.whl", hash = "sha256:6fea0716c593dabb4392c4996d4e902a83b2428e6da82938cf28a523a11eb277"}, - {file = "simplejson-3.19.3-cp37-cp37m-musllinux_1_2_i686.whl", hash = "sha256:8f41bb5370b34f63171e65fdb00e12be1d83675cecb23e627df26f4c88dfc021"}, - {file = "simplejson-3.19.3-cp37-cp37m-musllinux_1_2_ppc64le.whl", hash = "sha256:37105d1d708365b91165e1a6e505bdecc88637091348cf4b6adcdcb4f5a5fb8b"}, - {file = "simplejson-3.19.3-cp37-cp37m-musllinux_1_2_x86_64.whl", hash = "sha256:b9198c1f1f8910a3b86b60f4fe2556d9d28d3fefe35bffe6be509a27402e694d"}, - {file = "simplejson-3.19.3-cp37-cp37m-win32.whl", hash = "sha256:bc164f32dd9691e7082ce5df24b4cf8c6c394bbf9bdeeb5d843127cd07ab8ad2"}, - {file = "simplejson-3.19.3-cp37-cp37m-win_amd64.whl", hash = "sha256:1bd41f2cb1a2c57656ceff67b12d005cb255c728265e222027ad73193a04005a"}, - {file = "simplejson-3.19.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:0733ecd95ae03ae718ec74aad818f5af5f3155d596f7b242acbc1621e765e5fb"}, - {file = "simplejson-3.19.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:4a0710d1a5e41c4f829caa1572793dd3130c8d65c2b194c24ff29c4c305c26e0"}, - {file = "simplejson-3.19.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:1a53a07320c5ff574d8b1a89c937ce33608832f166f39dff0581ac43dc979abd"}, - {file = "simplejson-3.19.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1773cabfba66a6337b547e45dafbd471b09487370bcab75bd28f626520410d29"}, - {file = "simplejson-3.19.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7c0104b4b7d2c75ccedbf1d9d5a3bd2daa75e51053935a44ba012e2fd4c43752"}, - {file = "simplejson-3.19.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1c49eeb94b8f09dc8a5843c156a22b8bde6aa1ddc65ca8ddc62dddcc001e6a2d"}, - {file = "simplejson-3.19.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3dc5c1a85ff388e98ea877042daec3d157b6db0d85bac6ba5498034689793e7e"}, - {file = "simplejson-3.19.3-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:49549e3d81ab4a58424405aa545602674d8c35c20e986b42bb8668e782a94bac"}, - {file = "simplejson-3.19.3-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:e1a1452ad5723ff129b081e3c8aa4ba56b8734fee4223355ed7b815a7ece69bc"}, - {file = "simplejson-3.19.3-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:d0d5a63f1768fed7e78cf55712dee81f5a345e34d34224f3507ebf71df2b754d"}, - {file = "simplejson-3.19.3-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:7e062767ac165df9a46963f5735aa4eee0089ec1e48b3f2ec46182754b96f55e"}, - {file = "simplejson-3.19.3-cp38-cp38-win32.whl", hash = "sha256:56134bbafe458a7b21f6fddbf889d36bec6d903718f4430768e3af822f8e27c2"}, - {file = "simplejson-3.19.3-cp38-cp38-win_amd64.whl", hash = "sha256:bcde83a553a96dc7533736c547bddaa35414a2566ab0ecf7d3964fc4bdb84c11"}, - {file = "simplejson-3.19.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:b5587feda2b65a79da985ae6d116daf6428bf7489992badc29fc96d16cd27b05"}, - {file = "simplejson-3.19.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e0d2b00ecbcd1a3c5ea1abc8bb99a26508f758c1759fd01c3be482a3655a176f"}, - {file = "simplejson-3.19.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:32a3ada8f3ea41db35e6d37b86dade03760f804628ec22e4fe775b703d567426"}, - {file = "simplejson-3.19.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6f455672f4738b0f47183c5896e3606cd65c9ddee3805a4d18e8c96aa3f47c84"}, - {file = "simplejson-3.19.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2b737a5fefedb8333fa50b8db3dcc9b1d18fd6c598f89fa7debff8b46bf4e511"}, - {file = "simplejson-3.19.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb47ee773ce67476a960e2db4a0a906680c54f662521550828c0cc57d0099426"}, - {file = "simplejson-3.19.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eed8cd98a7b24861da9d3d937f5fbfb6657350c547528a117297fe49e3960667"}, - {file = "simplejson-3.19.3-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:619756f1dd634b5bdf57d9a3914300526c3b348188a765e45b8b08eabef0c94e"}, - {file = "simplejson-3.19.3-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:dd7230d061e755d60a4d5445bae854afe33444cdb182f3815cff26ac9fb29a15"}, - {file = "simplejson-3.19.3-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:101a3c8392028cd704a93c7cba8926594e775ca3c91e0bee82144e34190903f1"}, - {file = "simplejson-3.19.3-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:1e557712fc79f251673aeb3fad3501d7d4da3a27eff0857af2e1d1afbbcf6685"}, - {file = "simplejson-3.19.3-cp39-cp39-win32.whl", hash = "sha256:0bc5544e3128891bf613b9f71813ee2ec9c11574806f74dd8bb84e5e95bf64a2"}, - {file = "simplejson-3.19.3-cp39-cp39-win_amd64.whl", hash = "sha256:06662392e4913dc8846d6a71a6d5de86db5fba244831abe1dd741d62a4136764"}, - {file = "simplejson-3.19.3-py3-none-any.whl", hash = "sha256:49cc4c7b940d43bd12bf87ec63f28cbc4964fc4e12c031cc8cd01650f43eb94e"}, - {file = "simplejson-3.19.3.tar.gz", hash = "sha256:8e086896c36210ab6050f2f9f095a5f1e03c83fa0e7f296d6cba425411364680"}, + {file = "simplejson-3.20.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:f5272b5866b259fe6c33c4a8c5073bf8b359c3c97b70c298a2f09a69b52c7c41"}, + {file = "simplejson-3.20.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:5c0de368f3052a59a1acf21f8b2dd28686a9e4eba2da7efae7ed9554cb31e7bc"}, + {file = "simplejson-3.20.1-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:0821871404a537fd0e22eba240c74c0467c28af6cc435903eca394cfc74a0497"}, + {file = "simplejson-3.20.1-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:c939a1e576bded47d7d03aa2afc2ae90b928b2cf1d9dc2070ceec51fd463f430"}, + {file = "simplejson-3.20.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:3c4f0a61cdc05550782ca4a2cdb311ea196c2e6be6b24a09bf71360ca8c3ca9b"}, + {file = "simplejson-3.20.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:6c21f5c026ca633cfffcb6bc1fac2e99f65cb2b24657d3bef21aed9916cc3bbf"}, + {file = "simplejson-3.20.1-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:8d23b7f8d6b72319d6d55a0261089ff621ce87e54731c2d3de6a9bf7be5c028c"}, + {file = "simplejson-3.20.1-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:cda5c32a98f392909088111ecec23f2b0d39346ceae1a0fea23ab2d1f84ec21d"}, + {file = "simplejson-3.20.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e580aa65d5f6c3bf41b9b4afe74be5d5ddba9576701c107c772d936ea2b5043a"}, + {file = "simplejson-3.20.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4a586ce4f78cec11f22fe55c5bee0f067e803aab9bad3441afe2181693b5ebb5"}, + {file = "simplejson-3.20.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:74a1608f9e6e8c27a4008d70a54270868306d80ed48c9df7872f9f4b8ac87808"}, + {file = "simplejson-3.20.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:03db8cb64154189a92a7786209f24e391644f3a3fa335658be2df2af1960b8d8"}, + {file = "simplejson-3.20.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:eea7e2b7d858f6fdfbf0fe3cb846d6bd8a45446865bc09960e51f3d473c2271b"}, + {file = "simplejson-3.20.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e66712b17d8425bb7ff8968d4c7c7fd5a2dd7bd63728b28356223c000dd2f91f"}, + {file = "simplejson-3.20.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a2cc4f6486f9f515b62f5831ff1888886619b84fc837de68f26d919ba7bbdcbc"}, + {file = "simplejson-3.20.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:a3c2df555ee4016148fa192e2b9cd9e60bc1d40769366134882685e90aee2a1e"}, + {file = "simplejson-3.20.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:78520f04b7548a5e476b5396c0847e066f1e0a4c0c5e920da1ad65e95f410b11"}, + {file = "simplejson-3.20.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:f4bd49ecde87b0fe9f55cc971449a32832bca9910821f7072bbfae1155eaa007"}, + {file = "simplejson-3.20.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:7eaae2b88eb5da53caaffdfa50e2e12022553949b88c0df4f9a9663609373f72"}, + {file = "simplejson-3.20.1-cp310-cp310-win32.whl", hash = "sha256:e836fb88902799eac8debc2b642300748f4860a197fa3d9ea502112b6bb8e142"}, + {file = "simplejson-3.20.1-cp310-cp310-win_amd64.whl", hash = "sha256:b122a19b552b212fc3b5b96fc5ce92333d4a9ac0a800803e1f17ebb16dac4be5"}, + {file = "simplejson-3.20.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:325b8c107253d3217e89d7b50c71015b5b31e2433e6c5bf38967b2f80630a8ca"}, + {file = "simplejson-3.20.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:88a7baa8211089b9e58d78fbc1b0b322103f3f3d459ff16f03a36cece0d0fcf0"}, + {file = "simplejson-3.20.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:299b1007b8101d50d95bc0db1bf5c38dc372e85b504cf77f596462083ee77e3f"}, + {file = "simplejson-3.20.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:03ec618ed65caab48e81e3ed29586236a8e57daef792f1f3bb59504a7e98cd10"}, + {file = "simplejson-3.20.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cd2cdead1d3197f0ff43373cf4730213420523ba48697743e135e26f3d179f38"}, + {file = "simplejson-3.20.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3466d2839fdc83e1af42e07b90bc8ff361c4e8796cd66722a40ba14e458faddd"}, + {file = "simplejson-3.20.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d492ed8e92f3a9f9be829205f44b1d0a89af6582f0cf43e0d129fa477b93fe0c"}, + {file = "simplejson-3.20.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f924b485537b640dc69434565463fd6fc0c68c65a8c6e01a823dd26c9983cf79"}, + {file = "simplejson-3.20.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:9e8eacf6a3491bf76ea91a8d46726368a6be0eb94993f60b8583550baae9439e"}, + {file = "simplejson-3.20.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:d34d04bf90b4cea7c22d8b19091633908f14a096caa301b24c2f3d85b5068fb8"}, + {file = "simplejson-3.20.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:69dd28d4ce38390ea4aaf212902712c0fd1093dc4c1ff67e09687c3c3e15a749"}, + {file = "simplejson-3.20.1-cp311-cp311-win32.whl", hash = "sha256:dfe7a9da5fd2a3499436cd350f31539e0a6ded5da6b5b3d422df016444d65e43"}, + {file = "simplejson-3.20.1-cp311-cp311-win_amd64.whl", hash = "sha256:896a6c04d7861d507d800da7642479c3547060bf97419d9ef73d98ced8258766"}, + {file = "simplejson-3.20.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:f31c4a3a7ab18467ee73a27f3e59158255d1520f3aad74315edde7a940f1be23"}, + {file = "simplejson-3.20.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:884e6183d16b725e113b83a6fc0230152ab6627d4d36cb05c89c2c5bccfa7bc6"}, + {file = "simplejson-3.20.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:03d7a426e416fe0d3337115f04164cd9427eb4256e843a6b8751cacf70abc832"}, + {file = "simplejson-3.20.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:000602141d0bddfcff60ea6a6e97d5e10c9db6b17fd2d6c66199fa481b6214bb"}, + {file = "simplejson-3.20.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:af8377a8af78226e82e3a4349efdde59ffa421ae88be67e18cef915e4023a595"}, + {file = "simplejson-3.20.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:15c7de4c88ab2fbcb8781a3b982ef883696736134e20b1210bca43fb42ff1acf"}, + {file = "simplejson-3.20.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:455a882ff3f97d810709f7b620007d4e0aca8da71d06fc5c18ba11daf1c4df49"}, + {file = "simplejson-3.20.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:fc0f523ce923e7f38eb67804bc80e0a028c76d7868500aa3f59225574b5d0453"}, + {file = "simplejson-3.20.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:76461ec929282dde4a08061071a47281ad939d0202dc4e63cdd135844e162fbc"}, + {file = "simplejson-3.20.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:ab19c2da8c043607bde4d4ef3a6b633e668a7d2e3d56f40a476a74c5ea71949f"}, + {file = "simplejson-3.20.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b2578bedaedf6294415197b267d4ef678fea336dd78ee2a6d2f4b028e9d07be3"}, + {file = "simplejson-3.20.1-cp312-cp312-win32.whl", hash = "sha256:339f407373325a36b7fd744b688ba5bae0666b5d340ec6d98aebc3014bf3d8ea"}, + {file = "simplejson-3.20.1-cp312-cp312-win_amd64.whl", hash = "sha256:627d4486a1ea7edf1f66bb044ace1ce6b4c1698acd1b05353c97ba4864ea2e17"}, + {file = "simplejson-3.20.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:71e849e7ceb2178344998cbe5ade101f1b329460243c79c27fbfc51c0447a7c3"}, + {file = "simplejson-3.20.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b63fdbab29dc3868d6f009a59797cefaba315fd43cd32ddd998ee1da28e50e29"}, + {file = "simplejson-3.20.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:1190f9a3ce644fd50ec277ac4a98c0517f532cfebdcc4bd975c0979a9f05e1fb"}, + {file = "simplejson-3.20.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c1336ba7bcb722ad487cd265701ff0583c0bb6de638364ca947bb84ecc0015d1"}, + {file = "simplejson-3.20.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e975aac6a5acd8b510eba58d5591e10a03e3d16c1cf8a8624ca177491f7230f0"}, + {file = "simplejson-3.20.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6a6dd11ee282937ad749da6f3b8d87952ad585b26e5edfa10da3ae2536c73078"}, + {file = "simplejson-3.20.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ab980fcc446ab87ea0879edad41a5c28f2d86020014eb035cf5161e8de4474c6"}, + {file = "simplejson-3.20.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f5aee2a4cb6b146bd17333ac623610f069f34e8f31d2f4f0c1a2186e50c594f0"}, + {file = "simplejson-3.20.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:652d8eecbb9a3b6461b21ec7cf11fd0acbab144e45e600c817ecf18e4580b99e"}, + {file = "simplejson-3.20.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:8c09948f1a486a89251ee3a67c9f8c969b379f6ffff1a6064b41fea3bce0a112"}, + {file = "simplejson-3.20.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:cbbd7b215ad4fc6f058b5dd4c26ee5c59f72e031dfda3ac183d7968a99e4ca3a"}, + {file = "simplejson-3.20.1-cp313-cp313-win32.whl", hash = "sha256:ae81e482476eaa088ef9d0120ae5345de924f23962c0c1e20abbdff597631f87"}, + {file = "simplejson-3.20.1-cp313-cp313-win_amd64.whl", hash = "sha256:1b9fd15853b90aec3b1739f4471efbf1ac05066a2c7041bf8db821bb73cd2ddc"}, + {file = "simplejson-3.20.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c7edf279c1376f28bf41e916c015a2a08896597869d57d621f55b6a30c7e1e6d"}, + {file = "simplejson-3.20.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d9202b9de38f12e99a40addd1a8d508a13c77f46d87ab1f9095f154667f4fe81"}, + {file = "simplejson-3.20.1-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:391345b4157cc4e120027e013bd35c45e2c191e2bf48b8913af488cdc3b9243c"}, + {file = "simplejson-3.20.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c6fdcc9debb711ddd2ad6d69f9386a3d9e8e253234bbb30513e0a7caa9510c51"}, + {file = "simplejson-3.20.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9daf8cdc7ee8a9e9f7a3b313ba0a003391857e90d0e82fbcd4d614aa05cb7c3b"}, + {file = "simplejson-3.20.1-cp36-cp36m-musllinux_1_2_aarch64.whl", hash = "sha256:c02f4868a3a46ffe284a51a88d134dc96feff6079a7115164885331a1ba8ed9f"}, + {file = "simplejson-3.20.1-cp36-cp36m-musllinux_1_2_i686.whl", hash = "sha256:3d7310172d5340febd258cb147f46aae30ad57c445f4d7e1ae8461c10aaf43b0"}, + {file = "simplejson-3.20.1-cp36-cp36m-musllinux_1_2_ppc64le.whl", hash = "sha256:4762e05577955312a4c6802f58dd02e040cc79ae59cda510aa1564d84449c102"}, + {file = "simplejson-3.20.1-cp36-cp36m-musllinux_1_2_x86_64.whl", hash = "sha256:8bb98fdf318c05aefd08a92583bd6ee148e93c6756fb1befb7b2d5f27824be78"}, + {file = "simplejson-3.20.1-cp36-cp36m-win32.whl", hash = "sha256:9a74e70818818981294b8e6956ce3496c5e1bd4726ac864fae473197671f7b85"}, + {file = "simplejson-3.20.1-cp36-cp36m-win_amd64.whl", hash = "sha256:e041add470e8f8535cc05509485eb7205729a84441f03b25cde80ad48823792e"}, + {file = "simplejson-3.20.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:7e9d73f46119240e4f4f07868241749d67d09873f40cb968d639aa9ccc488b86"}, + {file = "simplejson-3.20.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ae6e637dc24f8fee332ed23dd070e81394138e42cd4fd9d0923e5045ba122e27"}, + {file = "simplejson-3.20.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:efd3bc6c6b17e3d4620eb6be5196f0d1c08b6ce7c3101fa8e292b79e0908944b"}, + {file = "simplejson-3.20.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:87fc623d457173a0213bc9ca4e346b83c9d443f63ed5cca847fb0cacea3cfc95"}, + {file = "simplejson-3.20.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec6a1e0a7aff76f0e008bebfa950188b9c50b58c1885d898145f48fc8e189a56"}, + {file = "simplejson-3.20.1-cp37-cp37m-musllinux_1_2_aarch64.whl", hash = "sha256:9c079606f461a6e950099167e21e13985147c8a24be8eea66c9ad68f73fad744"}, + {file = "simplejson-3.20.1-cp37-cp37m-musllinux_1_2_i686.whl", hash = "sha256:9faceb68fba27ef17eda306e4cd97a7b4b14fdadca5fbb15790ba8b26ebeec0c"}, + {file = "simplejson-3.20.1-cp37-cp37m-musllinux_1_2_ppc64le.whl", hash = "sha256:7ceed598e4bacbf5133fe7a418f7991bb2df0683f3ac11fbf9e36a2bc7aa4b85"}, + {file = "simplejson-3.20.1-cp37-cp37m-musllinux_1_2_x86_64.whl", hash = "sha256:ede69c765e9901861ad7c6139023b7b7d5807c48a2539d817b4ab40018002d5f"}, + {file = "simplejson-3.20.1-cp37-cp37m-win32.whl", hash = "sha256:d8853c269a4c5146ddca4aa7c70e631795e9d11239d5fedb1c6bbc91ffdebcac"}, + {file = "simplejson-3.20.1-cp37-cp37m-win_amd64.whl", hash = "sha256:ed6a17fd397f0e2b3ad668fc9e19253ed2e3875ad9086bd7f795c29a3223f4a1"}, + {file = "simplejson-3.20.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:7551682b60bba3a9e2780742e101cf0a64250e76de7d09b1c4b0c8a7c7cc6834"}, + {file = "simplejson-3.20.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:bd9577ec1c8c3a43040e3787711e4c257c70035b7551a21854b5dec88dad09e1"}, + {file = "simplejson-3.20.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4a8e197e4cf6d42c2c57e7c52cd7c1e7b3e37c5911df1314fb393320131e2101"}, + {file = "simplejson-3.20.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6bd09c8c75666e7f62a33d2f1fb57f81da1fcbb19a9fe7d7910b5756e1dd6048"}, + {file = "simplejson-3.20.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1bd6bfe5678d73fbd5328eea6a35216503796428fc47f1237432522febaf3a0c"}, + {file = "simplejson-3.20.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:71b75d448fd0ceb2e7c90e72bb82c41f8462550d48529980bc0bab1d2495bfbb"}, + {file = "simplejson-3.20.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a7e15b716d09f318c8cda3e20f82fae81684ce3d3acd1d7770fa3007df1769de"}, + {file = "simplejson-3.20.1-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:3e7963197d958fcf9e98b212b80977d56c022384621ff463d98afc3b6b1ce7e8"}, + {file = "simplejson-3.20.1-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:2e671dd62051129185d3a9a92c60101f56cbc174854a1a3dfb69114ebd9e1699"}, + {file = "simplejson-3.20.1-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:e25b2a0c396f3b84fb89573d07b0e1846ed563eb364f2ea8230ca92b8a8cb786"}, + {file = "simplejson-3.20.1-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:489c3a43116082bad56795215786313832ba3991cca1f55838e52a553f451ab6"}, + {file = "simplejson-3.20.1-cp38-cp38-win32.whl", hash = "sha256:4a92e948bad8df7fa900ba2ba0667a98303f3db206cbaac574935c332838208e"}, + {file = "simplejson-3.20.1-cp38-cp38-win_amd64.whl", hash = "sha256:49d059b8363327eee3c94799dd96782314b2dbd7bcc293b4ad48db69d6f4d362"}, + {file = "simplejson-3.20.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:a8011f1dd1d676befcd4d675ebdbfdbbefd3bf350052b956ba8c699fca7d8cef"}, + {file = "simplejson-3.20.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e91703a4c5fec53e36875ae426ad785f4120bd1d93b65bed4752eeccd1789e0c"}, + {file = "simplejson-3.20.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e39eaa57c7757daa25bcd21f976c46be443b73dd6c3da47fe5ce7b7048ccefe2"}, + {file = "simplejson-3.20.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ceab2ce2acdc7fbaa433a93006758db6ba9a659e80c4faa13b80b9d2318e9b17"}, + {file = "simplejson-3.20.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6d4f320c33277a5b715db5bf5b10dae10c19076bd6d66c2843e04bd12d1f1ea5"}, + {file = "simplejson-3.20.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2b6436c48e64378fa844d8c9e58a5ed0352bbcfd4028369a9b46679b7ab79d2d"}, + {file = "simplejson-3.20.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e18345c8dda5d699be8166b61f9d80aaee4545b709f1363f60813dc032dac53"}, + {file = "simplejson-3.20.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:90b573693d1526bed576f6817e2a492eaaef68f088b57d7a9e83d122bbb49e51"}, + {file = "simplejson-3.20.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:272cc767826e924a6bd369ea3dbf18e166ded29059c7a4d64d21a9a22424b5b5"}, + {file = "simplejson-3.20.1-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:51b41f284d603c4380732d7d619f8b34bd04bc4aa0ed0ed5f4ffd0539b14da44"}, + {file = "simplejson-3.20.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:6e6697a3067d281f01de0fe96fc7cba4ea870d96d7deb7bfcf85186d74456503"}, + {file = "simplejson-3.20.1-cp39-cp39-win32.whl", hash = "sha256:6dd3a1d5aca87bf947f3339b0f8e8e329f1badf548bdbff37fac63c17936da8e"}, + {file = "simplejson-3.20.1-cp39-cp39-win_amd64.whl", hash = "sha256:463f1fca8fbf23d088e5850fdd0dd4d5faea8900a9f9680270bd98fd649814ca"}, + {file = "simplejson-3.20.1-py3-none-any.whl", hash = "sha256:8a6c1bbac39fa4a79f83cbf1df6ccd8ff7069582a9fd8db1e52cea073bc2c697"}, + {file = "simplejson-3.20.1.tar.gz", hash = "sha256:e64139b4ec4f1f24c142ff7dcafe55a22b811a74d86d66560c8815687143037d"}, ] [[package]] diff --git a/回测/backtrader.ipynb b/回测/backtrader.ipynb index 1b622b7..f70f426 100644 --- a/回测/backtrader.ipynb +++ b/回测/backtrader.ipynb @@ -3,8 +3,8 @@ { "metadata": { "ExecuteTime": { - "end_time": "2025-02-13T09:38:30.408310Z", - "start_time": "2025-02-13T09:38:30.328797Z" + "end_time": "2025-02-16T08:09:25.176397Z", + "start_time": "2025-02-16T08:09:25.125996Z" } }, "cell_type": "code", @@ -12,49 +12,596 @@ "import backtrader as bt\n", "import pandas as pd\n", "\n", - "# source_df = \\\n", - "# pd.read_csv(\"C:\\\\Users\\\\lanyuanxiaoyao\\\\SynologyDrive\\\\data\\\\Tushare\\\\日线行情 1990-2024\\\\分组行情\\\\000001.SZ.csv\")[\n", - "source_df = pd.read_csv(\"/Users/lanyuanxiaoyao/SynologyDrive/data/Tushare/日线行情 1990-2024/分组行情/600519.SH.csv\") \\\n", - " [[\"trade_date\", \"vol\", \"open_qfq\", \"close_qfq\", \"high_qfq\", \"low_qfq\", \"macd\", \"macd_dif\", \"macd_dea\"]]\n", + "source_df = \\\n", + " pd.read_csv(\"C:\\\\Users\\\\lanyuanxiaoyao\\\\SynologyDrive\\\\data\\\\Tushare\\\\日线行情 1990-2024\\\\分组行情\\\\000001.SZ.csv\") \\\n", + " [[\"trade_date\", \"vol\", \"open_qfq\", \"close_qfq\", \"high_qfq\", \"low_qfq\", \"macd\", \"macd_dif\", \"macd_dea\"]]\n", + "# source_df = pd.read_csv(\"/Users/lanyuanxiaoyao/SynologyDrive/data/Tushare/日线行情 1990-2024/分组行情/600519.SH.csv\") \\\n", "df = pd.DataFrame()\n", "df[[\"date\", \"volume\", \"open\", \"close\", \"high\", \"low\", \"macd\", \"macd_dif\", \"macd_dea\"]] = \\\n", " source_df[[\"trade_date\", \"vol\", \"open_qfq\", \"close_qfq\", \"high_qfq\", \"low_qfq\", \"macd\", \"macd_dif\", \"macd_dea\"]]\n", "df[\"datetime\"] = pd.to_datetime(df[\"date\"], format=\"%Y%m%d\")\n", "df[\"datetime_text\"] = df[\"datetime\"].apply(lambda x: x.strftime(\"%Y%m%d\"))\n", - "df = df[df[\"datetime\"].dt.year > 2010]\n", + "df = df[df[\"datetime\"].dt.year > 2023]\n", "df.sort_values(by='datetime', inplace=True)\n", "df.set_index('datetime', inplace=True)\n", - "# df" + "df" ], "id": "157a87ab33037c6e", - "outputs": [], - "execution_count": 46 - }, - { - "metadata": {}, - "cell_type": "code", - "outputs": [], - "execution_count": null, - "source": "", - "id": "12fde7bfaddbdf4" + "outputs": [ + { + "data": { + "text/plain": [ + " date volume open close high low \\\n", + "datetime \n", + "2024-01-02 20240102 1158366.45 8.57646 8.41205 8.60386 8.41205 \n", + "2024-01-03 20240103 733610.31 8.39379 8.40292 8.42119 8.35725 \n", + "2024-01-04 20240104 864193.99 8.39379 8.32072 8.39379 8.29332 \n", + "2024-01-05 20240105 1991622.16 8.31158 8.46686 8.62213 8.28418 \n", + "2024-01-08 20240108 1121156.19 8.43032 8.35725 8.49426 8.32072 \n", + "... ... ... ... ... ... ... \n", + "2024-12-25 20241225 1475282.94 11.86000 11.92000 12.02000 11.84000 \n", + "2024-12-26 20241226 1000074.70 11.92000 11.86000 11.93000 11.78000 \n", + "2024-12-27 20241227 1290012.28 11.87000 11.83000 11.90000 11.66000 \n", + "2024-12-30 20241230 1351846.36 11.78000 11.95000 11.97000 11.78000 \n", + "2024-12-31 20241231 1475367.33 11.93000 11.70000 11.99000 11.70000 \n", + "\n", + " macd macd_dif macd_dea datetime_text \n", + "datetime \n", + "2024-01-02 0.107 -0.162 -0.216 20240102 \n", + "2024-01-03 0.098 -0.155 -0.203 20240103 \n", + "2024-01-04 0.080 -0.153 -0.193 20240104 \n", + "2024-01-05 0.087 -0.139 -0.183 20240105 \n", + "2024-01-08 0.076 -0.135 -0.173 20240108 \n", + "... ... ... ... ... \n", + "2024-12-25 0.050 0.080 0.055 20241225 \n", + "2024-12-26 0.051 0.087 0.062 20241226 \n", + "2024-12-27 0.044 0.089 0.067 20241227 \n", + "2024-12-30 0.052 0.100 0.074 20241230 \n", + "2024-12-31 0.020 0.086 0.076 20241231 \n", + "\n", + "[242 rows x 10 columns]" + ], + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
datevolumeopenclosehighlowmacdmacd_difmacd_deadatetime_text
datetime
2024-01-02202401021158366.458.576468.412058.603868.412050.107-0.162-0.21620240102
2024-01-0320240103733610.318.393798.402928.421198.357250.098-0.155-0.20320240103
2024-01-0420240104864193.998.393798.320728.393798.293320.080-0.153-0.19320240104
2024-01-05202401051991622.168.311588.466868.622138.284180.087-0.139-0.18320240105
2024-01-08202401081121156.198.430328.357258.494268.320720.076-0.135-0.17320240108
.................................
2024-12-25202412251475282.9411.8600011.9200012.0200011.840000.0500.0800.05520241225
2024-12-26202412261000074.7011.9200011.8600011.9300011.780000.0510.0870.06220241226
2024-12-27202412271290012.2811.8700011.8300011.9000011.660000.0440.0890.06720241227
2024-12-30202412301351846.3611.7800011.9500011.9700011.780000.0520.1000.07420241230
2024-12-31202412311475367.3311.9300011.7000011.9900011.700000.0200.0860.07620241231
\n", + "

242 rows × 10 columns

\n", + "
" + ] + }, + "execution_count": 158, + "metadata": {}, + "output_type": "execute_result" + } + ], + "execution_count": 158 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-02-13T09:36:52.737860Z", - "start_time": "2025-02-13T09:36:51.459915Z" + "end_time": "2025-02-16T08:09:25.209704Z", + "start_time": "2025-02-16T08:09:25.199080Z" } }, "cell_type": "code", "source": [ - "import calendar\n", + "import talib\n", "\n", + "# 指标计算\n", + "close_prices = df['close'].values\n", + "\n", + "# 计算MACD\n", + "dif, dea, hist = talib.MACD(close_prices, fastperiod=12, slowperiod=26, signalperiod=9)\n", + "\n", + "# 将结果添加到数据框\n", + "df['dif'] = dif\n", + "df['dif'] = df['dif'].fillna(0)\n", + "df['dea'] = dea\n", + "df['dea'] = df['dea'].fillna(0)\n", + "df['hist'] = hist\n", + "df['hist'] = df['hist'].fillna(0)\n", + "\n", + "df" + ], + "id": "12fde7bfaddbdf4", + "outputs": [ + { + "data": { + "text/plain": [ + " date volume open close high low \\\n", + "datetime \n", + "2024-01-02 20240102 1158366.45 8.57646 8.41205 8.60386 8.41205 \n", + "2024-01-03 20240103 733610.31 8.39379 8.40292 8.42119 8.35725 \n", + "2024-01-04 20240104 864193.99 8.39379 8.32072 8.39379 8.29332 \n", + "2024-01-05 20240105 1991622.16 8.31158 8.46686 8.62213 8.28418 \n", + "2024-01-08 20240108 1121156.19 8.43032 8.35725 8.49426 8.32072 \n", + "... ... ... ... ... ... ... \n", + "2024-12-25 20241225 1475282.94 11.86000 11.92000 12.02000 11.84000 \n", + "2024-12-26 20241226 1000074.70 11.92000 11.86000 11.93000 11.78000 \n", + "2024-12-27 20241227 1290012.28 11.87000 11.83000 11.90000 11.66000 \n", + "2024-12-30 20241230 1351846.36 11.78000 11.95000 11.97000 11.78000 \n", + "2024-12-31 20241231 1475367.33 11.93000 11.70000 11.99000 11.70000 \n", + "\n", + " macd macd_dif macd_dea datetime_text dif dea \\\n", + "datetime \n", + "2024-01-02 0.107 -0.162 -0.216 20240102 0.000000 0.000000 \n", + "2024-01-03 0.098 -0.155 -0.203 20240103 0.000000 0.000000 \n", + "2024-01-04 0.080 -0.153 -0.193 20240104 0.000000 0.000000 \n", + "2024-01-05 0.087 -0.139 -0.183 20240105 0.000000 0.000000 \n", + "2024-01-08 0.076 -0.135 -0.173 20240108 0.000000 0.000000 \n", + "... ... ... ... ... ... ... \n", + "2024-12-25 0.050 0.080 0.055 20241225 0.080475 0.055293 \n", + "2024-12-26 0.051 0.087 0.062 20241226 0.087385 0.061712 \n", + "2024-12-27 0.044 0.089 0.067 20241227 0.089411 0.067251 \n", + "2024-12-30 0.052 0.100 0.074 20241230 0.099551 0.073711 \n", + "2024-12-31 0.020 0.086 0.076 20241231 0.086419 0.076253 \n", + "\n", + " hist \n", + "datetime \n", + "2024-01-02 0.000000 \n", + "2024-01-03 0.000000 \n", + "2024-01-04 0.000000 \n", + "2024-01-05 0.000000 \n", + "2024-01-08 0.000000 \n", + "... ... \n", + "2024-12-25 0.025182 \n", + "2024-12-26 0.025674 \n", + "2024-12-27 0.022159 \n", + "2024-12-30 0.025840 \n", + "2024-12-31 0.010166 \n", + "\n", + "[242 rows x 13 columns]" + ], + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
datevolumeopenclosehighlowmacdmacd_difmacd_deadatetime_textdifdeahist
datetime
2024-01-02202401021158366.458.576468.412058.603868.412050.107-0.162-0.216202401020.0000000.0000000.000000
2024-01-0320240103733610.318.393798.402928.421198.357250.098-0.155-0.203202401030.0000000.0000000.000000
2024-01-0420240104864193.998.393798.320728.393798.293320.080-0.153-0.193202401040.0000000.0000000.000000
2024-01-05202401051991622.168.311588.466868.622138.284180.087-0.139-0.183202401050.0000000.0000000.000000
2024-01-08202401081121156.198.430328.357258.494268.320720.076-0.135-0.173202401080.0000000.0000000.000000
..........................................
2024-12-25202412251475282.9411.8600011.9200012.0200011.840000.0500.0800.055202412250.0804750.0552930.025182
2024-12-26202412261000074.7011.9200011.8600011.9300011.780000.0510.0870.062202412260.0873850.0617120.025674
2024-12-27202412271290012.2811.8700011.8300011.9000011.660000.0440.0890.067202412270.0894110.0672510.022159
2024-12-30202412301351846.3611.7800011.9500011.9700011.780000.0520.1000.074202412300.0995510.0737110.025840
2024-12-31202412311475367.3311.9300011.7000011.9900011.700000.0200.0860.076202412310.0864190.0762530.010166
\n", + "

242 rows × 13 columns

\n", + "
" + ] + }, + "execution_count": 159, + "metadata": {}, + "output_type": "execute_result" + } + ], + "execution_count": 159 + }, + { + "metadata": { + "ExecuteTime": { + "end_time": "2025-02-16T08:09:25.361947Z", + "start_time": "2025-02-16T08:09:25.270309Z" + } + }, + "cell_type": "code", + "source": [ "cerebro = bt.Cerebro()\n", "\n", - "data_feed = bt.feeds.PandasData(dataname=df)\n", - "cerebro.adddata(data_feed)\n", + "\n", + "class EnhancePandasData(bt.feeds.PandasData):\n", + " lines = (\"dif\", \"dea\", \"hist\")\n", + " params = (\n", + " (\"dif\", -1),\n", + " (\"dea\", -1),\n", + " (\"hist\", -1),\n", + " )\n", + "\n", + "\n", + "cerebro.adddata(EnhancePandasData(dataname=df))\n", "# 初始资金 100,000,000\n", - "cerebro.broker.setcash(100000000.0)\n", + "cerebro.broker.setcash(10000.0)\n", "# 佣金,双边各 0.0003\n", "cerebro.broker.setcommission(commission=0.0003)\n", "# 滑点:双边各 0.0001\n", @@ -68,12 +615,20 @@ "# 创建策略类\n", "class TestStrategy(bt.Strategy):\n", " def next(self):\n", - " curr_date = self.datetime.date()\n", - " _, last_day_month = calendar.monthrange(curr_date.year, curr_date.month)\n", - " if curr_date.day == 1:\n", - " self.buy()\n", - " elif curr_date.day == last_day_month:\n", - " self.sell()\n", + " now_dif = self.data.dif[0]\n", + " now_dea = self.data.dea[0]\n", + " now_hist = self.data.hist[0]\n", + "\n", + " pre_dif = self.data.dif[-1]\n", + " pre_dea = self.data.dea[-1]\n", + " pre_hist = self.data.hist[-1]\n", + "\n", + " hold = self.getposition(self.data).size\n", + "\n", + " if now_dif > now_dea and pre_dif <= pre_dea and now_dif > 0 and now_dea > 0:\n", + " self.buy(size=100)\n", + " elif now_dif < now_dea and pre_dif >= pre_dea and hold > 0:\n", + " self.sell(size=hold)\n", "\n", " def log(self, txt, dt=None):\n", " \"\"\"\n", @@ -113,10 +668,10 @@ "name": "stdout", "output_type": "stream", "text": [ - "初始资金: 100000000.00\n", - "最终资金: 99982677.31\n", - "夏普比率: -249.45833106775427\n", - "最大回撤: 0.03266399519865984\n" + "初始资金: 10000.00\n", + "最终资金: 10015.80\n", + "夏普比率: None\n", + "最大回撤: 0.48930011171324134\n" ] }, { @@ -135,7 +690,7 @@ "" ], "text/html": [ - "
" + "
" ] }, "metadata": {}, @@ -147,12 +702,12 @@ "[[
]]" ] }, - "execution_count": 45, + "execution_count": 160, "metadata": {}, "output_type": "execute_result" } ], - "execution_count": 45 + "execution_count": 160 } ], "metadata": { diff --git a/行情监控/Holdle策略.ipynb b/行情监控/Holdle策略.ipynb index 7bbd880..b2b467f 100644 --- a/行情监控/Holdle策略.ipynb +++ b/行情监控/Holdle策略.ipynb @@ -3,29 +3,29 @@ { "metadata": { "ExecuteTime": { - "end_time": "2025-02-11T02:51:57.789440Z", - "start_time": "2025-02-11T02:51:57.208223Z" + "end_time": "2025-02-16T05:33:10.625500Z", + "start_time": "2025-02-16T05:33:10.622501Z" } }, "cell_type": "code", "source": "import pandas as pd", "id": "6a10e07f5f498bc6", "outputs": [], - "execution_count": 1 + "execution_count": 3 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-02-11T03:14:30.972240Z", - "start_time": "2025-02-11T03:14:30.857326Z" + "end_time": "2025-02-16T05:33:10.692963Z", + "start_time": "2025-02-16T05:33:10.635906Z" } }, "cell_type": "code", "source": [ - "# source_df = \\\n", - "# pd.read_csv(\"C:\\\\Users\\\\lanyuanxiaoyao\\\\SynologyDrive\\\\data\\\\Tushare\\\\日线行情 1990-2024\\\\分组行情\\\\000001.SZ.csv\") \\\n", - "source_df = pd.read_csv(\"/Users/lanyuanxiaoyao/SynologyDrive/data/Tushare/日线行情 1990-2024/分组行情/600519.SH.csv\") \\\n", + "source_df = \\\n", + " pd.read_csv(\"C:\\\\Users\\\\lanyuanxiaoyao\\\\SynologyDrive\\\\data\\\\Tushare\\\\日线行情 1990-2024\\\\分组行情\\\\000001.SZ.csv\") \\\n", " [[\"trade_date\", \"vol\", \"open_qfq\", \"close_qfq\", \"high_qfq\", \"low_qfq\", \"macd\", \"macd_dif\", \"macd_dea\"]]\n", + "# source_df = pd.read_csv(\"/Users/lanyuanxiaoyao/SynologyDrive/data/Tushare/日线行情 1990-2024/分组行情/600519.SH.csv\") \\\n", "df = pd.DataFrame()\n", "df[[\"date\", \"volume\", \"open\", \"close\", \"high\", \"low\", \"macd\", \"macd_dif\", \"macd_dea\"]] = \\\n", " source_df[[\"trade_date\", \"vol\", \"open_qfq\", \"close_qfq\", \"high_qfq\", \"low_qfq\", \"macd\", \"macd_dif\", \"macd_dea\"]]\n", @@ -39,33 +39,33 @@ { "data": { "text/plain": [ - " date volume open close high low \\\n", - "2187 20010827 406318.00 4.23675 4.36443 4.63820 4.03295 \n", - "2188 20010828 129647.79 4.29568 4.52525 4.54244 4.24902 \n", - "2189 20010829 53252.75 4.53999 4.46632 4.54244 4.43195 \n", - "2190 20010830 48013.06 4.45405 4.55472 4.60505 4.41967 \n", - "2191 20010831 23231.48 4.56086 4.54367 4.61856 4.51789 \n", - "... ... ... ... ... ... ... \n", - "2182 20241225 17123.39 1538.80000 1530.00000 1538.80000 1526.10000 \n", - "2183 20241226 18286.51 1534.00000 1527.79000 1538.78000 1523.00000 \n", - "2184 20241227 20759.32 1528.90000 1528.97000 1536.00000 1519.50000 \n", - "2185 20241230 25129.82 1533.97000 1525.00000 1543.96000 1525.00000 \n", - "2186 20241231 39354.45 1525.40000 1524.00000 1545.00000 1522.01000 \n", + " date volume open close high low macd \\\n", + "0 19910404 3.00 0.38158 0.38158 0.38158 0.38158 0.000 \n", + "1 19910405 2.00 0.37970 0.37970 0.37970 0.37970 0.000 \n", + "2 19910408 2.00 0.37595 0.37595 0.37595 0.37595 -0.001 \n", + "3 19910409 4.00 0.37407 0.37407 0.37407 0.37407 -0.001 \n", + "4 19910410 15.00 0.37219 0.37219 0.37219 0.37219 -0.002 \n", + "... ... ... ... ... ... ... ... \n", + "3813 20241225 1475282.94 11.86000 11.92000 12.02000 11.84000 0.050 \n", + "3814 20241226 1000074.70 11.92000 11.86000 11.93000 11.78000 0.051 \n", + "3815 20241227 1290012.28 11.87000 11.83000 11.90000 11.66000 0.044 \n", + "3816 20241230 1351846.36 11.78000 11.95000 11.97000 11.78000 0.052 \n", + "3817 20241231 1475367.33 11.93000 11.70000 11.99000 11.70000 0.020 \n", "\n", - " macd macd_dif macd_dea datetime datetime_text \n", - "2187 0.000 0.000 0.000 2001-08-27 20010827 \n", - "2188 0.021 0.013 0.003 2001-08-28 20010828 \n", - "2189 0.025 0.018 0.006 2001-08-29 20010829 \n", - "2190 0.037 0.029 0.010 2001-08-30 20010830 \n", - "2191 0.042 0.036 0.016 2001-08-31 20010831 \n", - "... ... ... ... ... ... \n", - "2182 5.430 5.063 2.348 2024-12-25 20241225 \n", - "2183 4.192 4.968 2.872 2024-12-26 20241226 \n", - "2184 3.295 4.931 3.283 2024-12-27 20241227 \n", - "2185 1.993 4.529 3.533 2024-12-30 20241230 \n", - "2186 0.880 4.083 3.643 2024-12-31 20241231 \n", + " macd_dif macd_dea datetime datetime_text \n", + "0 0.000 0.000 1991-04-04 19910404 \n", + "1 0.000 0.000 1991-04-05 19910405 \n", + "2 -0.001 0.000 1991-04-08 19910408 \n", + "3 -0.001 0.000 1991-04-09 19910409 \n", + "4 -0.002 -0.001 1991-04-10 19910410 \n", + "... ... ... ... ... \n", + "3813 0.080 0.055 2024-12-25 20241225 \n", + "3814 0.087 0.062 2024-12-26 20241226 \n", + "3815 0.089 0.067 2024-12-27 20241227 \n", + "3816 0.100 0.074 2024-12-30 20241230 \n", + "3817 0.086 0.076 2024-12-31 20241231 \n", "\n", - "[5591 rows x 11 columns]" + "[8022 rows x 11 columns]" ], "text/html": [ "
\n", @@ -101,74 +101,74 @@ " \n", " \n", " \n", - " 2187\n", - " 20010827\n", - " 406318.00\n", - " 4.23675\n", - " 4.36443\n", - " 4.63820\n", - " 4.03295\n", + " 0\n", + " 19910404\n", + " 3.00\n", + " 0.38158\n", + " 0.38158\n", + " 0.38158\n", + " 0.38158\n", " 0.000\n", " 0.000\n", " 0.000\n", - " 2001-08-27\n", - " 20010827\n", + " 1991-04-04\n", + " 19910404\n", " \n", " \n", - " 2188\n", - " 20010828\n", - " 129647.79\n", - " 4.29568\n", - " 4.52525\n", - " 4.54244\n", - " 4.24902\n", - " 0.021\n", - " 0.013\n", - " 0.003\n", - " 2001-08-28\n", - " 20010828\n", + " 1\n", + " 19910405\n", + " 2.00\n", + " 0.37970\n", + " 0.37970\n", + " 0.37970\n", + " 0.37970\n", + " 0.000\n", + " 0.000\n", + " 0.000\n", + " 1991-04-05\n", + " 19910405\n", " \n", " \n", - " 2189\n", - " 20010829\n", - " 53252.75\n", - " 4.53999\n", - " 4.46632\n", - " 4.54244\n", - " 4.43195\n", - " 0.025\n", - " 0.018\n", - " 0.006\n", - " 2001-08-29\n", - " 20010829\n", + " 2\n", + " 19910408\n", + " 2.00\n", + " 0.37595\n", + " 0.37595\n", + " 0.37595\n", + " 0.37595\n", + " -0.001\n", + " -0.001\n", + " 0.000\n", + " 1991-04-08\n", + " 19910408\n", " \n", " \n", - " 2190\n", - " 20010830\n", - " 48013.06\n", - " 4.45405\n", - " 4.55472\n", - " 4.60505\n", - " 4.41967\n", - " 0.037\n", - " 0.029\n", - " 0.010\n", - " 2001-08-30\n", - " 20010830\n", + " 3\n", + " 19910409\n", + " 4.00\n", + " 0.37407\n", + " 0.37407\n", + " 0.37407\n", + " 0.37407\n", + " -0.001\n", + " -0.001\n", + " 0.000\n", + " 1991-04-09\n", + " 19910409\n", " \n", " \n", - " 2191\n", - " 20010831\n", - " 23231.48\n", - " 4.56086\n", - " 4.54367\n", - " 4.61856\n", - " 4.51789\n", - " 0.042\n", - " 0.036\n", - " 0.016\n", - " 2001-08-31\n", - " 20010831\n", + " 4\n", + " 19910410\n", + " 15.00\n", + " 0.37219\n", + " 0.37219\n", + " 0.37219\n", + " 0.37219\n", + " -0.002\n", + " -0.002\n", + " -0.001\n", + " 1991-04-10\n", + " 19910410\n", " \n", " \n", " ...\n", @@ -185,93 +185,93 @@ " ...\n", " \n", " \n", - " 2182\n", + " 3813\n", " 20241225\n", - " 17123.39\n", - " 1538.80000\n", - " 1530.00000\n", - " 1538.80000\n", - " 1526.10000\n", - " 5.430\n", - " 5.063\n", - " 2.348\n", + " 1475282.94\n", + " 11.86000\n", + " 11.92000\n", + " 12.02000\n", + " 11.84000\n", + " 0.050\n", + " 0.080\n", + " 0.055\n", " 2024-12-25\n", " 20241225\n", " \n", " \n", - " 2183\n", + " 3814\n", " 20241226\n", - " 18286.51\n", - " 1534.00000\n", - " 1527.79000\n", - " 1538.78000\n", - " 1523.00000\n", - " 4.192\n", - " 4.968\n", - " 2.872\n", + " 1000074.70\n", + " 11.92000\n", + " 11.86000\n", + " 11.93000\n", + " 11.78000\n", + " 0.051\n", + " 0.087\n", + " 0.062\n", " 2024-12-26\n", " 20241226\n", " \n", " \n", - " 2184\n", + " 3815\n", " 20241227\n", - " 20759.32\n", - " 1528.90000\n", - " 1528.97000\n", - " 1536.00000\n", - " 1519.50000\n", - " 3.295\n", - " 4.931\n", - " 3.283\n", + " 1290012.28\n", + " 11.87000\n", + " 11.83000\n", + " 11.90000\n", + " 11.66000\n", + " 0.044\n", + " 0.089\n", + " 0.067\n", " 2024-12-27\n", " 20241227\n", " \n", " \n", - " 2185\n", + " 3816\n", " 20241230\n", - " 25129.82\n", - " 1533.97000\n", - " 1525.00000\n", - " 1543.96000\n", - " 1525.00000\n", - " 1.993\n", - " 4.529\n", - " 3.533\n", + " 1351846.36\n", + " 11.78000\n", + " 11.95000\n", + " 11.97000\n", + " 11.78000\n", + " 0.052\n", + " 0.100\n", + " 0.074\n", " 2024-12-30\n", " 20241230\n", " \n", " \n", - " 2186\n", + " 3817\n", " 20241231\n", - " 39354.45\n", - " 1525.40000\n", - " 1524.00000\n", - " 1545.00000\n", - " 1522.01000\n", - " 0.880\n", - " 4.083\n", - " 3.643\n", + " 1475367.33\n", + " 11.93000\n", + " 11.70000\n", + " 11.99000\n", + " 11.70000\n", + " 0.020\n", + " 0.086\n", + " 0.076\n", " 2024-12-31\n", " 20241231\n", " \n", " \n", "\n", - "

5591 rows × 11 columns

\n", + "

8022 rows × 11 columns

\n", "
" ] }, - "execution_count": 9, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], - "execution_count": 9 + "execution_count": 4 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-02-10T13:23:42.952570Z", - "start_time": "2025-02-10T13:23:42.938745Z" + "end_time": "2025-02-16T05:33:10.728Z", + "start_time": "2025-02-16T05:33:10.707648Z" } }, "cell_type": "code", @@ -305,46 +305,46 @@ { "data": { "text/plain": [ - " date open close high low macd macd_dif \\\n", - "3576 20240102 8.57646 8.41205 8.60386 8.41205 0.107 -0.162 \n", - "3577 20240103 8.39379 8.40292 8.42119 8.35725 0.098 -0.155 \n", - "3578 20240104 8.39379 8.32072 8.39379 8.29332 0.080 -0.153 \n", - "3579 20240105 8.31158 8.46686 8.62213 8.28418 0.087 -0.139 \n", - "3580 20240108 8.43032 8.35725 8.49426 8.32072 0.076 -0.135 \n", - "... ... ... ... ... ... ... ... \n", - "3813 20241225 11.86000 11.92000 12.02000 11.84000 0.050 0.080 \n", - "3814 20241226 11.92000 11.86000 11.93000 11.78000 0.051 0.087 \n", - "3815 20241227 11.87000 11.83000 11.90000 11.66000 0.044 0.089 \n", - "3816 20241230 11.78000 11.95000 11.97000 11.78000 0.052 0.100 \n", - "3817 20241231 11.93000 11.70000 11.99000 11.70000 0.020 0.086 \n", + " date volume open close high low macd \\\n", + "3576 20240102 1158366.45 8.57646 8.41205 8.60386 8.41205 0.107 \n", + "3577 20240103 733610.31 8.39379 8.40292 8.42119 8.35725 0.098 \n", + "3578 20240104 864193.99 8.39379 8.32072 8.39379 8.29332 0.080 \n", + "3579 20240105 1991622.16 8.31158 8.46686 8.62213 8.28418 0.087 \n", + "3580 20240108 1121156.19 8.43032 8.35725 8.49426 8.32072 0.076 \n", + "... ... ... ... ... ... ... ... \n", + "3813 20241225 1475282.94 11.86000 11.92000 12.02000 11.84000 0.050 \n", + "3814 20241226 1000074.70 11.92000 11.86000 11.93000 11.78000 0.051 \n", + "3815 20241227 1290012.28 11.87000 11.83000 11.90000 11.66000 0.044 \n", + "3816 20241230 1351846.36 11.78000 11.95000 11.97000 11.78000 0.052 \n", + "3817 20241231 1475367.33 11.93000 11.70000 11.99000 11.70000 0.020 \n", "\n", - " macd_dea datetime datetime_text close_to_median macd_close \\\n", - "3576 -0.216 2024-01-02 20240102 -1.50113 -0.339145 \n", - "3577 -0.203 2024-01-03 20240103 -1.51026 -0.341208 \n", - "3578 -0.193 2024-01-04 20240104 -1.59246 -0.359779 \n", - "3579 -0.183 2024-01-05 20240105 -1.44632 -0.326762 \n", - "3580 -0.173 2024-01-08 20240108 -1.55593 -0.351526 \n", - "... ... ... ... ... ... \n", - "3813 0.055 2024-12-25 20241225 2.00682 0.453394 \n", - "3814 0.062 2024-12-26 20241226 1.94682 0.439838 \n", - "3815 0.067 2024-12-27 20241227 1.91682 0.433061 \n", - "3816 0.074 2024-12-30 20241230 2.03682 0.460172 \n", - "3817 0.076 2024-12-31 20241231 1.78682 0.403690 \n", + " macd_dif macd_dea datetime datetime_text close_to_median \\\n", + "3576 -0.162 -0.216 2024-01-02 20240102 -1.50113 \n", + "3577 -0.155 -0.203 2024-01-03 20240103 -1.51026 \n", + "3578 -0.153 -0.193 2024-01-04 20240104 -1.59246 \n", + "3579 -0.139 -0.183 2024-01-05 20240105 -1.44632 \n", + "3580 -0.135 -0.173 2024-01-08 20240108 -1.55593 \n", + "... ... ... ... ... ... \n", + "3813 0.080 0.055 2024-12-25 20241225 2.00682 \n", + "3814 0.087 0.062 2024-12-26 20241226 1.94682 \n", + "3815 0.089 0.067 2024-12-27 20241227 1.91682 \n", + "3816 0.100 0.074 2024-12-30 20241230 2.03682 \n", + "3817 0.086 0.076 2024-12-31 20241231 1.78682 \n", "\n", - " macd_diff macd_trend macd_trend_group pre_macd point \n", - "3576 0.000 0 1 NaN False \n", - "3577 -0.009 -1 2 0.107 False \n", - "3578 -0.018 -1 2 0.098 False \n", - "3579 0.007 1 3 0.080 False \n", - "3580 -0.011 -1 4 0.087 False \n", - "... ... ... ... ... ... \n", - "3813 0.019 1 66 0.031 False \n", - "3814 0.001 1 66 0.050 False \n", - "3815 -0.007 -1 67 0.051 False \n", - "3816 0.008 1 68 0.044 True \n", - "3817 -0.032 -1 69 0.052 False \n", + " macd_close macd_diff macd_trend macd_trend_group pre_macd point \n", + "3576 -0.339145 0.000 0 1 NaN False \n", + "3577 -0.341208 -0.009 -1 2 0.107 False \n", + "3578 -0.359779 -0.018 -1 2 0.098 False \n", + "3579 -0.326762 0.007 1 3 0.080 False \n", + "3580 -0.351526 -0.011 -1 4 0.087 False \n", + "... ... ... ... ... ... ... \n", + "3813 0.453394 0.019 1 66 0.031 False \n", + "3814 0.439838 0.001 1 66 0.050 False \n", + "3815 0.433061 -0.007 -1 67 0.051 False \n", + "3816 0.460172 0.008 1 68 0.044 True \n", + "3817 0.403690 -0.032 -1 69 0.052 False \n", "\n", - "[242 rows x 17 columns]" + "[242 rows x 18 columns]" ], "text/html": [ "
\n", @@ -366,6 +366,7 @@ " \n", " \n", " date\n", + " volume\n", " open\n", " close\n", " high\n", @@ -388,6 +389,7 @@ " \n", " 3576\n", " 20240102\n", + " 1158366.45\n", " 8.57646\n", " 8.41205\n", " 8.60386\n", @@ -408,6 +410,7 @@ " \n", " 3577\n", " 20240103\n", + " 733610.31\n", " 8.39379\n", " 8.40292\n", " 8.42119\n", @@ -428,6 +431,7 @@ " \n", " 3578\n", " 20240104\n", + " 864193.99\n", " 8.39379\n", " 8.32072\n", " 8.39379\n", @@ -448,6 +452,7 @@ " \n", " 3579\n", " 20240105\n", + " 1991622.16\n", " 8.31158\n", " 8.46686\n", " 8.62213\n", @@ -468,6 +473,7 @@ " \n", " 3580\n", " 20240108\n", + " 1121156.19\n", " 8.43032\n", " 8.35725\n", " 8.49426\n", @@ -504,10 +510,12 @@ " ...\n", " ...\n", " ...\n", + " ...\n", " \n", " \n", " 3813\n", " 20241225\n", + " 1475282.94\n", " 11.86000\n", " 11.92000\n", " 12.02000\n", @@ -528,6 +536,7 @@ " \n", " 3814\n", " 20241226\n", + " 1000074.70\n", " 11.92000\n", " 11.86000\n", " 11.93000\n", @@ -548,6 +557,7 @@ " \n", " 3815\n", " 20241227\n", + " 1290012.28\n", " 11.87000\n", " 11.83000\n", " 11.90000\n", @@ -568,6 +578,7 @@ " \n", " 3816\n", " 20241230\n", + " 1351846.36\n", " 11.78000\n", " 11.95000\n", " 11.97000\n", @@ -588,6 +599,7 @@ " \n", " 3817\n", " 20241231\n", + " 1475367.33\n", " 11.93000\n", " 11.70000\n", " 11.99000\n", @@ -607,22 +619,22 @@ " \n", " \n", "\n", - "

242 rows × 17 columns

\n", + "

242 rows × 18 columns

\n", "
" ] }, - "execution_count": 16, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], - "execution_count": 16 + "execution_count": 5 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-02-10T13:23:46.230728Z", - "start_time": "2025-02-10T13:23:46.054326Z" + "end_time": "2025-02-16T05:33:11.383991Z", + "start_time": "2025-02-16T05:33:10.747373Z" } }, "cell_type": "code", @@ -672,35 +684,35 @@ { "data": { "text/plain": [ - " date open close high low macd macd_dif \\\n", - "3645 20240418 9.66336 9.86430 10.07437 9.64509 0.017 0.043 \n", - "3650 20240425 9.59029 9.69076 9.69989 9.57202 0.017 0.057 \n", - "3652 20240429 9.64509 9.87343 9.95563 9.60856 0.039 0.075 \n", - "3658 20240510 9.83690 9.99217 10.01044 9.82776 0.040 0.111 \n", - "3662 20240516 9.90997 10.20224 10.23878 9.89170 0.046 0.133 \n", - "3808 20241218 11.58000 11.65000 11.74000 11.57000 0.005 0.048 \n", - "3811 20241223 11.64000 11.73000 11.84000 11.64000 0.008 0.049 \n", - "3816 20241230 11.78000 11.95000 11.97000 11.78000 0.052 0.100 \n", + " date volume open close high low macd \\\n", + "3645 20240418 3165914.26 9.66336 9.86430 10.07437 9.64509 0.017 \n", + "3650 20240425 1113812.24 9.59029 9.69076 9.69989 9.57202 0.017 \n", + "3652 20240429 2169177.37 9.64509 9.87343 9.95563 9.60856 0.039 \n", + "3658 20240510 1767835.61 9.83690 9.99217 10.01044 9.82776 0.040 \n", + "3662 20240516 3076291.65 9.90997 10.20224 10.23878 9.89170 0.046 \n", + "3808 20241218 1016589.66 11.58000 11.65000 11.74000 11.57000 0.005 \n", + "3811 20241223 1659404.76 11.64000 11.73000 11.84000 11.64000 0.008 \n", + "3816 20241230 1351846.36 11.78000 11.95000 11.97000 11.78000 0.052 \n", "\n", - " macd_dea datetime datetime_text close_to_median macd_close \\\n", - "3645 0.034 2024-04-18 20240418 -0.04888 -0.011043 \n", - "3650 0.048 2024-04-25 20240425 -0.22242 -0.050251 \n", - "3652 0.055 2024-04-29 20240429 -0.03975 -0.008981 \n", - "3658 0.091 2024-05-10 20240510 0.07899 0.017846 \n", - "3662 0.110 2024-05-16 20240516 0.28906 0.065306 \n", - "3808 0.045 2024-12-18 20241218 1.73682 0.392394 \n", - "3811 0.045 2024-12-23 20241223 1.81682 0.410468 \n", - "3816 0.074 2024-12-30 20241230 2.03682 0.460172 \n", + " macd_dif macd_dea datetime datetime_text close_to_median \\\n", + "3645 0.043 0.034 2024-04-18 20240418 -0.04888 \n", + "3650 0.057 0.048 2024-04-25 20240425 -0.22242 \n", + "3652 0.075 0.055 2024-04-29 20240429 -0.03975 \n", + "3658 0.111 0.091 2024-05-10 20240510 0.07899 \n", + "3662 0.133 0.110 2024-05-16 20240516 0.28906 \n", + "3808 0.048 0.045 2024-12-18 20241218 1.73682 \n", + "3811 0.049 0.045 2024-12-23 20241223 1.81682 \n", + "3816 0.100 0.074 2024-12-30 20241230 2.03682 \n", "\n", - " macd_diff macd_trend macd_trend_group pre_macd point \n", - "3645 0.055 1 23 -0.038 True \n", - "3650 0.004 1 25 0.013 True \n", - "3652 0.022 1 27 0.017 True \n", - "3658 0.010 1 29 0.030 True \n", - "3662 0.026 1 31 0.020 True \n", - "3808 0.001 1 64 0.004 True \n", - "3811 0.013 1 66 -0.005 True \n", - "3816 0.008 1 68 0.044 True " + " macd_close macd_diff macd_trend macd_trend_group pre_macd point \n", + "3645 -0.011043 0.055 1 23 -0.038 True \n", + "3650 -0.050251 0.004 1 25 0.013 True \n", + "3652 -0.008981 0.022 1 27 0.017 True \n", + "3658 0.017846 0.010 1 29 0.030 True \n", + "3662 0.065306 0.026 1 31 0.020 True \n", + "3808 0.392394 0.001 1 64 0.004 True \n", + "3811 0.410468 0.013 1 66 -0.005 True \n", + "3816 0.460172 0.008 1 68 0.044 True " ], "text/html": [ "
\n", @@ -722,6 +734,7 @@ " \n", " \n", " date\n", + " volume\n", " open\n", " close\n", " high\n", @@ -744,6 +757,7 @@ " \n", " 3645\n", " 20240418\n", + " 3165914.26\n", " 9.66336\n", " 9.86430\n", " 10.07437\n", @@ -764,6 +778,7 @@ " \n", " 3650\n", " 20240425\n", + " 1113812.24\n", " 9.59029\n", " 9.69076\n", " 9.69989\n", @@ -784,6 +799,7 @@ " \n", " 3652\n", " 20240429\n", + " 2169177.37\n", " 9.64509\n", " 9.87343\n", " 9.95563\n", @@ -804,6 +820,7 @@ " \n", " 3658\n", " 20240510\n", + " 1767835.61\n", " 9.83690\n", " 9.99217\n", " 10.01044\n", @@ -824,6 +841,7 @@ " \n", " 3662\n", " 20240516\n", + " 3076291.65\n", " 9.90997\n", " 10.20224\n", " 10.23878\n", @@ -844,6 +862,7 @@ " \n", " 3808\n", " 20241218\n", + " 1016589.66\n", " 11.58000\n", " 11.65000\n", " 11.74000\n", @@ -864,6 +883,7 @@ " \n", " 3811\n", " 20241223\n", + " 1659404.76\n", " 11.64000\n", " 11.73000\n", " 11.84000\n", @@ -884,6 +904,7 @@ " \n", " 3816\n", " 20241230\n", + " 1351846.36\n", " 11.78000\n", " 11.95000\n", " 11.97000\n", @@ -906,18 +927,18 @@ "
" ] }, - "execution_count": 17, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], - "execution_count": 17 + "execution_count": 6 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-02-10T15:07:41.915428Z", - "start_time": "2025-02-10T15:07:41.902660Z" + "end_time": "2025-02-16T05:33:11.418948Z", + "start_time": "2025-02-16T05:33:11.405501Z" } }, "cell_type": "code", @@ -1086,18 +1107,18 @@ "" ] }, - "execution_count": 43, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], - "execution_count": 43 + "execution_count": 7 }, { "metadata": { "ExecuteTime": { - "end_time": "2025-02-10T15:07:44.088406Z", - "start_time": "2025-02-10T15:07:43.838889Z" + "end_time": "2025-02-16T05:33:12.250581Z", + "start_time": "2025-02-16T05:33:11.724099Z" } }, "cell_type": "code", @@ -1128,7 +1149,7 @@ " ])" ] }, - "execution_count": 44, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" }, @@ -1143,7 +1164,7 @@ "output_type": "display_data" } ], - "execution_count": 44 + "execution_count": 8 }, { "metadata": {}, @@ -1158,8 +1179,8 @@ { "metadata": { "ExecuteTime": { - "end_time": "2025-02-11T03:14:36.513645Z", - "start_time": "2025-02-11T03:14:36.474163Z" + "end_time": "2025-02-16T05:33:14.092062Z", + "start_time": "2025-02-16T05:33:12.314851Z" } }, "cell_type": "code", @@ -1352,19 +1373,19 @@ "output_type": "stream", "text": [ "满足条件的日期:\n", - "2005-09-16\n" + "1997-05-07\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ - "/var/folders/7h/w0cmp4zj6mn9br_6nyj310m40000gn/T/ipykernel_60768/2739124595.py:26: FutureWarning: 'M' is deprecated and will be removed in a future version, please use 'ME' instead.\n", + "C:\\Users\\lanyuanxiaoyao\\AppData\\Local\\Temp\\ipykernel_15564\\2739124595.py:26: FutureWarning: 'M' is deprecated and will be removed in a future version, please use 'ME' instead.\n", " monthly_df = daily_df.groupby(pd.Grouper(key='datetime', freq='M')).agg(\n" ] } ], - "execution_count": 10 + "execution_count": 9 } ], "metadata": {