mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-15 18:33:06 +00:00
Example
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
using System;
|
||||
using ConsoleClient.Models;
|
||||
using CryptoExchange.Net.Objects;
|
||||
using CryptoExchange.Net.Sockets;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -9,5 +12,9 @@ namespace ConsoleClient.Exchanges
|
||||
public interface IExchange
|
||||
{
|
||||
Task<decimal> GetPrice(string symbol);
|
||||
Task<IEnumerable<OpenOrder>> GetOpenOrders();
|
||||
Task<WebCallResult> CancelOrder(string symbol, string id);
|
||||
Task<WebCallResult<string>> PlaceOrder(string symbol, string side, string type, decimal quantity, decimal? price );
|
||||
Task<UpdateSubscription> SubscribePrice(string symbol, Action<decimal> handler);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user