Skip to content

Repository files navigation

RIPIO

Exchange plugin for bt_api framework — Argentine cryptocurrency exchange.

PyPI VersionPython VersionsLicenseCIDocs


English | 中文

Overview

Ripio is an Argentine cryptocurrency exchange offering crypto trading services in Latin America. This plugin integrates Ripio into the bt_api unified trading framework, supporting SPOT markets.

Features

  • REST API — market data queries, order management, account queries
  • WebSocket feeds — real-time ticker and trade streams
  • Latin America focus — supports ARS (Argentine Peso) trading pairs
  • Simple API key auth — standard API key + secret authentication

Exchange Code

CodeDescriptionAsset Type
RIPIO___SPOTRipio spot marketsSPOT

Installation

pip install bt_api_ripio

Or install from source:

git clone https://github.com/cloudQuant/bt_api_ripio
cd bt_api_ripio
pip install -e .

Quick Start

frombt_apiimportBtApiapi=BtApi(
exchange_kwargs={
"RIPIO___SPOT": {
"api_key": "your_api_key",
"secret": "your_secret",
}
}
)
# Get ticker dataticker=api.get_tick("RIPIO___SPOT", "BTCUSDT")
print(ticker)
# Get order book depthdepth=api.get_depth("RIPIO___SPOT", "BTCUSDT")
print(depth)
# Get K-line / barsbars=api.get_kline("RIPIO___SPOT", "BTCUSDT", "1h")
print(bars)

Supported Operations

OperationSPOTNotes
Tickerget_tick()
OrderBook (Depth)get_depth()
K-Line (Bars)get_kline()
Recent Tradesget_recent_trades()
Exchange Infoget_exchange_info()
Account Balanceget_balance()
Order Managementmake_order, cancel_order
WebSocket Streamsubscribe()

Architecture

bt_api_ripio/
├── src/bt_api_ripio/
│ ├── containers/ # Data containers
│ │ ├── accounts/ # Account data
│ │ ├── balances/ # Balance data
│ │ ├── bars/ # Bar/K-line data
│ │ ├── orderbooks/ # Order book data
│ │ ├── orders/ # Order data
│ │ └── tickers/ # Ticker data
│ ├── exchange_data/ # Exchange metadata & symbol routing
│ ├── feeds/live_ripio/ # REST feed implementations
│ │ ├── request_base.py # RipioRequestData (REST feed base)
│ │ └── spot.py # RipioRequestDataSpot (SPOT feed)
│ ├── errors/ # Error translator
│ ├── registry_registration.py # Exchange registry wiring
│ └── plugin.py # Plugin entry point
├── tests/ # Unit tests
└── docs/ # Documentation

API Reference

Feed Classes

  • RipioRequestDataSpot — REST feed for SPOT markets; supports ticker, depth, kline, order management, account queries

Container Classes

  • RipioTickerData — Ticker / price data
  • RipioOrderBookData — Order book / depth data
  • RipioBarData — K-line / OHLCV data
  • RipioOrderData — Order data
  • RipioBalanceData — Balance data

Exchange Data Classes

  • RipioExchangeData — Base exchange metadata
  • RipioExchangeDataSpot — SPOT-specific metadata

Online Documentation

ResourceLink
English Docshttps://bt-api-ripio.readthedocs.io/
Chinese Docshttps://bt-api-ripio.readthedocs.io/zh/latest/
GitHub Repositoryhttps://github.com/cloudQuant/bt_api_ripio
Issue Trackerhttps://github.com/cloudQuant/bt_api_ripio/issues

Requirements

  • Python 3.9+
  • bt_api_base >= 0.15, < 1.0

License

MIT License — see LICENSE for details.

Support


中文

概述

Ripio阿根廷加密货币交易所,在拉丁美洲提供加密货币交易服务。本插件将 Ripio 接入 bt_api 统一交易框架,支持**现货(SPOT)**市场。

功能特点

  • REST API — 行情查询、订单管理、账户查询
  • WebSocket 推送 — 实时行情和成交推送
  • 拉丁美洲聚焦 — 支持 ARS(阿根廷比索)交易对
  • 简单 API Key 认证 — 标准 API Key + Secret 认证

交易所代码

代码描述资产类型
RIPIO___SPOTRipio 现货市场SPOT

安装

pip install bt_api_ripio

或从源码安装:

git clone https://github.com/cloudQuant/bt_api_ripio
cd bt_api_ripio
pip install -e .

快速开始

frombt_apiimportBtApiapi=BtApi(
exchange_kwargs={
"RIPIO___SPOT": {
"api_key": "您的api_key",
"secret": "您的secret",
}
}
)
# 获取行情ticker=api.get_tick("RIPIO___SPOT", "BTCUSDT")
print(ticker)
# 获取订单簿深度depth=api.get_depth("RIPIO___SPOT", "BTCUSDT")
print(depth)
# 获取 K 线数据bars=api.get_kline("RIPIO___SPOT", "BTCUSDT", "1h")
print(bars)

支持的操作

操作SPOT说明
行情get_tick()
订单簿get_depth()
K 线get_kline()
最新成交get_recent_trades()
交易所信息get_exchange_info()
账户余额get_balance()
订单管理make_order, cancel_order
WebSocket 推送subscribe()

架构

bt_api_ripio/
├── src/bt_api_ripio/
│ ├── containers/ # 数据容器
│ │ ├── accounts/ # 账户数据
│ │ ├── balances/ # 余额数据
│ │ ├── bars/ # K 线数据
│ │ ├── orderbooks/ # 订单簿数据
│ │ ├── orders/ # 订单数据
│ │ └── tickers/ # 行情数据
│ ├── exchange_data/ # 交易所元数据 & 交易对路由
│ ├── feeds/live_ripio/ # REST feed 实现
│ │ ├── request_base.py # RipioRequestData (REST base)
│ │ └── spot.py # RipioRequestDataSpot (SPOT feed)
│ ├── errors/ # 错误翻译器
│ ├── registry_registration.py # 交易所注册 wiring
│ └── plugin.py # 插件入口
├── tests/ # 单元测试
└── docs/ # 文档

API 参考

Feed 类

  • RipioRequestDataSpot — SPOT 市场 REST feed;支持行情、深度、K 线、订单管理、账户查询

容器类

  • RipioTickerData — 行情 / 价格数据
  • RipioOrderBookData — 订单簿 / 深度数据
  • RipioBarData — K 线 / OHLCV 数据
  • RipioOrderData — 订单数据
  • RipioBalanceData — 余额数据

交易所数据类

  • RipioExchangeData — 基础交易所元数据
  • RipioExchangeDataSpot — SPOT 专用元数据

在线文档

资源链接
英文文档https://bt-api-ripio.readthedocs.io/
中文文档https://bt-api-ripio.readthedocs.io/zh/latest/
GitHub 仓库https://github.com/cloudQuant/bt_api_ripio
问题反馈https://github.com/cloudQuant/bt_api_ripio/issues

系统要求

  • Python 3.9+
  • bt_api_base >= 0.15, < 1.0

许可证

MIT 许可证 — 详见 LICENSE

技术支持

About

Exchange adapter package for bt_api

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages