You're looking at StableBuild's Deleted PyPI mirror - where we index all deleted packages from the Python package registry.

tqsdk2
2.2.7

This version was deleted from PyPI around 2023-10-23. Installing fails with:
$ pip3 install tqsdk2==2.2.7 ERROR: Could not find a version that satisfies the requirement tqsdk2==2.2.7

Install through StableBuild

You can install this package from StableBuild's PyPI snapshots from before the version was deleted:
pip3 install \ -i https://YOUR_API_KEY.pypimirror.stablebuild.com/2023-10-22/ \ tqsdk2==2.2.7
Sign up for StableBuild to get an API key (it's free and takes <60 seconds!)