This project was developed to facilitate cryptocurrency transactions using the ccxt library.
- Python 3.x
ccxtlibrary (Installation instructions are given below)
To get an API key on the MEXC exchange, follow the steps below:
- Log in to your profile at mexc.com.
- Open the API Management page.
- Using the Create New API Key option, specify the required permissions and create your API key.
- Open the
keys.jsonfile located in the project root directory. - Add the API key you received to the
keys.jsonfile as follows:{ "accessKey": "YOUR_API_KEY", "secretKey": "YOUR_API_SECRET" }
Note: To ensure the security of your API key, store the
keys.jsonfile in a secure environment and do not share this file.
-
For Systems with Python Installed If Python is installed on your computer, you first need to install the dependencies listed in the
requirements.txtfile. To install them, open a terminal in the root directory and enter the commandpip install -r requirements.txt. Once the setup is complete, you can start the software by running themain.pyfile. -
For Systems without Python Installed If Python is not installed, you can start the program directly by running the
main.exeapplication.
The software operates via a console interface for user interaction. You can access functions using the following command numbers:
-
0: Clears the console.
-
1: Initiates a cryptocurrency purchase transaction.
- Trading Pair: Enter the trading pair you wish to trade, e.g., BTC/USDC.
- Amount: Enter the amount you wish to purchase. Use a decimal point for fractional amounts, e.g., 0.14.
-
2: Initiates a cryptocurrency sale transaction.
- Trading Pair: Enter the trading pair you wish to sell, e.g., BTC/USDC.
- Amount: Enter the amount you wish to sell. Use a decimal point for fractional amounts, e.g., 0.14.
-
3: Displays your current balance information.