hummingbot
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHummingbot Skill
Hummingbot 技能
Comprehensive assistance with hummingbot development, generated from official documentation.
为Hummingbot开发提供全面协助,内容源自官方文档。
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
当以下场景时可触发本技能:
- 进行Hummingbot相关工作
- 咨询Hummingbot功能或API
- 实现Hummingbot解决方案
- 调试Hummingbot代码
- 学习Hummingbot最佳实践
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.ymlPattern 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 exitPattern 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')模式1: 示例: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)]模式2: 示例:
bin/hummingbot_quickstart.py -p a -f simple_pmm_example_config.py -c conf_simple_pmm_example_config_1.yml模式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模式4: usage: gateway list [-h]
usage: gateway list [-h]模式5: 示例:
price = self.market_data_provider.get_price_by_type('binance', 'BTC-USDT', PriceType.MidPrice)模式6: 示例:
price = self.market_data_provider.get_price_by_volume('binance', 'BTC-USDT', volume: 10000, True)模式7: 示例:
price = self.market_data_provider.get_volume_for_price('binance', 'BTC-USDT', 70000, True)模式8: 示例:
price = self.market_data_provider.get_order_book_snapshot('binance', 'BTC-USDT')Reference Files
参考文件
This skill includes comprehensive documentation in :
references/- advanced.md - Advanced documentation
- configuration.md - Configuration documentation
- connectors.md - Connectors documentation
- development.md - Development documentation
- getting_started.md - Getting Started documentation
- other.md - Other documentation
- strategies.md - Strategies documentation
- trading.md - Trading documentation
- troubleshooting.md - Troubleshooting documentation
Use to read specific reference files when detailed information is needed.
view本技能在目录中包含全面的文档:
references/- advanced.md - 高级文档
- configuration.md - 配置文档
- connectors.md - 连接器文档
- development.md - 开发文档
- getting_started.md - 入门文档
- other.md - 其他文档
- strategies.md - 策略文档
- trading.md - 交易文档
- troubleshooting.md - 故障排查文档
当需要详细信息时,使用命令查看特定参考文件。
viewWorking with This Skill
使用本技能的指南
For Beginners
面向初学者
Start with the getting_started or tutorials reference files for foundational concepts.
从入门或教程类参考文件开始,掌握基础概念。
For Specific Features
面向特定功能需求
Use the appropriate category reference file (api, guides, etc.) for detailed information.
使用对应类别的参考文件(如API、指南等)获取详细信息。
For Code Examples
面向代码示例
The quick reference section above contains common patterns extracted from the official docs.
上方的快速参考部分包含从官方文档中提取的常见模式。
Resources
资源
references/
references/
Organized documentation extracted from official sources. These files contain:
- Detailed explanations
- Code examples with language annotations
- Links to original documentation
- Table of contents for quick navigation
从官方来源整理的文档。这些文件包含:
- 详细说明
- 带有语言注释的代码示例
- 指向原始文档的链接
- 便于快速导航的目录
scripts/
scripts/
Add helper scripts here for common automation tasks.
在此处添加用于常见自动化任务的辅助脚本。
assets/
assets/
Add templates, boilerplate, or example projects here.
在此处添加模板、样板代码或示例项目。
Notes
注意事项
- This skill was automatically generated from official documentation
- Reference files preserve the structure and examples from source docs
- Code examples include language detection for better syntax highlighting
- Quick reference patterns are extracted from common usage examples in the docs
- 本技能由官方文档自动生成
- 参考文件保留了源文档的结构和示例
- 代码示例包含语言检测,以实现更好的语法高亮
- 快速参考模式提取自文档中的常见使用示例
Updating
更新方法
To refresh this skill with updated documentation:
- Re-run the scraper with the same configuration
- The skill will be rebuilt with the latest information
如需使用更新后的文档刷新本技能:
- 使用相同配置重新运行抓取工具
- 技能将使用最新信息重建