Skip to content

Commit

Permalink
Update example-config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Nov 19, 2024
1 parent b66f12f commit 236283f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Examples/example-config.json
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -18,7 +23,8 @@
"Password": "Pass"
}
},
"Socket":{
// Socket client options
"Socket": {
"RequestTimeout": "00:00:05",
"SocketSubscriptionsCombineTarget": 15
}
Expand Down

0 comments on commit 236283f

Please sign in to comment.