{{ authMode === 'register' ? 'Create Account' : 'Sign In' }}

{{ authError }}

{{ currentPageTitle }}

{{ botCount }} Bots
{{ socketConnected ? 'Live' : 'Idle' }}

Trading Bots Without Giving Up Your Keys

Subscribe to signal providers, receive their alerts in real time, and keep execution entirely on your own machine.

01

Browse & Subscribe

Pick a bot from the marketplace and subscribe to its signals.

02

Stay Local

Your exchange API keys never leave your machine — they are encrypted in CLI storage.

03

Execute Safely

The CLI enforces your own risk rules before any order reaches the exchange.

Supported Market Data
CRYPTO

Binance Spot

BTCUSDT, ETHUSDT, and BNBUSDT 24h ticker snapshots.

EQUITIES

Vietnam Stocks

HOSE, HNX and UPCoM quotes and order book via the DNSE OpenAPI.

Build a Bot How a bot connects and publishes signals
Public URL Your bot connects to this
{{ publicBaseUrl }}

Every endpoint below lives under this address. The signal publish URL is {{ publicSignalUrl }}.

For an AI agent Copy this and ask it to build the bot

Copy this brief into an AI agent to have it write the bot for you. It names the endpoints, the exact payload, and the rules the platform enforces.

{{ agentBrief }}
1

Publish the bot and get its API key

Publish from My Bots → Publish. The response carries the API key your bot uses to authenticate, together with the URLs it has to talk to.

POST {{ publicBaseUrl }}/developer/bots Authorization: Bearer <user_token> Content-Type: application/json { "botId": "bot_my_strategy", "name": "My Strategy", "description": "What the bot does and when it signals", "exchange": "binance", "market": "spot" }
200 OK { "status": "pending", "botId": "bot_my_strategy", "apiKey": "…", "signalPublishUrl": "{{ publicSignalUrl }}", "signalAuthHeader": "Authorization: Bearer …" }

signalPublishUrl is the address your bot publishes to. On this deployment it is {{ publicSignalUrl }}.

A new bot starts as pending. An admin has to mark it available before it may publish signals. You can look the key up again at any time under My Bots → Published → the bot → API key & README.

2

The endpoints your bot talks to

Every call carries your bot's API key in the Authorization: Bearer header, except the market data socket, which takes it as a query parameter. They all live on this address:

{{ publicBaseUrl }}
Endpoint Purpose
POST /bot-api/signals Publish a signal. This is the only call that matters.
POST /bot-api/heartbeat Keep the bot marked online. Send every 15 seconds.
GET /bot-api/me Check that the key is valid and see the bot's registration.
WS /bot-api/ws/market-data Subscribe to the platform's market data feed.
GET /developer/platforms The exchanges and markets a bot may register for.

A bot is shown as online only while heartbeats keep arriving. The platform marks a bot offline after 45 seconds without one, so send them more often than that.

3

The signal format

A signal is one JSON object. This is the complete payload, ready to send:

{ "botId": "bot_my_strategy", "exchange": "binance", "market": "spot", "symbol": "BTCUSDT", "side": "BUY", "intent": "OPEN", "orderType": "MARKET", "confidence": 0.7, "price": 100000.0, "reason": "Short moving average crossed above long moving average", "risk": { "stopLossPercent": 1.5, "takeProfitPercent": 3.0 }, "createdAt": "2026-07-27T10:05:00Z", "expiresAt": "2026-07-27T10:06:00Z" }
Field Type Notes
botId string Required. Must match the bot the API key belongs to, or the call is rejected with 403.
exchange string Required. binance or vietnam.
market string Required. spot or stocks.
symbol string Required. BTCUSDT, or a Vietnam ticker such as VNM.
side string Required. BUY or SELL.
confidence number Required. Between 0 and 1. Anything outside that range is rejected.
reason string Required. A short human-readable explanation. Subscribers see it.
createdAt string Required. ISO-8601 UTC, e.g. 2026-07-27T10:05:00Z.
expiresAt string Required. ISO-8601 UTC. The signal is stale after this moment, so keep it a minute or so ahead.
intent string Optional, defaults to OPEN. Use CLOSE to flatten a position.
orderType string Optional, defaults to MARKET.
price number Optional, but send it. The platform's paper P&L is computed against this price, and without it the entry price falls back to 1.0.
risk object Optional, free-form. Conveyed to subscribers as stopLossPercent and takeProfitPercent.
The answer 202 Accepted
{ "status": "accepted", "signalId": "sig_a42479d5ad99", "deliveredTo": 1 }

