Back

This week, the Fed’s decisions take center stage, overshadowing meetings and outcomes from other central banks.

This week, all eyes are on the FOMC meeting as the Fed’s decisions will shape market movements. Traders are expecting a 25 basis point rate cut, with only a 4% chance of a 50 basis point reduction. By year-end, the market anticipates around 69 basis points in rate cuts. The outcome and how the Fed communicates it will affect yields, risk sentiment, the dollar, and assets like gold. Other major central banks will also hold meetings this week. On Wednesday, the Bank of Canada is likely to cut the overnight rate by 25 basis points to 2.50%. Current pricing shows a 90% probability of this outcome. The Bank of England will meet on Thursday and is expected to keep its bank rate steady at 4.00%. On Friday, the Bank of Japan will likely maintain its current rates, looking toward future adjustments.

Fed Meeting and Market Expectations

The Federal Reserve meeting on Wednesday has led the market to fully expect a 25 basis point rate cut. The real focus is on how the Fed communicates its plans for the rest of 2025. This forward guidance, shared in their statement and dot plot, will greatly influence market direction. This expected cut follows the August 2025 CPI report, which showed core inflation easing to a 2.8% annual rate, getting closer to the Fed’s target. The recent jobs report also revealed a slowdown in payroll growth to 150,000, indicating a softening labor market. These data points give the Fed the confidence to continue its easing cycle that started earlier this year. We are noticing implied volatility rise, with the VIX increasing to 17 ahead of Wednesday’s announcement. Traders should consider strategies that might benefit from a decrease in volatility post-announcement, a trend seen during the 2022-2023 tightening cycle. Selling options premium through strategies like short straddles or iron condors on the SPX could be a practical approach for those expecting limited market reaction.

Potential Implications for Currency Markets

The U.S. Dollar Index (DXY) is currently around 104.50 and is very responsive to any hawkish surprises. If the Fed indicates fewer cuts than the nearly 70 basis points the market is expecting, the dollar could surge. On the other hand, a dovish message could weaken the dollar and boost gold prices, currently at about $2,400 per ounce, towards new highs. We should also closely monitor the Bank of Canada on Wednesday, where a 25 basis point cut seems certain. However, with Canada’s Q2 2025 GDP growth at a modest 0.5%, the Bank of Canada’s statement might be more cautious than the Fed’s. This situation could provide chances to bet on the Canadian dollar weakening against the U.S. dollar using futures or options on the USDCAD pair. The Bank of Japan on Friday presents a stark contrast, planning to keep rates steady while looking for a future rate hike opportunity. This growing difference in policies makes long yen positions against currencies with easing banks, like the Canadian dollar (CAD/JPY), a compelling medium-term strategy. Meanwhile, the Bank of England is expected to hold rates at 4.00% on Thursday, providing stability but little incentive for immediate pound trading. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

Trade talks between the US and China raise economic concerns as Chinese data disappoints markets

The U.S. and China have restarted trade talks in Madrid, focusing on TikTok, tariffs, and other economic issues. Key participants include Treasury Secretary Scott Bessent and Vice Premier He Lifeng, with more discussions planned. China has reported a drop in home prices for both new and existing homes for August. Industrial production, retail sales, and fixed-asset investment also fell short of expectations compared to July. Officials cited a “very severe” external environment, indicating that policy measures may be coming to support the economy.

Market Response

In the markets, major currency pairs remained stable, with slight gains for AUD/USD and NZD/USD. Japanese markets were closed, resulting in little impact on U.S. Treasury trading. Chinese stocks increased slightly, lifted by gains in chipmakers following an investigation into U.S. semiconductors. Tesla announced it will boost production at its German factory in the second half of the year due to unexpected demand. Plant manager André Thierig confirmed these production adjustments, reflecting strong market expectations. Stocks in the Asia-Pacific region produced mixed results: the Hang Seng rose by 0.46%, the Shanghai Composite gained 0.15%, while Australia’s S&P/ASX 200 fell by 0.26%. Japan was closed.

Economic Data and Policy Implications

