Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions v2/openapi/fb-provider-ramp-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,7 @@ components:
executionDetails:
oneOf:
- $ref: "#/components/schemas/OrderQuote"
- $ref: "#/components/schemas/OrderLimit"
- type: object
properties:
participantsIdentification:
Expand Down Expand Up @@ -981,6 +982,7 @@ components:
executionDetails:
oneOf:
- $ref: "#/components/schemas/OrderQuote"
- $ref: "#/components/schemas/OrderLimit"
expiresAt:
description: Ramp expiration time.
type: string
Expand Down Expand Up @@ -1129,6 +1131,24 @@ components:
- $ref: "#/components/schemas/Retry"
- $ref: "#/components/schemas/Market"

OrderLimit:
type: object
required:
- type
- price
- slippage
properties:
type:
type: string
enum:
- Limit
price:
$ref: '#/x-schemas/PositiveAmount'
description: Limit price in quote asset per unit of base asset. The order will not execute at a worse price than this.
slippage:
type: number
description: Slippage tolerance in basis points (bps) — 1 is 0.01% and 10000 is 100%. Defines acceptable deviation from the limit price.

Retry:
type: object
required:
Expand Down
Loading