signalId is generated by the platform, so do not send one. The signal is handed to every subscriber of your bot right away.

4

Keep the bot alive with a heartbeat

Send one every 15 seconds so the marketplace shows your bot as online and reports where its data comes from.

POST {{ publicHeartbeatUrl }} Authorization: Bearer <bot_api_key> Content-Type: application/json { "status": "online", "dataSourceType": "hub", "dataStatus": "healthy", "dataSources": ["market.binance.spot.kline.1m.BTCUSDT"], "lastDataAt": "2026-07-27T10:05:00Z", "dataMessageCount": 12045, "lastError": null }
Field Allowed values
status online, offline
dataSourceType hub, third_party, self_hosted, manual, unknown
dataStatus healthy, stale, error, unknown

A value outside these lists is quietly stored as unknown rather than rejected. Send lastError when your bot fails, so the marketplace can show the reason.

5

Read the market data feed

Your bot does not have to fetch prices from an exchange itself. Open the socket, subscribe to the subjects you need, and the platform streams them to you. The key goes in the query string.

{{ publicMarketDataUrl }}?apiKey=<bot_api_key> → { "type": "subscribe", "subjects": ["market.binance.spot.kline.1m.BTCUSDT"] } ← { "type": "market_data", "subject": "market.binance.spot.kline.1m.BTCUSDT", "data": { "type": "kline", "symbol": "BTCUSDT", "open": "...", "high": "...", "low": "...", "close": "...", "volume": "...", "closed": true, "timestamp": "2026-07-27T10:05:00Z" } }

Subjects are namespaced by your own registration: market.{exchange}.{market}.. Anything outside that namespace is refused. You may also use your own exchange feed instead — the heartbeat simply reports where the data came from.

The socket is open on the same host as the rest of the marketplace. Send a subscribe message first, then read the market_data frames that follow.

6

Publish your first signal

The whole exchange in one command. Swap the key and the bot id for your own.

curl -X POST {{ publicSignalUrl }} \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer <bot_api_key>' \ -d '{ "botId": "bot_my_strategy", "exchange": "binance", "market": "spot", "symbol": "BTCUSDT", "side": "BUY", "intent": "OPEN", "orderType": "MARKET", "confidence": 0.7, "price": 100000.0, "reason": "Short moving average crossed above long moving average", "risk": { "stopLossPercent": 1.5, "takeProfitPercent": 3.0 }, "createdAt": "2026-07-27T10:05:00Z", "expiresAt": "2026-07-27T10:06:00Z" }'

The address is already filled in for this deployment. Swap the key and the bot id for your own and the command works as it is.

Worth knowing

  • • The platform never holds your exchange API keys. Your bot only publishes signals; the subscriber's own CLI decides what to trade.
  • • Sending price is optional but worth doing. The paper P&L shown on your bot's detail page is computed against it.
  • • A signal for the same symbol in the opposite direction closes the open paper position and books the P&L.
  • • The two reference implementations live in bots/: btc_momentum_bot.py for a full bot and free_fire_test_bot.py for a connectivity check.
Marketplace

Available Bots

No bots available yet.

{{ bot.name }}

{{ bot.botId }}

{{ (bot.status || 'unknown').toUpperCase() }}

{{ bot.description }}

Platform {{ bot.platformStatus || 'offline' }} Data {{ bot.dataStatus || 'unknown' }} Hub {{ bot.hubRuntime.status || 'unknown' }}

Source: {{ bot.dataSourceType || 'unknown' }} · Messages: {{ bot.dataMessageCount || 0 }} · Last data {{ bot.lastDataAt }}

{{ tag }}
{{ source }}
Market Data

Live Feeds

Waiting for Binance market data...

