use of org.knowm.xchange.binance.dto.meta.BinanceSystemStatus in project XChange by knowm.
the class BinanceUsExchangeIntegration method testSystemStatus.
@Test
public void testSystemStatus() throws IOException {
assumeProduction();
BinanceSystemStatus systemStatus = ((BinanceUsAccountService) exchange.getAccountService()).getSystemStatus();
assertThat(systemStatus).isNotNull();
// Not yet supported by binance.us
assertThat(systemStatus.getStatus()).isNull();
}
use of org.knowm.xchange.binance.dto.meta.BinanceSystemStatus in project XChange by knowm.
the class BinanceExchangeIntegration method testSytemStatus.
@Test
public void testSytemStatus() throws IOException {
assumeProduction();
BinanceSystemStatus systemStatus = ((BinanceAccountService) exchange.getAccountService()).getSystemStatus();
assertThat(systemStatus).isNotNull();
assertThat(systemStatus.getStatus()).isNotEmpty();
}
Aggregations