mathpaquette / IQFeed.CSharpApiClient

IQFeed.CSharpApiClient is fastest and the most well-designed C# DTN IQFeed socket API connector available
MIT License
121 stars 42 forks source link

Raw.RequestHistory #29

Closed veng1 closed 6 years ago

veng1 commented 6 years ago

Could the Raw.RequestHistory, which seems to be intended to create files have an option to include a header?

In the past, I've done it like this: sRequest = String.Format("HDX,{0},{1},{2},{3},{4}\r\n", txtSymbol.Text, txtStrike.Text, txtDirection.Text, txtRequestID.Text, txtDatapointsPerSend.Text); header = "Time Stamp,Last,High,Low,Open,Close,Volume,Open Interest"; for each type of request.

mathpaquette commented 6 years ago

You need to manually happen the file and adding the header you wish to add.