> ## Documentation Index
> Fetch the complete documentation index at: https://uncoded.ch/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy and Host unCoded on zeabur

# **unCoded Trading Bot**

Professional self-hosted crypto trading bot. Non-custodial by design — your API keys stay in your deployment, your funds stay on your exchange, and you retain full control over every trade decision.

Built for traders who want institutional-grade automation without handing their capital or keys to a third party.

## **Why unCoded**

* **Non-custodial** — API keys live only in your deployment, never touch our servers
* **Self-hosted** — your infrastructure, your data, your rules
* **Production-tested** — running live on real capital by real traders since 2020
* **Transparent** — you see every trade, every indicator, every decision in your own dashboard
* **No subscriptions to our cloud** — you pay for hosting, not for access

## **Core Features**

### **Trading Engine**

* 150+ technical indicators including RSI, MACD, Bollinger Bands, Stochastic, Ichimoku, ADX, VWAP, and dozens of custom derivatives
* Multi-symbol trading with per-pair configuration
* Spot and margin support
* Configurable order types — market, limit, and hybrid execution
* Fee-aware profit calculation with exchange-specific adjustments

### **Risk Management**

* **Trailing Stop Loss** with custom activation curves — tighten as profit grows
* **Automatic DIP Rebuying** — accumulate more at lower prices, reduce average entry
* **Sell Time Curves** — time-weighted exit logic based on how long a position has been open
* **Kelly Criterion position sizing** — mathematically optimal capital allocation per trade
* Hard stop-loss and take-profit overrides
* Maximum concurrent position limits

### **Signal Integration**

* **TradingView webhook support** — connect any Pine Script alert to your bot
* Webhook secret authentication to prevent unauthorized signals
* Signal filtering and validation before execution
* Compatible with popular indicator sets and custom strategies

### **Monitoring and Control**

* **Web dashboard** with real-time position view, P\&L tracking, and trade history
* **Telegram bot** for notifications and remote control — start, stop, and query from your phone
* Detailed logging for every action, retry, and exchange response
* Tax export for your jurisdiction's reporting requirements

## **Services Deployed**

This template deploys five integrated services:

| **Service**        | **Purpose**                                      |
| ------------------ | ------------------------------------------------ |
| unCodedDatabase    | PostgreSQL 18 — trade history, config, and state |
| unCodedTradingBot  | Core trading engine, executes orders             |
| unCodedDashboard   | Web UI for monitoring and configuration          |
| unCodedTelegramBot | Telegram notifications and remote commands       |
| unCodedSignalBot   | TradingView webhook receiver                     |

All services are pre-wired with dependencies, networking, and environment variables. Postgres password is auto-generated securely.

## **Recommended Resources**

* **Minimum**: 2 vCPU / 4 GB RAM
* **Recommended**: 4 vCPU / 8 GB RAM

Heavier workloads — multi-symbol setups, high indicator counts, or tight trading intervals — benefit from more RAM.

## **Setup in 3 Minutes**

1. **Create your exchange API key** Enable Spot and Margin trading permissions. For security, restrict by IP where supported. Never enable withdrawal permissions.
2. **Optional — Create a Telegram bot** Message BotFather on Telegram with `/newbot`, save the token. Use `/myid` via userinfobot to get your group ID. Set tokens to `0` if you want to skip Telegram entirely.
3. **Set strong dashboard passwords** App Password for full access, Viewer Password for read-only monitoring (share safely with accountability partners).
4. **Deploy** Fill in the variables, pick a region close to your exchange's servers for lowest latency, and click Deploy. All five services start in sequence automatically.
5. **Access your dashboard** Once deployed, check the Instructions tab on the Dashboard service for your login URL, or open the Dashboard Domain URL directly.
6. **Configure TradingView webhooks** (optional) Check the Instructions tab on the Signal Bot service for your webhook URL and secret. Paste these into your TradingView alert configuration.

## **Recommended Regions**

Low latency to the exchange matters for execution quality. Choose a region geographically close to your exchange's matching engine:

* **Asia-based exchanges** — Tokyo, Singapore, Hong Kong
* **US-based exchanges** — Virginia, N. California
* **EU-based exchanges** — Frankfurt, Amsterdam

## **Security Notes**

* API keys are stored as environment variables, visible only inside your own Zeabur account
* PostgreSQL is reachable only through the internal private network
* The Dashboard is protected by your App Password, served over HTTPS automatically
* The Signal Bot authenticates incoming webhooks via a shared secret
* Never commit your API keys, tokens, or passwords to Git or share them in screenshots

## **Version and Updates**

This template pins image version `:10` for stability. To upgrade, change the image tag in the service's Settings → Image Source, not by switching to `:latest` which may introduce breaking changes.

## **Documentation and Support**

* Full documentation, indicator reference, and strategy guides: [**https://uncoded.ch/docs**](https://uncoded.ch/docs)
* Platform and community: [**https://uncoded.ch**](https://uncoded.ch)
* unCoded backtesting: [**https://uncoded.ch/backtesting**](https://uncoded.ch/backtesting)

## **Disclaimer**

Automated trading involves financial risk. Past performance does not guarantee future results. Run the bot in paper-trading or with small capital until you fully understand its behavior. You are responsible for your own trades, taxes, and compliance with your local regulations.

***

Deploy once, trade automated forever. Welcome to sovereign-grade crypto automation.
