OANDA · Schema

Direction

In the context of an Order or a Trade, defines whether the units are positive or negative.

ForexFX TradingCFD TradingFinancial ServicesTrading APIs
View JSON Schema on GitHub

JSON Schema

Direction.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Direction",
  "description": "In the context of an Order or a Trade, defines whether the units are positive or negative.",
  "type": "string",
  "enum": [
    "LONG",
    "SHORT"
  ]
}