Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Trading Bot with focus on Evolutionary Algorithms and Machine Learning
| Date | Stars |
|---|---|
| 2026-07-31 | 261 |
| 2026-08-06 | 260 |
| 2026-08-07 | 260 |
| 2026-08-14 | 260 |
| 2026-08-15 | 260 |
| 2026-08-18 | 260 |
| 2026-08-27 | 261 |
| 2026-08-31 | 261 |
| 2026-09-24 | 262 |
| 2026-11-04 | 262 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<img src="https://user-images.githubusercontent.com/1301154/28501904-86816828-6fe6-11e7-81a0-73c7d6afe5d5.png" width="480">
Flexible Trading Bot with main focus on Machine Learning and Genetic Algorithms, inspired by [zenbot.](https://github.com/carlos8f/zenbot)
[](https://www.codacy.com/gh/miro-ka/mosquito/dashboard?utm_source=github.com&utm_medium=referral&utm_content=miro-ka/mosquito&utm_campaign=Badge_Grade)
[](https://codebeat.co/projects/github-com-miti0-mosquito-master)
## About

Mosquito is a cryptocurrency trading bot written in Python, with main focus on modularity,
so it is straight forward to plug-in new exchange.
The idea to build a new bot came because of missing following easy-access features in all of available open-source bots:
* **Multi-currency bot** - Be able to monitor and exchange several currencies in one strategy (no need to run 5 same strategies for 5 different currencies).
* **Easy AI plug & play** - Possibility to easily plug any of the existing AI/ML libraries (for ex. scikit or keras)
> **Please be AWARE that Mosquito is still in beta and under heavy development. Please use it in Live trading VERY carefully.**
### Supported Exchanges
Mosquito currently supports following exchanges:
* **Poloniex** - supporting *fillOrKill* and *immediateOrCancel* trading types. *postOnly* type is not supported. You can
read more about trading types [here.](https://github.com/s4w3d0ff/python-poloniex/blob/master/poloniex/__init__.py)
* **Bittrex** - supporting *Trade Limit Buy/Sell Orders*
* **Kucoin** - work in progress
## Requirements
* Python 3.9
* mongodb
* Depending on the exchange you want to use:
* [Poloniex-api](https://github.com/s4w3d0ff/python-poloniex)
* [Bittrex-api](https://github.com/miti0/python-bittrex)
## Quick Start
### Install
1. Clone repo
```
git clone https://github.com/miti0/mosquito.git
```
2. Install requirements (ideally in separate virtual environment)
```
pip install -r requirements.txt
```
3. Install [mongodb](https://www.mongodb.com/try/download/community)
4. Set-up mosquito.ini (if you want to use sample config, just rename mosquito.sample.ini to mosquito.ini)
5. Run desired command (full list of commands below)
All parameters in the program can be overridden with input arguments.
You can get list of all available arguments with:
```
python mosquito.py --help
```
## Backfill
Backfill gets history data from exchange and stores them to mongodb. Data can be after that used for testing your simulation strategies.
usage: backfill.py [-h] [--pairs PAIRS] [--all] --days DAYS
```
optional arguments:
-h, --help show this help message and exit
--pairs PAIRS PairS to backfill. For ex. [BTC_ETH, BTC_* (to get all BTC_*
prefixed pairs]
--all Backfill data for ALL currencies
--days DAYS Number of days to backfill
```
Example 1) Load historical data for BTC_ETH pair for the last 5 days:
```
python backfill.py --days 5 --pairs USDT_BTC
```
Example 2) Load historical data for ALL pairs for the last 2 days
```
python backfill.py --days 3 --all
```
Example 3) Load historical data for all pairs starting with BTC_ for the last day
```
python backfill.py --days 1 --pairs BTC_*
```
## Trading
This is the main module that handles passed strategy and places buy/sell orders.
Architecture and logic of mosquito is made so, that it should be easy to set and tune all strategy parameters with program arguments. Below is a list of main arguments that can be either configured via the mosquito.ini config file or by passing the value/values as argument.
```
-h, --help show this help message and exit
--polo_api_key POLO_API_KEY
Poloniex API key (default: NExcerpt of 11,984 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:89099c275daa1b17, desc:trading bot