private void Form1_Load(object sender, EventArgs e) { LoadSettings(); _firstRun = true; //_cexApiKey = "o3qCw0mySJkWNisqP6di8t9Dk"; //_cexApiSecret = "SMtI8IFsb2TbPfz9yTJlHNPhK2s"; //_cexUserName = "******"; _apiCallCount = 0; _cexApiCredentials = new ApiCredentials(_cexUserName, _cexApiKey, _cexApiSecret); _cexClient = new CexApi(_cexApiCredentials); richTextBox1.Text = @"Started @ " + DateTime.Now + Environment.NewLine; _stopwatch = new Stopwatch(); _stopwatch.Start(); _balance = new Balance(); button1_Click(null, null); }
public CexApi(ApiCredentials credentials = null) { Credentials = credentials; }
public GhashApi(ApiCredentials credentials = null) { Credentials = credentials; }