The disappointing economic data from China suggests that we should expect further easing of policies from Beijing. With Q2 2025 GDP growth already low at 3.2%, the new figures showing declines in industrial production make action by the central bank more likely. We are considering options strategies to benefit from a weaker yuan, such as purchasing U.S. dollar to offshore yuan (USD/CNH) call options. The Australian dollar’s strength appears vulnerable in light of the news, presenting a potential shorting opportunity. The AUD/USD often reflects China’s economic health, and its current resilience seems out of sync with poor housing and investment figures. We are looking at buying put options on the Australian dollar, expecting that hopes for stimulus will fade and that lower commodity demand will become apparent. The ongoing U.S.-China trade discussions introduce considerable uncertainty, leading to higher market volatility. We recall the significant market shifts seen during the trade disputes of 2018-2019, where headlines triggered swift reactions. Buying straddles on equities sensitive to China could be a wise strategy to benefit from potential large price movements in either direction. The anti-dumping investigation into U.S. semiconductors represents a clear sector-based trade. This policy supports domestic Chinese chipmakers against their U.S. competitors. We are considering buying put options on U.S. semiconductor ETFs while looking at call options for key Chinese tech stocks that will benefit from this protectionism. The good news from Tesla in Germany sharply contrasts with the negativity in Asia, highlighting a growing economic divergence. This leads us to believe that investing in European equities over Asian ones could be a profitable strategy. We may express this by selling Hang Seng index futures while buying futures for Germany’s DAX index. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

A seasoned portfolio manager promotes bitcoin, boosting investments and comparing it to gold’s value.

Capital Group, a respected mutual fund company with a 94-year history, is known for its conservative investment strategies. Recently, the firm has made a significant investment in bitcoin, marking a change in its outlook. This initiative is led by Mark Casey, a skilled portfolio manager inspired by Benjamin Graham and Warren Buffett. Casey views bitcoin as an incredible innovation and has overseen a rise in investments from under $1 billion to over $6 billion in bitcoin-related companies over the last four years.

Bitcoin As A Valuable Store Of Wealth

Casey sees bitcoin as a modern asset that can effectively serve as a store of wealth, even surpassing gold. He believes that bitcoin’s value will either match or exceed gold’s share of global wealth, although he is doubtful about the long-term prospects of other cryptocurrencies like ether. With a major asset manager giving this fresh perspective, we should view it as a signal of long-term confidence in the market. This means that any significant drops in bitcoin’s price in the near future could attract considerable institutional buying. For derivative traders, this reinforces the approach of selling put options during downturns, as these large investors may help stabilize the market. The ongoing comparison of bitcoin to gold, first noted last year, continues to drive institutional interest. As of September 2025, Bitcoin’s market cap is just below $2 trillion, which is a small fraction of gold’s estimated $16 trillion. This gap suggests that bitcoin has significant growth potential if it captures even a small share of the store-of-value market currently held by gold.

Long Term Call Options Strategy

This situation creates a good opportunity for long-term call options, specifically targeting strike prices for mid-2026. Following a summer of price stability, recent data from analytics firm Glassnode shows a notable drop in BTC supply on exchanges, similar to what happened before the major rally in early 2025. The implied volatility for these longer-term contracts has not yet adjusted to this reduction in supply, representing a potential opportunity. Skepticism towards cryptocurrencies like ether should guide our strategy as well. Over the past year, the BTC-ETH price ratio has increased more than 15% since attempts to launch spot Ether ETFs did not lead to sustained investment. A pairs trade, going long on bitcoin futures while shorting ether futures, remains a practical strategy to protect against a broader market downturn while betting on bitcoin’s strong performance. Current derivatives data supports a cautiously optimistic approach. Open interest in Bitcoin call options for December 2025 is heavily tilted toward strike prices above $110,000, indicating that the market expects another upward movement by year-end. Therefore, creating bull call spreads could be an effective way to position for this anticipated move while limiting potential risks. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

The National Bureau of Statistics recognizes operational challenges for businesses in a tough external environment.

China’s recent economic data showed several disappointing trends. A spokesperson from the National Bureau of Statistics highlighted a tough external environment, with rising uncertainties and challenges for some companies. Unemployment has gone up as new graduates enter the job market. The bureau plans to boost domestic demand and consumption to stabilize the economy and employment. Efforts to manage internal competition have helped stabilize prices, and the property market is showing signs of recovery, despite some fluctuations. In August, industrial production rose by 5.2% year-on-year, which is below the expected 5.8% growth. House prices fell by 2.5% year-on-year, but this is an improvement from the previous decline of 2.8%.

