Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public IEXSpikes(Xunit.Abstractions.ITestOutputHelper helper)
 {
     _helper = helper;
     _client = new IEXClient(CredsHelper.GetIEXToken(), logger: null);
 }