ShareInvest.OpenAPI.Constraints 1.0.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package ShareInvest.OpenAPI.Constraints --version 1.0.7                
NuGet\Install-Package ShareInvest.OpenAPI.Constraints -Version 1.0.7                
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="ShareInvest.OpenAPI.Constraints" Version="1.0.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ShareInvest.OpenAPI.Constraints --version 1.0.7                
#r "nuget: ShareInvest.OpenAPI.Constraints, 1.0.7"                
#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 ShareInvest.OpenAPI.Constraints as a Cake Addin
#addin nuget:?package=ShareInvest.OpenAPI.Constraints&version=1.0.7

// Install ShareInvest.OpenAPI.Constraints as a Cake Tool
#tool nuget:?package=ShareInvest.OpenAPI.Constraints&version=1.0.7                
ax.API.OnReceiveTrData += (sender, e) =>
{
    textBox.Text = ax.ConvertTrSingleData<string>(new Opt10001().Single, e);
};
ax.API.OnEventConnect += async (sender, e) =>
{
    if (e.nErrCode != 0)
    {
        textBox.Text = e.nErrCode.ToString();
    }
    foreach (var code in GetCodeListByMarket())
    {
        // Returns in milliseconds, reflecting latency.
        var delayTime = RequestLimit.CheckAndResetLimits();

        if (delayTime != 0)
        {
            textBox.Text = $"Count: {CodeCount}
                             Seconds: {RequestLimit.GetDelaySeconds()}
                             Minutes: {RequestLimit.GetDelayMinute()}
                             Hours: {RequestLimit.GetDelayHour()}";
        }
        await Task.Delay((int)delayTime + 1);

        ax.CommRqData(new Opt10001
        {
            Value = new[] { code }
        });
        CodeCount++;
    }
};
ax.API.CommConnect();
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

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
8.0.1.1 231 11/27/2023
1.0.8.1 144 11/27/2023
1.0.8 132 11/26/2023
1.0.7 127 11/26/2023