frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Qantify – GPU-Accelerated Trading Library with Advanced Math and AutoML

https://github.com/Alradyin/qantify
1•Alradyin•1h ago
I've been building Qantify for the past 2 years - an open-source Python library for algorithmic trading that combines institutional-grade math models with modern ML/AutoML pipelines.

*What makes it different:*

Most trading libraries are either: - Too slow (Backtrader: ~5ms/point, Zipline: ~10ms/point) - Missing advanced math (no quantum finance, chaos theory, optimal execution models) - No AutoML pipeline (QuantConnect has basic ML but no AutoML) - No GPU acceleration

Qantify addresses all of these.

*Performance:* - 0.008ms per data point (50-100x faster than alternatives) - GPU acceleration: 2-3x speedup on compatible hardware - 1767+ comprehensive tests, 100% code coverage - 106K+ lines of code

*Advanced Math Models* (what hedge funds use):on # GARCH volatility modeling from qantify.math.econometrics import GARCHModel garch = GARCHModel(returns) vol_forecast = garch.forecast(horizon=10)

# Heston stochastic volatility from qantify.math.stochastic import HestonProcess, MonteCarloEngine heston = HestonProcess(v0=0.04, theta=0.04, kappa=2.0, sigma=0.3, rho=-0.7) mc = MonteCarloEngine(process=heston) paths = mc.simulate(n_paths=10000, n_steps=252)

# Optimal execution (Almgren-Chriss) from qantify.math.execution import AlmgrenChrissOptimalExecution execution = AlmgrenChrissOptimalExecution( initial_position=10000, time_horizon=timedelta(hours=4), risk_aversion=1e-6 ) optimal_schedule = execution.compute_schedule()

# Advanced cointegration (statistical arbitrage) from qantify.math.stat_arb import JohansenTest, KalmanHedgeRatioEstimator*Unique features* (not found in competitors): - Quantum finance models - Chaos theory applications - Complexity theory - Information theory - Game theory models

*ML/AutoML Pipeline* (end-to-end):thon from qantify.ml import AutoMLRunner, create_features

# Auto-generate 100+ features features = create_features( df, feature_sets=["trend", "momentum", "volatility", "statistical"], windows=(14, 55, 200) )

# Automated model selection with walk-forward validation runner = AutoMLRunner( search="bayesian", # or "grid", "random", "hyperopt" walk_forward=True, # Time-series aware validation test_size=0.25 )

results = runner.run(features, target) # Automatically tests: RF, GBM, XGBoost, LightGBM # Selects best model with proper time-series validation*ML Features:* - Reinforcement learning (DQN, Q-learning, Policy gradients) - Advanced neural networks (LSTM, GRU, Transformers, Attention) - Model drift monitoring - Feature selection (SHAP, mutual information) - Experiment tracking (MLflow, W&B integration)

*Quick example:* from qantify.data import get_candles from qantify.signals import rsi from qantify.backtest.vectorized import run_vectorized

df = get_candles("binance", "BTCUSDT", "1h", limit=1000) df['rsi'] = rsi(df['close'], period=14)

result = run_vectorized( prices=df["close"], long_signal=df["rsi"] < 30, short_signal=df["rsi"] > 70, allocation=0.5 )

print(f"Sharpe: {result.metrics.sharpe:.2f}")*Real benchmarks:* - Backtest speed: < 0.1s (5000 points) vs QuantConnect's ~5-10s - GPU speedup: 2-3x (tested on RTX 3070) - ML accuracy: Market regime 74.3%, Volatility prediction 68.7%

*Why I built it:* I needed advanced math models (GARCH, Heston, optimal execution) combined with modern ML pipelines, all in one library. Existing solutions either lacked the math depth or the ML integration.

*GitHub:* https://github.com/Alradyin/qantify *PyPI:* pip install qantify

I'd love feedback from the HN community. What features would you find most useful? What am I missing?

Built with Python 3.10+, async/await everywhere, modular architecture. Completely open-source and free for personal/research use.

An Interview with Unity CEO Matthew Bromberg About Turnarounds

https://stratechery.com/2025/an-interview-with-unity-ceo-matthew-bromberg-about-turnarounds/
1•feross•13s ago•0 comments

Jsonrepair: Repair Invalid JSON Documents

https://github.com/josdejong/jsonrepair
1•vismit2000•1m ago•0 comments

