public string GetConfirms(IgSessionModel igSession, string dealReference) { string action = $"/confirms/{dealReference}"; IgHttpClient igHttpClient = new IgHttpClient(); return(igHttpClient.Get(igSession, action, 1));; }
public IgAccountModels Get(IgSessionModel igSession) { string action = "/accounts"; IgHttpClient igHttpClient = new IgHttpClient(); string json = igHttpClient.Get(igSession, action, 1); return(JsonConvert.DeserializeObject <IgAccountModels>(json)); }
public string Get(IgSessionModel igSession) { string action = "/positions"; IgHttpClient igHttpClient = new IgHttpClient(); return(igHttpClient.Get(igSession, action, 1)); }