IqOptionApiDotNet 3.0.4

dotnet add package IqOptionApiDotNet --version 3.0.4
                    
NuGet\Install-Package IqOptionApiDotNet -Version 3.0.4
                    
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="IqOptionApiDotNet" Version="3.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IqOptionApiDotNet" Version="3.0.4" />
                    
Directory.Packages.props
<PackageReference Include="IqOptionApiDotNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IqOptionApiDotNet --version 3.0.4
                    
#r "nuget: IqOptionApiDotNet, 3.0.4"
                    
#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.
#:package IqOptionApiDotNet@3.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IqOptionApiDotNet&version=3.0.4
                    
Install as a Cake Addin
#tool nuget:?package=IqOptionApiDotNet&version=3.0.4
                    
Install as a Cake Tool

IqOptionApiDotNet

An unofficial .NET client for the IQ Option platform, using HTTP for login and WebSocket streams for real-time data and account events.

Installation

Requires .NET 9.0 or a compatible newer target framework.

dotnet add package IqOptionApiDotNet

Quick start

Provide your credentials through environment variables, then connect and read your profile. This example does not place trades.

using System;
using IqOptionApiDotNet;

var email = Environment.GetEnvironmentVariable("IQOPTION_EMAIL")
    ?? throw new InvalidOperationException("Set IQOPTION_EMAIL.");
var password = Environment.GetEnvironmentVariable("IQOPTION_PASSWORD")
    ?? throw new InvalidOperationException("Set IQOPTION_PASSWORD.");

using var client = new IqOptionApiDotNetClient(email, password);

if (!await client.ConnectAsync())
{
    Console.WriteLine("Login failed.");
    return;
}

var profile = await client.GetProfileAsync(Guid.NewGuid().ToString("N"));
Console.WriteLine($"User: {profile.profileResult.UserId}");

Use a unique request ID for each request. Keep observable subscriptions alive while receiving events, and dispose them when they are no longer needed.

Features

  • Account profile and practice/real balance queries.
  • Historical candles and real-time candle streams.
  • Binary, turbo and digital option requests.
  • Option results and portfolio position events.
  • Alerts, market information and leaderboard queries.

Availability depends on the account, the instrument and the platform's current protocol. This library is not affiliated with IQ Option.

Documentation and examples

License

MIT.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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
3.0.4 175 10/12/2026
3.0.3 96 10/12/2026
3.0.2 598 11/21/2024
3.0.1 356 11/21/2024
3.0.0 389 11/20/2024
2.0.0 1,645 4/23/2022
1.0.14 952 4/16/2022
1.0.13 1,273 2/8/2021
1.0.12 1,020 12/26/2020
1.0.11 1,001 11/9/2020
1.0.10 913 10/26/2020
1.0.9 905 9/11/2020
1.0.8 979 8/24/2020
1.0.7 897 8/22/2020
1.0.6 919 8/20/2020
1.0.5 952 8/19/2020
1.0.4 955 8/19/2020
1.0.3 997 8/14/2020
1.0.2 993 8/7/2020
1.0.1 957 8/6/2020
Loading failed

Include package README with installation, quick start and documentation links.