200-Day SMA Regime Filter on USDU
WisdomTree Bloomberg U.S. Dollar Bullish Fund: a long-dollar position against a broad currency basket. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.
USDU is the WisdomTree Bloomberg U.S. Dollar Bullish Fund, a long-dollar position against a broad currency basket. The 200-day regime filter holds it while yesterday's close is above the 200-day average and sits in cash while the close is below. Orders go in at the open, and a buy uses 98% of the sleeve. From $10,000 on 2021-01-04 the rule reached $11,657.03 on 2026-10-02, a CAGR of 2.71% with a Sharpe ratio of 0.54 and a max drawdown of 11.18%.
Holding USDU ended at $13,394.39, a CAGR of 5.22% with a Sharpe of 0.84 and a max drawdown of 8.96%. The filter finished behind on return and behind on drawdown, and it did not beat holding in any calendar year. In 2024 the two tied at 14.3%.
This is the unusual shape for a regime filter. The rule made 17 closed round trips and 35 fills, and an 18th position was open at the end. Only 5 of the 17 won, a win rate of 29%. The profit factor was still 2.16, because the average winner of 3.98% was much larger than the average loser of -0.72%. Two long trades made nearly all the profit, and a cluster of short trades around the turn of 2022 into 2023 lost a little each time.
The rule ranked 9th of the 12 templates on USDU, and USDU ranked 28th of 59 funds for this rule. The median CAGR for the rule across all 59 funds was 1.84%, so USDU's 2.71% sits above the middle.
Year by year
| Year | 200-day regime filter | buy & hold |
|---|---|---|
| 2021 | 1.2% | 4.1% |
| 2022 | 6.4% | 7.4% |
| 2023 | −2.7% | 3.0% |
| 2024 | 14.3% | 14.3% |
| 2025 | −4.9% | −3.1% |
| 2026 | 2.3% | 4.8% |
What each year looked like
2021 returned 1.2% for the rule and 4.1% for holding. The 200-day average needs 200 sessions of data, and the monthly table is 0.0% from January to September. The first buy was on 2021-10-19 at an adjusted $20.72. October added 0.33%, November added 1.69% and December lost 0.83%.
2022 returned 6.4% against 7.4% for holding. The first trade stayed open through all of the year, and its monthly returns were the best of the run: April 3.77%, June 2.42%, August 2.39% and September 3.35%. November lost 4.38%, the worst month of the run, and December lost 2.34%. The trade was closed on 2022-12-14 at $22.62 with a gain of 9.17% over 421 days.
The turn of the year is where the rule struggled. After the exit it bought on 2022-12-16 at $22.85 and sold on 2022-12-22 at $22.68, a loss of 0.74%. It bought on 2022-12-23 and sold on 2022-12-28 for a loss of 0.31%, and bought again on 2022-12-29 and sold on 2022-12-30 for a loss of 0.18%. These are three round trips in a fortnight, each one a sale after a close below the average and a purchase a day or two after a close above it. USDU was moving sideways right at the 200-day line, which is the situation the strategy's own caveat describes.
2023 returned -2.7% for the rule and 3% for holding, a gap of 5.7 points, the widest of the six years. The rule made 8 round trips that closed in 2023, and 2 of them won. January lost 1.54% after a -1.58% trade over 3 days. A 1-day loss of 0.35% on 2023-02-28 was followed by a 1-day gain of 0.35% on 2023-03-02. The March trade from 2023-03-08 to 2023-03-14 lost 1.04%, and the 1-day trade of 2023-03-16 lost 0.35%. From May to July the rule made two more small losing trades, 0.44% and 0.3%. Then it bought on 2023-08-02 at $23 and held until 2023-12-28, a gain of 0.7% over 148 days. August to October added 1.36%, 2.39% and 1.48%. November lost 2.55% and December lost 1.7%.
2024 was a tie at 14.3%. The rule bought on 2023-12-29 at $23.2 and stayed in for the whole of 2024, so it earned what the fund earned. The strongest months were January at 2.61%, October at 3.23%, November at 1.78% and December at 3.11%.
2025 returned -4.9% for the rule against -3.1% for holding. The long trade ended on 2025-04-14 at $25.36, a gain of 9.31% over 472 days and the best trade of the run. March lost 1.4% and April lost 3.33%, so the rule exited after most of the decline had happened. On 2025-05-13 it bought at $25.59 and sold the next day at $25.42, a loss of 0.66%. June to September show 0.0%, and October brought two trades: 7 days for a gain of 0.39% and a longer one from 2025-10-22 at $25.76 to 2026-01-28 at $25.28, a loss of 1.86%. That was the worst trade of the run.
2026 returned 2.3% for the rule against 4.8% for holding. January lost 1.97% and February lost 1.04% as the last trade ended and a short one from 2026-02-02 lost 0.83% in 8 days. The open position was bought on 2026-02-19 at $25.68 and showed a gain of 5.37% at the end of the data. March gained 2.67%, April lost 1.54%, May gained 0.96%, June gained 2.25%, July lost 1.01%, August lost 0.57% and September gained 2.38%.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.3% | 1.7% | −0.8% |
| 2022 | 0.7% | −0.3% | 1.2% | 3.8% | −1.2% | 2.4% | 0.8% | 2.4% | 3.4% | 0.2% | −4.4% | −2.3% |
| 2023 | −1.5% | −0.3% | −1.0% | 0.0% | 0.4% | −0.9% | −0.2% | 1.4% | 2.4% | 1.5% | −2.5% | −1.7% |
| 2024 | 2.6% | 1.0% | 0.6% | 2.1% | −0.7% | 1.9% | −0.7% | −1.0% | −0.4% | 3.2% | 1.8% | 3.1% |
| 2025 | 0.1% | −0.2% | −1.4% | −3.3% | −0.7% | 0.0% | 0.0% | 0.0% | 0.0% | 1.2% | 0.0% | −0.7% |
| 2026 | −2.0% | −1.0% | 2.7% | −1.5% | 1.0% | 2.3% | −1.0% | −0.6% | 2.4% | 0.3% | – | – |
Calendar months against the fund's averages
USDU averaged 1.63% in September and 1.37% in October, and -0.7% in November. The rule made 3.35% in September 2022, 2.39% in 2023 and 2.38% in 2026, lost 0.36% in 2024 and was in cash in 2021 and 2025. October went 0.33%, 0.16%, 1.48%, 3.23% and 1.18% for 2021 to 2025. November went 1.69% in 2021, -4.38% in 2022, -2.55% in 2023, 1.78% in 2024 and 0.04% in 2025. April averaged -0.07% for the fund, and the rule made 3.77% in April 2022 and lost 3.33% in April 2025, which are the two extremes of the month. Five or six observations per month cannot support a seasonal view.
Every trade
200-day regime filter on USDU made 17 closed round trips and one position still open at the end of the test, an average hold of 71 days, an average winner of 3.98%, an average loser of −0.72%, a profit factor of 2.16, a longest losing streak of 5. It held a position at the close on 68.0% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2021-10-19 | $20.72 | 2022-12-14 | $22.62 | 9.2% | 421 |
| 2022-12-16 | $22.85 | 2022-12-22 | $22.68 | −0.7% | 6 |
| 2022-12-23 | $22.75 | 2022-12-28 | $22.68 | −0.3% | 5 |
| 2022-12-29 | $22.66 | 2022-12-30 | $22.62 | −0.2% | 1 |
| 2023-01-06 | $22.80 | 2023-01-09 | $22.44 | −1.6% | 3 |
| 2023-02-27 | $22.91 | 2023-02-28 | $22.83 | −0.3% | 1 |
| 2023-03-01 | $22.83 | 2023-03-02 | $22.91 | 0.3% | 1 |
| 2023-03-08 | $22.98 | 2023-03-14 | $22.74 | −1.0% | 6 |
| 2023-03-16 | $22.94 | 2023-03-17 | $22.86 | −0.3% | 1 |
| 2023-05-24 | $22.98 | 2023-06-09 | $22.88 | −0.4% | 16 |
| 2023-06-30 | $22.98 | 2023-07-10 | $22.91 | −0.3% | 10 |
| 2023-08-02 | $23.00 | 2023-12-28 | $23.16 | 0.7% | 148 |
| 2023-12-29 | $23.20 | 2025-04-14 | $25.36 | 9.3% | 472 |
| 2025-05-13 | $25.59 | 2025-05-14 | $25.42 | −0.7% | 1 |
| 2025-10-10 | $25.51 | 2025-10-17 | $25.61 | 0.4% | 7 |
| 2025-10-22 | $25.76 | 2026-01-28 | $25.28 | −1.9% | 98 |
| 2026-02-02 | $25.65 | 2026-02-10 | $25.44 | −0.8% | 8 |
| 2026-02-19 | $25.68 | open | – | 5.4% | – |
Prices are adjusted for splits and dividends, so they sit below the quotes printed at the time. An open position is marked at the last close.
The trade list
The rule made 18 entries, 17 of which closed. Prices are adjusted, so they sit under the quotes printed at the time. Three groups stand out.
The two long winners were 2021-10-19 to 2022-12-14 at +9.17% over 421 days, and 2023-12-29 to 2025-04-14 at +9.31% over 472 days. A third long position from 2023-08-02 to 2023-12-28 earned 0.7% over 148 days. Everything else was short. The median hold was 6 days and the median trade lost 0.35%. The shortest holds were 1 day, and there were several of them.
The whipsaw group has 12 losing trades. The largest was -1.86% on the 98-day October 2025 position, followed by -1.58% over 3 days in January 2023, -1.04% over 6 days in March 2023, -0.83% in February 2026 and -0.74% in December 2022. Each is small, which is why the average loser is only -0.72%. The longest losing streak was 5 trades in a row, and the longest winning streak was 2.
The average hold across all trades was 70.9 days, and the 421-day and 472-day positions pull that figure up. The median hold of 6 days gives a better picture of a typical trade. On a typical trade the rule spent a few days in the fund and lost a fraction of a percent.
Exposure was 68%. A 29% win rate is normal for a trend filter with a profit factor above 1, since the few large winners carry the result. Here the winners were 9.17% and 9.31%, and the next largest was 0.7%. Without those two the rule would have had a negative total.
The extreme days and the lag of a 200-day line
A 200-day line moves slowly, so the rule's exits come well after a peak. USDU peaked on 2022-09-27, and the rule held until 2022-12-14. It therefore sat through all three of the fund's worst days in 2022: -2.07% on 2022-11-10, -1.7% on 2022-11-04 and -1.36% on 2022-08-10. November 2022 lost 4.38% in the rule's column, the same figure as holding, because the position was untouched. The filter cut nothing from that fall and then added the December 2022 round trips on top.
The April 2025 pair went the same way. The fund's -1.49% day on 2025-04-03 and -1.8% day on 2025-04-10 both landed inside the long trade, which ended on 2025-04-14 at 25.36. The rule then bought back on 2025-05-13 at 25.59, one session after the fund's +1.26% day on 2025-05-12, and sold on 2025-05-14 at 25.42 for a 0.66% loss. The other best days, +1.47% on 2022-09-13, +1.35% on 2022-09-23 and +1.26% on 2024-11-06, were all held. Only +1.22% on 2023-02-03 fell in a cash stretch.
The cash stretches were short apart from the start and the four months of June to September 2025. The rule held nothing from January to September 2021 while the 200-day window filled, then held a position in most months. Between the two long trades of 2022 and 2024 it made 11 trades, ten of them short, and 6 of the 8 round trips that closed in 2023 lost money. After 2023-12-29 the account stayed in one position for 472 days, and that single stretch produced the rule's best trade at 9.31%.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-09-27 | 2023-08-04 | −11.2% | 311 | 2024-11-13 | 467 |
| 2025-01-13 | 2026-02-25 | −8.6% | 408 | not yet | – |
| 2022-05-12 | 2022-05-27 | −2.9% | 15 | 2022-06-13 | 17 |
Buy-and-hold's deepest drawdown ran from 2022-09-27 to 2023-02-01 and reached −9.0%.
Drawdowns
The rule's largest drawdown was 11.18%, from 2022-09-27 to 2023-08-04. It took 311 days to reach the low and recovered on 2024-11-13, 467 days after. Holding had a drawdown from the same peak of 8.96%, which reached its low on 2023-02-01 and recovered on 2023-10-31. The filter's drawdown was deeper and lasted longer because it sold at the end of 2022, then bought and sold repeatedly in the chop of early 2023, and its equity did not regain the September 2022 peak until 2024-11-13.
The second drawdown was 8.59%, from 2025-01-13 to 2026-02-25, a stretch of 408 days to the low with no recovery by the end of the data. Holding's version of that episode was 7.57%, from 2025-01-13 to 2025-07-01, recovering on 2026-09-29. The third drawdown was 2.88%, from 2022-05-12 to 2022-05-27, recovering on 2022-06-13.
A regime filter is meant to cut drawdowns, and it did not do that on USDU. The rule's max drawdown of 11.18% was larger than holding's 8.96%. The reason is the sequence of losing small trades combined with missed recoveries, a pattern that can hurt a low-volatility fund more than a volatile one because there is little decline to avoid in the first place.
With trading costs
The headline run fills at the bar price. These runs charge slippage on every fill.
| Slippage per fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | 2.7% | −11.2% | $11,657 | 0.54 |
| 5 basis points | 2.4% | −12.1% | $11,460 | 0.48 |
| 10 basis points | 2.1% | −13.1% | $11,265 | 0.43 |
Cost runs
The rule made 35 fills, and costs hurt more here than on slower rules. At 5 basis points per fill the CAGR was 2.4%, the max drawdown 12.13%, the final value $11,460.14 and the Sharpe 0.484. At 10 basis points the CAGR was 2.1%, the drawdown 13.08%, the final value $11,265.28 and the Sharpe 0.426. The headline run charges nothing.
USDU is thinly traded. Its average daily dollar volume was $6,125,205 and its median minute volume was 400 shares. The many 1-day trades are the ones most exposed to that, since a round trip that gains 0.35% can be wiped out by the spread. A larger sleeve than $10,000 would meet more of the thin volume, and the cost runs here use a flat charge and do not model that. Adding costs widened the gap to holding, which already had the higher CAGR before any costs.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 2.7% | −11.2% | 17 | 29% | $11,657 |
| 100-day SMA | 2.9% | −7.5% | 27 | 44% | $11,802 |
| 150-day SMA | 2.5% | −9.8% | 23 | 30% | $11,512 |
| 250-day SMA | 2.9% | −8.9% | 18 | 33% | $11,804 |
Other averages
Three variants changed the length of the average.
- A 100-day average returned 2.93% with a max drawdown of 7.48% and a Sharpe of 0.608. It made 27 trades and 12 won.
- A 150-day average returned 2.48% with a max drawdown of 9.84% and a Sharpe of 0.501. It made 23 trades and 7 won.
- A 250-day average returned 2.93% with a max drawdown of 8.89% and a Sharpe of 0.583. It made 18 trades and 6 won.
The 200-day base case returned 2.71% with an 11.18% drawdown. The 100-day and 250-day variants each returned slightly more, and all three variants had shallower drawdowns than the base. The 100-day rule had the best Sharpe and the best win count, with 12 winners out of 27 trades, and the shallowest drawdown. None of the variants reached the 5.22% of holding.
The variants mostly agree with each other: CAGRs between 2.48% and 2.93%, against the base at 2.71%. The result is therefore not a product of the exact 200-day setting. The base's drawdown of 11.18% was the worst of the four, and that is a feature of this particular series of crossings, since a nearby average avoided some of the whipsaw trades. The test is one fund and one window, and these variants cannot show that another length is better outside the window.
Same return, different paths
The 100-day and 250-day variants both returned 2.93%, and their end values were $11,802 and $11,804. The routes were different. The 100-day average made 27 trades with 12 wins and a 7.48% drawdown. The 250-day average made 18 trades with 6 wins and an 8.89% drawdown. The 150-day average made 23 trades with 7 wins and the lowest return, 2.48%. Seven wins in 23 trades sits next to 5 in 17 for the base, so the hit rate stayed low across lengths and a few long trades did the work in each. The SMA 10/50 trend on the same fund won 8 of 15 trades and returned 3.53%, so the faster pair did better on this fund.
How USDU behaved
| Measure | USDU |
|---|---|
| Data in this test | 2021-01-04 to 2026-10-02 (1444 sessions) |
| Total return, buy and hold | 34.4% |
| Annualized volatility | 6.4% |
| Deepest drawdown | −9.1% (2022-09-27 to 2023-02-01) |
| Up days | 50.9% |
| Average daily range | 0.54% |
| Average overnight gap | 0.26% |
| Correlation to SPY | -0.34 |
| Correlation to QQQ | -0.30 |
| Correlation to TLT | -0.24 |
| Sessions above the 200-day average | 79.0% |
| Crossings of the 200-day average | 34 |
| Falls of 10% or more from a 20-day high | 0 |
How USDU behaved
USDU is a long-dollar fund, and it was quiet. It returned 34.43% over the window, a CAGR of 5.29%, on annualized volatility of 6.36% across 1,444 sessions. Its max drawdown was 9.12% from 2022-09-27 to 2023-02-01, with recovery on 2023-10-31, and the longest underwater stretch was 428 sessions. Calendar returns were 4.17%, 7.53%, 3.1%, 14.62% and -3.19% for 2021 to 2025, and 4.88% in 2026 to date.
It moved against equities and against other currencies. Beta to SPY was -0.13, to QQQ -0.09 and to TLT -0.1, with correlations of -0.34, -0.3 and -0.24. The most similar fund in the data was EEV at 0.51, followed by SDS, SH and SPDN at 0.34. The most opposite were UDN at -0.9 and FXE at -0.86, the funds that hold the dollar short or the euro long, then EEM at -0.51, QAI at -0.45 and IAU at -0.44.
A 200-day filter works when a fund trends for months. USDU was above its 200-day average on 78.96% of sessions and crossed it 34 times. That is a lot of crossings on a fund whose annualized volatility is 6.36%, because small moves are enough to cross the line when the fund hardly moves. The average daily range was 0.54%, an average up day was 0.32% and an average down day was -0.32%. The largest daily move was a loss of 2.07% on 2022-11-10, and the largest gain was 1.47% on 2022-09-13. A fund with moves this small gives a trend filter a narrow margin between a true signal and noise.
Up days were 50.87% of sessions, and lag-1 autocorrelation was -0.04. Overnight moves produced 43.72% of the return and intraday moves 56.28%, with an average gap at the open of 0.26%. Because the rule trades at the open, that gap is a part of each fill.
RSI(14) closed under 30 on 8 sessions, and the median 5-day return afterwards was 0.9% against a baseline of 0.09%, with a 20-day median of 1.14% against 0.32%. RSI(2) closed under 10 on 125 sessions, with a 5-day median of 0.19% and a 20-day median of 0.33%. The fund had no episodes of a 10% fall from a 20-day high. With a fund that quiet, the dip buyer and the momentum breakout never found an entry and both returned 0%.
By calendar month, September averaged 1.63% and October 1.37%, and November averaged -0.7%. Each is from five or six observations.
The rules
Own the asset when price closes above its 200-day average; hold cash when it closes below.
- WHEN the market opens · IF not invested AND yesterday's close > SMA(200) · THEN buy with 98% of the sleeve
- WHEN the market opens · IF invested AND yesterday's close < SMA(200) · THEN sell the whole position
One rule and one number. Price above the 200-day moving average has historically coincided with better returns and lower volatility than price below it. This template uses no crossovers and no oscillators, only which side of the long-term average the price is on.
Good for: a first systematic strategy, simple enough to audit every trade.
Watch out: price whips around the 200-day line during volatile bottoms, generating clusters of buy-sell pairs. Some traders add a small buffer band to reduce churn.
How the regime filter compares with the other templates on USDU
Rankings on USDU by CAGR, with the max drawdown in brackets:
- Monthly cycle 5.4% (7.6%)
- Weekly 7% target 5.1% (10.97%)
- Trend plus trailing stop 4.67% (8.95%)
- Golden cross 3.71% (8.26%)
- SMA 10/50 trend 3.53% (7.41%)
- RSI mean reversion 3.41% (5.18%)
- EMA 12/26 trend 3.17% (4.28%)
- RSI(2) snapback 3.11% (3.34%)
- 200-day regime filter 2.71% (11.18%)
- 3-month momentum 0.49% (6.5%)
- Dip buyer 0% (0%)
- Momentum breakout 0% (0%)
The regime filter had the deepest drawdown of the twelve. The three templates behind it returned 0.49% or nothing. The rules with the shallowest drawdowns, the RSI(2) snapback at 3.34% and the EMA 12/26 trend at 4.28%, also returned more. The golden cross is the closest relative of the filter and returned 3.71% with an 8.26% drawdown, so a slower signal using two averages beat a single average on this fund.
Among the currency funds the filter returned 2.71% on USDU, 1.29% on FXE and 1.26% on UDN. The median for the category was 1.29%. USDU led the three, and the other two have the opposite exposure: UDN is short the dollar, and FXE holds the euro. The filter made 17 round trips on USDU and FXE and 20 on UDN, so the whipsaw pattern is shared by all three. Every template tested on this fund is on the USDU fund page.
What this does and does not show
Seventeen closed trades over 5.74 years on a single currency fund is a small and unrepresentative sample for a rule built to follow long trends. The headline run charges no fees or slippage. The numbers are hypothetical and describe the past, and nothing here is investment advice.
Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.
Frequently asked questions
Did 200-day regime filter beat buy-and-hold on USDU?
Over 2021-01-04 to 2026-10-02, 200-day regime filter on USDU returned 2.7% annualized vs 5.2% for buy-and-hold: it trailed buy-and-hold by 2.5% per year, with a maximum drawdown of 11.2% (buy-and-hold: 9.0%).
How many trades did it make?
17 completed round trips over 5.7 years (35 fills), with 29% of round trips closing profitably.
Why the 200-day average specifically?
It approximates a year of trading days and has been studied across decades of data. It is not the best window for every asset. The per-ETF backtests here show where it helped and where it didn't.
Did the 200-day regime filter beat buy-and-hold on USDU?
No. The rule returned 2.71% a year and holding returned 5.22%, ending at $11,657.03 against $13,394.39. The rule also had a deeper max drawdown, 11.18% against 8.96%, and it matched holding only in 2024.
Why is the win rate only 29%?
Most trades were short whipsaws around the 200-day line. Only 5 of 17 closed trades won, but the average winner of 3.98% was well above the average loser of -0.72%, which gave a profit factor of 2.16.
How many trades did the filter make on USDU?
It made 17 closed round trips and 35 fills, with an 18th position open at the end of the data. The median hold was 6 days, and the two longest holds lasted 421 and 472 days.
Which trades made the money?
The 2021-10-19 entry gained 9.17% over 421 days and the 2023-12-29 entry gained 9.31% over 472 days. No other closed trade gained as much as 1%.
What did a different average length do?
A 100-day average returned 2.93% with a 7.48% drawdown, a 150-day returned 2.48% and a 250-day returned 2.93%. None beat the 5.22% for holding.
How much did costs matter?
At 5 basis points per fill the CAGR fell to 2.4%, and at 10 basis points it fell to 2.1%. With 35 fills in a thin fund, costs were a larger share of the result than on slower rules.
Which template did best on USDU?
The [monthly cycle](/learn/strategies/monthly-cycle/usdu/) returned 5.4% with a 7.6% drawdown, and the [weekly 7% target](/learn/strategies/weekly-profit-target/usdu/) returned 5.1%. The regime filter was 9th of 12 at 2.71%.
Related
Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.