Skip to content

Commit

Permalink
chore: apply asyncapi#884
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Dec 4, 2023
1 parent ba8ea9d commit 297b336
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions examples/websocket-gemini-asyncapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ components:
events:
- type: change
side: bid
price: '54350.40'
remaining: '0.002'
delta: '0.002'
price: 54350.40
remaining: 0.002
delta: 0.002
reason: place
- name: heartbeatMessage
summary: Example of additional heartbeat message when you enable them.
Expand Down Expand Up @@ -219,15 +219,13 @@ components:
events:
$ref: '#/components/schemas/events'
timestamp:
type: string
format: date-time
type: number
description: >-
The timestamp in seconds for this group of events (included for
compatibility reasons). We recommend using the timestampms field
instead.
timestampms:
type: string
format: time
type: number
description: The timestamp in milliseconds for this group of events.
required:
- type
Expand Down Expand Up @@ -272,7 +270,7 @@ components:
- 'auction, block_trade'
price:
type: number
multipleOf: 1
multipleOf: 0.01
description: The price of this order book entry.
side:
type: string
Expand All @@ -292,14 +290,12 @@ components:
order book.
remaining:
type: number
multipleOf: 1
description: >-
The quantity remaining at that price level after this change
occurred. May be zero if all orders at this price level have been
filled or canceled.
delta:
type: number
multipleOf: 1
description: >-
The quantity changed. May be negative, if an order is filled or
canceled. For initial messages, delta will equal remaining.

0 comments on commit 297b336

Please sign in to comment.