Use Case

Scalping Strategies

M1 and M5 indicators, real-time tick data, live spread monitoring, and Redis-cached responses — everything a scalper needs in a single API.

The Challenge

Scalping strategies live and die by milliseconds. You need indicators calculated on M1 and M5 candles refreshed on every new bar, real-time spread data to avoid getting eaten by costs, and tick-level granularity for precise entry timing. Most financial APIs are built for swing traders — they update too slowly, lack tick data, and do not expose spread information at all.

How TickAtlas Solves It

M1/M5 Indicators

All 42 indicators calculated on 1-minute and 5-minute candles. RSI(14) on M1 refreshes with every new bar.

Real-Time Tick Data

Raw bid/ask tick data via /v1/ticks. See every price movement for precise entry and exit timing.

Live Spread Monitoring

Current and average spread via /v1/spread. Avoid scalping during high-spread periods that destroy profitability.

Redis-Cached Response

Values served from Redis, with M1 and M5 refreshing on the minute.

Stochastic + RSI Confluence

Fetch multiple oscillators in one /v1/multi call to confirm scalp entries with indicator confluence.

600 req/min Rate Limit

Pro plan supports 10 requests per second — enough to poll indicators continuously across multiple pairs.

Key Endpoints

Scalping Bot Architecture

architecture
┌─────────────────────────────────────────────────────────┐
│                    Scalping Bot                         │
│  ┌─────────────┐  ┌─────────────┐  ┌───────────────┐   │
│  │ Tick Monitor │  │ Indicator   │  │ Spread Filter │   │
│  │ (100ms poll) │  │ Poller (2s) │  │ (threshold)   │   │
│  └──────┬──────┘  └──────┬──────┘  └──────┬────────┘   │
│         │                │                │             │
│         └────────┬───────┴────────┬───────┘             │
│                  ▼                                      │
│          ┌──────────────┐                               │
│          │ Signal Engine │──▶ Execute via Broker API    │
│          └──────────────┘                               │
└─────────────────────────────────────────────────────────┘
                   │         ▲
                   ▼         │
          ┌──────────────────────┐
          │  TickAtlas API   │
          │  /v1/ticks           │
          │  /v1/indicator (M1)  │
          │  /v1/spread          │
          └──────────────────────┘

Code Example

python
import requests, time

API_KEY = "your_api_key"
BASE = "https://tickatlas.com/v1"
headers = {"X-API-Key": API_KEY}
SYMBOL = "EURUSD"

def check_oscillator_state():
    # Read the current spread first; skip the sample when it is wide
    spread = requests.get(f"{BASE}/spread",
        headers=headers, params={"symbol": SYMBOL}).json()
    if spread["data"]["current"]["spread_pips"] > 1.5:
        return None  # spread wider than this sample's threshold

    # Get M1 RSI and Stochastic
    rsi = requests.get(f"{BASE}/indicator", headers=headers,
        params={"symbol": SYMBOL, "indicator": "RSI_14", "timeframe": "M1"}).json()
    stoch = requests.get(f"{BASE}/indicator", headers=headers,
        params={"symbol": SYMBOL, "indicator": "Stochastic_K", "timeframe": "M1"}).json()

    rsi_val = rsi["data"]["value"]
    stoch_k = stoch["data"]["value"]

    # Both oscillators inside their conventional oversold zone
    if rsi_val < 30 and stoch_k < 20:
        return "both oversold"
    # Both inside their conventional overbought zone
    if rsi_val > 70 and stoch_k > 80:
        return "both overbought"
    return None

# Poll once a minute — M1 values refresh on the bar
while True:
    state = check_oscillator_state()
    if state:
        print(f"{SYMBOL} M1: {state} (RSI and Stochastic agree)")
    time.sleep(60)

Recommended Plan

Pro Plan

$79/mo

Scalping requires high request volumes. The Pro plan gives you 100,000 requests/day and 600 req/min — enough to continuously poll M1 indicators, spreads, and ticks across multiple pairs.

  • ✓ /v1/ticks for tick-level precision
  • ✓ /v1/spread for cost management
  • ✓ M1/M5 indicators refreshed every bar
  • ✓ 600 req/min = 10 requests per second
View all plans →

Build Your Scalping Edge

Start free with $2.50 of API credit. Test M1 indicators and spreads with zero commitment.