Skip to content

About

BtceStockHive Code Evidence. Historical automated crypto-trading system (2013–2018) with independent market-data Units and trading Bots, SQLite-based data exchange, exchange API integration and monitoring tools.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

BtceStockHive — Code Evidence Repository

A curated set of original source-code excerpts from BtceStockHive, a modular multi-process automated trading and market-data processing system (project period reported by the developer as 2013–2018).

Role: Lead Developer / System Architect
Technology: C#, .NET Framework 4.0, Windows Forms, SQLite, SQL, exchange APIs
Reported operating scale: 13 market-data Units and 4 simultaneously operating trading Bots.

This repository is not a full source-code release or a runnable reconstruction. It is a code-evidence collection: each evidence item points to the original source path and explains the engineering decision demonstrated by the excerpt.

Architecture at a glance

flowchart TB
  API[External Exchange API]
  subgraph U[Independent Unit processes]
    U1[Unit for Pair A]
    U2[Unit for Pair B]
    U3[Unit for Pair N]
  end
  subgraph DB[SQLite data layer — database per pair]
    D1[(tick_pair_A.db3)]
    D2[(tick_pair_B.db3)]
    D3[(tick_pair_N.db3)]
  end
  subgraph B[Independent Bot processes]
    B1[Bot for Pair A]
    B2[Bot for Pair B]
    B3[Bot for Pair N]
  end
  API --> U1
  API --> U2
  API --> U3
  U1 -->|SQL write| D1
  U2 -->|SQL write| D2
  U3 -->|SQL write| D3
  D1 -->|SQL read| B1
  D2 -->|SQL read| B2
  D3 -->|SQL read| B3
  B1 --> API
  B2 --> API
  B3 --> API
  H[Human monitoring and emergency control] -.-> U1
  H -.-> B1
Loading

Units collected ticker, public trades and order-book depth. Each Bot independently read its pair's SQLite database and ran its own trading logic. A separate desktop application supported debugging, human monitoring and emergency manual control; it was not a central trading orchestrator.

Source provenance

The evidence excerpts are mapped to the supplied source archives and original project paths in SOURCE-PROVENANCE.md. This record distinguishes source material from the editorial evidence collection and states what is not independently verified. A separate build-artifact and PDB verification report documents the additional 2018 archive, executable/debug-symbol correspondence, representative hashes and verification limits. Original source and build archives are retained by the developer and can be made available for private technical verification upon reasonable request, subject to confidentiality and third-party licensing restrictions.

Source and original project artifact

The source archive inventory, SHA-256 fingerprints, source-to-evidence mapping and limitations of historical date/authorship verification are documented in SOURCE-PROVENANCE.md. One original Bot project metadata file is preserved under original-artifacts/.

Evidence index

Evidence Original source Demonstrates
01 — Market-data collection Forms/Forms.Extender/BaseTrayForm.cs Timer-driven ticker, trades and depth ingestion; SQL-backed persistence
02 — Bot data consumption Forms/Forms.Extender/BaseBotForm.cs Independent polling, history retrieval and strategy invocation
03 — SQLite data layer DB/DB.Extender/DB/BaseProvider_pair.cs Per-pair storage, ticker updates and historical market-data reads
04 — Strategy and execution Btce/Btce.Extender/Trading/Trader/BulletShotTrade.cs; .../Strategy/BulletShot.cs Separation of strategy evaluation from live trading execution
05 — Reusable database infrastructure WS.DB/BaseProvider.cs; WS.DB/SQLite/Provider.cs Generic database provider abstraction and SQLite specialization
06 — Dependency map Project files (.csproj) Actual project references between applications, domain layer and WS libraries

Reported operational facts

The following figures and operating details are based on the developer's account of the historical deployment:

  • 13 Units updated market data for configured trading pairs.
  • 4 Bots were trading simultaneously.
  • The design allowed additional Units and Bots to be added as needed; the reported configuration supported up to one Bot per Unit.
  • The applications ran on one computer. Shared-folder/VPS deployment was considered technically possible but was not validated as a production deployment.
  • Units and Bots ran as independent background applications with user controls to start, pause/resume and stop them.
  • Units progressively slowed their polling and retried API connection after connectivity or exchange-service problems.
  • Bots stopped trading when the latest ticker was considered stale.
  • Operational validation used application logging, manual tests, simulation and live operation. There was no formal unit-test suite.

Important scope and limitations

  • This repository contains selected excerpts, not the complete application.
  • The original system used .NET Framework 4.0 and Windows Forms.
  • SQLite provided database-mediated process communication; this was not a message broker or an event-streaming platform.
  • Actual deployment on multiple machines is not claimed.
  • No profitability, uptime, throughput or other benchmark claims are made.
  • Some API integration projects and dependencies were not included in the supplied archives, so their internal implementation cannot be independently reviewed here.
  • Excerpts are preserved from the supplied source archives. They may depend on surrounding project types and libraries and are not necessarily standalone compilable files.

Ownership and third-party components

The source excerpts are shared for technical review and portfolio evaluation. No license is granted to reuse, modify, or redistribute the source code unless the rights holder provides separate written permission. Third-party dependencies remain subject to their respective licenses. See LICENSE.

Historical context

BtceStockHive predates modern LLM-based agents. It is presented as evidence of earlier systems-engineering experience with autonomous specialized processes, shared persistent state, external API integration, data freshness, operational recovery, observability and human oversight—not as an AI product.

About

BtceStockHive Code Evidence. Historical automated crypto-trading system (2013–2018) with independent market-data Units and trading Bots, SQLite-based data exchange, exchange API integration and monitoring tools.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors