| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Exchange plugin for bt_api framework.
This package provides Foxbit exchange adapter for bt_api for the bt_api framework. It offers a unified interface for interacting with FOXBIT exchange.
pip install bt_api_foxbitOr install from source:
git clone https://github.com/cloudQuant/bt_api_foxbit
cd bt_api_foxbit
pip install -e .from bt_api_py import BtApi
api = BtApi(exchange_kwargs={
"FOXBIT___SPOT": {
"api_key": "your_api_key",
"secret": "your_secret",
}
})
ticker = api.get_tick("FOXBIT___SPOT", "BTCUSDT")
print(ticker)| Operation | Status |
|---|---|
| Ticker | ✅ |
| OrderBook | ✅ |
| Trades | ✅ |
| Bars/Klines | ✅ |
| Orders | ✅ |
| Balances | ✅ |
| Positions | ✅ |
| Resource | Link |
|---|---|
| English Docs | https://bt-api-foxbit.readthedocs.io/ |
| Chinese Docs | https://bt-api-foxbit.readthedocs.io/zh/latest/ |
| GitHub Repository | https://github.com/cloudQuant/bt_api_foxbit |
| Issue Tracker | https://github.com/cloudQuant/bt_api_foxbit/issues |
bt_api_foxbit/ ├── src/bt_api_foxbit/ # Source code │ ├── containers/ # Data containers │ ├── feeds/ # API feeds │ ├── gateway/ # Gateway adapter │ └── plugin.py # Plugin registration ├── tests/ # Unit tests └── docs/ # Documentation
MIT License - see LICENSE for details.
本包为 bt_api 框架提供 Foxbit exchange adapter for bt_api。它提供了与 FOXBIT 交易所交互的统一接口。
pip install bt_api_foxbit或从源码安装:
git clone https://github.com/cloudQuant/bt_api_foxbit
cd bt_api_foxbit
pip install -e .from bt_api_py import BtApi
api = BtApi(exchange_kwargs={
"FOXBIT___SPOT": {
"api_key": "your_api_key",
"secret": "your_secret",
}
})
ticker = api.get_tick("FOXBIT___SPOT", "BTCUSDT")
print(ticker)| 操作 | 状态 |
|---|---|
| Ticker | ✅ |
| OrderBook | ✅ |
| Trades | ✅ |
| Bars/Klines | ✅ |
| Orders | ✅ |
| Balances | ✅ |
| Positions | ✅ |
bt_api_foxbit/ ├── src/bt_api_foxbit/ # 源代码 │ ├── containers/ # 数据容器 │ ├── feeds/ # API 源 │ ├── gateway/ # 网关适配器 │ └── plugin.py # 插件注册 ├── tests/ # 单元测试 └── docs/ # 文档
MIT 许可证 - 详见 LICENSE。
| Back | FazBrowse Home | New Git URL |