Shifting Household Savings

Households are moving their savings into stocks as markets stay active and receive government support. The disappointing economic data may prompt additional policy measures, even though past efforts have been inconsistent. Due to the weak economic numbers from China, we should expect more market volatility in the coming weeks. The disappointing industrial output, along with the ongoing stabilization in the property sector, suggests a bearish outlook for the overall market. To benefit from potential declines, we could consider buying put options on major Chinese equity indices, such as the FTSE China A50 Index. However, we must keep in mind the government’s strong desire to stimulate the economy and enhance domestic demand. This could lead to sharp rallies driven by policy changes, making outright short positions risky. A more balanced strategy could be to use a straddle, buying both a call and a put option. This way, we can take advantage of large price swings in either direction as the market responds to mixed signals. The pressure on the People’s Bank of China (PBoC) to lower monetary policy will likely impact the yuan. During similar periods of economic stress in late 2023, the currency weakened significantly against the dollar. We should think about using futures or options to take a short position on the yuan, especially considering that the recent injection of over ¥500 billion by the PBoC indicates a dovish approach.

Global Commodity Implications

Slowing industrial output directly affects global commodities, especially industrial metals. China’s 5.2% production growth signals a noticeable slowdown compared to 2024, suggesting weaker demand for raw materials such as copper and iron ore. We should consider short positions in commodity futures related to industrial activity. The property sector continues to be a significant source of uncertainty, despite slight improvements in price declines. Recent news of debt restructuring discussions for a mid-sized developer confirms ongoing fragility. It may be wise to stay underweight in real estate-linked equities and consider using credit default swaps to protect against further financial instability in this sector. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

China’s industrial production increased by 5.2% year-over-year, falling short of expectations, and retail sales also underperformed.

In August, China’s industrial production grew by 5.2% compared to last year. This was lower than the expected 5.8% and down from July’s 5.7% growth. It’s the slowest increase in a year. Excluding rural areas, fixed asset investment rose by only 0.5% this year, falling short of the 1.4% forecast and down from 1.6% prior. Property investment dropped by 12.9% from January to August.

Retail Sales and Unemployment Trends

Retail sales increased by 3.4% from last year, below the forecast of 3.8% and a slowdown from 3.7% in the previous month. This growth is the slowest since November 2024. The unemployment rate went up to 5.3% in August from 5.2% in July. These figures highlight challenges in China, with issues like export tariffs and a weak property market hurting domestic demand. Overall, the economic data for August 2025 is negative and indicates a deeper slowdown in China. With industrial production, retail sales, and investment all below expectations, we can expect ongoing pressure on Chinese-linked assets. This situation suggests anticipating further weakness in the upcoming weeks. Weak domestic demand and falling property investment increase risks for industrial commodities. Copper prices on the London Metal Exchange have dropped below $8,100 per tonne this month, and this data may lead to even lower prices. We should think about buying put options on copper futures or on miners heavily invested in China.

Implications for Financial Markets

The Australian dollar, a significant indicator of China’s economic health, is also looking weak. It recently fell below 0.6500 against the US dollar after this news. The disappointing fixed asset investment data shows decreasing demand for Australian iron ore, which could further weaken the currency. For stocks, the Hang Seng China Enterprises Index might face challenges. It has underperformed compared to global peers throughout 2025, and this new data strengthens the negative trend. We might consider buying puts on China-focused ETFs like FXI to reflect this outlook. Another important area to monitor is the offshore yuan (CNH). The People’s Bank of China has been setting strong daily reference rates to curb its decline, but weak economic fundamentals are exerting significant downward pressure, pushing the USD/CNH rate above 7.35. This tension between policy support and market conditions could lead to a sharp shift, making options strategies that benefit from a weaker yuan appealing. We should remain alert to possible policy responses from Beijing. In the first quarter of 2025, a surprising cut to the bank reserve requirement ratio (RRR) led to a quick, albeit short-lived, market rally. The risk is that similarly disappointing data in the near future could spur stimulus measures, impacting bearish positions. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

