コード例 #1
0
 private void InitializeAPI()
 {
     bitmex           = BitmexApiConnector.Instance;
     bitmex.ApiKey    = Properties.Settings.Default.key;
     bitmex.ApiSecret = Properties.Settings.Default.secret;
     bitmex.Domain    = Properties.Settings.Default.domain;
     activeInstrument = ActiveInstrument.Instance;
     // We must do this in case symbols are different on test and real net
     // GetAPIValidity(); // Validate API keys by checking and displaying account balance.
     // InitializeSymbolInformation();
     InitializeSymbolInfromation();
 }
コード例 #2
0
ファイル: BotApiCalls.cs プロジェクト: TeodorTodorov/Trader2
 private BotApiCalls()
 {
     bitmex           = BitmexApiConnector.Instance;
     candleRetriever  = CandleRetriever.Instance;
     activeInstrument = ActiveInstrument.Instance;
 }
コード例 #3
0
 private CandleRetriever()
 {
     bitmex            = BitmexApiConnector.Instance;
     activeInstruments = ActiveInstrument.Instance;
 }