<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Deano Welch</title>
    <description>The latest articles on DEV Community by Deano Welch (@deano_welch_4c7b8408800a1).</description>
    <link>https://dev.to/deano_welch_4c7b8408800a1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3341550%2F241f1a96-2592-4ba5-a4ac-92a5859080d5.png</url>
      <title>DEV Community: Deano Welch</title>
      <link>https://dev.to/deano_welch_4c7b8408800a1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deano_welch_4c7b8408800a1"/>
    <language>en</language>
    <item>
      <title>A self-hosted dashboard for freqtrade bots, with NostalgiaForInfinity extras</title>
      <dc:creator>Deano Welch</dc:creator>
      <pubDate>Sun, 29 Nov 2026 12:06:23 +0000</pubDate>
      <link>https://dev.to/deano_welch_4c7b8408800a1/a-self-hosted-dashboard-for-freqtrade-bots-with-nostalgiaforinfinity-extras-1i7i</link>
      <guid>https://dev.to/deano_welch_4c7b8408800a1/a-self-hosted-dashboard-for-freqtrade-bots-with-nostalgiaforinfinity-extras-1i7i</guid>
      <description>&lt;p&gt;I run several &lt;a href="https://www.freqtrade.io/" rel="noopener noreferrer"&gt;freqtrade&lt;/a&gt; bots on futures, mostly with the&lt;br&gt;
&lt;a href="https://github.com/iterativv/NostalgiaForInfinity" rel="noopener noreferrer"&gt;NostalgiaForInfinity&lt;/a&gt; (NFI) strategy. FreqUI, the web UI built into&lt;br&gt;
freqtrade, is good at what it does, but my day kept turning into the same three questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is every bot up, and is anything close to liquidation?&lt;/li&gt;
&lt;li&gt;Why didn't the bot take that move?&lt;/li&gt;
&lt;li&gt;How does the whole book look, not just one bot?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Answering them meant switching between bots, reading logs and doing sums in my head. So I built&lt;br&gt;
&lt;a href="https://github.com/baxr6/NFIForge" rel="noopener noreferrer"&gt;NFIForge&lt;/a&gt;, a self-hosted dashboard that sits next to the bots and answers them on&lt;br&gt;
one screen, including on a phone.&lt;/p&gt;

&lt;p&gt;It works with any freqtrade bot and any strategy. If the bot runs NFI, it shows a few NFI-specific things on top.&lt;/p&gt;
&lt;h2&gt;
  
  
  What it shows
&lt;/h2&gt;

&lt;p&gt;Every bot gets its own tab with its status, equity, today's P&amp;amp;L and a card per open trade, with the distance to&lt;br&gt;
liquidation on each card.&lt;/p&gt;

&lt;p&gt;The pages I use most:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Risk &amp;amp; exposure&lt;/strong&gt;: margin used, real leverage, distance to liquidation, and what the open book does if every coin
moves ±5 to 30 %.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Signal radar&lt;/strong&gt;: every pair's entry signals per candle and what happened to each one. Traded, blocked (already in a
trade on that pair, all slots full, pair locked, a guard cancelled it, not enough balance, order never filled) or not
taken.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Analytics&lt;/strong&gt;: profit over time, a daily calendar, breakdowns by entry tag, exit reason and pair, and an MFE / MAE
scatter (how far each trade went for and against you before it closed).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Funding&lt;/strong&gt; per trade and over any range of closed trades, which adds up on futures.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Notifications&lt;/strong&gt;: bot down or stuck, close to liquidation, drawdown, disk or RAM, container restarted.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  NostalgiaForInfinity extras
&lt;/h2&gt;

&lt;p&gt;NFI adds to a trade as it moves (grinding) and stores its own data on each trade. For NFI bots, NFIForge shows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the grind levels on each trade card and in the trade inspector: how many adds, at what price, how many coins each
level still holds&lt;/li&gt;
&lt;li&gt;NFI's custom trade data in the trade inspector&lt;/li&gt;
&lt;li&gt;the reason NFI logged when it cancelled an entry, on the signal radar&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;NFIForge talks to each bot through freqtrade's REST API, the same one FreqUI uses. You give it each bot's API address,&lt;br&gt;
username and password, and nothing on the bot changes.&lt;/p&gt;

