Skip to content

Oanda Broker API Datasheet

Overview

  • Package: online.projectchimba.broker.oanda

  • Controller: OandaBrokerController

  • Base Path: /broker

  • Full Base URL: [https://robot.projectchimba.online/broker](https://robot.projectchimba.online/broker)

  • CORS: Enabled (@CrossOrigin)


Endpoints

1. Controller Status Landing

  • Description: Returns the controller identifier string.
  • HTTP Method: GET

  • Short Path: /

  • Full Path: [https://robot.projectchimba.online/broker](https://robot.projectchimba.online/broker)

  • Response Type: String


2. Get All Trades

  • Description: Retrieves a list of all trades via the broker service.
  • HTTP Method: GET

  • Short Path: /trades

  • Full Path: [https://robot.projectchimba.online/broker/trades](https://robot.projectchimba.online/broker/trades)

  • Response Type: List<TradeSummary> (Oanda v20 TradeSummary)


3. Get Open Positions

  • Description: Retrieves a list of all currently open positions.
  • HTTP Method: GET

  • Short Path: /positions

  • Full Path: [https://robot.projectchimba.online/broker/positions](https://robot.projectchimba.online/broker/positions)

  • Response Type: List<Position> (Oanda v20 Position)


4. Get Open Trades

  • Description: Retrieves a list restricted to currently open trades.
  • HTTP Method: GET

  • Short Path: /trades/open

  • Full Path: [https://robot.projectchimba.online/broker/trades/open](https://robot.projectchimba.online/broker/trades/open)

  • Response Type: List<TradeSummary> (Oanda v20 TradeSummary)


5. Get Account Information

  • Description: Retrieves account details and balance information.
  • HTTP Method: GET

  • Short Path: /account

  • Full Path: [https://robot.projectchimba.online/broker/account](https://robot.projectchimba.online/broker/account)

  • Response Type: Account (Oanda v20 Account)