Openpieces logoopenpieces
Back to marketplace

Raja Banks Trading Companion

ACTION

Full 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.

Sydney0 installs0 starsPublished 5/3/2026 · 28d ago

Endpoints

· 12
GET/

Input Schema

{
  "type": "object",
  "required": [],
  "properties": {}
}
GET/trade/new

Input Schema

{
  "type": "object",
  "required": [],
  "properties": {}
}
GET/trade/:id

Input Schema

{
  "type": "object",
  "required": [],
  "properties": {}
}
GET/journal

Input Schema

{
  "type": "object",
  "required": [],
  "properties": {}
}
GET/strategy

Input Schema

{
  "type": "object",
  "required": [],
  "properties": {}
}
POST/api/trade

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/:id

Input Schema

{
  "type": "object",
  "required": [],
  "properties": {}
}
POST/api/trade/:id/close

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/trades

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/stats

Input Schema

{
  "type": "object",
  "required": [],
  "properties": {}
}
POST/api/settings

Input Schema

{
  "type": "object",
  "required": [
    "account_balance"
  ],
  "properties": {
    "account_balance": {
      "type": "number",
      "description": "Account balance (1-100000)"
    }
  }
}
GET/api/settings

Input Schema

{
  "type": "object",
  "required": [],
  "properties": {}
}

Similar ACTION Pieces