From 3c2db35a4a50cdea1047852d4e40465fe39ae7a2 Mon Sep 17 00:00:00 2001 From: Matatjahu Date: Wed, 14 Dec 2022 11:57:08 +0100 Subject: [PATCH] fix: websocket-gemini message's paylaod example --- examples/websocket-gemini.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/examples/websocket-gemini.yml b/examples/websocket-gemini.yml index 75af8d4d..06e63201 100644 --- a/examples/websocket-gemini.yml +++ b/examples/websocket-gemini.yml @@ -122,9 +122,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. @@ -158,12 +158,10 @@ 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 @@ -194,7 +192,7 @@ components: enum: ['trade', 'change', 'auction, block_trade'] price: type: number - multipleOf: 1.000 + multipleOf: 0.01 description: The price of this order book entry. side: type: string @@ -205,9 +203,7 @@ components: description: Indicates why the change has occurred. initial is for the initial response message, which will show the entire existing state of the order book. remaining: type: number - multipleOf: 1.000 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.000 description: The quantity changed. May be negative, if an order is filled or canceled. For initial messages, delta will equal remaining. \ No newline at end of file