Hello, welcome back to my blog about automated trading. Last week
I have provided a view (it is too weak to call it research) into fundamental news. This week I am going to present simple news parser.
For the source code example, please download repository and update to branch 16-news_parser, changeset d8acc9e4f15d.
P.S. I am thinking to go for the payed version with finviz.com. They have proved to me to be reliable and useful data source.
Strange for me is when I compare process for opening Forex and stock account. Seems anyone can open Forex account just with email and credit card. Pretty quick setup. For stock account there is a lot more validation (I am not considereing stock offered by forex brokers). One point I have read is, because government wants to prevent the finanicing of terrorism. I understand this is definitelly good idea. However I haven't figured out yet how extra paper work helps with this at all. At the end of the day this is just paper work and people who want will deffinitelly find the way how to trick it. Does anyone have insight into it? Please let me know. I am curious.
That's it for today. Next week I will be talking either about my trading account or will show one use case for this fundamental parser. Thank you for reading!
For the source code example, please download repository and update to branch 16-news_parser, changeset d8acc9e4f15d.
Coding
Coding is straightforward today so let's go directly to it. There is main inteface FundamentalProvider which contains method for news selection. This method accepts symbol and returns list of news. Then there is an implementation called FinvizFundamentalProvider together with related test case. Implementation just queries the html page and extracts the news from the news table. Everything is done with technologies covered in the previous chapters. Finally there is FinvizFundamentalProviderTestInternetApp application which allows to run quick live test with Microsoft stock. This implementation needs internet connection. That's enough for play.
Now do you have any idea how to use that? Please let me know. There are no bad ideas.
P.S. I am thinking to go for the payed version with finviz.com. They have proved to me to be reliable and useful data source.
My stock trading account
Yes, unfortunately I am still in the process. I live in Japan and application is send to New York. If I want to sleep well, then there is usually only 1 email during day. Therefore couple of missed fields and misunderstandings are making it long.Strange for me is when I compare process for opening Forex and stock account. Seems anyone can open Forex account just with email and credit card. Pretty quick setup. For stock account there is a lot more validation (I am not considereing stock offered by forex brokers). One point I have read is, because government wants to prevent the finanicing of terrorism. I understand this is definitelly good idea. However I haven't figured out yet how extra paper work helps with this at all. At the end of the day this is just paper work and people who want will deffinitelly find the way how to trick it. Does anyone have insight into it? Please let me know. I am curious.
That's it for today. Next week I will be talking either about my trading account or will show one use case for this fundamental parser. Thank you for reading!
No comments:
Post a Comment