mathpaquette / IQFeed.CSharpApiClient

IQFeed.CSharpApiClient is fastest and the most well-designed C# DTN IQFeed socket API connector available
MIT License
120 stars 43 forks source link
api csharp dtn-iqfeed iqfeed market-data python socket stock-data stock-market wrapper

IQFeed CSharp Api Client

Join slack

IQFeed.CSharpApiClient is fastest and the most well designed C# DTN IQFeed socket API connector available to the open source community! Currently supporting the latest stable IQFeed protocol version 6.2.

IQFeed is an affordable and reputable Internet market data provider. For more info.
SPECIAL OFFER (Save \$50 - No Startup Fee) Get Free Trial Now

If you appreciate this project, please star :star: it now!

Features

Usage

Compatibility

IQFeed.CSharpApiClient does support only one real-time protocol at the time but remains backward compatible with historical data.

IQFeed.CSharpApiClient IQFeed Protocol
v2.8.x 6.2
v2.7.x 6.1
v2.6.x 6.0

Packages

MyGet Pre-release feed: https://www.myget.org/gallery/iqfeedcsharpapiclient

Package NuGet Stable MyGet Pre-release Downloads
IQFeed.CSharpApiClient IQFeed.CSharpApiClient IQFeed.CSharpApiClient IQFeed.CSharpApiClient
IQFeed.CSharpApiClient.Extensions IQFeed.CSharpApiClient.Extensions IQFeed.CSharpApiClient.Extensions IQFeed.CSharpApiClient.Extensions

Installation

Install-Package IQFeed.CSharpApiClient

Configuration

Now, you need to set your API credentials and product id somewhere. You have 2 options, in your user environment variables or app.config.

User environment variables

app.config

In your appSettings section, assign values to these key:

<appSettings>
     <add key="IQConnect:login" value=""/>
     <add key="IQConnect:password" value=""/>
     <add key="IQConnect:product_id" value=""/>
     <add key="IQConnect:product_version" value=""/>
</appSettings>

Examples

Check IQFeed.CSharpApiClient.Examples for more examples.

IQFeedLauncher.Start();
var lookupClient = LookupClientFactory.CreateNew();
lookupClient.Connect();
var tickMessages = await lookupClient.Historical.GetHistoryTickDatapointsAsync("AAPL", 100);

IQFeed API support status

Streaming data

Lookup data

Support

For support request, you can create an issue on GitHub or join our Slack community.

Sponsors

DTN IQFeed

JetBrains

Contributing

Pull requests are welcome! Don't hesitate to open an issue if something goes wrong.