In August, house prices in China fell again, with significant declines in new and used homes.

China’s property sector is still affecting the economy. In August, new house prices fell by 0.3% compared to July. However, the annual drop was 2.5%, which is better than July’s 2.8% decrease. Used home prices also went down, dropping by 0.58% from the previous month, which is a bit more than July’s 0.55% decline. In first-tier cities, new home prices decreased by 0.9% year-on-year, an improvement from a 1.1% fall earlier. Prices rose in Shanghai but fell in Beijing, Guangzhou, and Shenzhen.

First And Second Tier City Price Trends

In first-tier cities, second-hand home prices fell by 3.5% year-on-year in August, showing a slight increase from the previous 3.4% decline. Prices dropped in all major first-tier cities, including Shanghai, Beijing, Guangzhou, and Shenzhen. In second and third-tier cities, second-hand home prices decreased by 5.2% and 6.0% year-on-year, respectively. This is a slight improvement from the earlier declines of 5.6% and 6.4%. The August housing data reinforces our belief that China’s property sector is a significant burden on the economy. While the annual decline in new home prices eased to 2.5%, the ongoing monthly drops indicate deep-rooted pressure. This weakness suggests that government support measures introduced earlier this year have not been effective. Since property construction drives steel demand, we expect continued pressure on industrial commodities. Iron ore futures have already fallen over 8% in the last month, and we anticipate this trend will continue. Traders might consider buying put options on major mining companies or shorting copper futures to bet on decreasing construction activities.

Economic Consequences And Market Predictions

This economic uncertainty is likely to weaken the Chinese yuan, leading us to prefer long USD/CNH positions. The Australian dollar, often seen as a liquid proxy for Chinese industrial health, will also face challenges. Historical patterns from the 2023-2024 property crisis reveal that the AUD/USD pair is sensitive to such data, and we see this happening again. We predict continued underperformance in Chinese equities, particularly the Hang Seng Index, which is dominated by property developers and banks. Recent reports show that foreign capital outflows from Chinese markets reached a nine-month high in August. Global companies with significant revenue exposure to China, especially in the luxury and automotive sectors, are also at risk. The slight improvement in some annual figures, against worsening monthly data, indicates a conflicting market. This tension between market fundamentals and possible government intervention suggests increased volatility ahead. Therefore, using options strategies like straddles on China-focused ETFs might be a smart way to navigate the expected choppy market in the coming weeks. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

Household savings in China are moving towards equities due to active markets and supportive policies.

In August, 2.65 million new A-share accounts were opened in China. Household deposits dropped by 600 billion yuan compared to the previous year, indicating that money from maturing long-term deposits was moved to the stock market. Non-bank deposits grew by 1.18 trillion yuan in August, which is 550 billion yuan more than last year. This shows that households are shifting their money into brokerage accounts and equity mutual funds.

Move Towards Stocks

Wealth management products saw little growth, falling by 150 billion yuan compared to last year. This supports the idea that funds are primarily going into stocks instead of other investments. The 35% increase in new A-share accounts over the month further suggests that households are favoring stocks. The average daily turnover of A-shares reached 2.25 trillion yuan, surpassing the highs seen in September 2024 and June 2015. With the rise in new accounts and record turnover, we can expect ongoing growth and more volatility in Chinese A-shares. The immediate focus should be on gaining long positions, likely through call options on broad market ETFs like the iShares FTSE A50 China Index ETF (FXI) or CSI 300 index futures. The increase in retail participation suggests that implied volatility may continue to climb in the upcoming weeks. This shift from savings to stocks is backed by strong policy support, which makes the trend more reliable for now. Since the People’s Bank of China cut a key lending rate in July 2025, the market has responded well, with the CSI 300 index up over 22% year-to-date. These supportive policies give confidence that the government aims to promote a strong market.

Trading Strategies and Market Volatility

