SpotAdapter
StockSharp.CoinEx.Native.Spot
继承自: NativeAdapter
方法
ConnectAsync
public override ValueTask ConnectAsync(CancellationToken cancellationToken)
result = spotAdapter.ConnectAsync(cancellationToken)
Asynchronously connects to a target.
- cancellationToken
- A token to monitor for cancellation requests.
返回值: A task representing the asynchronous operation.
Time
public override ValueTask Time(TimeMessage timeMsg, CancellationToken cancellationToken)
result = spotAdapter.Time(timeMsg, cancellationToken)