Scan your whole stack
From OX Research Newsroom
Are you using ccxao?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.81
ccxao was last scanned on 29 Nov 2026 at version 0.1.81. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.81 LATEST | 29 Nov 2026 | No rules fired |
Findings for v0.1.81. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.81; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
CCXAO is a Python library and daemon system for executing algorithmic trading orders across multiple cryptocurrency exchanges. It provides a unified interface for trading on Binance, Bybit, OKX, KuCoin, and BingX with support for limit orders, algorithmic orders with take profit/stop loss, and various utility functions.
The system consists of three main components:
Communication between components is handled by unix socket
# Clone the repository
git clone https://github.com/rmalvarezkai/ccxao
cd ccxao
# Install dependencies
poetry install
# Activate the virtual environment
poetry shell
pip install -e .
Create a configuration file at one of these locations:
/etc/ccxao-daemon/ccxao-daemon.yaml~/.ccxao-daemon/ccxao-daemon.yamlccxao/.etc/ccxao-daemon.yamlglobal:
sandbox: false
debug: false
var_dir: .var
log_dir: .log
run_dir: .run
db_name: ccxao_daemon
ccxao_key: your_secret_key_here
time_to_purge_algo_orders: 24
restart_time_limit: 14400
exchanges:
- exchange: binance
enabled: true
api_key: "your_binance_api_key"
api_secret: "your_binance_api_secret"
symbols_to_trade:
- BTC/USDT
- ETH/USDT
- exchange: bybit
enabled: false
api_key: "your_bybit_api_key"
api_secret: "your_bybit_api_secret"
symbols_to_trade:
- BTC/USDT
- exchange: okx
enabled: false
api_key: "your_okx_api_key"
api_secret: "your_okx_api_secret"
api_password: "your_okx_passphrase"
symbols_to_trade:
- BTC/USDT
# Start daemon in background
ccxao-daemon start
# Start with custom config
ccxao-daemon -c /path/to/config.yaml start
# Check daemon status
ccxao-daemon check
# Stop daemon
ccxao-daemon stop
# Stop with custom config
ccxao-daemon -c /path/to/config.yaml stop
# Ping the daemon
ccxao-cli -c /path/to/config.yaml --exchange=binance ping
# Get account balances
ccxao-cli -c /path/to/config.yaml --exchange=binance get_balances
# Get USDT equivalent balances
ccxao-cli -c /path/to/config.yaml --exchange=binance get_usdt_balances
# Get symbol price
ccxao-cli -c /path/to/config.yaml --exchange=binance get_symbol_price_from_order_book symbol=BTC/USDT res_type=mid
# Get order book
ccxao-cli -c /path/to/config.yaml --exchange=binance get_order_book_for_symbol symbol=BTC/USDT num_result=5
# Create a limit order
ccxao-cli -c /path/to/config.yaml --exchange=binance create_order order_symbol=BTC/USDT order_side=buy order_amount=0.1 order_price=1.0
# Get order information
ccxao-cli -c /path/to/config.yaml --exchange=binance get_order order_id=ORDER_ID order_symbol=BTC/USDT
# Cancel an order
ccxao-cli -c /path/to/config.yaml --exchange=binance cancel_order order_id=ORDER_ID order_symbol=BTC/USDT
# Queue a bull (long) algorithmic order
ccxao-cli -c /path/to/config.yaml --exchange=binance queue_algo_order order_symbol=BTC/USDT order_amount=0.1 order_price_dir=bull order_price_in=current order_price_tp=0.5% order_price_sl=0.25%
# Queue a bear (short) algorithmic order with trailing stop
ccxao-cli -c /path/to/config.yaml --exchange=binance queue_algo_order order_symbol=BTC/USDT order_amount=0.1 order_price_dir=bear order_price_in=current order_price_tp=0.5% order_price_sl=0.25%
# Check if algorithmic order is finished
ccxao-cli -c /path/to/config.yaml --exchange=binance algo_order_finished order_algo_id=ORDER_ALGO_ID
# List all algorithmic orders
ccxao-cli -c /path/to/config.yaml --exchange=binance get_algo_orders skip_finished=true
# Find symbols with low maker fees
ccxao-cli -c /path/to/config.yaml --exchange=binance get_symbols_with_less_than_fee_maker limit=0.001
# Convert all assets to USDT
ccxao-cli -c /path/to/config.yaml --exchange=binance pass_all_assets_to_asset dest_asset=USDT
# Balance symbol assets (equal USDT value)
ccxao-cli -c /path/to/config.yaml --exchange=binance balance_symbol symbol=BTC/USDT
# Get trading fees
ccxao-cli -c /path/to/config.yaml --exchange=binance get_trading_fees
# Get exchange information
ccxao-cli -c /path/to/config.yaml --exchange=binance get_exchange_info
# Check if symbol is active
ccxao-cli -c /path/to/config.yaml --exchange=binance is_symbol_active symbol=BTC/USDT
# Get minimum order amount
ccxao-cli -c /path/to/config.yaml --exchange=binance symbol_min_amount symbol=BTC/USDT
# Get minimum order cost
ccxao-cli -c /path/to/config.yaml --exchange=binance symbol_min_cost symbol=BTC/USDT
# Get tick size
ccxao-cli -c /path/to/config.yaml --exchange=binance symbol_tick_size symbol=BTC/USDT
# Round amount to exchange precision
ccxao-cli -c /path/to/config.yaml --exchange=binance amount_to_precision symbol=BTC/USDT order_amount=0.12345678
# Round price to exchange precision
ccxao-cli -c /path/to/config.yaml --exchange=binance price_to_precision symbol=BTC/USDT order_price=1.12345678
First you have to start a ccxao-daemon
from ccxao.ccxao_client import CcxaoClient
# Initialize client
client = CcxaoClient()
# Get balances
balances = client.get_balances()
print(balances)
# Create a limit order
order = client.create_order(
exchange='binance',
order_symbol='BTC/USDT',
order_side='buy',
order_amount=0.001,
order_price=45000
)
print(f"Order created: {order}")
# Queue an algorithmic order
algo_order_id = client.queue_algo_order(
exchange='binance',
order_symbol='BTC/USDT',
order_amount=0.001,
order_price_dir='bull',
order_price_in='current',
order_price_tp='2%',
order_price_sl='1%'
)
print(f"Algorithmic order queued: {algo_order_id}")
# Get symbol price
price = client.get_symbol_price('binance', 'BTC/USDT')
print(f"BTC/USDT price: {price}")
# Convert all assets to USDT
success = client.pass_all_assets_to_asset(
'binance',
'USDT',
exclude_assets=['BTC', 'ETH']
)
print(f"Asset conversion successful: {success}")
from ccxao.ccxao import Ccxao
# Initialize exchange connection
ccxao = Ccxao(
exchange='binance',
api_key='your_api_key',
api_secret='your_api_secret',
sandbox=False
)
ccxao.start()
# Get balances
balances = ccxao.get_balances()
print(balances)
# Create limit order
order = ccxao.create_order(order_symbol='BTC/USDT', order_side='buy', order_amount=0.001, order_price=45000)
print(order)
# Queue algorithmic order
algo_id = ccxao.queue_algo_order(
order_symbol='BTC/USDT',
order_amount=0.001,
order_price_dir='bull',
order_price_in='current',
order_price_tp='2%',
order_price_sl='1%'
)
print(f"Algo order ID: {algo_id}")
ccxao.stop()
Logs are written to the configured log directory:
ccxao-daemon.log: Daemon operations and errorsccxao-client.log: Client operations and errorsEnable debug logging in configuration for detailed information.
The system includes comprehensive error handling:
# Format code
poetry run black ccxao/
# Lint code
poetry run pylint ccxao/
# Type checking
poetry run mypy ccxao/
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
This software is for educational and research purposes. Cryptocurrency trading involves significant risk. Always test with small amounts and use sandbox modes when available. The authors are not responsible for any financial losses.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.