From 236283f4ddbcec347ac196a94153e40e0b2072cc Mon Sep 17 00:00:00 2001 From: Jkorf Date: Tue, 19 Nov 2024 14:53:58 +0100 Subject: [PATCH] Update example-config.json --- Examples/example-config.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Examples/example-config.json b/Examples/example-config.json index 98f1037b..6e3f5332 100644 --- a/Examples/example-config.json +++ b/Examples/example-config.json @@ -1,13 +1,18 @@ { + // Options section, select this section during DI registration using Configuration.GetSection("ExchangeApiOptions") "ExchangeApiOptions": { + // API credentials for both REST and Websocket client "ApiCredentials": { "Key": "APIKEY", - "Secret": "SECRET" + "Secret": "SECRET", + "PassPhrase": "Phrase" // Optional passphrase for exchanges which need it }, + // Set the environment by name "Environment": { "name": "live" }, - "Rest":{ + // REST client options + "Rest": { "RequestTimeout": "00:00:20", "CachingEnabled": true, "OutputOriginalData": true, @@ -18,7 +23,8 @@ "Password": "Pass" } }, - "Socket":{ + // Socket client options + "Socket": { "RequestTimeout": "00:00:05", "SocketSubscriptionsCombineTarget": 15 }