forked from hummingbot/gateway
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hummingbot:development' into development
- Loading branch information
Showing
1,612 changed files
with
152,202 additions
and
19,552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ certs | |
*.md | ||
*.yml | ||
coverage | ||
dist | ||
dist | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
paths: | ||
/clob/markets: | ||
get: | ||
tags: | ||
- 'clob' | ||
summary: 'Get the markets for a clob' | ||
operationId: 'markets' | ||
consumes: | ||
- 'application/json' | ||
produces: | ||
- 'application/json' | ||
parameters: | ||
- in: 'body' | ||
name: 'body' | ||
description: 'Request body.' | ||
required: true | ||
schema: | ||
$ref: '#/definitions/ClobMarketsRequest' | ||
responses: | ||
'200': | ||
description: 'Successful response.' | ||
schema: | ||
$ref: '#/definitions/ClobMarketResponse' | ||
'404': | ||
description: 'Not found response.' | ||
/clob/orderBook: | ||
get: | ||
tags: | ||
- 'clob' | ||
summary: 'Gets orderbook for a market' | ||
operationId: 'orderBook' | ||
consumes: | ||
- 'application/json' | ||
produces: | ||
- 'application/json' | ||
parameters: | ||
- in: 'body' | ||
name: 'body' | ||
description: 'Request body.' | ||
required: true | ||
schema: | ||
$ref: '#/definitions/ClobOrderbookRequest' | ||
responses: | ||
'200': | ||
description: 'Successful response.' | ||
schema: | ||
$ref: '#/definitions/ClobOrderbookResponse' | ||
'404': | ||
description: 'Not found response.' | ||
/clob/ticker: | ||
get: | ||
tags: | ||
- 'clob' | ||
summary: 'Get One or More Tickers' | ||
description: 'Get the information of one, several or all available tickers.' | ||
operationId: 'tickers' | ||
consumes: | ||
- 'application/json' | ||
produces: | ||
- 'application/json' | ||
parameters: | ||
- in: 'body' | ||
name: 'body' | ||
description: 'Request body.' | ||
required: true | ||
schema: | ||
$ref: '#/definitions/ClobTickerRequest' | ||
responses: | ||
'200': | ||
description: 'Successful response.' | ||
schema: | ||
$ref: '#/definitions/ClobTickerResponse' | ||
'404': | ||
description: 'Not found response.' | ||
/clob/orders: | ||
post: | ||
tags: | ||
- 'clob' | ||
summary: 'Create One Or More Orders' | ||
description: 'Create one or more orders.' | ||
operationId: 'postOrders' | ||
consumes: | ||
- 'application/json' | ||
produces: | ||
- 'application/json' | ||
parameters: | ||
- in: 'body' | ||
name: 'body' | ||
description: 'Request body.' | ||
required: true | ||
schema: | ||
$ref: '#/definitions/ClobPostOrderRequest' | ||
responses: | ||
'200': | ||
description: 'Successful response.' | ||
schema: | ||
$ref: '#/definitions/ClobPostOrderResponse' | ||
'400': | ||
description: 'Bad request response.' | ||
get: | ||
tags: | ||
- 'clob' | ||
summary: 'Get One Or More Orders' | ||
description: 'Get the information of one, several or all orders.' | ||
operationId: 'orders' | ||
consumes: | ||
- 'application/json' | ||
produces: | ||
- 'application/json' | ||
parameters: | ||
- in: 'body' | ||
name: 'body' | ||
description: 'Request body.' | ||
required: true | ||
schema: | ||
$ref: '#/definitions/ClobGetOrderRequest' | ||
responses: | ||
'200': | ||
description: 'Successful response.' | ||
schema: | ||
$ref: '#/definitions/ClobGetOrderResponse' | ||
'400': | ||
description: 'Bad request response.' | ||
'404': | ||
description: 'Not found response.' | ||
delete: | ||
tags: | ||
- 'clob' | ||
summary: 'Cancel One Or More Orders Open Orders' | ||
description: 'Cancel one, several or all open orders.' | ||
operationId: 'deleteOrders' | ||
consumes: | ||
- 'application/json' | ||
produces: | ||
- 'application/json' | ||
parameters: | ||
- in: 'body' | ||
name: 'body' | ||
description: 'Request body.' | ||
required: true | ||
schema: | ||
$ref: '#/definitions/ClobDeleteOrderRequest' | ||
responses: | ||
'200': | ||
description: 'Successful response.' | ||
schema: | ||
$ref: '#/definitions/ClobDeleteOrderResponse' | ||
'400': | ||
description: 'Bad request response.' | ||
'404': | ||
description: 'Not found response.' | ||
/clob/batchOrders: | ||
post: | ||
tags: | ||
- 'clob' | ||
summary: 'Batch create or delete orders' | ||
description: 'Create or delete orders in batch.' | ||
operationId: 'batchOrders' | ||
consumes: | ||
- 'application/json' | ||
produces: | ||
- 'application/json' | ||
parameters: | ||
- in: 'body' | ||
name: 'body' | ||
description: 'Request body.' | ||
required: true | ||
schema: | ||
$ref: '#/definitions/ClobBatchOrdersRequest' | ||
responses: | ||
'200': | ||
description: 'Successful response.' | ||
schema: | ||
$ref: '#/definitions/ClobBatchOrdersResponse' | ||
'400': | ||
description: 'Bad request response.' | ||
/clob/estimateGas: | ||
post: | ||
tags: | ||
- 'clob' | ||
summary: 'Estimate the total gas costs for sending an clob order' | ||
operationId: 'estimateGas' | ||
consumes: | ||
- 'application/json' | ||
produces: | ||
- 'application/json' | ||
parameters: | ||
- in: 'body' | ||
name: 'body' | ||
required: true | ||
schema: | ||
$ref: '#/definitions/NetworkSelectionRequest' | ||
responses: | ||
'200': | ||
schema: | ||
$ref: '#/definitions/EstimateGasResponse' |
Oops, something went wrong.