Skip to main content

Opportunity report

POST 

/v1/reports/opportunity_report

Generate an opportunity report comparing execution performance against our calculated averages.

Request

Body

array

required

  • Array [

  • trade_id stringrequired

    Trade ID for further trader search within the report.

    Example: ABCD1234
    timestamp date-timerequired

    Date and time when this trade took place.

    buy_currency stringrequired

    The currency that you want to buy.

    Possible values: >= 3 characters and <= 3 characters

    Example: BRL
    sell_currency stringrequired

    The currency that you want to sell.

    Possible values: >= 3 characters and <= 3 characters

    Example: USD
    base_amount int64required

    The amount of base currency bought or sold

    Example: 5000
    rate double
    Example: 100.00
    tenor TenorREST (string)required

    The tenor value for the quote e.g. SPOT, CASH (T+0), NEXT DAY (T+1)

    Possible values: [SPOT, TOD, TOM]

    Default value: SPOT
    Example: SPOT
  • ]

Responses

Your request has been successfully processed.

Schema

  • Array [

  • trade_id string

    Trade ID for further trader search within the report.

    Example: ABCD1234
    timestamp date-time

    Date and time when this trade took place.

    buy_currency string

    The currency that you want to buy.

    Possible values: >= 3 characters and <= 3 characters

    Example: BRL
    sell_currency string

    The currency that you want to sell.

    Possible values: >= 3 characters and <= 3 characters

    Example: USD
    base_amount int64

    The amount of base currency bought or sold

    Example: 5000
    rate double
    Example: 100.00
    traded_amount double
    Example: 100.00
    abx_best_rate double
    Example: 99.00
    best_rate_source string
    Example: CAB

    all_rates

    object[]

  • Array [

  • rate double
    Example: 99.00
    source string
    Example: CAB
  • ]

  • ]

Loading...