Skip to content

Commit

Permalink
remove: IQFeed mentions (#7705)
Browse files Browse the repository at this point in the history
  • Loading branch information
Romazes authored Jan 19, 2024
1 parent ed9fb4a commit 6cb9164
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 4,599 deletions.
30 changes: 0 additions & 30 deletions Tests/Common/SymbolRepresentationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,36 +48,6 @@ public void OptionSymbolAliasAddsPaddingSpaceForSixOrMoreCharacterSymbols()
Assert.AreEqual(expected, symbol);
}

[Test]
public void ParseOptionIQFeedTicker()
{
// ticker contains two digits year of expiration
var result = SymbolRepresentation.ParseOptionTickerIQFeed("MSFT1615D30");

Assert.AreEqual(result.Underlying, "MSFT");
Assert.AreEqual(result.OptionRight, OptionRight.Call);
Assert.AreEqual(result.OptionStrike, 30m);
Assert.AreEqual(result.ExpirationDate, new DateTime(2016, 4, 15));
}

[TestCase("MSFT1615D30.5", "MSFT", OptionRight.Call, "30.5", "20160415")]
[TestCase("GOOG1415D30.5", "GOOG", OptionRight.Call, "30.5", "20140415")]
[TestCase("GOOCV1415C30.5", "GOOCV", OptionRight.Call, "30.5", "20140315")]
public void IQFeedTickerRoundTrip(string encodedOption, string underlying, OptionRight optionRight, decimal strike, string expiration)
{
var parsedOption = SymbolRepresentation.ParseOptionTickerIQFeed(encodedOption);

Assert.AreEqual(underlying, parsedOption.Underlying);
Assert.AreEqual(optionRight, parsedOption.OptionRight);
Assert.AreEqual(strike, parsedOption.OptionStrike);
Assert.AreEqual(Time.ParseDate(expiration), parsedOption.ExpirationDate);

var option = Symbol.CreateOption(parsedOption.Underlying, Market.USA, OptionStyle.American, parsedOption.OptionRight, parsedOption.OptionStrike, parsedOption.ExpirationDate);
var result = SymbolRepresentation.GenerateOptionTicker(option);

Assert.AreEqual(encodedOption, result);
}

[Test]
public void ParseFuturesTickers()
{
Expand Down
53 changes: 0 additions & 53 deletions Tests/Engine/DataFeeds/IQFeedRealtimeDataFeedTests.cs

This file was deleted.

80 changes: 0 additions & 80 deletions ToolBox/IQFeed/IQ/DataStructures.cs

This file was deleted.

Loading

0 comments on commit 6cb9164

Please sign in to comment.