Strategy-as-an-API · Paper trading

Turn a trading strategy into
a live, testable API

FinLinCore takes a market strategy and exposes it as clean endpoints: scan assets, get buy and sell signals, backtest the history, and paper-trade, all behind one Swagger-documented API.

What is FinLinCore?

A backend engine that turns trading logic into software other apps can call.

Strategy

A Bollinger buy/sell-band system (reversal and breakout), filtered by trend and candlestick patterns, written as deterministic code.

API

Every capability is an endpoint with auto-generated Swagger docs, so any web, mobile, or bot client can connect.

Secure

Paper money only, which avoids broker licensing and liability while the product is proven. A regulated broker bridge comes later.

Features

A working multi-user backend, not a mockup.

Accounts & Auth

JWT login, bcrypt-hashed passwords, per-user data.

Multi-asset Scanner

Sweeps stocks and crypto at once into ranked buy/sell lists.

Live Signal Stream

SSE and WebSocket channels push what to do on an interval.

Backtesting

Replay a strategy over history: win rate, P&L, drawdown.

Paper Trading

Simulated orders, positions, portfolio equity and return.

History

Every signal and closed trade, stored per user.

How to use the API

Authenticate once, then every endpoint is one call.

1
Register & log in → get a token
2
Scan the market → ranked buy/sell lists
3
Backtest a symbol → is the edge real?
4
Paper-trade it → track the portfolio
5
Stream signals live → "what to do now"
# 1) get a token
curl -X POST /auth/login \
  -d "username=you@mail.com&password=secret123"

# 2) scan stocks + crypto
curl /scanner?symbols=AAPL,NVDA,BTC-USD \
  -H "Authorization: Bearer $TOKEN"

# 3) live stream (browser)
new EventSource(`/stream/signals?token=${TOKEN}`)

Live API — Swagger

The full, interactive contract. Try any endpoint right here.

Open in new tab ↗

Demo UI — the API in action

A one-click account, then drive the real endpoints. Everything is simulated.

1 · Session

Not connected.

2 · Actions

3 · Paper trade

Portfolio

Log in, then refresh to see your simulated account.

Signals & results

Run a scan or backtest to see output here.