Skip to content

Instantly share code, notes, and snippets.

@crowcoder
Created November 5, 2017 20:56
Embed
What would you like to do?
namespace Service
{
public interface IStockService
{
Trade Buy(string ticker, decimal nbrShares);
decimal GetCurrentPrice(string ticker);
Trade GetLastTrade(string ticker);
Trade Sell(string ticker, decimal nbrShares);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment