Blog

Tutorials, strategy ideas and product updates from the Sigrex team.

Building an LLM Strategy That Monitors X (Twitter) Feeds
LLM Strategy·5 min read

Building an LLM Strategy That Monitors X (Twitter) Feeds

What if your trading bot could read a tweet, weigh it against current market conditions, and decide — on its own — whether it's worth a trade? That's the idea behind this strategy: an LLM-powered bot that monitors Elon Musk's X (Twitter) feed, cross-references it with live BTC/ETH/FLOKI prices, and only acts when a post is both relevant and significant. This post walks through exactly how it works, piece by piece, using the real production prompt as the reference. The full working strategy fro

2026-08-03
Connecting External APIs Securely with $.Http
Code Strategy·2 min read

Connecting External APIs Securely with $.Http

Standard JavaScript runtimes like Node.js or browsers rely on global functions like fetch or axios to interact with external web services. However, in secure algorithmic environments, accessing unmanaged networking interfaces can introduce significant latency, security risks, or memory overhead. In Code Strategies, external network communication is handled through the built-in $.Http object. $.Http provides a streamlined, secure utility for sending HTTP requests, managing caching automatically

2026-07-23
Time Gates in Code Strategies
Code Strategy·3 min read

Time Gates in Code Strategies

When building automated trading algorithms, controlling when your strategy evaluates the market is just as important as defining what it does. Because Code Strategies run continuously in an infinite loop—executing one iteration immediately after another—performing a full market evaluation or making external network requests on every single pass can lead to rate-limiting issues, noisy signal processing, and degraded performance. This is where Time Gates come in. A Time Gate creates a controlle

2026-07-23
How to Use $.Storage in Code Strategies
Code Strategy·2 min read

How to Use $.Storage in Code Strategies

When building continuous algorithmic trading strategies, keeping track of historical context across loop iterations is essential. Because Code Strategies execute in an isolated runtime environment, standard in-memory variables reset between runs. To maintain continuity—such as tracking open position sizes, counting trade entries, storing indicator states, or logging timestamp markers—your strategy needs a reliable way to persist data. This is where $.Storage comes in. What is $.Storage? $.S

2026-07-23