TraderShop.Financials.TdAmeritrade.UserInfo 2.0.0

.NET 7.0
dotnet add package TraderShop.Financials.TdAmeritrade.UserInfo --version 2.0.0
NuGet\Install-Package TraderShop.Financials.TdAmeritrade.UserInfo -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.UserInfo" 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.UserInfo --version 2.0.0
#r "nuget: TraderShop.Financials.TdAmeritrade.UserInfo, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TraderShop.Financials.TdAmeritrade.UserInfo as a Cake Addin
#addin nuget:?package=TraderShop.Financials.TdAmeritrade.UserInfo&version=2.0.0

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

User Information & Preferences Library

<img src="" alt = "home screen" style = "float: left"/> <img src="" alt = "home screen" style = "float: left"/> <img src="" alt = "home screen" style = "float: left"/> <img src="" alt = "home screen" style = "float: left"/>

<br></br> <a href="" target="_blank"><img src="" 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 Documentation


    public class UserInformationProvider
        private readonly ITdAmeritradeUserInformationProvider _userInformationProvider;
        private readonly TdAmeritradeOptions _options;

        public UserInformationProvider(ITdAmeritradeUserInformationProvider userInformationProvider, TdAmeritradeOptions options)
            _userInformationProvider = userInformationProvider;
            _options = options;

        public async void BasicExample()

            var result = await _userInfoProvider.GetPreferences(_options.account_number);   
            var result = await _userInfoProvider.GetStreamerSubscriptionKeys();
            var updatedPreferences = new Preferences()
                ExpressTrading = false,
                DirectOptionsRouting = false,
                DirectEquityRouting = false,
                DefaultEquityOrderLegInstruction = "BUY",
                DefaultEquityOrderType = "STOP",
                DefaultEquityOrderPriceLinkType = "NONE",
                DefaultEquityOrderDuration = "GOOD_TILL_CANCEL",
                DefaultEquityOrderMarketSession = "NORMAL",
                DefaultEquityQuantity = 0,
                MutualFundTaxLotMethod = "FIFO",
                EquityTaxLotMethod = "FIFO",
                OptionTaxLotMethod = "FIFO",
                DefaultAdvancedToolLaunch = "TA",
                AuthTokenTimeout = "FIFTY_FIVE_MINUTES"
            var result = await _userInfoProvider.UpdatePreferences(_options.account_number, updatedPreferences);
            var result = await _userInfoProvider.GetUserPrincipals();



This library uses the TdAmeritrade API to retrieve user information and preferences. see the Preferences object for more information.

Product Versions
.NET net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
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 192 11/21/2022
1.1.4 286 7/4/2022
1.1.3 288 6/20/2022
1.1.2 274 6/19/2022
1.0.2 281 6/10/2022
1.0.1 285 5/24/2022
1.0.0 279 5/24/2022
1.0.0-preview1 88 5/24/2022

updated contracts