Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/theonetrade/uzse-backtest-app/llms.txt

Use this file to discover all available pages before exploring further.

MinIO provides an S3-compatible object storage layer for the UZSE Backtest App. It is an optional component — the core data pipeline (download → import → build candles) runs entirely against MongoDB — but MinIO becomes useful when you need durable off-database storage for trade data exports, JSON snapshots, or pipeline backups. Because it speaks the S3 API, any tool or library that works with AWS S3 will work against a local MinIO instance with no code changes.

Docker Compose

The project ships a docker-compose.yaml under docker/minio/ that runs the Bitnami MinIO 2022 image. Two ports are exposed: one for the S3-compatible API and one for the browser-based web console. A named volume keeps bucket data persistent across restarts.
services:
  minio:
    image: docker.io/bitnami/minio:2022
    ports:
      - '9002:9000'
      - '9003:9001'
    networks:
      - minionetwork
    volumes:
      - 'minio_data:/data'
    environment:
      - MINIO_ROOT_USER=services
      - MINIO_ROOT_PASSWORD=services
      - MINIO_DEFAULT_BUCKETS=airport
    restart: always

networks:
  minionetwork:
    driver: bridge

volumes:
  minio_data:
    driver: local

Starting MinIO

1

Navigate to the MinIO Docker directory

cd docker/minio
2

Start the container in detached mode

docker compose up -d
3

Open the web console

Navigate to http://localhost:9003 and log in with the default credentials below.

Ports and Endpoints

PortServiceDescription
9002MinIO APIS3-compatible endpoint for SDK and CLI access
9003Web ConsoleBrowser-based object browser and admin UI
Point any S3 client at http://localhost:9002 as the endpoint URL to interact with buckets programmatically.

Default Credentials

The container starts with the following credentials pre-configured via environment variables:
SettingValue
Root userservices
Root passwordservices
Default bucketairport
The airport bucket is created automatically on first startup. You can create additional buckets from the web console or via the MinIO CLI (mc).
The default credentials (services / services) are intentionally simple for local development. Never deploy this configuration to a production or internet-facing environment. Before any production use, replace MINIO_ROOT_USER and MINIO_ROOT_PASSWORD with strong, unique values and consider enabling TLS on the MinIO endpoint.

Web Console

The MinIO web console is available at http://localhost:9003 once the container is running. From the console you can:
  • Browse and manage buckets and objects
  • Upload or download files manually
  • Create service accounts with scoped access keys
  • Monitor storage usage and server health

MongoDB

Primary store for trade records and OHLCV candles.

Configuration

Environment variables and project setup.

Download Trades

Scrape raw UZSE trade data from the exchange.

Import Trades

Load scraped trade JSON files into the database.

Build docs developers (and LLMs) love