TraderShop.Financials.TdAmeritrade.Instruments 2.0.0

.NET 7.0
dotnet add package TraderShop.Financials.TdAmeritrade.Instruments --version 2.0.0
NuGet\Install-Package TraderShop.Financials.TdAmeritrade.Instruments -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TraderShop.Financials.TdAmeritrade.Instruments" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TraderShop.Financials.TdAmeritrade.Instruments --version 2.0.0
#r "nuget: TraderShop.Financials.TdAmeritrade.Instruments, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TraderShop.Financials.TdAmeritrade.Instruments as a Cake Addin
#addin nuget:?package=TraderShop.Financials.TdAmeritrade.Instruments&version=2.0.0

// Install TraderShop.Financials.TdAmeritrade.Instruments as a Cake Tool
#tool nuget:?package=TraderShop.Financials.TdAmeritrade.Instruments&version=2.0.0

Instruments Library

<img src="https://img.shields.io/github/issues/ucrengineer/TraderShop.Financials" alt = "home screen" style = "float: left"/> <img src="https://img.shields.io/github/forks/ucrengineer/TraderShop.Financials" alt = "home screen" style = "float: left"/> <img src="https://img.shields.io/github/stars/ucrengineer/TraderShop.Financials" alt = "home screen" style = "float: left"/> <img src="https://img.shields.io/github/license/ucrengineer/TraderShop.Financials.TdAmeritrade" alt = "home screen" style = "float: left"/>

<br></br> <a href="https://www.buymeacoffee.com/ucrengineer" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

<br></br> TdAmeritrade API Instruments Documentation

Usage

  public class InstrumentProvider
    {
        private readonly ITdAmeritradeInstrumentProvider _instrumentProvider;
        public InstrumentProvider(ITdAmeritradeInstrumentProvider instrumentProvider)
        {
            _instrumentProvider = instrumentProvider;
        }

        public async Task Return_Instrument_Successfully(string symbol)
        {
            var result = await _instrumentProvider.GetInstrument(symbol);
        }

        public async Task Return_Instruments_Successfully()
        {
            var result = await _instrumentProvider.GetInstruments(symbols: new string[] { "TIGR", "AAPL" });
        }

    }

Description

This library is in charge of providing information on instruments (stock tickers, futures tickers, etc).

A single instrument can be requested by using GetInstrument(string symbol) or a list of instruments can be requested by using GetInstruments(string[] symbols).

Also by calling GetAllFuturesInstruments() you can get a list of all of TdAmeritrade's futures instruments listed on their website.

Note individual contracts are not supported

GetAllForexInstruments() is currently not implemented.

Product Versions
.NET net7.0
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 55 11/21/2022
1.1.4 236 7/4/2022
1.1.3 174 6/20/2022
1.1.2 165 6/19/2022
1.0.2 179 6/10/2022
1.0.1 173 5/24/2022
1.0.0 161 5/24/2022
1.0.0-preview1 80 5/24/2022

updated contracts