&lt;p&gt;The backend is Python (FastAPI). It polls each bot and pushes live state to the browser over one websocket. The&lt;br&gt;
frontend is Vue with ECharts and lightweight-charts. NFIForge keeps its own SQLite file for the things freqtrade&lt;br&gt;
doesn't store: equity snapshots over time, notifications, server history and accounts.&lt;/p&gt;

&lt;p&gt;A few things took more thought than I expected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Signal radar.&lt;/strong&gt; Freqtrade doesn't keep a history of signals that didn't trade. After each new candle, NFIForge asks&lt;br&gt;
the bot for the last few candles of every pair, records the signal and guard columns, and matches them against the&lt;br&gt;
bot's log lines to find the reason a signal didn't turn into a trade. That costs about 2 seconds of requests per 100&lt;br&gt;
pairs, so it's off by default per bot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Logs.&lt;/strong&gt; Freqtrade's API only holds the last 1000 log lines. NFIForge keeps them from the moment it starts, so the&lt;br&gt;
radar and the logs page still have the reason after the bot has moved on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Phone alerts.&lt;/strong&gt; Alerts use standard web push, so they reach a phone with the app closed, without a third-party&lt;br&gt;
service holding your data. Payloads are encrypted for the phone, and the push services only see encrypted bytes.&lt;/p&gt;
&lt;h2&gt;
  
  
  Read-only by default
&lt;/h2&gt;

&lt;p&gt;A dashboard for trading bots is an easy target, so I kept it boring:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It's read-only towards the bots. Trade actions (enter, add, exit) exist but are off unless you switch them on in the
config and per bot.&lt;/li&gt;
&lt;li&gt;It listens on 127.0.0.1 by default. Tailscale is the suggested way in from a phone.&lt;/li&gt;
&lt;li&gt;The Docker container is read-only, drops all Linux capabilities, and has no Docker socket and no host files.&lt;/li&gt;
&lt;li&gt;Viewer accounts see percentages and counts, not balances.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;With Docker:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/baxr6/NFIForge.git
&lt;span class="nb"&gt;cd&lt;/span&gt; NFIForge
./install.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or with pipx:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pipx install nfiforge
nfiforge init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The installer asks for each bot's API login and tests it before saving. Each bot needs freqtrade's &lt;code&gt;api_server&lt;/code&gt; turned&lt;br&gt;
on, which it already is if FreqUI works for it.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://baxr6.github.io/NFIForge/" rel="noopener noreferrer"&gt;docs&lt;/a&gt; cover every page, and the screenshots use a demo bot with made-up&lt;br&gt;
trades. It's MIT licensed. Issues and pull requests are welcome, and I'd like to hear what you check first when a live&lt;br&gt;
bot drifts from its backtest.&lt;/p&gt;

</description>
      <category>python</category>
      <category>selfhosted</category>
      <category>opensource</category>
      <category>trading</category>
    </item>
    <item>
      <title>How FreqForge Scores Trading Strategies - Backtest Strategy's</title>
      <dc:creator>Deano Welch</dc:creator>
      <pubDate>Tue, 21 Jul 2026 04:15:07 +0000</pubDate>
      <link>https://dev.to/deano_welch_4c7b8408800a1/how-freqforge-scores-trading-strategies-backtest-strategys-el9</link>
      <guid>https://dev.to/deano_welch_4c7b8408800a1/how-freqforge-scores-trading-strategies-backtest-strategys-el9</guid>
      <description>&lt;p&gt;Analyse:&lt;/p&gt;

&lt;p&gt;Number of trades&lt;br&gt;
Win rate&lt;br&gt;
Profit factor&lt;br&gt;
Max drawdown&lt;br&gt;
Average trade&lt;br&gt;
Long vs short&lt;br&gt;
Best/worst pairs&lt;br&gt;
Best/worst months&lt;br&gt;
Market conditions&lt;br&gt;
Strategy versions&lt;br&gt;
Parameter differences&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/baxr6/FreqForge" rel="noopener noreferrer"&gt;https://github.com/baxr6/FreqForge&lt;/a&gt;&lt;/p&gt;

