Skip to content

Commit

Permalink
Solves #15; fixing bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Crynners committed Oct 17, 2021
1 parent fa3d4e1 commit 4446760
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CryptoBotCore/API/BitfinexAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public BitfinexAPI(string pair, Dictionary<ExchangeCredentialType, string> crede

this.Log = log;

var key = credentials[ExchangeCredentialType.Bittrex_Key];
var secret = credentials[ExchangeCredentialType.Bittrex_Secret];
var key = credentials[ExchangeCredentialType.Bitfinex_Key];
var secret = credentials[ExchangeCredentialType.Bitfinex_Key];

client = new BitfinexClient(new BitfinexClientOptions()
{
Expand Down
4 changes: 2 additions & 2 deletions CryptoBotCore/API/FtxAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public FtxAPI(string pair, Dictionary<ExchangeCredentialType, string> credential

this.Log = log;

var key = credentials[ExchangeCredentialType.Binance_Key];
var secret = credentials[ExchangeCredentialType.Binance_Secret];
var key = credentials[ExchangeCredentialType.FTX_Key];
var secret = credentials[ExchangeCredentialType.FTX_Secret];

client = new FTXClient(new FTXClientOptions()
{
Expand Down
4 changes: 2 additions & 2 deletions CryptoBotCore/API/KrakenAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public KrakenAPI(string pair, string withdrawalKeyName, Dictionary<ExchangeCrede

this.Log = log;

var key = credentials[ExchangeCredentialType.Binance_Key];
var secret = credentials[ExchangeCredentialType.Binance_Secret];
var key = credentials[ExchangeCredentialType.Kraken_Key];
var secret = credentials[ExchangeCredentialType.Kraken_Secret];

client = new KrakenClient(new KrakenClientOptions()
{
Expand Down

0 comments on commit 4446760

Please sign in to comment.