<?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: Vasiliy Lyovochkin</title>
    <description>The latest articles on DEV Community by Vasiliy Lyovochkin (@hampfree).</description>
    <link>https://dev.to/hampfree</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%2F3738276%2Ff469f504-a8c0-468a-8c6e-1fb138bd17fd.jpg</url>
      <title>DEV Community: Vasiliy Lyovochkin</title>
      <link>https://dev.to/hampfree</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hampfree"/>
    <language>en</language>
    <item>
      <title>Technical Analysis as Context Filter in Algo Trading</title>
      <dc:creator>Vasiliy Lyovochkin</dc:creator>
      <pubDate>Wed, 25 Nov 2026 15:25:14 +0000</pubDate>
      <link>https://dev.to/hampfree/technical-analysis-as-context-filter-in-algo-trading-4bed</link>
      <guid>https://dev.to/hampfree/technical-analysis-as-context-filter-in-algo-trading-4bed</guid>
      <description>&lt;p&gt;Technical analysis in algo trading is surrounded by two extremes. Some treat it as a set of "magic" signals that should predict price. Others dismiss it as useless archaic noise. Both positions miss the point.&lt;/p&gt;

&lt;p&gt;Technical analysis is a &lt;strong&gt;language for describing market behavior&lt;/strong&gt;. Indicators do not predict the future; they formalize the past and present, turning raw price and volume streams into numbers an algorithm can work with.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why an Algo Bot Needs Technical Analysis
&lt;/h2&gt;

&lt;p&gt;A human trader "feels" the market: sees a trend, notices acceleration, senses volatility fading. An algorithm cannot feel. It needs &lt;strong&gt;measurable signals of market state&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Technical analysis solves three problems:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Dimensionality reduction.&lt;/strong&gt; Instead of thousands of raw price points — a handful of numbers describing trend, momentum, volatility, or volume.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Standardization.&lt;/strong&gt; An indicator reacts the same way under the same conditions. This removes human inconsistency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context for logic.&lt;/strong&gt; An indicator does not make decisions on its own. It simply reports: "RSI = 75." The meaning of that number comes from trading logic.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The correct formulation is: &lt;strong&gt;an indicator is a context filter, not an entry trigger&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Main Trap: Indicator as a Direct Trigger
&lt;/h2&gt;

&lt;p&gt;The most common mistake in algorithmic trading — turning an indicator condition into a "buy / sell" command.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Classic anti-pattern:&lt;/strong&gt; &lt;code&gt;RSI &amp;lt; 30 → buy&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The problem: in a sustained bear trend, RSI can stay oversold for a very long time. A bot following this rule will "catch falling knives" again and again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why it happens:&lt;/strong&gt; an indicator describes &lt;strong&gt;state&lt;/strong&gt;, not &lt;strong&gt;market intent&lt;/strong&gt;. Oversold is not a reversal signal; it is information that price dropped fast relative to recent history. What happens next depends on context: trend, news flow, liquidity.&lt;/p&gt;

&lt;h3&gt;
  
  
  Overfitting and Why "More Indicators" ≠ "Better"
&lt;/h3&gt;

&lt;p&gt;Each added indicator and each tuned parameter expand the search space. The more degrees of freedom, the higher the risk that a strategy perfectly "fits" historical data and falls apart on new data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Practical rule:&lt;/strong&gt; if a strategy requires simultaneous conditions from three or more different indicator classes, suspect overfitting. Start with one filter, add a second only if it delivers &lt;strong&gt;sustained&lt;/strong&gt; improvement out of sample.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture: Context, Signal, Risk
&lt;/h2&gt;

&lt;p&gt;A healthy indicator architecture separates roles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context (indicators):&lt;/strong&gt; "Is the market trending or ranging? Is volatility rising or falling?"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Signal (price / volume / pattern):&lt;/strong&gt; "Is there actual confirmation of movement?"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk (ATR / volatility):&lt;/strong&gt; "What position size keeps risk controlled?"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An indicator in this scheme &lt;strong&gt;does not command&lt;/strong&gt;, it &lt;strong&gt;informs&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Synergy with Fundamental Context
&lt;/h3&gt;

&lt;p&gt;Technical analysis is strong on timing but weak on explaining "why." Fundamental analysis (news, macro, on-chain metrics) provides &lt;strong&gt;directional bias&lt;/strong&gt;, while TA provides &lt;strong&gt;point and moment&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A useful metaphor: fundamentals tell you &lt;strong&gt;whether the wind is at your back&lt;/strong&gt;, and TA shows &lt;strong&gt;how to ride the waves right now&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Validate Honestly: Walk-Forward and Clean Testing
&lt;/h3&gt;

