๐ทortfolio๐ด๐จ๐บ๐ป๐ฌ๐น [BitAura]

This Pine Scriptยฎ indicator is meant to be used to manage a Barbell Portfolio composed of BitAura's various strategies in order to create a risk-reward balance for the investor's needs. The Portfolio is divided in two main parts, one being a lower-risk Bitcoin-only strategy while the other being the higher-risk, higher-reward ๐otation๐บ๐ผ๐ฐ๐ป๐ฌ V3 system. The user can choose the percentage splits between these two systems and then also configure them based on their risk profile.
Logic and Core Concepts
The ๐ทortfolio๐ด๐จ๐บ๐ป๐ฌ๐น System uses the Barbell Portfolio theory to create a portfolio taylored for the final user and automatically calculates dollar allocation based on inputted settings.
Features
- ๐otation๐บ๐ผ๐ฐ๐ป๐ฌ: our advanced Strategy which allocates to the strongest asset amongst a pool of 4 Major Crypto Tokens, or de-risk to USD when these lack momentum.
- BItcoin-only Strategy: This is theoretically a lower-risk system compared to ๐otation๐บ๐ผ๐ฐ๐ป๐ฌ and is made out of Universal Trend Following strategies. There are two variants, one being a Long-Term strategy (๐ycle๐ฝ๐ฐ๐บ๐ฐ๐ถ๐ต) while the other one being of Medium-Term speed (๐wing๐ฝ๐ฐ๐บ๐ฐ๐ถ๐ต).
- Customizable Inputs: Allows users to adjust table settings, backtest date ranges, portfolio splits and portfolio dollar allocations.
- Visual Outputs:
Allocation Table: Displays calculated allocation to each system based on user settings.
Equity Plots: Plots the Barbell Portfolio performance along with the two individual systems equities and allow comparisons between them and to Bitcoin Buy & Hold. - Color Presets: Offers five color themes (e.g., Arctic Blast, Fire vs. Ice) or custom color options for long/cash signals.
- Pine Script v6: Leverages matrices, tables, and gradient coloring for enhanced usability.
How to Use
- Add to Chart: Apply the indicator to any chart on the 1D timeframe. The ticker doesn't matter as it doesn't affect the calculations, just make sure the ticker start date is earlier than the Backtest Start date applied in the script settings.
- Input Portfolio size: Adjust the Dollar Portfolio size in the script settings in order to obtain accurate Portfolio Allocations in the respective table. Note that BitAura can't and won't be able to access your portfolio size.
- Choose Barbell Split: Adjust based on your risk-profile how much to allocate to your preferred Bitcoin Strategy (default 70%) and how much to allocate to ๐otation๐บ๐ผ๐ฐ๐ป๐ฌ (default 30%).
- Configure Systems: Select your preferred allocation type for ๐otation๐บ๐ผ๐ฐ๐ป๐ฌ. Aggressive allocates 100% to the dominant asset, Moderate allocates 80% to the dominant asset and 20% to the second strongest one while Conservative does a 60/40 split between the first two assets.
- Configure Settings: Adjust backtest start date (default: 31 Oct 2024) to properly track the Portfolio's performance.
- Select Color Theme: Choose a preset color mode (e.g., Arctic Blast) or enable custom colors in the Colors group.
- Monitor Outputs: Check the Table for Allocations and system signals, and view the equity curves to view the portfolio's performance.
Notes
- The script is closed-source.
- The script avoids lookahead bias by using barmerge.lookahead_off in request.security() calls.
- The BitAura watermark can be toggled in the Script Settings.
์ด๋ ์ ์ฉ ์คํฌ๋ฆฝํธ
์ด ์คํฌ๋ฆฝํธ๋ ์์ฑ์๊ฐ ์น์ธํ ์ฌ์ฉ์๋ง ์ ๊ทผํ ์ ์์ต๋๋ค. ์ฌ์ฉํ๋ ค๋ฉด ์์ฒญ ํ ์น์ธ์ ๋ฐ์์ผ ํ๋ฉฐ, ์ผ๋ฐ์ ์ผ๋ก ๊ฒฐ์ ํ์ ํ๊ฐ๊ฐ ๋ถ์ฌ๋ฉ๋๋ค. ์์ธํ ๋ด์ฉ์ ์๋ ์์ฑ์์ ์๋ด๋ฅผ ๋ฐ๋ฅด๊ฑฐ๋ BitAura์๊ฒ ์ง์ ๋ฌธ์ํ์ธ์.
ํธ๋ ์ด๋ฉ๋ทฐ๋ ์คํฌ๋ฆฝํธ์ ์๋ ๋ฐฉ์์ ์ถฉ๋ถํ ์ดํดํ๊ณ ์์ฑ์๋ฅผ ์์ ํ ์ ๋ขฐํ์ง ์๋ ์ด์, ํด๋น ์คํฌ๋ฆฝํธ์ ๋น์ฉ์ ์ง๋ถํ๊ฑฐ๋ ์ฌ์ฉํ๋ ๊ฒ์ ๊ถ์ฅํ์ง ์์ต๋๋ค. ์ปค๋ฎค๋ํฐ ์คํฌ๋ฆฝํธ์์ ๋ฌด๋ฃ ์คํ์์ค ๋์์ ์ฐพ์๋ณด์ค ์๋ ์์ต๋๋ค.
์์ฑ์ ์ง์ ์ฌํญ
๋ฉด์ฑ ์ฌํญ
์ด๋ ์ ์ฉ ์คํฌ๋ฆฝํธ
์ด ์คํฌ๋ฆฝํธ๋ ์์ฑ์๊ฐ ์น์ธํ ์ฌ์ฉ์๋ง ์ ๊ทผํ ์ ์์ต๋๋ค. ์ฌ์ฉํ๋ ค๋ฉด ์์ฒญ ํ ์น์ธ์ ๋ฐ์์ผ ํ๋ฉฐ, ์ผ๋ฐ์ ์ผ๋ก ๊ฒฐ์ ํ์ ํ๊ฐ๊ฐ ๋ถ์ฌ๋ฉ๋๋ค. ์์ธํ ๋ด์ฉ์ ์๋ ์์ฑ์์ ์๋ด๋ฅผ ๋ฐ๋ฅด๊ฑฐ๋ BitAura์๊ฒ ์ง์ ๋ฌธ์ํ์ธ์.
ํธ๋ ์ด๋ฉ๋ทฐ๋ ์คํฌ๋ฆฝํธ์ ์๋ ๋ฐฉ์์ ์ถฉ๋ถํ ์ดํดํ๊ณ ์์ฑ์๋ฅผ ์์ ํ ์ ๋ขฐํ์ง ์๋ ์ด์, ํด๋น ์คํฌ๋ฆฝํธ์ ๋น์ฉ์ ์ง๋ถํ๊ฑฐ๋ ์ฌ์ฉํ๋ ๊ฒ์ ๊ถ์ฅํ์ง ์์ต๋๋ค. ์ปค๋ฎค๋ํฐ ์คํฌ๋ฆฝํธ์์ ๋ฌด๋ฃ ์คํ์์ค ๋์์ ์ฐพ์๋ณด์ค ์๋ ์์ต๋๋ค.