Pinned Tweet
We're TraderStacks, the AI toolkit for your trading workflow. We post setup guides and tool comparisons for stocks, crypto, futures and options traders: what to connect, how to set it up safely, and which tools overlap. Tools, not trade advice. traderstacks.com
Running an open source Polymarket bot? Polymarket's docs say blocked-region orders are rejected, and some regions are close-only (can close, not open). GET polymarket.com/api/geoblock returns "blocked": true or false; it does not flag close-only.
Freqtrade's dry run is not a perfect copy of live trading. Per its docs, market orders fill off the orderbook with up to 5% slippage, limit orders that cross the price by more than 1% become market orders, and stoploss_on_exchange stops are assumed filled.
Giving a trading bot a Kraken API key? Kraken's own example: a key for third party trading needs Modify Orders and Cancel/Close Orders, and almost certainly not Withdraw Funds. Two optional settings worth a look: IP Address Restriction and Key Expiration.
Moving a Freqtrade bot from dry run to live? Its docs ask for 3 things: set "dry_run": false, point it at a fresh database so simulated trades don't mix with real ones, and keep your API keys in a second config file like config-private.json.
TradingView webhooks have rules most bot tutorials skip: only ports 80 and 443, your server gets 3 seconds before the request is cancelled, no IPv6, and 2FA must be on. Keep credentials out of the alert message, and check the Webhook status column in the alert log.
TraderStacks retweeted
Your AI-built backtest looks amazing. That's the problem.
Free, from our setup pack: The AI Backtest Sanity Check.
• 14-point checklist
• A prompt that hunts look-ahead bias in your code
• Red flags in your own results
• A 15-minute routine
Free PDF: traderstacks.com/free-sample
Your AI-built backtest looks amazing. That's the problem.
Free, from our setup pack: The AI Backtest Sanity Check.
• 14-point checklist
• A prompt that hunts look-ahead bias in your code
• Red flags in your own results
• A 15-minute routine
Free PDF: traderstacks.com/free-sample
n agent with real keys, run them in paper or sandbox mode. Alpaca paper accounts get their own API keys, and ccxt can switch supported exchanges to testnet with set_sandbox_mode(True). A bug there costs nothing.
A backtest post that includes costs and puts the benchmark right next to the results. That's the format worth copying. If you share one, also list the data source and the exact date range, so anyone can rerun it.
I built a long-only quant system in Python.
A backtest, not a live bot/trading agent slop.
8 strategies, 10 ETFs, 20 years of data, costs included.
The honest result: none of them beat the S&P 500 on raw return (10.7%/yr vs my best at 9.4%).
But the best one cut the worst drop from −55.2% to −15.0% 📉➡️ and Sharpe went from 0.54 to 0.74.
You can't forecast the market. You can measure risk, size positions, and test every rule.
🧮 That's the whole edge.
Want it and want to work on it? Comment QUANT and I'll send it. 💬
Picking AI tools for trading? Answer 4 questions on traderstacks.com (market, workflow, coding skill, budget) and get a stack for backtesting, charting, journaling and research. 43 tools, prices re-verified daily, red flags listed. Tools only, never trade advice.
Alpaca paper accounts start at $100k by default, and you can reset to any amount. Set it to what you'd actually fund so sizing looks real. Paper keys are separate from live, and the API spec is the same, so going live is a key and endpoint swap, not a rewrite.
Testing a crypto bot with ccxt? Switch to the exchange's testnet with exchange.set_sandbox_mode(True), and make it the first call after creating the exchange. Sandbox keys come from the exchange's sandbox site and don't work on production. Only works where a testnet exists.
Alpaca's own docs list what paper trading does not account for: market impact, information leakage, slippage from latency, queue position on resting limit orders, price improvement, regulatory fees and dividends. Paper first, but read paper results with those gaps in mind.
TraderStacks retweeted
One request, 1,000 tokens in and 500 out, at list: LFM 2.2 6b $0.00002. GPT-6 Luna or Haiku 5.5 $0.00035. DeepSeek V4.1 Flash $0.00045 off-peak. Sonnet 5.5 $0.007. Gemini 4 Neon $0.0105. Opus 5.5 $0.014. Fable 5.2 or GPT-6.2 Astra $0.028. o5 Pro $0.045. tokenscost.com
TraderStacks retweeted
The cheapest model depends on your traffic. Per 1,000 requests at list, read-heavy (20K in, 500 out): Gemini 3.5 Flash $7.25 vs Qwen4 Plus $9.46. Write-heavy (1K in, 4K out) it flips: $10.30 vs $5.72. Input $0.30 vs $0.44 per 1M, output $2.50 vs $1.32. tokenscost.com
TraderStacks retweeted
Filling a whole context window, input only, at list: Grok 4.1 Fast 2M tokens $0.40. Gemini 3.5 Flash 2M $0.60. Llama 4 Scout 10M $1. Kimi K1.5 Long 2M $1.60. Llama 5 Scout 10M $2.20. MiniMax M4 4M $2.40. Gemini 5 Preview 3M $12. Gemini 4 Ultra 4M $40. tokenscost.com
TraderStacks retweeted
Batch: 49 models in our data list a batch rate, 47 at 50% off and Grok 4.6 and 4.7 at 20%. 50M in + 10M out a month, standard vs batch: Opus 5.5 $400 vs $200. Gemini 4 Hydrogen $150 vs $75. Grok 4.7 $160 vs $128. DeepSeek V4.1 $37.80 vs $18.90. tokenscost.com
TraderStacks retweeted
Reasoning models think in tokens, so output price runs the bill. 1,000 tasks of 2K in + 10K out at list: Hunyuan-T1 $5.78. DeepSeek R2 Lite $8.40. DeepSeek R2 $29.40. o5-mini $50.40. o5 $252. Claude 5 Thinking $312. Gemini 4 Ultra $420. o5 Pro $630. tokenscost.com