</description>
      <category>freqtrade</category>
      <category>nostalgiaforinfinity</category>
      <category>backtesting</category>
      <category>tradestrategy</category>
    </item>
    <item>
      <title>Ultimate Linux Script: Your All-in-One Bash Solution for Ubuntu 24.04</title>
      <dc:creator>Deano Welch</dc:creator>
      <pubDate>Thu, 10 Jul 2025 08:40:29 +0000</pubDate>
      <link>https://dev.to/deano_welch_4c7b8408800a1/ultimate-linux-script-your-all-in-one-bash-solution-for-ubuntu-2404-4f19</link>
      <guid>https://dev.to/deano_welch_4c7b8408800a1/ultimate-linux-script-your-all-in-one-bash-solution-for-ubuntu-2404-4f19</guid>
      <description>&lt;h1&gt;
  
  
  🛠️ Ultimate Linux Script: Your All-in-One Bash Solution for Ubuntu 24.04
&lt;/h1&gt;

&lt;p&gt;Managing Linux systems can be daunting, especially when juggling backups, package installations, and system maintenance.&lt;br&gt;&lt;br&gt;
Enter the &lt;strong&gt;Ultimate Linux Script&lt;/strong&gt;—a comprehensive Bash script designed to streamline these tasks on Ubuntu 24.04.&lt;/p&gt;


&lt;h2&gt;
  
  
  🚀 What Is the Ultimate Linux Script?
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;Ultimate Linux Script&lt;/strong&gt; is a terminal-based tool that offers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backup Options&lt;/strong&gt;: Full, incremental, and rsync-based backups.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Restore Capabilities&lt;/strong&gt;: Easily restore backups when needed.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;System Maintenance&lt;/strong&gt;: Automate package installations and system tweaks.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User-Friendly Interface&lt;/strong&gt;: Navigate through options with a whiptail-based menu.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's perfect for system administrators, developers, or anyone looking to simplify Linux system management.&lt;/p&gt;


&lt;h2&gt;
  
  
  🔧 Features at a Glance
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backup Management&lt;/strong&gt;: Create and manage backups effortlessly.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;System Tweaks&lt;/strong&gt;: Apply common system optimizations.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Package Management&lt;/strong&gt;: Install essential packages with ease.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Restore Functionality&lt;/strong&gt;: Quickly restore your system to a previous state.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Menu&lt;/strong&gt;: Navigate through options using a simple menu interface.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🖥️ How It Works
&lt;/h2&gt;

&lt;p&gt;Upon execution, the script presents a menu with options like:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create Backup
&lt;/li&gt;
&lt;li&gt;Restore Backup
&lt;/li&gt;
&lt;li&gt;Install Packages
&lt;/li&gt;
&lt;li&gt;System Tweaks
&lt;/li&gt;
&lt;li&gt;Exit
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Users can select an option, and the script will guide them through the necessary steps, ensuring a smooth and efficient process.&lt;/p&gt;


&lt;h2&gt;
  
  
  📥 How to Get Started
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Clone the Repository:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/baxr6/UltimateLinuxScript.git
&lt;span class="nb"&gt;cd &lt;/span&gt;UltimateLinuxScript
&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Make the Script Executable:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;chmod&lt;/span&gt; +x Ultimate_Linux_Script.sh
&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Run the Script:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;./Ultimate_Linux_Script.sh
&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;

&lt;/ol&gt;

&lt;p&gt;Follow the on-screen prompts to navigate through the available options.&lt;/p&gt;




&lt;h2&gt;
  
  
  🌐 Share and Contribute
&lt;/h2&gt;

&lt;p&gt;The Ultimate Linux Script is open-source and welcomes contributions.&lt;br&gt;&lt;br&gt;
Feel free to fork the repository, submit issues, or propose enhancements.&lt;br&gt;&lt;br&gt;
Your feedback helps improve the script for the community.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Whether you're a seasoned Linux user or a newcomer, the &lt;strong&gt;Ultimate Linux Script&lt;/strong&gt; offers a straightforward solution to common system management tasks.&lt;br&gt;&lt;br&gt;
Its intuitive interface and robust features make it a valuable tool for anyone working with Ubuntu 24.04.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Happy scripting!&lt;/em&gt;&lt;/p&gt;




</description>
      <category>linux</category>
      <category>shell</category>
      <category>ubuntu</category>
      <category>bash</category>
    </item>
  </channel>
</rss>
