Download AppDownload App
  Current Time : 08:26 (GMT +5:30)  
12/09/2021 - 18/09/2021
 
Time Cur. Imp. Event Actual Forecast Previous
Monday, September 13, 2021
04:15   NZD FPI (MoM) (Aug) 0.3%   1.3%  
05:20   JPY BSI Large Manufacturing Conditions (Q3) 7.0   -1.4  
05:20   JPY PPI (MoM) (Aug) 0.0% 0.2% 1.1%  
05:20   JPY PPI (YoY) (Aug) 5.5% 5.6% 5.6%  
11:30   EUR German WPI (YoY) (Aug) 12.3%   11.3%  
11:30   EUR German WPI (MoM) (Aug) 0.5%   1.1%  
13:03   PHP FX Reserves USD (Aug) 108.05B   107.15B  
14:30   EUR ECB's Schnabel Speaks           
16:30   USD OPEC Monthly Report        
16:55   BRL BCB Focus Market Readout        
17:00   EUR Greek Credit Expansion (YoY) (Jul) 13.8%   15.2%  
17:30   INR CPI (YoY) (Aug) 5.30% 5.60% 5.59%  
18:30   EUR French 12-Month BTF Auction -0.649%   -0.655%  
18:30   EUR French 3-Month BTF Auction -0.651%   -0.652%  
18:30   EUR French 6-Month BTF Auction -0.675%   -0.668%  
19:00   EUR ECB President Lagarde Speaks           
21:00   USD 3-Month Bill Auction 0.040%   0.045%  
21:00   USD 6-Month Bill Auction 0.050%   0.050%  
23:30   USD Federal Budget Balance (Aug) -171.0B -173.0B -302.0B  
Tuesday, September 14, 2021
02:30   KRW Export Price Index (YoY) (Aug) 18.6%   17.4%
02:30   KRW Import Price Index (YoY) (Aug) 21.6%   19.5%
05:30   AUD RBA Assist Gov Ellis Speaks           
07:00   AUD House Price Index (QoQ) (Q2) 6.7% 6.0% 5.4%  
07:00   AUD NAB Business Confidence (Aug) -5   -7
07:00   AUD NAB Business Survey (Aug) 14   10
08:15   AUD RBA Governor Lowe Speaks           
08:30   KRW M2 Money supply (Jul) 9.90%   9.40%
10:00   JPY Capacity Utilization (MoM) (Jul) -3.4%   6.2%  
10:00   JPY Industrial Production (MoM) (Jul) -1.5% -1.5% 6.5%  
10:30   EUR Finnish CPI (YoY) (Aug) 2.2%   1.9%  
10:55   SEK Unemployment Rate (Aug) 7.7%   7.9%  
11:30   GBP Average Earnings ex Bonus (Jul) 6.8% 6.8% 7.3%
11:30   GBP Average Earnings Index +Bonus (Jul) 8.3% 8.2% 8.8%  
11:30   GBP Claimant Count Change (Aug) -58.6K   -48.9K
11:30   GBP Employment Change 3M/3M (MoM) (Jul) 183K 178K 95K  
11:30   GBP Unemployment Rate (Jul) 4.6% 4.6% 4.7%  
12:00   CHF PPI (YoY) (Aug) 4.4%   3.3%  
12:00   CHF PPI (MoM) (Aug) 0.7%   0.5%  
12:00   INR WPI Food (YoY) (Aug) -1.29%   3.09%  
12:00   INR WPI Fuel (YoY) (Aug) 26.09%   26.02%  
12:00   INR WPI Inflation (YoY) (Aug) 11.39% 10.75% 11.16%  
12:00   INR WPI Manufacturing Inflation (YoY) (Aug) 11.39%   11.20%  
12:30   EUR Spanish CPI (MoM) (Aug) 0.5% 0.4% -0.8%  
12:30   EUR Spanish CPI (YoY) (Aug) 3.3% 3.3% 2.9%  
12:30   EUR Spanish HICP (MoM) (Aug) 0.4% 0.4% -1.2%  
12:30   EUR Spanish HICP (YoY) (Aug) 3.3% 3.3% 2.9%  
12:45   EUR German Buba Mauderer Speaks           
13:00   SEK CPI (YoY) (Aug) 2.1% 1.7% 1.4%  
13:00   SEK CPI (MoM) (Aug) 0.5% 0.2% 0.3%  
13:00   SEK CPIF (CPI at constant interest rates) (MoM) (Aug) 0.5% 0.2% 0.3%  
13:00   SEK CPIF (CPI at constant interest rates) (YoY) (Aug) 2.4% 1.9% 1.7%  
13:05   EUR German Buba President Weidmann Speaks           
13:30   USD IEA Monthly Report        
14:30   EUR Spanish 3-Month Letras Auction -0.641%   -0.626%  
15:00   ZAR Gold Production (YoY) (Jul) 13.4%   44.5%  
15:00   ZAR Mining Production (Jul) 10.3% 22.5% 21.9%  
15:10   EUR German 2-Year Schatz Auction -0.700%   -0.750%  
15:15   GBP 5-Year Treasury Gilt Auction 0.429%   0.324%  
15:15   EUR Italian 3-Year BTP Auction -0.27%   -0.19%  
15:15   EUR Italian 30-Year BTP Auction 1.690%   2.060%  
15:15   EUR Italian 7-Year BTP Auction 0.32%   0.38%  
15:30   USD NFIB Small Business Optimism (Aug) 100.1   99.7  
17:00   INR Exports (USD) (Aug) 33.28B   33.14B  
17:00   INR Imports (USD) (Aug) 47.09B   47.01B  
17:00   INR Trade Balance (Aug) -13.81B -13.89B -13.87B  
17:00   EUR German Buba Balz Speaks           
17:30   BRL Brazilian Service Sector Growth (YoY) (Jul) 17.8% 18.0% 21.1%  
17:30   BRL Brazilian Service Sector Growth (MoM) (Jul) 1.1% 1.0% 1.7%  
18:00   USD Core CPI (YoY) (Aug) 4.0% 4.2% 4.3%  
18:00   USD Core CPI (MoM) (Aug) 0.1% 0.3% 0.3%  
18:00   USD Core CPI Index (Aug) 279.34   279.05  
18:00   USD CPI (MoM) (Aug) 0.3% 0.4% 0.5%  
18:00   USD CPI (YoY) (Aug) 5.3% 5.3% 5.4%  
18:00   USD CPI Index, n.s.a. (Aug) 273.57 273.79 273.00  
18:00   USD CPI Index, s.a (Aug) 273.01   272.26  
18:00   USD CPI, n.s.a (MoM) (Aug) 0.21%   0.48%  
18:00   USD Real Earnings (MoM) (Aug) 0.3%   -0.1%  
18:00   CAD Manufacturing Sales (MoM) (Jul) -1.5% -1.2% 3.6%
18:25   USD Redbook (YoY) 15.3%   16.5%  
20:30   USD Cleveland CPI (MoM) (Aug) 0.3%   0.3%  
23:15   EUR ECB McCaul Speaks           
Wednesday, September 15, 2021
02:00   USD API Weekly Crude Oil Stock -5.437M -3.903M -2.882M  
04:15   NZD Current Account (YoY) (Q2) -11.23B -6.68B -7.24B  
04:15   NZD Current Account (QoQ) (Q2) -1.40B -2.23B -2.90B  
04:15   NZD Current Account % of GDP (Q2) -3.30% -2.10% -2.20%  
04:30   KRW Unemployment Rate (Aug) 2.8%   3.3%  
04:30   JPY Reuters Tankan Index (Sep) 18   33  
05:20   JPY Core Machinery Orders (YoY) (Jul) 11.1% 15.7% 18.6%  
05:20   JPY Core Machinery Orders (MoM) (Jul) 0.9% 3.1% -1.5%  
05:25   KRW Exports (YoY) (Aug) 34.8%   34.9%  
05:25   KRW Imports (YoY) (Aug) 44.0%   44.0%  
05:25   KRW Trade Balance (Aug) 1.65B   1.67B  
05:30   AUD HIA New Home Sales (MoM)     -20.5%  
06:00   AUD Westpac Consumer Sentiment (Sep) 2.0%   -4.4%  
07:00   CNY House Prices (YoY) (Aug) 4.2%   4.6%  
07:30   CNY Fixed Asset Investment (YoY) (Aug) 8.9% 9.0% 10.3%  
07:30   CNY Industrial Production (YoY) (Aug) 5.3% 5.8% 6.4%  
07:30   CNY Chinese Industrial Production YTD (YoY) (Aug) 13.1%   14.4%  
07:30   CNY Retail Sales (YoY) (Aug) 2.5% 7.0% 8.5%  
07:30   CNY Chinese Retail Sales YTD (YoY) (Aug) 18.15%   20.72%  
07:30   CNY NBS Press Conference           
08:00   SGD Unemployment Rate (Q2) 2.7%   2.7%  
10:00   JPY Tertiary Industry Activity Index (MoM)     2.3%  
10:30   EUR Finnish GDP (YoY) (Jul)     9.7%  
11:30   GBP Core CPI (YoY) (Aug)   2.9% 1.9%  
11:30   GBP Core CPI MoM (MoM) (Aug)   0.4% 0.5%  
11:30   GBP Core PPI Output (YoY) (Aug)     3.9%  
11:30   GBP Core PPI Output (MoM) (Aug)     0.7%  
11:30   GBP Core RPI (MoM) (Aug)     0.5%  
11:30   GBP Core RPI (YoY) (Aug)     3.9%  
11:30   GBP CPI (MoM) (Aug)   0.5% 0.5%  
11:30   GBP CPI (YoY) (Aug)   2.9% 2.0%  
11:30   GBP CPI, n.s.a (Aug)     111.30  
11:30   GBP PPI Input (MoM) (Aug)   0.2% 0.8%  
11:30   GBP PPI Input (YoY) (Aug)   10.3% 9.9%  
11:30   GBP PPI Output (YoY) (Aug)   5.4% 4.9%  
11:30   GBP PPI Output (MoM) (Aug)   0.4% 0.6%  
11:30   GBP RPI (YoY) (Aug)   4.7% 3.8%  
11:30   GBP RPI (MoM) (Aug)   0.5% 0.5%  
12:15   EUR French CPI (YoY)     1.9%  
12:15   EUR French CPI (MoM) (Aug)     0.1%  
12:15   EUR French HICP (MoM) (Aug)   0.7% 0.1%  
12:15   EUR French HICP (YoY) (Aug)   2.4% 1.5%  
13:30   EUR Italian CPI (YoY) (Aug)   2.1% 1.9%  
13:30   EUR Italian CPI (MoM) (Aug)   0.5% 0.5%  
13:30   EUR Italian CPI Ex Tobacco (MoM) (Aug)     1.9%  
13:30   EUR Italian HICP (YoY) (Aug)   2.6% 1.0%  
13:30   EUR Italian HICP (MoM) (Aug)   0.3% -1.0%  
Tentative   CNY FDI (Aug)     25.50%  
14:00   GBP House Price Index (YoY)     13.2%  
14:30   EUR Greek Unemployment Rate (Jul)     15.0%  
14:30   EUR Wages in euro zone (YoY) (Q2)     2.20%  
14:30   EUR Industrial Production (YoY) (Jul)   6.3% 9.7%  
14:30   EUR Industrial Production (MoM) (Jul)   0.6% -0.3%  
14:30   EUR Labor Cost Index (YoY) (Q2)     1.50%  
15:15   GBP 10-Year Treasury Gilt Auction     0.664%  
15:30   EUR Reserve Assets Total (Aug)     888.49B  
16:30   USD MBA 30-Year Mortgage Rate     3.03%  
16:30   USD MBA Mortgage Applications (WoW)     -1.9%  
16:30   USD MBA Purchase Index     258.4  
16:30   USD Mortgage Market Index     705.6  
16:30   USD Mortgage Refinance Index     3,292.1  
16:30   ZAR Retail Sales (YoY) (Jul)   9.6% 10.4%  
17:00   INR Exports (USD) (Aug)     33.14B  
17:00   INR Imports (USD) (Aug)     47.01B  
17:00   INR Trade Balance (Aug)   -13.89B -13.87B  
17:30   BRL IBC-Br Economic Activity     1.14%  
18:00   USD Export Price Index (MoM) (Aug)   0.4% 1.3%  
18:00   USD Import Price Index (MoM) (Aug)   0.3% 0.3%  
18:00   USD NY Empire State Manufacturing Index (Sep)   18.00 18.30  
18:00   CAD Common CPI (YoY)     1.7%  
18:00   CAD Core CPI (MoM) (Aug)     0.6%  
18:00   CAD Core CPI (YoY) (Aug)     3.3%  
18:00   CAD CPI (MoM) (Aug)   0.1% 0.6%  
18:00   CAD CPI (YoY) (Aug)   3.9% 3.7%  
18:00   CAD Median CPI (YoY)     2.6%  
18:00   CAD Trimmed CPI (YoY)     3.1%  
18:00   EUR ECB's Schnabel Speaks           
18:45   USD Capacity Utilization Rate (Aug)   76.4% 76.1%  
18:45   USD Industrial Production (YoY) (Aug)     6.56%  
18:45   USD Industrial Production (MoM) (Aug)   0.4% 0.9%  
18:45   USD Manufacturing Production (MoM) (Aug)   0.4% 1.4%  
20:00   USD Crude Oil Inventories   -3.544M -1.529M  
20:00   USD EIA Refinery Crude Runs (WoW)     -1.636M  
20:00   USD Crude Oil Imports     0.168M  
20:00   USD Cushing Crude Oil Inventories     1.918M  
20:00   USD Distillate Fuel Production     -0.625M  
20:00   USD EIA Weekly Distillates Stocks   -1.612M -3.142M  
20:00   USD Gasoline Production     0.237M  
20:00   USD Heating Oil Stockpiles     0.399M  
20:00   USD EIA Weekly Refinery Utilization Rates (WoW)   1.7% -9.4%  
20:00   USD Gasoline Inventories   -1.957M -7.215M  
20:30   USD Thomson Reuters IPSOS PCSI (Sep)     57.07  
20:30   BRL Brazil Thomson Reuters IPSOS PCSI (Sep)     44.04  
20:30   EUR ECB's Lane Speaks           
20:50   EUR German Buba Balz Speaks           
23:00   BRL Foreign Exchange Flows     1.180B  
Thursday, September 16, 2021
All Day   Holiday Malaysia - Malaysia Day
04:15   NZD GDP (QoQ) (Q2)   1.3% 1.6%  
04:15   NZD GDP (YoY) (Q2)   16.3% 2.4%  
04:15   NZD GDP Annual Average (Q2)   4.3% -2.3%  
04:15   NZD GDP Expenditure (QoQ) (Q2)   1.4% 1.4%  
05:00   JPY Adjusted Trade Balance     0.05T  
05:20   JPY Exports (YoY) (Aug)   34.0% 37.0%  
05:20   JPY Foreign Bonds Buying     1,043.1B  
05:20   JPY Foreign Investments in Japanese Stocks     421.6B  
05:20   JPY Imports (YoY) (Aug)   40.0% 28.5%  
05:20   JPY Trade Balance (Aug)   -47.7B 439.4B  
06:30   AUD MI Inflation Expectations     3.3%  
07:00   AUD Employment Change (Aug)   -90.0K 2.2K  
07:00   AUD Full Employment Change (Aug)     -4.2K  
07:00   AUD Participation Rate (Aug)   65.7% 66.0%  
07:00   AUD RBA Bulletin        
07:00   AUD Unemployment Rate (Aug)   4.9% 4.6%  
08:30   NZD RBNZ Offshore Holdings (Aug)     46.60%  
11:30   GBP BoE FPC Meeting Minutes        
11:30   GBP Car Registration (YoY) (Aug)     28.0%  
11:30   GBP Car Registration (MoM) (Aug)     18.8%  
11:30   EUR Italian Car Registration (MoM) (Aug)     4.7%  
11:30   EUR Italian Car Registration (YoY) (Aug)     12.6%  
11:30   EUR German Car Registration (MoM) (Aug)     18.9%  
11:30   EUR German Car Registration (YoY) (Aug)     24.5%  
11:30   EUR French Car Registration (YoY) (Aug)     -14.7%  
11:30   EUR French Car Registration (MoM) (Aug)     41.5%  
12:30   CHF SECO Economic Forecasts        
13:30   EUR Italian Trade Balance (Jul)     5.681B  
13:30   EUR Italian Trade Balance EU (Jul)     0.88B  
13:30   EUR Italian Trade Balance Non-EU (Jul)     4.79B  
13:30   PHP Philippines Foreign Direct Investment (USD)     0.40B  
14:00   HKD Unemployment Rate (Aug)     5.0%  
14:30   EUR French 3-Year BTAN Auction     -0.71%  
14:30   EUR French 5-Year BTAN Auction     -0.62%  
14:30   EUR Spanish 10-Year Obligacion Auction     0.309%  
14:30   EUR Spanish 15-Year Obligacion Auction     0.366%  
14:30   EUR Spanish 3-Year Bonos Auction     -0.550%  
14:30   EUR Spanish 30-Year Obligacion Auction     1.297%  
14:30   EUR Spanish 5-Year Bonos Auction     -0.440%  
14:30   EUR Spanish 50-Year Obligacion Auction     1.307%  
14:30   EUR Greek Quarterly Unemployment Rate (Q2)     17.1%  
14:30   EUR Trade Balance (Jul)     18.1B  
17:30   EUR ECB President Lagarde Speaks           
17:45   CAD Housing Starts (Aug)   268.0K 272.2K  
18:00   USD Continuing Jobless Claims   2,785K 2,783K  
18:00   USD Core Retail Sales (MoM) (Aug)   -0.2% -0.4%  
18:00   USD Initial Jobless Claims   328K 310K
18:00   USD Jobless Claims 4-Week Avg.     339.50K
18:00   USD Philadelphia Fed Manufacturing Index (Sep)   19.0 19.4  
18:00   USD Philly Fed Business Conditions (Sep)     33.7  
18:00   USD Philly Fed CAPEX Index (Sep)     33.70  
18:00   USD Philly Fed Employment (Sep)     32.6  
18:00   USD Philly Fed New Orders (Sep)     22.8  
18:00   USD Philly Fed Prices Paid (Sep)     71.20  
18:00   USD Retail Control (MoM) (Aug)   -0.1% -1.0%  
18:00   USD Retail Sales (MoM) (Aug)   -0.8% -1.1%  
18:00   USD Retail Sales (YoY) (Aug)     15.78%  
18:00   USD Retail Sales Ex Gas/Autos (MoM) (Aug)     -0.7%  
18:00   CAD ADP Nonfarm Employment Change     221.3K  
18:00   CAD Foreign Securities Purchases (Jul)     19.63B  
18:00   CAD Foreign Securities Purchases by Canadians (Jul)     28.10B  
18:00   CAD Wholesale Sales (MoM) (Jul)   -2.0% -0.8%  
18:30   RUB Central Bank reserves (USD)     620.8B  
19:30   USD Business Inventories (MoM) (Jul)   0.5% 0.8%  
19:30   USD Retail Inventories Ex Auto (Jul)     0.5%  
20:00   USD Natural Gas Storage     52B  
21:00   USD 4-Week Bill Auction     0.035%  
21:00   USD 8-Week Bill Auction     0.065%  
Friday, September 17, 2021
01:30   USD US Foreign Buying, T-bonds (Jul)     10.90B  
01:30   USD Overall Net Capital Flow (Jul)     31.50B  
01:30   USD TIC Net Long-Term Transactions (Jul)     110.9B  
01:30   USD TIC Net Long-Term Transactions including Swaps (Jul)     75.80B  
04:00   NZD Business NZ PMI (Aug)     62.6  
05:00   JPY National Core CPI (YoY) (Aug)   -0.4% -0.2%  
06:00   SGD Non-Oil Exports (MoM) (Aug)   2.40% -0.90%  
06:00   SGD Non-Oil Exports (YoY) (Aug)   8.30% 12.70%  
06:00   SGD Trade Balance     3.973B  
07:30   JPY Thomson Reuters IPSOS PCSI (Sep)     40.79  
07:30   CNY China Thomson Reuters IPSOS PCSI (Sep)     68.94  
11:30   GBP Core Retail Sales (YoY) (Aug)   2.5% 1.8%  
11:30   GBP Core Retail Sales (MoM) (Aug)   0.8% -2.4%  
11:30   GBP Retail Sales (YoY) (Aug)   2.7% 2.4%  
11:30   GBP Retail Sales (MoM) (Aug)   0.5% -2.5%  
13:00   THB Currency Swaps (USD)     30.2B  
13:00   THB Foreign Reserves (USD)     252.5B  
13:30   EUR Current Account (Jul)     21.8B  
13:30   EUR Current Account n.s.a. (Jul)     24.0B  
13:40   EUR German Buba Mauderer Speaks           
14:30   EUR Construction Output (MoM) (Jul)     -1.72%  
14:30   EUR Core CPI (YoY) (Aug)   1.6% 1.6%  
14:30   EUR Core CPI (MoM) (Aug)   0.3% 0.3%  
14:30   EUR CPI (MoM) (Aug)   0.4% -0.1%  
14:30   EUR CPI (YoY) (Aug)   3.0% 3.0%  
14:30   EUR CPI ex Tobacco (MoM) (Aug)     -0.1%  
14:30   EUR CPI ex Tobacco (YoY) (Aug)     2.2%  
14:30   EUR HICP ex Energy & Food (YoY) (Aug)   1.6% 1.6%  
14:30   EUR HICP ex Energy and Food (MoM) (Aug)   0.3% -0.3%  
Tentative   EUR German 30-Year Bund Auction     -0.040%  
16:00   EUR Portuguese Current Account (Jul)     -1.937B  
17:00   INR FX Reserves, USD     642.45B  
19:30   USD Michigan 5-Year Inflation Expectations (Sep)     2.90%  
19:30   USD Michigan Consumer Expectations (Sep)     65.1  
19:30   USD Michigan Consumer Sentiment (Sep)   72.2 70.3  
19:30   USD Michigan Current Conditions (Sep)     78.5  
19:30   USD Michigan Inflation Expectations (Sep)     4.6%  
22:30   USD U.S. Baker Hughes Oil Rig Count     394  
22:30   USD U.S. Baker Hughes Total Rig Count     497  
Saturday, September 18, 2021
01:00   GBP CFTC GBP speculative net positions     -24.5K  
01:00   USD CFTC Aluminium speculative net positions     4.3K  
01:00   USD CFTC Copper speculative net positions     23.6K  
01:00   USD CFTC Corn speculative net positions     267.8K  
01:00   USD CFTC Crude Oil speculative net positions     349.2K  
01:00   USD CFTC Gold speculative net positions     206.0K  
01:00   USD CFTC Nasdaq 100 speculative net positions     5.0K  
01:00   USD CFTC Natural Gas speculative net positions     -120.0K  
01:00   USD CFTC S&P; 500 speculative net positions     -28.4K  
01:00   USD CFTC Silver speculative net positions     28.6K  
01:00   USD CFTC Soybeans speculative net positions     70.2K  
01:00   USD CFTC Wheat speculative net positions     17.5K  
01:00   CAD CFTC CAD speculative net positions     -6.0K  
01:00   CHF CFTC CHF speculative net positions     0.2K  
01:00   AUD CFTC AUD speculative net positions     -70.5K  
01:00   BRL CFTC BRL speculative net positions     6.3K  
01:00   JPY CFTC JPY speculative net positions     -62.3K  
01:00   NZD CFTC NZD speculative net positions     3.9K  
01:00   RUB CFTC RUB speculative positions     20.9K  
01:00   EUR CFTC EUR speculative net positions     26.3K  
Legend
Speech
Preliminary Release
Revised Release
Retrieving Data
  • Low Volatility Expected
  • Moderate Volatility Expected
  • High Volatility Expected
