<?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: EdgeVow</title>
    <description>The latest articles on DEV Community by EdgeVow (@edgevow).</description>
    <link>https://dev.to/edgevow</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%2F4271088%2F9c968998-95a3-4e22-95d2-2b79c211b340.png</url>
      <title>DEV Community: EdgeVow</title>
      <link>https://dev.to/edgevow</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/edgevow"/>
    <language>en</language>
    <item>
      <title>Building a license-gated trading journal in Google Sheets with Apps Script</title>
      <dc:creator>EdgeVow</dc:creator>
      <pubDate>Sat, 28 Nov 2026 17:01:42 +0000</pubDate>
      <link>https://dev.to/edgevow/building-a-license-gated-trading-journal-in-google-sheets-with-apps-script-51bj</link>
      <guid>https://dev.to/edgevow/building-a-license-gated-trading-journal-in-google-sheets-with-apps-script-51bj</guid>
      <description>&lt;p&gt;Disclosure: I'm the maker of the workbook described below, and it is a paid product ($9 early-bird). This post is about how it is built.&lt;/p&gt;

&lt;p&gt;I wanted a trading journal that lives in Google Sheets, where you log each trade once and everything else (P&amp;amp;L, R-multiple, win rate, drawdown, a weekly review) updates from that single row. Here is how I put it together and what I learned about Apps Script along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The workbook
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A Trade Log tab is the only place you type. Formulas derive P&amp;amp;L, R-multiple and position size from entry, stop and exit.&lt;/li&gt;
&lt;li&gt;Dashboard, Weekly Review and Risk Calculator tabs read from the log with plain formulas, so nothing breaks when you add rows.&lt;/li&gt;
&lt;li&gt;14 tabs in total, 28 sample trades you delete on day one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Apps Script inside the sheet
&lt;/h2&gt;

&lt;p&gt;A container-bound script adds a custom menu with &lt;code&gt;onOpen()&lt;/code&gt;. The menu items cover things like rebuilding the dashboard, switching the interface language (7 are included) and activating your license.&lt;/p&gt;

&lt;h2&gt;
  
  
  License gating (and why it can't be perfect)
&lt;/h2&gt;

&lt;p&gt;A Google Sheet is copyable by design, so I wanted a light check, not a fortress:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Each buyer gets a license key. The key has a short checksum, so typos are caught before any network call.&lt;/li&gt;
&lt;li&gt;On first use the script calls a small web app (also Apps Script) that binds the key to the first email that activates it.&lt;/li&gt;
&lt;li&gt;Menu features check the stored activation before they run.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Anyone determined can still copy a sheet or read the script. This only keeps honest users honest, and I say so openly on the product page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things that bit me
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;UrlFetchApp&lt;/code&gt; needs an authorization scope the first time a user runs the menu, so the first-run flow has to explain the consent prompt.&lt;/li&gt;
&lt;li&gt;Triggers run as the user who installed them. Keep installable triggers to the minimum.&lt;/li&gt;
&lt;li&gt;Sheets formulas recalculate on every edit, so I avoided volatile functions on the log tab.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where to get it
&lt;/h2&gt;

&lt;p&gt;If you want the finished workbook rather than building your own: &lt;a href="https://edgevow.zappsell.com" rel="noopener noreferrer"&gt;https://edgevow.zappsell.com&lt;/a&gt; (Google Sheets edition, license key delivered instantly, crypto payment). It is a record-keeping tool. It does not predict anything and makes no performance promises.&lt;/p&gt;

&lt;p&gt;Questions about the Apps Script side are welcome in the comments.&lt;/p&gt;

</description>
      <category>googlesheets</category>
      <category>appsscript</category>
      <category>productivity</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
