Op

Open-source Go repo comparing DCA vs. Grid with reproducible backtests

Hacker News

Open-source Go repo comparing DCA vs. Grid with reproducible backtests

Hi HN, I built a small open-source repo in Go to compare two classic trading strategies (Dollar-Cost Averaging vs Grid). This is educational/research only — no real keys, no promises of profit. Why I built it: I wanted a clean architecture to experiment with strategies. Most examples online are either black-box or not reproducible. What’s inside: Strategy interface for DCA/Grid. Unified exchange client (Binance/CCXT). Minimal backtester with seeded RNG for reproducibility. Metrics: Profit Factor, Max Drawdown, Win Rate, Sharpe. Sample metrics (BTC 2020–2024): DCA → PF 1.42, MDD -18.7%, WR 62% Grid → PF 1.67, MDD -25.3%, WR 58% Repo: https://github.com/Zmey56/crypto-trading-strategies I’d love feedback on: Architecture (Go interfaces, package layout). How you approach reproducibility in backtests. Ideas for extending this (filters, regime classification, DeFi/AMMs).

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
47%47% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface · Missing: plus, platform, intuitive
47%47% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: trading, education · Missing: mobile apps, ios, personal
40%40% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
35%35% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntUnlikely to reach the leaderboard · Strong signals: open · Missing: mac, agents, macos
30%30% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: profit · Missing: arr, mrr, revenue
24%24% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: crypto · Missing: web3, chat, cryptocurrency
3%3% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ha
Halfbit Grid – open-source grid for Blazor WebAssembly63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Halfbit Grid – open-source grid for Blazor WebAssembly

Hacker News3
15
15FPS to 60FPS using RIFE open source repo64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

15FPS to 60FPS using RIFE open source repo

Hacker News1
Co
Codix.io – open source repo ratings and discovery65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Codix.io – open source repo ratings and discovery

Hacker News6
La
Layoutit, Open Source CSS Grid Generator Powered by Vue 371%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Layoutit, Open Source CSS Grid Generator Powered by Vue 3

Hacker News8
Sentient Chat
Sentient Chat72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A GRID experience providing open-source intelligence

Product Hunt+135Open Source
Op
Open-source Powerful virtual data grid smartsheet with customization73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-source Powerful virtual data grid smartsheet with customization

Hacker News5
Fi
Finetuning LLMs: Open-source vs. Close-source81%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Finetuning LLMs: Open-source vs. Close-source

Hacker News2
Sl
SlideSelection, an Open Source Hooper Selection Implementation47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SlideSelection, an Open Source Hooper Selection Implementation

Hacker News4
Pi
Piki is now open source73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Piki is now open source

Hacker News2
Op
Open Source CNC Beehive With Arduino and Sensors58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open Source CNC Beehive With Arduino and Sensors

Hacker News1