');//medium-circle $(trId).show(); $('#eventDivWrapper' + id).slideDown('fast'); $(clickedEventTr).addClass('openedTr'); setTimeout(function(){},100); }, complete: function() { }, success: function(data) { $('#eventDivWrapper' + id).hide(); $('#eventInfoTd' + id).addClass("center"); $('#eventDivWrapper' + id).html(data); $('#eventDivWrapper' + id).slideDown('fast'); } }); } } var ecEvent = { "changeEventTabSelection": function(selectedTabTitleElement, selectedTabAction, eventId, params) { $(selectedTabTitleElement).siblings('[id^="eventTabTitle_"]').removeClass('selected'); $(selectedTabTitleElement).addClass('selected'); var tabDivId = '#eventTabDiv_' + selectedTabAction + '_' + eventId; $(tabDivId).siblings('[id^="eventTabDiv_"]').removeClass('block').addClass('displayNone'); switch(selectedTabAction) { case 'chart': if( $(tabDivId).html() === '' ) { $.getJSON('/events_charts' + '/us/' + params.event_attr_ID + '.json', function(data) { $(tabDivId).removeClass('displayNone').addClass('block'); ecEvent[tabDivId] = true; new EventChart(data, $(tabDivId).attr('id'), params); }); } else { $(tabDivId).removeClass('displayNone').addClass('block'); } break; default: if (typeof this[tabDivId] === 'undefined' || this[tabDivId] == false ) { params["eventID"] = eventId; params["lang"] = 56; params['action'] = selectedTabAction; $.ajax({ //url: "/economic-calendar/" + selectedTabAction, url: "/ajax.php", type: "POST", data: params, beforeSend: function() { $("#eventTabDiv_loader_" + eventId).removeClass("displayNone"); }, complete: function() { $("#eventTabDiv_loader_" + eventId).addClass("displayNone"); }, success: function(data) { $(tabDivId).html(data); $(tabDivId).removeClass('displayNone').addClass('block'); ecEvent[tabDivId] = true; ecEvent[tabDivId +'_data'] = data; } }); } else { $(tabDivId).html(this[tabDivId + '_data']); $(tabDivId).removeClass('displayNone').addClass('block'); } break; }//end action switch }, "moreHistory": function(parentEventDataId, moreHistoryDivElement) { var anchorElement = $(moreHistoryDivElement).find('a:first-child'); if ($(anchorElement).attr('disabled') === undefined) { $(anchorElement).attr('disabled', 'disabled'); var tableId = 'eventHistoryTable' + parentEventDataId; var historicEventTr = $('#' + tableId + ' tr[id^=historicEvent_]:last-child').last(); var historicEventTrId = $(historicEventTr).attr('id'); var historicEventId = historicEventTrId.replace('historicEvent_', ''); var eventAttrId = $(historicEventTr).attr("event_attr_ID"); var lastEventTs = $(historicEventTr).attr("event_timestamp"); $.ajax({ url: "/ajax.php", // /economic-calendar/more-history type: "POST", dataType: 'json', data: {"action": "more_history", "eventID": historicEventId, "event_attr_ID": eventAttrId, "event_timestamp": lastEventTs, "lang" : 56 }, beforeSend: function() { }, complete: function() { $("#showMoreHistoryLoader" + parentEventDataId).addClass("displayNone"); }, success: function(data) { $(data["historyRows"]).appendTo('#' + tableId); if (!data["hasMoreHistory"]) { $(moreHistoryDivElement).removeClass("showMoreHistory").hide(); } $(anchorElement).removeAttr('disabled'); } }); } } }; $(function() { if (location.hash != undefined && location.hash.length > 1) { var hashEventId = location.hash.replace('#', ''); var searchedTrSelector = "#eventRowId_" + hashEventId; var trObject = $(searchedTrSelector); if (trObject != undefined && $(trObject).is("tr")) { changeEventDisplay(hashEventId, trObject, "overview"); $.scrollTo($(searchedTrSelector).offset().top - 130); } } }); var datePickerApplyButton = 'Apply'; var initLayout = function() { $('#widgetHolCalendar').DatePicker({ flat: true, format: 'd/m/Y', date: [new Date('2021/09/12'), new Date('2021/09/18')], calendars: 1, mode: 'range', starts: 0, onChange: function(formated) { $('#widgetField #widgetFieldDateRange').get(0).innerHTML = formated.join(' - '); }, locale: { days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], daysShort: ["Sun.", "Mon.", "Tue.", "Wed.", "Thu.", "Fri.", "Sat.", "Sun."], daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], monthsShort: ["Jan.", "Feb.", "Mar.", "Apr.", "May", "Jun.", "Jul.", "Aug.", "Sep.", "Oct.", "Nov.", "Dec."], weekMin: 'wk' } }); var state = false; $('#datePickerIconWrap,#widgetField').bind('click', function(){ $('#widgetHolCalendar').stop().animate({height: state ? 0 : $('#widgetHolCalendar div.datepicker').get(0).offsetHeight}, 500); if (state) { $('#widgetFieldBottomBorder').addClass("displayNone"); } else { $('#widgetFieldBottomBorder').removeClass("displayNone"); } state = !state; return false; }); $('#datePickerApplyButton').bind('click', function(){ $('#widgetHolCalendar').stop().animate({height: state ? 0 : $('#widgetHolCalendar div.datepicker').get(0).offsetHeight}, 500); $('#widgetFieldBottomBorder').addClass("displayNone"); if (($('#widgetHolCalendar').DatePickerGetDate(0)[0] != 'Invalid Date') && ($('#widgetHolCalendar').DatePickerGetDate(0)[1] != 'Invalid Date') ) { var dateFrom = $('#widgetHolCalendar').DatePickerGetDate(0)[0]; var dateFromStr = dateToString(dateFrom); var dateTo = $('#widgetHolCalendar').DatePickerGetDate(0)[1]; var dateToStr = dateToString(dateTo); //Set the input fields $('#dateFrom').val(dateFromStr); $('#dateTo').val(dateToStr); //Cancel any selection of timeframe $('a[id^="timeFrame"]').removeClass("toggled"); $('input[id="timeframe"]').val(''); $('a[id^="timeFrame_"]').unbind('click', timeFrameOnClickHandler).bind('click', timeFrameOnClickHandler); economicCalendarFormSubmit(); } state = !state; return false; }); $('body').click(function() { //close date picker if (state){ $('#widgetHolCalendar').stop().animate({height: state ? 0 : $('#widgetHolCalendar div.datepicker').get(0).offsetHeight}, 500); $('#widgetFieldBottomBorder').addClass("displayNone"); var dateFromStr = $('#dateFrom').val(); var dateToStr = $('#dateTo').val(); var dateFrom = parseDate(dateFromStr); var dateTo = parseDate(dateToStr); if (dateFrom != null && dateTo != null) { $('#widgetHolCalendar').DatePickerSetDate(new Array(dateFrom, dateTo), true); } state = !state; } //close timezone selection if ($("#ecoCurrentTimePop").is(":visible")) { $("#ecoCurrentTimePop").addClass("displayNone"); } }); $('#widgetHolCalendar div.datepicker').css('position', 'absolute'); $('#datePickerApplyButton').html(datePickerApplyButton); function parseDate(dateStr) { if (typeof(dateStr) != "string") { return null; } dateArr = dateStr.split("-"); if (!$.isArray(dateArr) || dateArr.length != 3) { return null; } //new Date(year, month, day, hours, minutes, seconds, milliseconds); return new Date(dateArr[0], (parseInt(dateArr[1]) - 1), parseInt(dateArr[2]), 0, 0, 0, 0); } }; EYE.register(initLayout, 'init'); //Restore Defaults var defaultParams = {"timeFilter":"timeRemain","dateFrom":"2021-09-12","dateTo":"2021-09-18","country":["25","34","32","6","37","72","71","22","17","51","39","14","33","10","35","42","43","45","38","56","36","110","11","26","9","12","41","4","5","178"],"importance":["1","2","3"],"category":["_employment","_economicActivity","_inflation","_credit","_centralBanks","_confidenceIndex","_balance","_Bonds"]}; $("#filterRestoreDefaults").click(function(){ var restoreFilterFields = new Array("country"/*, "category", "importance"*/); var i,j; for (i = 0; i 0 ) { for(j = 0; j 0){ $('#widgetHolCalendar').DatePickerSetDate(new Array(data['params']["dateFrom"], data['params']["dateTo"]), true); $('#widgetFieldDateRange').get(0).innerHTML = $('#widgetHolCalendar').DatePickerGetDate(true)[0] + " - " + $('#widgetHolCalendar').DatePickerGetDate(true)[1]; } } }); } $(document).ready(function(){ var menu = document.querySelector('#headerRow'); var origTopCoordinateMenu = menu.offsetTop; function scroll () { if ($(window).scrollTop() >= origTopCoordinateMenu) { $('#headerRow').addClass('floating'); } if ($(window).scrollTop()