EUR/USD Forex Ghost Trader Track Record
curl --request GET \
--url https://api.aioka.io/v1/forex/eurusd/track-recordimport requests
url = "https://api.aioka.io/v1/forex/eurusd/track-record"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aioka.io/v1/forex/eurusd/track-record', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aioka.io/v1/forex/eurusd/track-record",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aioka.io/v1/forex/eurusd/track-record"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aioka.io/v1/forex/eurusd/track-record")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aioka.io/v1/forex/eurusd/track-record")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"stats": {
"total_trades": 123,
"validated_paper_trades": 123,
"win_rate": 123,
"total_pnl_usd": 123,
"total_pnl_pips": 123,
"avg_hold_minutes": 123,
"best_trade_usd": 123,
"worst_trade_usd": 123,
"paper_validation_target": 10
},
"trades": [
{
"id": "<string>",
"entry_time": "<string>",
"exit_time": "<string>",
"entry_price": 123,
"exit_price": 123,
"size_units": 123,
"pnl_usd": 123,
"pnl_pips": 123,
"pnl_pct": 123,
"is_paper": true,
"result": "<string>",
"mode": "<string>",
"tp1_pnl_usd": 123,
"session": "<string>",
"spread_at_entry": 123
}
]
}Public
EUR/USD Forex Ghost Trader Track Record
Full EUR/USD Forex trade history with derived stats. Paper-trading data; AIOKA EUR/USD runs in paper mode until 10 validated paper trades close.
GET
/
v1
/
forex
/
eurusd
/
track-record
EUR/USD Forex Ghost Trader Track Record
curl --request GET \
--url https://api.aioka.io/v1/forex/eurusd/track-recordimport requests
url = "https://api.aioka.io/v1/forex/eurusd/track-record"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.aioka.io/v1/forex/eurusd/track-record', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aioka.io/v1/forex/eurusd/track-record",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aioka.io/v1/forex/eurusd/track-record"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aioka.io/v1/forex/eurusd/track-record")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aioka.io/v1/forex/eurusd/track-record")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"stats": {
"total_trades": 123,
"validated_paper_trades": 123,
"win_rate": 123,
"total_pnl_usd": 123,
"total_pnl_pips": 123,
"avg_hold_minutes": 123,
"best_trade_usd": 123,
"worst_trade_usd": 123,
"paper_validation_target": 10
},
"trades": [
{
"id": "<string>",
"entry_time": "<string>",
"exit_time": "<string>",
"entry_price": 123,
"exit_price": 123,
"size_units": 123,
"pnl_usd": 123,
"pnl_pips": 123,
"pnl_pct": 123,
"is_paper": true,
"result": "<string>",
"mode": "<string>",
"tp1_pnl_usd": 123,
"session": "<string>",
"spread_at_entry": 123
}
]
}This endpoint is public — no API key required. Powers the EUR/USD tab
on aioka.io/track-record. (Sprint 186 — first non-crypto, non-commodity
asset.)
forex_eurusd_trades table.
⚠️ Paper-trading data. AIOKA EUR/USD Ghost Trader is a simulation in Sprint 186. Live capital does not flow through this loop until 10 validated paper trades have closed AND post-validation approval is documented.
Sprint 186 field-naming convention
This endpoint returns snake_case field names exclusively. No camelCase aliases.Response Fields
Top-level
| Field | Type | Meaning |
|---|---|---|
trades | array | List of closed validated EUR/USD trades, oldest first |
stats | object | Derived performance statistics |
trades[i] fields
| Field | Type | Meaning |
|---|---|---|
id | string | Trade UUID |
entry_time | string | ISO 8601 entry timestamp |
exit_time | string | ISO 8601 exit timestamp |
entry_price | number | Entry price (5 dp) |
exit_price | number | Exit price (5 dp) |
size_units | number | Position size in base-currency units (EUR) |
pnl_usd | number | Total P&L in USD (TP1 partial + final exit) |
pnl_pips | number | Total P&L in pips (Forex-native unit) |
pnl_pct | number | P&L as % of position cost |
tp1_pnl_usd | number | null | TP1 partial-sell locked P&L in USD (null if TP1 didn’t fire) |
session | string | null | Session label at entry (LONDON/OVERLAP/NEW_YORK) |
spread_at_entry | number | null | Live spread in pips at entry fill (Gate 8 audit) |
is_paper | bool | Always true until live mode unlocked |
result | string | "WIN" (pnl_usd > 0) or "LOSS" |
mode | string | Entry mode ("B" = Balanced, currently the only mode) |
stats fields
| Field | Type | Meaning |
|---|---|---|
total_trades | int | Count of closed validated trades |
validated_paper_trades | int | Closed validated paper trades (0 — 10 milestone) |
paper_validation_target | int | 10 — closed validated paper trades required before live mode |
win_rate | number | Percentage 0 — 100 |
total_pnl_usd | number | Sum of pnl_usd across all trades |
total_pnl_pips | number | Sum of pnl_pips across all trades |
avg_hold_minutes | number | Mean hold duration |
best_trade_usd | number | Max pnl_usd |
worst_trade_usd | number | Min pnl_usd |
Why P&L in both pips AND USD?
EUR/USD performance has two natural units:- Pips — the Forex-native unit. Lets you compare EUR/USD performance across days regardless of position size and across pairs (a 30-pip EUR/USD trade is comparable in technical-execution terms to a 30-pip GBP/USD trade).
- USD — the portfolio-comparable unit. Lets you stack EUR/USD P&L alongside crypto / Gold P&L on the same scale.