using System;
using System.Collections.Generic;
using System.Text;
namespace CryptoExchange.Net.SharedApis
{
public static partial class SharedCapabilities
{
///
/// Order capabilities.
///
public static class Orders
{
///
/// Spot order capabilities.
///
public static class Spot
{
///
/// Place a spot order capability.
///
public static SharedRestSocketCapability PlaceOrder { get; } = new();
///
/// Place multiple spot orders capability.
///
public static SharedRestSocketCapability PlaceMultipleOrders { get; } = new();
///
/// Edit a spot order capability.
///
public static SharedRestSocketCapability EditOrder { get; } = new();
///
/// Edit a spot order by client order id capability.
///
public static SharedRestSocketCapability EditOrderByClientOrderId { get; } = new();
///
/// Cancel a spot order capability.
///
public static SharedRestSocketCapability CancelOrder { get; } = new();
///
/// Cancel a spot order by client order id capability.
///
public static SharedRestSocketCapability CancelOrderByClientOrderId { get; } = new();
///
/// Cancel all spot orders capability.
///
public static SharedRestSocketCapability CancelAllOrders { get; } = new();
///
/// Cancel all spot orders for a symbol capability.
///
public static SharedRestSocketCapability CancelAllSymbolOrders { get; } = new();
///
/// Get a spot order capability.
///
public static SharedRestCapability GetOrder { get; } = new();
///
/// Get a spot order by client order id capability.
///
public static SharedRestCapability GetOrderByClientOrderId { get; } = new();
///
/// Get open spot orders capability.
///
public static SharedRestCapability GetOpenOrders { get; } = new();
///
/// Get closed spot orders capability.
///
public static SharedRestCapability GetClosedOrders { get; } = new();
///
/// Subscribe to spot order updates capability.
///
public static SharedCapabilityReference SubscribeOrders { get; } = new();
}
///
/// Futures order capabilities.
///
public static class Futures
{
///
/// Place a futures order capability.
///
public static SharedRestSocketCapability PlaceOrder { get; } = new();
///
/// Place multiple futures orders capability.
///
public static SharedRestSocketCapability PlaceMultipleOrders { get; } = new();
///
/// Edit a futures order capability.
///
public static SharedRestSocketCapability EditOrder { get; } = new();
///
/// Edit a futures order by client order id capability.
///
public static SharedRestSocketCapability EditOrderByClientOrderId { get; } = new();
///
/// Cancel a futures order capability.
///
public static SharedRestSocketCapability CancelOrder { get; } = new();
///
/// Cancel a futures order by client order id capability.
///
public static SharedRestSocketCapability CancelOrderByClientOrderId { get; } = new();
///
/// Cancel all futures orders capability.
///
public static SharedRestSocketCapability CancelAllOrders { get; } = new();
///
/// Cancel all futures orders for a symbol capability.
///
public static SharedRestSocketCapability CancelAllSymbolOrders { get; } = new();
///
/// Get a futures order capability.
///
public static SharedRestCapability GetOrder { get; } = new();
///
/// Get a futures order by client order id capability.
///
public static SharedRestCapability GetOrderByClientOrderId { get; } = new();
///
/// Get open futures orders capability.
///
public static SharedRestCapability GetOpenOrders { get; } = new();
///
/// Get closed futures orders capability.
///
public static SharedRestCapability GetClosedOrders { get; } = new();
///
/// Subscribe to futures order updates capability.
///
public static SharedCapabilityReference SubscribeOrders { get; } = new();
}
}
}
}