# Hummingbot

Hummingbot trading bot framework - automated trading strategies, market making...

- Repository: https://github.com/2025Emma/vibe-coding-cn (23122 stars)
- Category: Engineering
- License: MIT
- Last updated: 2025-12-17
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add 2025Emma/vibe-coding-cn --skill hummingbot -g -a claude-code -y`
Codex: `npx skills add 2025Emma/vibe-coding-cn --skill hummingbot -g -a codex -y`
Cursor: `npx skills add 2025Emma/vibe-coding-cn --skill hummingbot -g -a cursor -y`
Gemini CLI: `npx skills add 2025Emma/vibe-coding-cn --skill hummingbot -g -a gemini-cli -y`

## Description

Hummingbot trading bot framework - automated trading strategies, market making, arbitrage, connectors for crypto exchanges. Use when working with algorithmic trading, crypto trading bots, or exchange integrations.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Hummingbot Skill

Comprehensive assistance with hummingbot development, generated from official documentation.

## When to Use This Skill

This skill should be triggered when:
- Working with hummingbot
- Asking about hummingbot features or APIs
- Implementing hummingbot solutions
- Debugging hummingbot code
- Learning hummingbot best practices

## Quick Reference

### Common Patterns

**Pattern 1:** For example: candles = [CandlesFactory.get_candle(connector=kucoin, trading_pair="ETH-USDT", interval="1m", max_records=100)]

```
candles = [CandlesFactory.get_candle(connector=kucoin,
           trading_pair="ETH-USDT", interval="1m", max_records=100)]
```

**Pattern 2:** Example:

```
bin/hummingbot_quickstart.py -p a -f simple_pmm_example_config.py -c conf_simple_pmm_example_config_1.yml
```

**Pattern 3:** >>> gateway swap --help usage: gateway swap [-h] [connector] [args ...] positional arguments: connector Connector name/type (e.g., jupiter/router) args Arguments: [base-quote] [side] [amount] options: -h, --help show this help message and exit

```
>>> gateway swap --help
usage: gateway swap [-h] [connector] [args ...]

positional arguments:
  connector   Connector name/type (e.g., jupiter/router)
  args        Arguments: [base-quote] [side] [amount]

options:
  -h, --help  show this help message and exit
```

**Pattern 4:** usage: gateway list [-h]

```
usage: gateway list [-h]
```

**Pattern 5:** Example:

```
price = self.market_data_provider.get_price_by_type('binance', 'BTC-USDT', PriceType.MidPrice)
```

**Pattern 6:** Example:

```
price = self.market_data_provider.get_price_by_volume('binance', 'BTC-USDT', volume: 10000, True)
```

**Pattern 7:** Example:

```
price = self.market_data_provider.get_volume_for_price('binance', 'BTC-USDT', 70000, True)
```

**Pattern 8:** Example:

```
price = self.market_data_provider.get_order_book_snapshot('binance', 'BTC-USDT')
```

## Reference Files

This skill includes comprehensive documentation in `references/`:

The rest: https://github.com/2025Emma/vibe-coding-cn/blob/HEAD/i18n/zh/skills/hummingbot/SKILL.md
