Ocena: Empty Star Empty Star Empty Star Empty Star Empty Star
Exporting news calendar from myfxbook as ASCII
Poprzedni 1 2 Następny
gatornuke

Członek od Jul 20, 2011  23 postów gatornuke Jul 21 2011 at 19:03
I'm trying to feed my EA news information so it knows when to avoid entering the market. I've coded some subroutines to do that, and I'm using them in combination with a .csv file. Myfxbook seems to be an excellent source of news, and it allows you to filter by high and medium impact, and even displays time based on the broker time you select. I can use this to write a new input file every weekend, but this is rather tedious and error-prone. Is there a way to automatically export this data from myfxbook?

It'd be even easier if it was in this format, too:

2011.07.21 14:00;EUR EcoFin Meeting
2011.07.21 17:00;USD Bernanke Testifies
2011.07.22 04:30;AUD Import Price Index

TheCyclist

Członek od Feb 07, 2011  617 postów PipGnostic (TheCyclist) Jul 22 2011 at 11:03 (zmieniany Jul 22 2011 at 11:05 )
There is an fxbook API...so I guess most things would be possible...

Ok, maybe not - I looked, didn't see anything pertaining to it, perhaps they can include it in the API.


Show me your pips!!
gatornuke

Członek od Jul 20, 2011  23 postów gatornuke Jul 22 2011 at 21:27
It's ok, I found another site that makes the news exportable via csv file at logical URLs. I just coded some VBA excel macros to import the data for the week as a web query, perform the formatting I need, and store it as a .csv in the various locations I need to run my multiple terminal windows.

I know this is a quick and dirty solution, and not the most elegant, but it works and I got it all automated with single click.

Splexin

Członek od Apr 11, 2011  202 postów Splexin (Splexin) Jul 23 2011 at 06:16
If you want a more direct link, the data actually comes from Fxstreet.com

http://www.fxstreet.com/fundamental/economic-calendar/

Everything should be as simple as it can be, but not simpler.
gatornuke

Członek od Jul 20, 2011  23 postów gatornuke Jul 24 2011 at 01:28
James_Bond

Członek od Jan 14, 2010  554 postów James_Bond Jul 25 2011 at 16:25

gatornuke posted:
    I'm trying to feed my EA news information so it knows when to avoid entering the market. I've coded some subroutines to do that, and I'm using them in combination with a .csv file. Myfxbook seems to be an excellent source of news, and it allows you to filter by high and medium impact, and even displays time based on the broker time you select. I can use this to write a new input file every weekend, but this is rather tedious and error-prone. Is there a way to automatically export this data from myfxbook?

It'd be even easier if it was in this format, too:

2011.07.21 14:00;EUR EcoFin Meeting
2011.07.21 17:00;USD Bernanke Testifies
2011.07.22 04:30;AUD Import Price Index



Very interesting. How do you decide what's an 'important' news? Based on the impact devised?

gatornuke

Członek od Jul 20, 2011  23 postów gatornuke Jul 25 2011 at 20:35
I'm using dailyFX's classification... anything 'medium' or 'high' importance according to them is 'important' to the EA.

James_Bond

Członek od Jan 14, 2010  554 postów James_Bond Jul 26 2011 at 06:29

gatornuke posted:
    I'm using dailyFX's classification... anything 'medium' or 'high' importance according to them is 'important' to the EA.


And what happens when you're trading these events? Does you system fail? Maybe you should adjust your system for these specific periods, so you would run different versions of your system per different market scenarios.

gatornuke

Członek od Jul 20, 2011  23 postów gatornuke Jul 26 2011 at 13:15
I'm not trading these events. This is for a news avoidance subroutine. In other words, the EA is prevented from making any trades before or after these events.

James_Bond

Członek od Jan 14, 2010  554 postów James_Bond Jul 26 2011 at 18:05 (zmieniany Jul 26 2011 at 18:05 )
Got it.

Did you automate the download process of the csv also? Or are you manually downloading the files each day/week?

Poprzedni 1 2 Następny
Unemployment Rate (1h 47min)
Flash: Analyzing structural G10 positioning a...(7 min ago)
EURUSD 1.28838 GBPUSD 1.50696
USDJPY 101.37 USDCAD 1.03468
Narzędzia Społeczność Opinie Platforma Firma Wsparcie
Kalendarz ekonomiczny Społeczność Brokerzy Widgety O nas FAQ
Forex Market Systemy Strategie Automatyczne Cechy Blog Pomoc
Forex Volatility Most Popular Systems Dostawcy Sygnałów API Twitter Kontakt
Forex Correlation Strategie VPS Services Telefon Facebook Zgłoś Błąd!
Forex Broker Spreads Konkursy EA Programming Tłumaczenia    
Forex Broker Quotes Forex Charts PAMM Brokers RSS    
Forex Broker Swaps Przegląd Społeczności Rebate Programs      
Wiadomości z rynku   Trading Platforms      
Forex Broker Volume          
COT Data New          

Mapa strony  |   Terms & Conditions  |   Polityka prywatności
©2012 Myfxbook Ltd. All Rights Reserved.
HIGH RISK WARNING: Foreign exchange trading carries a high level of risk that may not be suitable for all investors. Leverage creates additional risk and loss exposure. Before you decide to trade foreign exchange, carefully consider your investment objectives, experience level, and risk tolerance. You could lose some or all of your initial investment; do not invest money that you cannot afford to lose. Educate yourself on the risks associated with foreign exchange trading, and seek advice from an independent financial or tax advisor if you have any questions. Any data and information is provided 'as is' solely for informational purposes, and is not intended for trading purposes or advice.