mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
Daily engine improvements
Link up various subsystems to be managed atomically with the ability to start/stop them New subsystem APIs Comms changes
This commit is contained in:
@@ -145,6 +145,30 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/disablesubsystem": {
|
||||
"get": {
|
||||
"operationId": "DisableSubsystem",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/gctrpcGenericSubsystemResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "subsystem",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"GoCryptoTrader"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/enableexchange": {
|
||||
"post": {
|
||||
"operationId": "EnableExchange",
|
||||
@@ -171,6 +195,30 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/enablesubsystem": {
|
||||
"get": {
|
||||
"operationId": "EnableSubsystem",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/gctrpcGenericSubsystemResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "subsystem",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"GoCryptoTrader"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/getaccountinfo": {
|
||||
"get": {
|
||||
"operationId": "GetAccountInfo",
|
||||
@@ -542,6 +590,38 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/getrpcendpoints": {
|
||||
"get": {
|
||||
"operationId": "GetRPCEndpoints",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/gctrpcGetRPCEndpointsResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"GoCryptoTrader"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/getsusbsystems": {
|
||||
"get": {
|
||||
"operationId": "GetSubsystems",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/gctrpcGetSusbsytemsResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"GoCryptoTrader"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/getticker": {
|
||||
"post": {
|
||||
"operationId": "GetTicker",
|
||||
@@ -978,6 +1058,9 @@
|
||||
"gctrpcGenericExchangeNameResponse": {
|
||||
"type": "object"
|
||||
},
|
||||
"gctrpcGenericSubsystemResponse": {
|
||||
"type": "object"
|
||||
},
|
||||
"gctrpcGetAccountInfoResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1180,6 +1263,19 @@
|
||||
},
|
||||
"default_fiat_currency": {
|
||||
"type": "string"
|
||||
},
|
||||
"subsystem_status": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
}
|
||||
},
|
||||
"rpc_endpoints": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/gctrpcRPCEndpoint"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1290,6 +1386,29 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"gctrpcGetRPCEndpointsResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"endpoints": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/gctrpcRPCEndpoint"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"gctrpcGetSusbsytemsResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"subsystems_status": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"gctrpcGetTickerRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1490,6 +1609,18 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"gctrpcRPCEndpoint": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"started": {
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
},
|
||||
"listen_address": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gctrpcRemoveEventRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user