public IEXClientFixture() { Client = new IEXClient(CredsHelper.GetIEXToken(), logger: null, useCache: false); var t = Client.GetOptions("AMD"); t.Wait(); Options = t.Result; var dt = Client.GetOptionDetails("AMD", "20210806"); dt.Wait(); OptionDetails = dt.Result; var price = Client.GetPrice("AMD"); price.Wait(); Price = price.Result.Success; var search = Client.Search("stitch", 5); search.Wait(); SearchResults = search.Result.Success; var advancedStats = Client.GetAdvancedStats("GOOGL"); advancedStats.Wait(); AdvancedStats = advancedStats.Result.Success; }
public IEXSpikes(Xunit.Abstractions.ITestOutputHelper helper) { _helper = helper; _client = new IEXClient(CredsHelper.GetIEXToken(), logger: null); }