mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-04 02:11:11 +00:00
23 lines
648 B
C#
23 lines
648 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
/// <summary>
|
|
/// Options for closing position
|
|
/// </summary>
|
|
public class ClosePositionOptions : EndpointOptions<ClosePositionRequest, IFuturesOrderRestClient>
|
|
{
|
|
/// <inheritdoc />
|
|
public override string Description => "Close an open futures position";
|
|
|
|
/// <summary>
|
|
/// ctor
|
|
/// </summary>
|
|
public ClosePositionOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IFuturesOrderRestClient.ClosePositionAsync))
|
|
{
|
|
}
|
|
}
|
|
}
|