Welcome to auto-trading-bot-ts, a trading bot built using Node.js, TypeScript, Telegraf, and MySQL. This project is designed to automate trading tasks and provide a robust foundation for building custom trading strategies.
- TypeScript: Ensures type safety and better development experience.
- Telegraf: Enables integration with Telegram for notifications or bot commands.
- MySQL: Provides a reliable database for storing trading data.
- Node.js: Powers the backend with a scalable and efficient runtime.
Make sure you have the following installed:
- Node.js
- npm or yarn
- MySQL database
-
Clone the repository:
git clone https://github.com/Emmynem/auto-trading-bot-ts.git cd auto-trading-bot-ts -
Install dependencies:
npm install
-
Configure your environment variables (e.g., database credentials, API keys).
The following scripts are available in the package.json:
-
build: Compiles the TypeScript code to JavaScript.npm run build
-
server: Runs the compiled JavaScript server.npm run server
-
dev: Starts the development server with TypeScript.npm run dev
-
watch:dev: Watches for file changes and restarts the server usingnodemon.npm run watch:dev
-
start: Runs the production server.npm run start
-
test: Placeholder for running tests.npm run test
Contributions are welcome! Feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License.
Created by Emmynem