116 reputation
4
bio website
location
age
visits member for 1 year, 8 months
seen May 13 '13 at 20:49

Sep
24
awarded  Autobiographer
Feb
5
comment NYSE binary data, convert to ASCII
Thank you! 15ch
Feb
5
comment NYSE binary data, convert to ASCII
I'm not sure what you mean by "the source is also a file of binary nature". The problem I'm having (which, yeah, I guess I explained better on SO) is parsing the bytes. I guess, as someone mentioned there, od would help... but I'm on Windows. I also don't have the wherewithal to hire you to write a C# program for me (or the trust to run an executable you send me). I will keep looking around....
Feb
5
comment NYSE binary data, convert to ASCII
Thanks! Re (1), I don't have the impression there's a file header. Re (2), sed would be great.
Feb
5
comment NYSE binary data, convert to ASCII
Re-asked.
Feb
5
awarded  Supporter
Feb
4
comment NYSE binary data, convert to ASCII
@chrisaycock I'd think it'd be doable in sed, which I'm comfortable with, or in perl, which I'm familiar with though less than comfortable. Except that I have no idea how to convert the byte-representation-of-a-binary-number to a regular number; and that, more to the point, I'd think there'd be a preexisting script or program that does this, since many people use this product.
Feb
4
awarded  Student
Feb
4
comment NYSE binary data, convert to ASCII
@chrisaycock (1) Part of your latest comment ("interpret... struct") is Greek to me. If it's still relevant after you read the rest of this comment, then can you explain, please? (2) I am not a programmer. In particular, I don't know C. (3) As to the first part of your comment, do you mean the first few bytes of the file? (a) I don't think the data file uses that sort of marker. I think it strictly follows the format specified in the linked-to documentation and summarized in my question. (b) I don't know how to read those bytes.
Feb
4
comment NYSE binary data, convert to ASCII
@chrisaycock, yes, but the format is similar and the live data's specification explains it better.
Feb
4
comment NYSE binary data, convert to ASCII
(From the FAQ list: "We can answer questions for software packages that are specific to quantitative finance". Just in case anyone's thinking of closing this as off-topic. (But if you think it'd have a better chance of being answered elsewhere, please let me know!))
Feb
4
asked NYSE binary data, convert to ASCII
Jan
17
awarded  Informed