&lt;p&gt;Any indicator filter must pass validation on data it has not "seen."&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Walk-forward analysis (WFA):&lt;/strong&gt; tune on one period, validate on the next, then slide the window.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Out-of-sample test:&lt;/strong&gt; final check on a held-out segment not used for parameter selection or indicator choice.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a filter improves results &lt;strong&gt;only&lt;/strong&gt; on the training period — it is noise, not edge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Recommendations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Compare the indicator with raw price action.&lt;/strong&gt; If simple price-based logic works just as well — the indicator is unnecessary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test behavior in sideways markets.&lt;/strong&gt; An indicator that "generates signals" in consolidation is likely measuring noise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Limit complexity.&lt;/strong&gt; One or two context filters often deliver more than five "confirming" conditions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remember the lag.&lt;/strong&gt; Any smoothed indicator lags by definition. That is not a bug, it is a property; account for it in exit logic.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://t.me/felag_logbook_en?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=felag-reading-indicators-in-algotrading-en" rel="noopener noreferrer"&gt;Telegram channel&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://tradermake.money/trader/Felag" rel="noopener noreferrer"&gt;Trading Journal&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://felag.online/en/about/" rel="noopener noreferrer"&gt;Support options&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://felag.online/en/saga/reading-indicators-in-algotrading/?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=felag-reading-indicators-in-algotrading-en" rel="noopener noreferrer"&gt;Full article&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://felag.online/en/saga/" rel="noopener noreferrer"&gt;Blog&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Disclaimer: This article is a technical case study for educational purposes. It describes system design and automation workflows, and does not constitute financial or investment advice.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>algotrading</category>
      <category>technicalanalysis</category>
      <category>riskmanagement</category>
      <category>trading</category>
    </item>
    <item>
      <title>Automating Trading Workflows: From Manual Monitoring to Systematic Execution</title>
      <dc:creator>Vasiliy Lyovochkin</dc:creator>
      <pubDate>Thu, 19 Nov 2026 14:44:40 +0000</pubDate>
      <link>https://dev.to/hampfree/automating-trading-workflows-from-manual-monitoring-to-systematic-execution-28ff</link>
      <guid>https://dev.to/hampfree/automating-trading-workflows-from-manual-monitoring-to-systematic-execution-28ff</guid>
      <description>&lt;h2&gt;
  
  
  Problem
&lt;/h2&gt;

&lt;p&gt;Manual position monitoring around the clock ceases to be realistic. The cryptocurrency market never sleeps. Humans do. Or get sick. Or simply cannot sit at a screen for sixteen hours straight.&lt;/p&gt;

&lt;p&gt;The shift toward algorithmic trading often begins with the realization of physical and temporal limitations. When physical constraints prevent sitting at a terminal, when timeframes prevent monitoring positions overnight, when the only available resources are a laptop, knowledge, and the desire to build a system — bots become the only way to keep working with the market.&lt;/p&gt;

&lt;h2&gt;
  
  
  Solution
&lt;/h2&gt;

&lt;p&gt;Veles is a platform where trading logic is formalized, tested on historical data, and launched without a dedicated server. It supports both spot and futures trading with three modes: single order, dollar-cost averaging grid (DCA), and simple grid bot (GRID).&lt;/p&gt;

&lt;p&gt;The workflow follows a clear sequence: strategy selection from a community showcase, backtesting on historical data, API key configuration with withdrawal restrictions, automated order management, and real-time monitoring through dashboard or mobile app.&lt;/p&gt;

&lt;p&gt;Pricing is performance-based: a 20% commission on profit, capped at 50 USDT per month per trading type. No profit, no commission.&lt;/p&gt;

&lt;p&gt;The architecture follows a non-custodial principle: user funds remain on the exchange, and API keys are configured with withdrawal disabled. Veles does not act as a custodian and has no withdrawal rights.&lt;/p&gt;

&lt;h2&gt;
  
  
  Implementation
&lt;/h2&gt;

&lt;p&gt;The key insight is that automation does not remove responsibility. A bot executes exactly the logic encoded into it. If the logic is poor, it will carefully and disciplinearily accumulate losses.&lt;/p&gt;

&lt;p&gt;Therefore, the recommended sequence is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Backtest on historical data&lt;/li&gt;
&lt;li&gt;Start with a small deposit&lt;/li&gt;
&lt;li&gt;Observe and adjust&lt;/li&gt;
&lt;li&gt;Only then — scale&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Markets change. Strategies that worked six months ago may stop working. Control is still needed — it just becomes targeted rather than round-the-clock.&lt;/p&gt;

&lt;p&gt;The platform supports signals from TA indicators (RSI, MACD, SMA), price filters, and TradingView webhooks. Each bot type covers a specific market condition: DCA for accumulation, GRID for sideways markets, directional bots for trends.&lt;/p&gt;

&lt;p&gt;A detailed breakdown of bot configuration and signal logic will follow in future publications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Resources
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://t.me/felag_logbook_en?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=felag-veles-automation-philosophy-en" rel="noopener noreferrer"&gt;Telegram channel&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://felag.online/en/about/" rel="noopener noreferrer"&gt;Support options&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://tradermake.money/trader/Felag" rel="noopener noreferrer"&gt;Trading Journal&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://felag.online/en/saga/veles-automation-philosophy/?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=felag-veles-automation-philosophy-en" rel="noopener noreferrer"&gt;Full article&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://felag.online/en/saga/" rel="noopener noreferrer"&gt;Blog&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>automation</category>
      <category>veles</category>
      <category>crypto</category>
      <category>fintech</category>
    </item>
    <item>
      <title>Automating Morning Digests: n8n Pipeline Architecture for News Filtering</title>
      <dc:creator>Vasiliy Lyovochkin</dc:creator>
      <pubDate>Sat, 14 Nov 2026 16:47:13 +0000</pubDate>
      <link>https://dev.to/hampfree/automating-morning-digests-n8n-pipeline-architecture-for-news-filtering-3go6</link>
      <guid>https://dev.to/hampfree/automating-morning-digests-n8n-pipeline-architecture-for-news-filtering-3go6</guid>
      <description>&lt;h2&gt;
  
  
  Problem
&lt;/h2&gt;

&lt;p&gt;Three centuries ago, traders read newspapers to make decisions. Today — RSS feeds, Twitter, Telegram channels, news aggregators. The volume of data outpaces human capacity to process it. Manual search, verification, and digest creation can consume up to half a workday.&lt;/p&gt;

&lt;h2&gt;
  
  
  Solution
&lt;/h2&gt;

&lt;p&gt;Content Forge is an n8n-based pipeline that collects news from three RSS sources (CoinTelegraph, The Block, Decrypt), filters by keywords, and creates GitHub Issues with the two most relevant articles.&lt;/p&gt;

&lt;p&gt;Previously, manual digest creation consumed half a workday. After the pipeline was implemented, reviewing a ready-made summary takes 2–3 minutes. The savings amount to 4–5 hours per day.&lt;/p&gt;

&lt;h2&gt;
  
  
  Implementation
&lt;/h2&gt;

&lt;p&gt;The pipeline consists of four stages. RSS nodes pull feeds from three sources. The Merge node combines streams. Filter selects articles by keywords and limits results to two articles. GitHub Issues are created automatically with titles containing keywords from the RSS source.&lt;/p&gt;

&lt;p&gt;Each created Issue becomes an SEO indexing point. When a blog article is published based on an Issue, it gets indexed by search engines for keywords from the title. Content Forge works as an SEO magnet, identifying emerging topics before publication.&lt;/p&gt;

&lt;p&gt;The pipeline is not topic-specific — it processes any RSS format. Adding a new source requires creating a new RSS node and connecting it to Merge.&lt;/p&gt;

&lt;p&gt;A detailed breakdown of filter configuration and deduplication will follow in future publications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Resources
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://felag.online/en/saga/morning-coffee-automation/?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=felag-morning-coffee-automation-en" rel="noopener noreferrer"&gt;Full article&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://tradermake.money/trader/Felag" rel="noopener noreferrer"&gt;Trading Journal&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://t.me/felag_logbook_en?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=felag-morning-coffee-automation-en" rel="noopener noreferrer"&gt;Telegram channel&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://felag.online/en/about/" rel="noopener noreferrer"&gt;Support options&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://felag.online/en/saga/" rel="noopener noreferrer"&gt;Blog&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>automation</category>
      <category>n8n</category>
      <category>cicd</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Building a Validation Pipeline for a Multilingual FinTech Blog</title>
      <dc:creator>Vasiliy Lyovochkin</dc:creator>
      <pubDate>Fri, 06 Nov 2026 19:07:05 +0000</pubDate>
      <link>https://dev.to/hampfree/building-a-validation-pipeline-for-a-multilingual-fintech-blog-5e3c</link>
      <guid>https://dev.to/hampfree/building-a-validation-pipeline-for-a-multilingual-fintech-blog-5e3c</guid>
      <description>&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;When building a multilingual blog (RU/EN) for algorithmic trading content, we faced three core challenges:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Content parity&lt;/strong&gt;: How to ensure every RU article has an EN counterpart with matching metadata?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quality control&lt;/strong&gt;: How to catch broken links, invalid JSON-LD, and duplicate routes before deployment?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UX consistency&lt;/strong&gt;: How to maintain scroll position when switching languages?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;We built a validation pipeline with strict TypeScript guards for content parity.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Automated Validation Script
&lt;/h3&gt;

&lt;p&gt;We created &lt;code&gt;npm run verify&lt;/code&gt; that runs 5 checks:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="c"&gt;# 1. Build project&lt;/span&gt;
npm run build

&lt;span class="c"&gt;# 2. Check JSON-LD (no raw stringify)&lt;/span&gt;
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; &lt;span class="s2"&gt;"JSON.stringify"&lt;/span&gt; dist/ &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;exit &lt;/span&gt;1

&lt;span class="c"&gt;# 3. Check duplicate paths (404)&lt;/span&gt;
&lt;span class="c"&gt;# Custom script to find duplicate routes&lt;/span&gt;

&lt;span class="c"&gt;# 4. Check NUL bytes in Markdown&lt;/span&gt;
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; &lt;span class="s1"&gt;$'&lt;/span&gt;&lt;span class="se"&gt;\0&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt; src/content/ &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;exit &lt;/span&gt;1

&lt;span class="c"&gt;# 5. Check internal links&lt;/span&gt;
&lt;span class="c"&gt;# Custom script to validate all internal links&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This script is integrated into pre-commit hooks, blocking any commit that fails validation.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. TypeScript Locale Parity Guard
&lt;/h3&gt;

&lt;p&gt;In &lt;code&gt;i18n/ui.ts&lt;/code&gt;, we added a compile-time check:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;ui&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;ru&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;nav.home&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Главная&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;nav.saga&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Сага&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="c1"&gt;// ... 87 keys&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;en&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;nav.home&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Home&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;nav.saga&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Saga&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="c1"&gt;// ... 90 keys&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="kd"&gt;as const&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// Parity guard: forces compiler to check all ru keys exist in en&lt;/span&gt;
&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;LocaleParity&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Record&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nf"&gt;keyof &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="nx"&gt;ui&lt;/span&gt;&lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;ru&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="kr"&gt;string&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;_enParity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;LocaleParity&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;ui&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;en&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If someone adds a new key to &lt;code&gt;ru&lt;/code&gt; but forgets &lt;code&gt;en&lt;/code&gt;, TypeScript throws a compilation error.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Scroll Restoration
&lt;/h3&gt;

&lt;p&gt;We implemented scroll position preservation using &lt;code&gt;sessionStorage&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;sessionStorage&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setItem&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;scrollY&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;scrollY&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;span class="nf"&gt;requestAnimationFrame&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;saved&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;sessionStorage&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getItem&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;scrollY&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;saved&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scrollTo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;parseInt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;saved&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;p&gt;After a week of development:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;50+ technical issues resolved&lt;/li&gt;
&lt;li&gt;Full RU/EN parity enforced at compile time&lt;/li&gt;
&lt;li&gt;7 pre-commit checks blocking bad code&lt;/li&gt;
&lt;li&gt;14 A11y issues fixed&lt;/li&gt;
&lt;li&gt;6 dead files removed (~189 KB)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key Takeaways
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Automate early&lt;/strong&gt;: Validation scripts save hours of manual checking&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TypeScript is your friend&lt;/strong&gt;: Compile-time guards catch errors before production&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Building in public attracts collaborators&lt;/strong&gt;: Transparency builds trust&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;&lt;strong&gt;Resources&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://t.me/felag_logbook_en" rel="noopener noreferrer"&gt;Telegram channel&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://felag.online/en/about/" rel="noopener noreferrer"&gt;Support options&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tradermake.money/trader/Felag" rel="noopener noreferrer"&gt;Trading Journal&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://felag.online/en/saga/behind-the-scenes-architecture/?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=profi_en" rel="noopener noreferrer"&gt;Full article&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://felag.online/en/saga/" rel="noopener noreferrer"&gt;Blog&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;FÉLAG is a multilingual blog about algorithmic trading, cryptocurrency, and automation. We share our engineering decisions and learnings as we build.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>astro</category>
      <category>webdev</category>
      <category>cicd</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
