TraderShop.Financials.TdAmeritrade.MarketHours
2.0.0
dotnet add package TraderShop.Financials.TdAmeritrade.MarketHours --version 2.0.0
NuGet\Install-Package TraderShop.Financials.TdAmeritrade.MarketHours -Version 2.0.0
<PackageReference Include="TraderShop.Financials.TdAmeritrade.MarketHours" Version="2.0.0" />
paket add TraderShop.Financials.TdAmeritrade.MarketHours --version 2.0.0
#r "nuget: TraderShop.Financials.TdAmeritrade.MarketHours, 2.0.0"
// Install TraderShop.Financials.TdAmeritrade.MarketHours as a Cake Addin
#addin nuget:?package=TraderShop.Financials.TdAmeritrade.MarketHours&version=2.0.0
// Install TraderShop.Financials.TdAmeritrade.MarketHours as a Cake Tool
#tool nuget:?package=TraderShop.Financials.TdAmeritrade.MarketHours&version=2.0.0
Market HoursLibrary
<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 Documentation
Usage
public class MarketHoursProvider
{
private readonly ITdAmeritradeMarketHoursProvider _hoursProvider;
public MarketHoursProvider(ITdAmeritradeMarketHours Provider)
{
_hoursProvider = Provider;
}
public async void Return_Hours_Successfully()
{
var result = await _hoursProvider.GetHoursForMultipleMarkets
(new MarketHoursQuery() { Date = DateTime.Now.AddDays(4), Markets = new string[] { "FUTURE" } }, CancellationToken.None);
}
}
Description
This library is in charge of providing information on market hours. Notice that most of these methods use MarketHoursQuery objects to specify the market and date. When using the object please hover over to see the properties.
Product | Versions |
---|---|
.NET | net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
-
net7.0
- TraderShop.Financials.Abstractions (>= 2.0.0)
- TraderShop.Financials.TdAmeritrade.Abstractions (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
updated contracts