The rise in daily turnover past previous highs is a key indicator for volatility traders. The China A50 Volatility Index, which tracks options prices, has reached its highest level in over a year, signaling expectations for larger price fluctuations. This makes long volatility strategies, like buying straddles, attractive for profiting from increased market volatility. However, we should remember the sharp drop that followed the 2015 retail rally, which also had record account openings and turnover. That bubble was inflated by excessive margin debt, a factor we need to keep an eye on now. To protect against a potential quick downturn, it’s wise to include some downside protection, such as buying out-of-the-money put options. For now, the plan is to ride the bullish trend while preparing for inevitable spikes in volatility. We will hold long positions through call spreads to manage costs while looking for signs of overheating, like a rapid rise in margin financing. The goal is to benefit from the current retail enthusiasm without falling prey to a sudden change in sentiment. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

PBOC sets yuan reference rate at 7.1056, surpassing previous estimates and indicating strength

The People’s Bank of China (PBOC) has set the dollar-to-yuan (USD/CNY) reference rate at 7.1056. This is lower than the estimated rate of 7.1213. The PBOC operates a managed floating exchange rate system, allowing the yuan to fluctuate within a +/- 2% band around a central reference point known as the “midpoint.” Currently, the rate of 7.1029 is the strongest for the yuan since November 6. The previous closing rate for the yuan was 7.1246 against the dollar.

Yuan Devaluation Prevention

The strong fixing of the yuan shows the PBOC’s intention to prevent any further depreciation. This indicates that the central bank is taking a firm stance against those betting on the yuan’s decline. For now, selling USD/CNY seems to be the preferred strategy. This move follows China’s Q2 2025 GDP growth, which was slightly below expectations at 4.7%, pressuring the currency over the summer. However, surprisingly strong export data for August 2025 likely boosted the confidence of policymakers to strengthen the yuan. They aim to create stability to attract foreign investment. For options traders, this strong defense of the yuan is expected to reduce volatility. The implied volatility on USD/CNH options has already dropped below 5%. We noticed a similar trend in late 2023 and 2024 when the central bank took similar actions. Therefore, selling strangles or straddles on USD/CNH to collect premium could be a good strategy.

Investment Strategies

This strong signal suggests that buying put options on USD/CNY is a smart way to bet on further yuan strength. Given the central bank’s influence, a safer approach would be using put spreads, which can profit from a gradual decrease in the currency pair towards the 7.05-7.10 range. This situation is also tied to recent global data, such as the US inflation report for August 2025, which showed a milder-than-expected rate of 3.1%. This provides some relief from a strong dollar, giving the PBOC an opportunity to act. A stable yuan may encourage interest in yuan-funded carry trades if US interest rates seem to have peaked. Additionally, this stability should support currencies that depend on China’s economic health, like the Australian dollar. We could see AUD/USD strengthen as worries about a chaotic yuan devaluation diminish. Positions that are long on the Australian dollar could be a good trade related to this trend. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

Standard Chartered expects a 50-bps cut from the Fed in September because of weak employment data.

Standard Chartered has changed its prediction for the Federal Reserve’s September meeting. It now expects a 50-basis-point rate cut instead of the earlier estimated 25 basis points. This update follows weak job data from August, showing sluggish payroll growth and an increase in the unemployment rate to 4.3%, the highest level since late 2020. The bank highlighted the sharp decline in the labor market over just six weeks. They compared this situation to last September when the Fed unexpectedly cut rates significantly to support a slowing economy. They believe that this potential rate cut is necessary to adjust monetary policy to the current economic conditions.

The Upcoming Fed Meeting

The Federal Open Market Committee (FOMC) will meet on September 16 and 17. Earlier predictions from Morgan Stanley suggested four consecutive Fed cuts until January, with two more cuts expected in 2026. Deutsche Bank also anticipates rate cuts during the Fed’s meetings in September, October, and December. As the Federal Reserve meeting approaches, market expectations have shifted quickly toward a more aggressive 50-basis-point cut. This change responds to the weak August jobs report, which revealed that nonfarm payrolls added only 75,000 jobs—well below the expected 180,000. The rise in the unemployment rate to 4.3% raises concerns about a significant economic slowdown. Given this information, we can expect increased volatility around the Fed’s announcement on Wednesday. The CBOE Volatility Index (VIX) has risen from a low of 14 in July to above 20, indicating growing uncertainty. Traders might want to buy protection, like SPX puts, or utilize straddles to benefit from potential large market moves in either direction. Interest rate derivative markets are now strongly reflecting this dovish trend. The CME FedWatch Tool indicates nearly a 90% chance of a 50-basis-point cut this week, a significant shift from just weeks ago. Options on Secured Overnight Financing Rate (SOFR) futures that profit from falling rates have become highly sought after, suggesting that attention should now turn to the Fed’s guidance for October and December.

