All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.runon.cryptocurrency.exchanges.binance.BinanceFuturesLastCandleOutServiceStarter Maven / Gradle / Ivy

There is a newer version: 0.5.2
Show newest version
package io.runon.cryptocurrency.exchanges.binance;

import io.runon.cryptocurrency.trading.service.CandleOutRealTimeService;
import io.runon.cryptocurrency.trading.service.DataStreamKeepAliveService;

/**
 * @author macle
 */
public class BinanceFuturesLastCandleOutServiceStarter {

    public static void main(String[] args) {
        BinanceFuturesLastCandleStream stream = new BinanceFuturesLastCandleStream("binance_futures_last_candle");
        stream.connect();
        new DataStreamKeepAliveService().start();

        CandleOutRealTimeService candleOutRealTimeService = new CandleOutRealTimeService(stream);
        candleOutRealTimeService.start();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy