diff --git a/QuantConnect.BitfinexBrokerage/BitfinexBrokerage.cs b/QuantConnect.BitfinexBrokerage/BitfinexBrokerage.cs index 858b182..85b3add 100644 --- a/QuantConnect.BitfinexBrokerage/BitfinexBrokerage.cs +++ b/QuantConnect.BitfinexBrokerage/BitfinexBrokerage.cs @@ -549,10 +549,10 @@ private static void ValidateSubscription() { try { - var productId = 182; - var userId = Config.GetInt("job-user-id"); - var token = Config.Get("api-access-token"); - var organizationId = Config.Get("job-organization-id", null); + const int productId = 182; + var userId = Globals.UserId; + var token = Globals.UserToken; + var organizationId = Globals.OrganizationID; // Verify we can authenticate with this user and token var api = new ApiConnection(userId, token); if (!api.Connected)