https://github.com/trust412/polymarket-copy-trading-bot
Mirror master's trade and positions
https://github.com/trust412/polymarket-copy-trading-bot
awesome-lists copytrade copytrading crypto-bot orderbook polymarket prediction-markets scriptbot typescript
Last synced: about 1 month ago
JSON representation
Mirror master's trade and positions
- Host: GitHub
- URL: https://github.com/trust412/polymarket-copy-trading-bot
- Owner: Trust412
- Created: 2025-01-09T16:14:26.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-03-22T19:59:09.000Z (about 1 month ago)
- Last Synced: 2025-03-22T20:29:18.995Z (about 1 month ago)
- Topics: awesome-lists, copytrade, copytrading, crypto-bot, orderbook, polymarket, prediction-markets, scriptbot, typescript
- Language: TypeScript
- Homepage: https://polymarket.com
- Size: 23.8 MB
- Stars: 27
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Polymarket Copy Trading Bot
## Introduction
This project is a Polymarket Copy Trading Bot that allows users to automatically copy trades from a selected trader on Polymarket.## Features
- **Automated Trading**: Automatically copy trades from a selected trader.
- **Real-time Monitoring**: Continuously monitor the selected trader's activity.
- **Customizable Settings**: Configure trading parameters and risk management.## Installation
1. Install latest version of Node.js and npm
2. Navigate to the project directory:
```bash
cd polymarket_copy_trading_bot
```
3. Create `.env` file:
```bash
touch .env
```
4. Configure env variables:
```typescript
USER_ADDRESS = 'Selected account wallet address to copy'PROXY_WALLET = 'Your Polymarket account address'
PRIVATE_KEY = 'My wallet private key'CLOB_HTTP_URL = 'https://clob.polymarket.com/'
CLOB_WS_URL = 'wss://ws-subscriptions-clob.polymarket.com/ws'FETCH_INTERVAL = 1 // default is 1 second
TOO_OLD_TIMESTAMP = 1 // default is 1 hour
RETRY_LIMIT = 3 // default is 3 timesMONGO_URI = 'mongodb+srv://polymarket_copytrading_bot:[email protected]/polymarket_copytrading'
RPC_URL = 'https://polygon-mainnet.infura.io/v3/90ee27dc8b934739ba9a55a075229744'
USDC_CONTRACT_ADDRESS = '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174'
```
3. Install the required dependencies:
```bash
npm install
```
5. Build the project:
```bash
npm run build
```
6. Run BOT:
```bash
npm run start
```## Contributing
Contributions are welcome! Please open an issue or submit a pull request. And if you are interested in this project, please consider giving it a star✨.## Contact
For any questions or inquiries, please contact me at [rannieturla](https://t.me/rannieturla).