| 1 |
---------------------------------------------------------------------------- |
| 2 |
Q: What about feature X? |
| 3 |
|
| 4 |
A: At this time I am not going to implement any further features |
| 5 |
because I am not using Finance::Streamer for my own applications. |
| 6 |
If anyone implements new features I welcome their inclusion |
| 7 |
into Finance::Streamer and I will give credit where credit is due. |
| 8 |
|
| 9 |
---------------------------------------------------------------------------- |
| 10 |
Q: What data provider do you recommend. |
| 11 |
|
| 12 |
A: I recommend using MyTrack [http://www.mytrack.com] for |
| 13 |
financial data because they provide an interface and documentation |
| 14 |
for using their data. Their interface has more features |
| 15 |
than most in that broker operations (buy, sell, etc) are also |
| 16 |
part of the interface. It is also very cost effective starting |
| 17 |
at just $25 per/month for delayed data. |
| 18 |
|
| 19 |
Note, they do not provided a Perl interface. |
| 20 |
A Perl interface to their C interface is possible but I found |
| 21 |
it very difficult to do using either Swig or Inline Perl. |
| 22 |
But if you need an interface for C/C++ or Java, MyTrack |
| 23 |
may suit your needs better than Finance::Streamer could. |
| 24 |
|
| 25 |
---------------------------------------------------------------------------- |
| 26 |
Q: What tools did you use to reverse engineer the protocol? |
| 27 |
|
| 28 |
A: It has been a long time since I did this sort of work so there |
| 29 |
may be better tools available but the main things I used are the following: |
| 30 |
* tcpdump [http://www.tcpdump.org] |
| 31 |
* Richard Stevens. UNIX Network Programming |
| 32 |
* Richard Stevens. TCP/IP Illustrated |
| 33 |
Then it is just a matter of "sniffing" the packets and trying to decipher |
| 34 |
what is going on. My setup was a Linux machine connected to the Internet |
| 35 |
and acting as a router to a Windows machine on the internal network. |
| 36 |
Then I would start the sniffer (tcpdump), and then start the official |
| 37 |
streamer program on the Windows machine. Then I would try to figure out |
| 38 |
what is going on and then write code that does exactly what the official |
| 39 |
streamer application does. |
| 40 |
|
| 41 |
---------------------------------------------------------------------------- |