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