This project mainly integrates with brokerage APIs for automated trading.
For usage and configuration instructions, please refer to the AutoTraderX Documents.
Currently, there is no installation package available on PyPI, and there are no immediate plans for it.
To use this project, you need to clone it directly from GitHub and install the dependencies.
This project is restricted to use with the MasterLink Python API and operates only on Windows operating systems. Before installation, ensure that you have Python environment set up on Windows.
Refer to our guide for setting up Python on Windows:
-
Clone the project:
git clone https://github.com/DocsaidLab/AutoTraderX.git
-
Navigate to the project directory:
cd AutoTraderX
-
Install dependencies:
pip install setuptools wheel
-
Build the package:
python setup.py bdist_wheel
-
Install the package:
pip install dist\autotraderx-*-py3-none-any.whl
By following these steps, you should successfully install AutoTraderX
.
Download the Python API from the MasterLink official website:
After downloading, unzip the files and install them using pip:
pip install .\MasterTradePy\MasterTradePy\64bit\MasterTradePy-0.0.23-py3-none-win_amd64.whl
pip install .\Python_tech_analysis\tech_analysis_api_v2-0.0.5-py3-none-win_amd64.whl
pip install .\SolPYAPI\PY_TradeD-0.1.15-py3-none-any.whl
Once installed, you can use this project.
-
Additional Notes:
This project also provides .whl installation files for the MasterLink Python API in the
MasterLink_PythonAPI
folder.You can directly run the following command for installation:
.\run_install.bat
Please note that we do not update these files; please download the latest versions from the MasterLink official website.
You can test if the installation was successful with the following command:
python -c "import autotraderx; print(autotraderx.__version__)"
# >>> 0.1.0
If you see a version number like 0.1.0
, the installation was successful.
- Quantitative Trading from Scratch (Part 1) - MasterLink API Permission Application
- Quantitative Trading from Scratch (Part 2) - Python Environment Setup
- Quantitative Trading from Scratch (Part 3) - Validating Market Data and Order Permission Application
- Quantitative Trading from Scratch (Part 4) - Fetching Historical Stock Prices
- Quantitative Trading from Scratch (Part 5) - Taiwan Stock Trading Strategies
- e-Certificate Download
@misc{yuan2024autotraderx,
author = {Ze Yuan},
title = {AutoTraderX},
year = {2024},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/DocsaidLab/AutoTraderX}}
}