예제 #1
0
        private async Task MarketOrderAsync(CancellationToken cancellationToken)
        {
            var executionReport = await _restClient.NewMarketOrderAsync(
                CommonFuncs.NewClOrdId("market-order"),
                "BTC/USDT",
                Side.Sell,
                0.01M,
                SpotAccountId,
                cancellationToken : cancellationToken).ConfigureAwait(false);

            HandleOrderReport(executionReport);
        }