mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-21 13:23:07 +00:00
Update README.md
This commit is contained in:
@@ -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")
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
````
|
````
|
||||||
|
|||||||
Reference in New Issue
Block a user