I was wondering if there is a way to use short-term treasury (e.g. 1month or 3month) yield in algo.
For example, when I decrease the portfolio weight to zero (no investment in equities), the portfolio return becomes zero, which is equivalent to holding cash. Instead, I think it'd be cool if there is an option that I could invest in short-term US treasuries. To be more general, if I invest x(%) in equities, 100-x(%) is automatically invested in the treasuries.
One way is to use bond ETFs, and this is pretty straightforward because they are "price" data.
However, I'd like to know if there is a way to trade an asset using its "yield" data (such as in US treasury case).
If it is possible, I can trade any asset which has only return data not price data.
(ps) Is it possible to generate ETF-like data from US treasury rate data? I'm trying to find out the relationship, but it wasn't easy as I thought.
Best,