{{ ticker.symbol }} BINANCE
${{ formatMoney(ticker.lastPrice, 4) }}
{{ Number(ticker.priceChangePercent) >= 0 ? '+' : '' }}{{ Number(ticker.priceChangePercent).toFixed(2) }}% 24h

High ${{ formatMoney(ticker.highPrice, 4) }} · Low ${{ formatMoney(ticker.lowPrice, 4) }}

Quote volume ${{ formatMoney(ticker.quoteVolume, 0) }}

Vietnam Market DNSE
{{ vnTracked.toLocaleString() }}
symbols quoted

{{ vnAdvance }} advancing · {{ vnDecline }} declining · {{ vnUnchanged }} unchanged

{{ vnStatus }}
Symbol Company Exchange Price %
{{ row.symbol }} {{ row.companyName || row.shortName || row.name || '-' }} {{ row.sectorName || row.sector }} {{ row.exchangeCode || '-' }} {{ formatMarketValue(vnPrice(row), 0) }} {{ formatMarketValue(vnChange(row), 2) }}
No Vietnam stocks found.
Dashboard

My Bots

Sign in to see your published and subscribed bots.

{{ vnDetailSymbol }}

{{ vnDetailCompany?.exchangeCode || 'DNSE' }} LIVE updated {{ vnDetailUpdatedAt.toLocaleTimeString() }}

{{ vnDetailCompany?.companyName || vnDetailCompany?.name || vnDetailCompany?.shortName || '-' }}

Listed {{ vnDetailCompany.listedDate }}

Loading {{ vnDetailSymbol }} details...

{{ vnDetailError }}

Last price
{{ formatMarketValue(vnDetailQuote.lastPrice, 1) }}
{{ vnDetailChangeText }}
trade at {{ vnTradeTime(vnDetailQuote.tradeTime) }}
Day range
{{ formatMarketValue(vnDetailQuote.lowPrice, 1) }}
- {{ formatMarketValue(vnDetailQuote.highPrice, 1) }}
Volume
{{ formatMarketValue(vnDetailQuote.volume, 0) }}
shares traded
Reference
{{ formatMarketValue(vnDetailQuote.referencePrice, 1) }}
previous close
Ceiling
{{ formatMarketValue(vnDetailSecdef.ceilingPrice, 1) }}
Floor
{{ formatMarketValue(vnDetailSecdef.floorPrice, 1) }}
Basic price
{{ formatMarketValue(vnDetailSecdef.basicPrice, 1) }}
Status
{{ vnDetailSecdef.securityStatus || '-' }}

Daily price history

{{ vnDetailBars.length }} sessions
{{ vnChartHoverDate || "Latest session" }} O {{ formatMarketValue(vnChartHover.open, 2) }} H {{ formatMarketValue(vnChartHover.high, 2) }} L {{ formatMarketValue(vnChartHover.low, 2) }} C {{ formatMarketValue(vnChartHover.close, 2) }} V {{ formatMarketValue(vnChartHover.volume, 0) }}

Scroll to zoom, drag to pan. Chart by TradingView.

No price history available.

Order book

Bid
{{ formatMarketValue(level.price, 1) }} {{ formatMarketValue(level.quantity, 0) }}

No bids

Ask
{{ formatMarketValue(level.price, 1) }} {{ formatMarketValue(level.quantity, 0) }}

No asks

Recent trades

Time Price Qty
{{ vnTradeTime(trade.time) }} {{ formatMarketValue(trade.price, 1) }} {{ formatMarketValue(trade.quantity, 0) }}

No trades

Instrument

ISIN
{{ vnDetailCompany.isin || vnDetailQuote.isin || '-' }}
Board
{{ vnDetailSecdef?.boardId || vnDetailCompany.boardId || '-' }}
Market
{{ vnDetailCompany?.exchangeCode || vnDetailCompany?.marketId || '-' }}
Listed
{{ vnDetailSecdef?.listingDate || '-' }}

{{ botDetail?.name }}

{{ botDetail?.botId }} {{ (botDetail?.status || 'unknown').toUpperCase() }} {{ botDetail?.platformStatus === 'online' ? 'ONLINE' : 'OFFLINE' }}

{{ botDetail?.description }}

Loading bot performance...
{{ botDetailError }}