1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-10 01:16:24 +00:00

Update README.md

This commit is contained in:
Jan Korf 2019-09-10 14:15:53 +02:00
parent 546539fe8f
commit 715fe378d5

View File

@ -130,10 +130,10 @@ Note that when using a file it can provide credentials for multiple exchanges by
```` ````
// File content: // File content:
{ {
"binanceKey": "binanceApiKey", "binanceKey": "actualBinanceApiKey",
"binanceSecret": "binanceApiSecret", "binanceSecret": "actualBinanceApiSecret",
"bittrexKey": "bitrexApiKey", "bittrexKey": "actualBittrexApiKey",
"bittrexSecret": "bittrexApiSecret", "bittrexSecret": "actualBittrexApiSecret",
} }
// Loading: // Loading:
@ -145,7 +145,7 @@ using (var stream = File.OpenRead("/path/to/credential-file"))
}); });
BittrexClient.SetDefaultOptions(new BittrexClientOptions BittrexClient.SetDefaultOptions(new BittrexClientOptions
{ {
ApiCredentials = new ApiCredentials(stream, "BittrexKey", "BittrexSecret") ApiCredentials = new ApiCredentials(stream, "bittrexKey", "bittrexSecret")
}); });
} }
```` ````