Autumnjs: Reactive, deterministic, GPU-aware, ultra-low-latency front end engine

https://github.com/renderhq/autumnjs
1•handfuloflight•2m ago•0 comments

Show HN: I built whatstype.org – a free personality test site

https://whatstype.org/en
1•olivefu•2m ago•0 comments

fuckborderradius.com

https://fuckborderradius.com
2•helloplanets•15m ago•0 comments

Charlie Munger and the Psychology of Human Misjudgement

https://fs.blog/knowledge-project-podcast/outliers-charlie-munger/
2•feross•15m ago•0 comments

Why smart instruction-following makes prompt injection easier

https://www.gilesthomas.com/2025/11/smart-instruction-following-and-prompt-injection
1•ibobev•17m ago•0 comments

AI Preferences (aipref)

https://datatracker.ietf.org/wg/aipref/about/
1•jruohonen•17m ago•0 comments

The Tale of the Top-Tier Intellect

https://www.lesswrong.com/posts/3q8uu2k6AfaLAupvL/the-tale-of-the-top-tier-intellect
1•cl3misch•18m ago•0 comments

Hilbert space: treating functions as vectors

https://eli.thegreenplace.net/2025/hilbert-space-treating-functions-as-vectors/
2•signa11•20m ago•0 comments

Your AI Agent Probably Shouldn't Be an Agent

https://deesoomens.substack.com/p/ai-agents-the-latest-stop-on-the
1•happy-days•22m ago•0 comments

Ask HN: What do you do while LLM is writing code

1•me551ah•24m ago•0 comments

LaTeX, LLMs and Boring Technology

https://eli.thegreenplace.net/2025/latex-llms-and-boring-technology/
1•signa11•26m ago•0 comments

Git gencommit – autogenerate commit message from diffs

https://github.com/nurv/gencommit
3•arturventura•27m ago•2 comments

Show HN: New major version 3.2.0 of hmpl

https://github.com/hmpl-language/hmpl/releases/tag/3.2.0
1•aanthonymax•27m ago•0 comments

Show HN: Realistic malicious encrypted traffic datasets for ML

https://maltracer.com
1•bladecd•28m ago•0 comments

Danish man given suspended sentence for sharing film scenes on Reddit

https://www.bbc.co.uk/news/articles/c201yq43k66o
2•perihelions•29m ago•0 comments

Historic Buildings and Cityscapes

https://5dculture.eu/scenario/cityscapes
1•jruohonen•32m ago•0 comments

Giving Your AI a Job Interview

https://www.oneusefulthing.org/p/giving-your-ai-a-job-interview
1•gHeadphone•34m ago•0 comments

How the PolyBlocks AI Compiler Works

https://docs.polymagelabs.com/articles/polyblocks-quantization.html
1•cmdr2•38m ago•0 comments

Intermediate Developer

https://dawranliou.com/blog/intermediate-dev/
1•todsacerdoti•41m ago•0 comments

Ok Billionaire: Why Do the Opinions of 600 Americans Get So Much Airtime? (2019)

https://lithub.com/ok-billionaire-rebecca-solnit-on-the-self-pity-of-the-very-rich/
2•robtherobber•42m ago•0 comments

Most useful tips for founders that have to make first sales for their SaaS

1•cbenjumea•42m ago•0 comments

The folly that was Tandem Computers and the path that led me to NonStop

https://itug-connection.blogspot.com/2018/01/the-folly-that-was-tandem-computers-and.html
1•signa11•44m ago•0 comments

Show HN: DoDidDone – Voice AI that calls customer support on your behalf

https://dodiddone.it.com/
1•joeysywang•45m ago•0 comments

Show HN: Page Report – Conversational agents for landing page CRO

https://www.pagereport.app/
2•hamzaawan•47m ago•0 comments

Targeting the EU

https://netzpolitik.org/2025/databroker-files-targeting-the-eu/
2•jruohonen•48m ago•1 comments

How I Survived a Viral App

https://www.sh4jid.me/blog/how-i-survived-a-viral-app
1•sh4jid•50m ago•0 comments

Audi in Formula One

https://en.wikipedia.org/wiki/Audi_in_Formula_One
1•wslh•52m ago•0 comments

You%20need%20an%20AI%20policy%20for%20your%20docs

https://passo.uno/ai-docs-policy-contributions/
1•theletterf•52m ago•0 comments