Market Implications and Strategies

Looking ahead, the entire yield curve is receiving attention, not just the front end. The anticipated aggressive rate cut this week may be the first of many, a view shared by several banks. This opens opportunities in longer-duration Treasury futures as traders prepare for a policy approach aimed at avoiding a more severe downturn. This situation resembles previous easing cycles where initial cuts exceeded expectations to respond to adverse data. For instance, in early 2001, even as the Fed started cutting rates aggressively, the equity market continued to drop due to serious underlying economic issues. Therefore, considering call options on growth sectors like technology should be done carefully, weighing the risk that this rate cut signals an impending recession. The Fed chair’s language during the press conference will be as important as the rate decision itself. We will be watching for any signals that might adjust the anticipated path of cuts into 2026. Even a subtle suggestion of a “one-and-done” cut could lead to a dramatic repricing in the derivatives market. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

The PBOC plans to set the USD/CNY reference rate at 7.1213, according to Reuters estimates.

The People’s Bank of China (PBOC) oversees the daily midpoint value of the Chinese yuan, also called renminbi (RMB), using a managed floating exchange rate system. This system allows the yuan’s value to change within a specific range, or “band,” set at +/- 2% around a central reference rate. Every morning, the PBOC establishes a midpoint for the yuan against a mix of currencies, mainly the US dollar. They consider market demand, economic indicators, and shifts in international currency markets. This midpoint serves as a guide for daily trading.

Yuan’s Value Fluctuation

Each trading day, the yuan can vary within a +/- 2% range from the midpoint, leading to both increases and decreases in value. The PBOC may modify this range depending on current economic conditions and goals. If the yuan approaches the limit of this band or shows high volatility, the PBOC steps in to stabilize it. They do this by buying or selling the yuan, which helps manage the currency’s value steadily and keeps the market stable. Currently, the People’s Bank of China seems to be pushing for a stronger yuan, as today’s reference rate is consistently higher than market expectations. This approach aligns with the belief that the U.S. Federal Reserve may start easing its policies soon. This situation signals that the dollar may weaken against the yuan in the weeks to come. Given this perspective, we are considering buying put options on the USD/CNH pair, which benefit when the dollar weakens against the offshore yuan. Implied volatility is low, suggesting the market expects a steady decline rather than a sharp fall. This makes it a good time to buy options before any unexpected policy changes could increase volatility.

Global Implications and Trading Strategies

Recent data shows that U.S. core inflation has dropped to 2.1%, which might allow the Fed to cut rates after the highs seen in 2024. The market is anticipating at least two rate cuts by the end of this year, a significant shift from the aggressive rate hikes of 2022-2023. The USD/CNY pair has already fallen from the 7.30 range in late 2023 as this policy difference has become apparent. We see this trend as part of a larger theme, not just a situation in China, since a stronger yuan often supports other emerging market currencies. The MSCI Emerging Markets Currency Index has gone up 3% in the past quarter, suggesting growing risk-taking. Thus, we are also looking at long positions in currencies like the Korean won and the Mexican peso against the dollar as a strategy. It’s essential to keep in mind the PBOC’s +/- 2% daily trading band. This ensures that any changes will happen gradually rather than suddenly. The central bank is guiding this appreciation and not allowing the market to fluctuate freely. This points to a strategy of holding positions over several weeks instead of expecting an abrupt revaluation overnight. Create your live VT Markets account and start trading now.

here to set up a live account on VT Markets now

Back To Top
server

Hello there 👋

How can I help you?

Chat with our team instantly

Live Chat

Start a live conversation through...

  • Telegram
    hold On hold
  • Coming Soon...

Hello there 👋

How can I help you?

telegram

Scan the QR code with your smartphone to start a chat with us, or click here.

Don’t have the Telegram App or Desktop installed? Use Web Telegram instead.

QR code