private string AddTrade(CreateTradeDto dto) { /* * Creating a trade at HealthEquity happens by executing XAddScheduledTrade * Take a look at TradeStyled.ascx.cs (file), TradeStyled (class), btnExecuteTrades_Click() (method) * for an example of executing XAddScheduledTrade */ return("failure message or NULL"); }
public string SellFund(CreateTradeDto dto) { // don't forget the extra steps for selling funds! return(AddTrade(dto)); }
public string BuyFund(CreateTradeDto dto) { return(AddTrade(dto)); }