Raja Banks Trading Companion
ACTIONFull web application for retail forex traders following Raja Banks' price action strategy. Features live session clocks, trade entry panel with auto-calculated position sizing, active trade manager with checklist, trade journal with analytics, and strategy reference guide.
Endpoints
· 12GET/Main dashboard with session clock, trade counter, last trade summary
Input Schema
{
"type": "object",
"required": [],
"properties": {}
}GET/trade/newTrade entry form with live calculations and RR ruler
Input Schema
{
"type": "object",
"required": [],
"properties": {}
}GET/trade/:idActive trade manager with P&L calculator, checklist, and close form
Input Schema
{
"type": "object",
"required": [],
"properties": {}
}GET/journalTrade journal with filters, stats cards, pattern performance table
Input Schema
{
"type": "object",
"required": [],
"properties": {}
}GET/strategyStrategy reference guide with session times, entry patterns, risk management rules
Input Schema
{
"type": "object",
"required": [],
"properties": {}
}POST/api/tradeCreate a new trade with server-side validation, risk calculation, daily limit check
Input Schema
{
"type": "object",
"required": [
"direction",
"entry_price",
"stop_loss"
],
"properties": {
"notes": {
"type": "string",
"description": "Optional notes"
},
"direction": {
"type": "string",
"description": "long or short"
},
"stop_loss": {
"type": "number",
"description": "Stop loss price"
},
"instrument": {
"type": "string",
"description": "Trading instrument (default: XAU/USD)"
},
"entry_price": {
"type": "number",
"description": "Entry price"
},
"pattern_type": {
"type": "string",
"description": "Pattern type"
},
"account_balance": {
"type": "number",
"description": "Account balance for risk calc"
}
}
}GET/api/trade/:idGet trade details by ID
Input Schema
{
"type": "object",
"required": [],
"properties": {}
}POST/api/trade/:id/closeClose an open trade with P&L calculation and partial close support
Input Schema
{
"type": "object",
"required": [
"exit_price",
"exit_reason"
],
"properties": {
"notes": {
"type": "string",
"description": "Close notes"
},
"exit_price": {
"type": "number",
"description": "Exit price"
},
"exit_reason": {
"type": "string",
"description": "Reason for exit"
},
"partial_closed": {
"type": "integer",
"description": "Whether 50% was closed at TP1"
},
"sl_moved_to_be": {
"type": "integer",
"description": "Whether SL was moved to break even"
},
"candle_closed_out": {
"type": "integer",
"description": "Whether candle closed back in range"
},
"partial_close_price": {
"type": "number",
"description": "Price where partial close occurred"
}
}
}GET/api/tradesList trades with date range, instrument filtering, pagination
Input Schema
{
"type": "object",
"required": [],
"properties": {
"to": {
"type": "string",
"description": "End date YYYY-MM-DD"
},
"from": {
"type": "string",
"description": "Start date YYYY-MM-DD"
},
"limit": {
"type": "integer",
"description": "Max results (default 50)"
},
"offset": {
"type": "integer",
"description": "Offset for pagination"
},
"instrument": {
"type": "string",
"description": "Filter by instrument"
}
}
}GET/api/statsCompute and return trading statistics
Input Schema
{
"type": "object",
"required": [],
"properties": {}
}POST/api/settingsSave account balance setting
Input Schema
{
"type": "object",
"required": [
"account_balance"
],
"properties": {
"account_balance": {
"type": "number",
"description": "Account balance (1-100000)"
}
}
}GET/api/settingsGet current settings (account balance)
Input Schema
{
"type": "object",
"required": [],
"properties": {}
}Similar ACTION Pieces
File Explorer
Web-based file explorer for browsing the workspace directory structure and viewing file contents with syntax highlighting. Read-only.
Voiceover Service
ElevenLabs-powered voiceover, sound effects, and music generation service. Used to add spoken narration and audio to media content.
R2 Asset Manager
Cloudflare R2-backed asset storage service. Handles uploads, URL imports, and file serving with globally accessible shareable URLs.