I’ve been working on go-sr, a small Go module for support/resistance detection aimed at trading systems and backtests where reproducibility matters.

The main design goal is avoiding accidental lookahead bias:

  • operate on closed candles
  • confirmation-based pivots in zone mode
  • deterministic output for the same candle prefix/options
  • same computation path for backtests and live systems

It supports line-based and ATR-aware zone modes, nearest support/resistance metadata, and multi-timeframe candle aggregation.

There are no external runtime dependencies.

go get github.com/laclance/go-sr@v1.1.0 

I’ve also added a standalone runnable example under examples/basic.

I’m especially interested in feedback from people building Go trading/backtesting systems: does the API fit naturally into your candle pipeline, and are there integrations you’d find useful?

https://github.com/laclance/go-srgo-sr: deterministic, no-lookahead support/resistance detection for GoI’ve been working on go-sr, a small Go module for support/resistance detection aimed at trading systems and backtests where reproducibility matters.The main design goal is avoiding accidental lookahead bias:operate on closed candles

confirmation-based pivots in zone mode

deterministic output for the same candle prefix/options

same computation path for backtests and live systemsIt supports line-based and ATR-aware zone modes, nearest support/resistance metadata, and multi-timeframe candle aggregation.There are no external runtime dependencies.go get github.com/laclance/go-sr@v1.1.0
I’ve also added a standalone runnable example under examples/basic.I’m especially interested in feedback from people building Go trading/backtesting systems: does the API fit naturally into your candle pipeline, and are there integrations you’d find useful?https://github.com/laclance/go-sr

submitted by /u/laclance
[link] [留言]