<?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: AION Analytics</title>
    <description>The latest articles on DEV Community by AION Analytics (@aion-analytics).</description>
    <link>https://dev.to/aion-analytics</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%2F4241014%2F6c7b7ac7-742d-4c73-98d6-125aedb40a46.png</url>
      <title>DEV Community: AION Analytics</title>
      <link>https://dev.to/aion-analytics</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aion-analytics"/>
    <language>en</language>
    <item>
      <title>What can an Android phone tell you about privacy? A guide for phone owners and institutions</title>
      <dc:creator>AION Analytics</dc:creator>
      <pubDate>Mon, 23 Nov 2026 05:24:15 +0000</pubDate>
      <link>https://dev.to/aion-analytics-in/what-can-an-android-phone-tell-you-about-privacy-a-guide-for-phone-owners-and-institutions-39jl</link>
      <guid>https://dev.to/aion-analytics-in/what-can-an-android-phone-tell-you-about-privacy-a-guide-for-phone-owners-and-institutions-39jl</guid>
      <description>&lt;p&gt;A phone owner notices an unfamiliar service that can read the screen. A workplace reviewer learns that a company phone has missed security updates. Both have reasons to investigate. Neither observation, by itself, proves someone is spying.&lt;/p&gt;

&lt;p&gt;AION Prahari in India and AION Sargas in Lithuania are regional editions of an Android privacy and device-security pilot. Here is what a person can check today, what an institution can evaluate, and where the evidence stops.&lt;/p&gt;

&lt;h2&gt;
  
  
  On your own phone: follow a finding to a decision
&lt;/h2&gt;

&lt;p&gt;Start with an access permission you care about. The development app shows accessibility services and device administrators reported by Android. A screen reader you chose may be exactly what you expect. If a service is unfamiliar, look up the app's identity and purpose before changing its access. The Android settings screen remains the place to inspect an individual app's camera, microphone, messages, contacts, files or location permissions. This pilot does not yet list those categories for every app. Having permission also does not prove an app used it.&lt;/p&gt;

&lt;p&gt;Now consider a site that stops loading. If you have enabled AION's optional domain filter and loaded a list, the local history can tell you whether a listed domain lookup was refused. You might decide to leave it blocked or allow that domain on your phone. The history does not identify which app made the request or show what it transmitted. The filter uses Android's VPN slot, and Strict Private DNS prevents filtering. Check compatibility if you already rely on a work VPN.&lt;/p&gt;

&lt;p&gt;You can separately run a diagnostic when something concerns you. The Android app reviews available records for known indicators and device-integrity observations. It distinguishes a match, a check that ran without a match, and a check that lacked the necessary evidence. A finding may lead to an app-details page, an access setting or an uninstall confirmation. The phone owner decides what to do. Only the optional DNS filter can remain active during ordinary use. These other inspections run when requested.&lt;/p&gt;

&lt;p&gt;The review can also show a certificate authority added to the phone. A workplace certificate may be expected, so ask its administrator before removing it. Diagnostics can report patch age and signs that system protections were altered. Neither observation alone diagnoses an infection. Optional sharing of matched indicators is off by default. An iPhone backup can be reviewed separately using the macOS companion on your own Mac; the ongoing domain filter described here runs on Android.&lt;/p&gt;

&lt;p&gt;Earlier builds ran on one Samsung Galaxy M31. The latest build lets you compare saved counts of powerful registrations. It can also highlight an app named in a scan finding that currently holds one of those roles, or a domain in a finding that also appears in the blocked-request history. These comparisons passed development tests and await physical-phone validation. Detection performance against real spyware is unmeasured. &lt;a href="https://aionanalytics.in/models/prahari#individual" rel="noopener noreferrer"&gt;Read the personal edition&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why institutions would evaluate it
&lt;/h2&gt;

&lt;p&gt;A company-owned Android phone might hold work email, authentication codes and customer records. A security team can use a controlled evaluation to answer concrete questions: Which powerful roles can the owner see? Can the worker understand and act on a finding? Can the optional filter work with the corporate VPN and device policy?&lt;/p&gt;

&lt;p&gt;For a personally owned work phone, define the purpose, recipients, retention period and minimum evidence before asking an employee to share anything. For example, a reviewer investigating an overdue security update may need a patch date. That question gives them no reason to request the employee's message history, photos or contact list.&lt;/p&gt;

&lt;p&gt;The institutional location-check-in dashboard uses synthetic records. Each example distinguishes a reported mock location, the presence of a known location-spoofing app and observations about device integrity. Finding a spoofing app does not establish that it supplied the reading. If information is missing, the reviewer can see which check could not run. They do not establish that a person attended a particular location. An operational employee verifier, centrally managed fleet dashboard, MDM integration and automated enforcement have not been validated. &lt;a href="https://aionanalytics.in/models/sargas/en#institutions" rel="noopener noreferrer"&gt;See the scope for institutions&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  An Indian example: a traffic fine arrives as an Android installer
&lt;/h2&gt;

&lt;p&gt;On 17 March 2026, CERT-In described messages impersonating an RTO or e-Challan service. The campaign used links or attached Android installation files to obtain sensitive access and target financial information. Check a fine independently through the official e-Challan or state traffic police service. Leave unsolicited installers unopened, and review unexpected requests for SMS, accessibility or VPN access. AION has no campaign-specific test establishing that Prahari detects these files. &lt;a href="https://www.cert-in.org.in/s2cMainServlet?CACODE=CICA-2026-3492&amp;amp;pageid=PUBADV01" rel="noopener noreferrer"&gt;Read the CERT-In advisory&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which Android security tool answers your question?
&lt;/h2&gt;

&lt;p&gt;Google Play Protect checks for potentially harmful apps on installation and periodically thereafter. Quick Heal Mobile Security's Privacy Advisor helps review app access to personal information. Sophos distinguishes its free unmanaged mobile security edition from its licensed managed edition. RethinkDNS Firewall offers per-app rules and connection logs. The AION pilot pairs local review of powerful registrations with optional listed-domain refusals and owner-initiated diagnostics. Android is the platform; the store an app came from does not establish what a device or diagnostic report can reveal. There is no shared test here that ranks these products by malware-detection rate. &lt;a href="https://github.com/AION-Analytics-India/.github/blob/ade1e0d3a29e47262c13251fa81555f6813023a2/products/prahari/COMPARISON.md" rel="noopener noreferrer"&gt;Dated comparison and vendor sources&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pilot and planned prices
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Planned annual plan&lt;/th&gt;
&lt;th&gt;India: Prahari&lt;/th&gt;
&lt;th&gt;Lithuania: Sargas&lt;/th&gt;
&lt;th&gt;Android devices&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Essential&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;td&gt;One&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Personal&lt;/td&gt;
&lt;td&gt;₹499&lt;/td&gt;
&lt;td&gt;€14.99&lt;/td&gt;
&lt;td&gt;One&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Family&lt;/td&gt;
&lt;td&gt;₹999&lt;/td&gt;
&lt;td&gt;€34.99&lt;/td&gt;
&lt;td&gt;Up to three&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are planned prices. No paid subscription or checkout is active. Pilot admission does not require a card or automatically turn into a paid plan. The first 100 admissions across India and Lithuania share the free pilot commitment. Institutions can request a separately scoped and priced evaluation. To enquire, email the team from the regional page; send your contact details and intended use, without personal diagnostics or employee records.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://aionanalytics.in/models/prahari" rel="noopener noreferrer"&gt;Prahari for India&lt;/a&gt; · &lt;a href="https://aionanalytics.in/models/sargas" rel="noopener noreferrer"&gt;Sargas lietuviškai&lt;/a&gt; · &lt;a href="https://aionanalytics.in/models/sargas/en" rel="noopener noreferrer"&gt;Sargas in English&lt;/a&gt; · &lt;a href="https://github.com/AION-Analytics-India/.github/blob/ade1e0d3a29e47262c13251fa81555f6813023a2/products/DIAGRAMS.md" rel="noopener noreferrer"&gt;Four explanatory diagrams&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>android</category>
      <category>security</category>
      <category>privacy</category>
      <category>india</category>
    </item>
    <item>
      <title>Do not trust our market forecast. Audit it with 15 lines of Python.</title>
      <dc:creator>AION Analytics</dc:creator>
      <pubDate>Fri, 20 Nov 2026 13:00:05 +0000</pubDate>
      <link>https://dev.to/aion-analytics-in/do-not-trust-our-market-forecast-audit-it-with-15-lines-of-python-2hc9</link>
      <guid>https://dev.to/aion-analytics-in/do-not-trust-our-market-forecast-audit-it-with-15-lines-of-python-2hc9</guid>
      <description>&lt;p&gt;Every trading morning before 08:55 IST, we publish a band for where NIFTY 50 will trade in the first 15 minutes of the session. Every afternoon, we publish whether it held. The receipts are public, dated, permanent, and include the misses.&lt;/p&gt;

&lt;p&gt;That is a claim anyone can make. So instead of asking you to trust it, this post shows you how to check it yourself with a few lines of Python, and what you will find when you do.&lt;/p&gt;

&lt;p&gt;The product is &lt;a href="https://aionanalytics.in/veritas" rel="noopener noreferrer"&gt;Veritas&lt;/a&gt;, from &lt;a href="https://aionanalytics.in" rel="noopener noreferrer"&gt;AION Analytics (India)&lt;/a&gt;. The NIFTY 50 band is free every trading day.&lt;/p&gt;

&lt;h2&gt;
  
  
  What gets published, and when
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Before the open (by 08:55 IST):&lt;/strong&gt; a lower and upper bound for NIFTY 50 in the first 15 minutes of the session, the midpoint, a directional lean, and how confident the model is in that lean. It appears on &lt;a href="https://aionanalytics.in/veritas" rel="noopener noreferrer"&gt;aionanalytics.in/veritas&lt;/a&gt; and, word for word, on our Telegram and Discord channels.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;After the session:&lt;/strong&gt; a receipt at &lt;a href="https://aionanalytics.in/veritas/validation" rel="noopener noreferrer"&gt;aionanalytics.in/veritas/validation&lt;/a&gt; for NIFTY 50, BANK NIFTY and SENSEX, with the predicted band, the actual first-15-minute price (the median of 09:15, 09:20 and 09:25), whether the band held, whether the direction was right, and the confidence published that morning. Receipts are never edited.&lt;/p&gt;

&lt;p&gt;Here is the NIFTY 50 part of the receipt for 30 September 2026:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Predicted band&lt;/td&gt;
&lt;td&gt;22,575.58 to 22,818.92&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Actual first-15-minute price&lt;/td&gt;
&lt;td&gt;22,702.85&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Band&lt;/td&gt;
&lt;td&gt;Held&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Directional lean&lt;/td&gt;
&lt;td&gt;Bullish, 44.7% confidence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Direction&lt;/td&gt;
&lt;td&gt;Wrong&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The band held and the direction was wrong. The receipt says both, and it says the model was close to a coin flip on direction that morning, which it had also said before the open. We tell people to rely on the range and ignore a weak lean, and this is why.&lt;/p&gt;

&lt;h2&gt;
  
  
  Audit it yourself
&lt;/h2&gt;

&lt;p&gt;The receipt index is a plain public page. This reads it and counts:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="no"&gt;URL&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"https://aionanalytics.in/veritas/validation"&lt;/span&gt;
&lt;span class="n"&gt;page&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;URL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;
&lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sub&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s2"&gt;"&amp;lt;[^&amp;gt;]+&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;" "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Each receipt on the index reads like: "2026-09-30 Day 50 3/3 bands held"&lt;/span&gt;
&lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;findall&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s2"&gt;"(20\d\d-\d\d-\d\d)\s+Day\s+(\d+)\s+(\d)/(\d) bands held"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;sessions&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;held&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;all_missed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"0"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{sessions} sessions, {held}/{total} index-bands held ({held / total:.1%})"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"sessions where every band missed:"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;all_missed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When we ran it on 1 October 2026 it printed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;42 sessions, 91/126 index-bands held (72.2%)
sessions where every band missed: ['2026-09-24', '2026-07-10', '2026-07-02']
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What that number means, honestly
&lt;/h2&gt;

&lt;p&gt;The band is designed to hold about 8 times in 10. On the receipts currently in the index, it has held a little over 7 times in 10. That is below the design target, and we would rather you find that out from our own receipts than from somebody's screenshot.&lt;/p&gt;

&lt;p&gt;Three more things you should know before reading too much into it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;There is a gap.&lt;/strong&gt; Veritas was not running from 24 July to 17 September 2026, because its market data feed stopped when a broker access token expired. There are no receipts for those dates, and none were back-filled. The validation page says so at the top.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The index does not yet list everything.&lt;/strong&gt; Public tracking started on 7 April 2026, which is why the latest receipt is Day 50. The index currently lists receipts from June onward; the April and May receipts exist but are not in the index yet. The script above only counts what the index lists.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;42 sessions is a small sample.&lt;/strong&gt; It is enough to see whether something is badly wrong. It is not enough to claim a precise rate in either direction.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why bother publishing it
&lt;/h2&gt;

&lt;p&gt;Because a forecast that only shows its hits cannot be evaluated. The ordering is what makes this a test: the band is committed before the market opens, and the score is written after. You can run the script above next month and see whether the number moved, and so can anyone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using the free band
&lt;/h2&gt;

&lt;p&gt;If you want the band in your own morning routine:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Read it on &lt;a href="https://aionanalytics.in/veritas" rel="noopener noreferrer"&gt;aionanalytics.in/veritas&lt;/a&gt; after 08:55 IST, or follow the Telegram or Discord channel linked from that page.&lt;/li&gt;
&lt;li&gt;Treat the range as the main output. Look at the confidence before giving the directional lean any weight; below 50% it is close to a coin flip, and the post says so.&lt;/li&gt;
&lt;li&gt;Check the receipt after the session.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;BANK NIFTY and SENSEX bands, JSON and CSV export, and API access are for subscribers: ₹499 a month for one index of your choice, or ₹1,999 a month for all three. The receipts for all three indices stay free either way.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is not
&lt;/h2&gt;

&lt;p&gt;Veritas is a probability range for the opening minutes, not a forecast of where the day ends. It is not a buy or sell call and not investment advice, and AION is not a SEBI-registered Research Analyst or Investment Adviser. The band can and will break; the receipts are there so you can see how often.&lt;/p&gt;

&lt;p&gt;If you find a receipt that looks wrong, or the script stops working because we changed the page, the feedback box at the bottom of &lt;a href="https://aionanalytics.in/veritas" rel="noopener noreferrer"&gt;the Veritas page&lt;/a&gt; comes straight to us.&lt;/p&gt;

</description>
      <category>python</category>
      <category>datascience</category>
      <category>fintech</category>
      <category>showdev</category>
    </item>
    <item>
      <title>MARKET_CLOSE = time(15, 30) is wrong now. Here is the fix for Indian markets.</title>
      <dc:creator>AION Analytics</dc:creator>
      <pubDate>Tue, 17 Nov 2026 13:00:05 +0000</pubDate>
      <link>https://dev.to/aion-analytics-in/marketclose-time15-30-is-wrong-now-here-is-the-fix-for-indian-markets-1068</link>
      <guid>https://dev.to/aion-analytics-in/marketclose-time15-30-is-wrong-now-here-is-the-fix-for-indian-markets-1068</guid>
      <description>&lt;p&gt;Here is a line that exists in a lot of Indian trading code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="no"&gt;MARKET_CLOSE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;time&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Since 3 August 2026 it is wrong, and wrong in two different directions depending on what you trade.&lt;/p&gt;

&lt;p&gt;SEBI's circular of 16 January 2026 (HO/47/11/11(3)2025-MRD-POD2/I/2765/2026) introduced a Closing Auction Session for the cash segment. Stocks that have derivative contracts now stop continuous trading at 15:15 and go into a 20-minute auction until 15:35. Stocks without derivatives still trade continuously to 15:30. Index and stock derivatives now trade to 15:40. So one constant has become three answers, and a script that assumes 15:30 will either send ordinary orders into an auction it does not understand, or stand aside for ten minutes of derivatives trading it thinks has ended.&lt;/p&gt;

&lt;p&gt;At &lt;a href="https://aionanalytics.in" rel="noopener noreferrer"&gt;AION Analytics (India)&lt;/a&gt; we maintain &lt;a href="https://pypi.org/project/aion-indian-market-calendar/" rel="noopener noreferrer"&gt;&lt;code&gt;aion-indian-market-calendar&lt;/code&gt;&lt;/a&gt;, an MIT-licensed Python package for exactly this kind of problem: is this Indian market open right now, is it a trading day, when is the next one. It handles NSE, BSE and MCX, including the MCX evening session and Muhurat trading. No account, no API key.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install aion-indian-market-calendar
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every example below was run against version 1.4.1.&lt;/p&gt;

&lt;h2&gt;
  
  
  The quick checks
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;aion_indian_market_calendar&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;is_market_open&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;next_trading_day&lt;/span&gt;

&lt;span class="nf"&gt;is_market_open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"NSE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;21&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="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# False&lt;/span&gt;
&lt;span class="nf"&gt;is_market_open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"MCX"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;21&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="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# True, MCX evening session&lt;/span&gt;

&lt;span class="nf"&gt;next_trading_day&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"NSE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;           &lt;span class="c1"&gt;# 2026-10-05&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2 October is Gandhi Jayanti, so the next NSE trading day after it is Monday 5 October. One detail worth knowing: &lt;code&gt;next_trading_day&lt;/code&gt; returns the same date if that date is itself a trading day, so &lt;code&gt;next_trading_day("NSE", date(2026, 10, 1))&lt;/code&gt; gives you 1 October back. If you want "strictly after", pass the following day.&lt;/p&gt;

&lt;h2&gt;
  
  
  The closing auction, done properly
&lt;/h2&gt;

&lt;p&gt;For anything time-sensitive, use the calendar object:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;aion_indian_market_calendar&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;IndiaMarketCalendar&lt;/span&gt;

&lt;span class="n"&gt;cal&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;IndiaMarketCalendar&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;bundled&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;when&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;cal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;is_market_open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;when&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;market&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"NSE_EQUITY_FNO_UNDERLYING"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;         &lt;span class="c1"&gt;# True:  the auction is running&lt;/span&gt;
&lt;span class="n"&gt;cal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;is_continuous_trading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;when&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;market&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"NSE_EQUITY_FNO_UNDERLYING"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# False: but it is not continuous&lt;/span&gt;
&lt;span class="n"&gt;cal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;is_continuous_trading&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;when&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;market&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"NSE_EQUITY"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;                 &lt;span class="c1"&gt;# True:  stocks without F&amp;amp;O are unaffected&lt;/span&gt;
&lt;span class="n"&gt;cal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;is_market_open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;35&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;market&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"NFO"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;       &lt;span class="c1"&gt;# True:  derivatives run to 15:40&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the distinction that matters. &lt;code&gt;is_market_open&lt;/code&gt; stays &lt;code&gt;True&lt;/code&gt; through the auction because the market is still operating. If your code places ordinary limit or market orders, gate it on &lt;code&gt;is_continuous_trading&lt;/code&gt; instead. That one change is the fix for the hardcoded 15:30.&lt;/p&gt;

&lt;p&gt;The segments the package knows about for this change:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Segment&lt;/th&gt;
&lt;th&gt;Continuous trading&lt;/th&gt;
&lt;th&gt;Closing auction&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;NSE_EQUITY_FNO_UNDERLYING&lt;/code&gt;, &lt;code&gt;BSE_EQUITY_FNO_UNDERLYING&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;09:15 to 15:15&lt;/td&gt;
&lt;td&gt;15:15 to 15:35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;NSE_EQUITY&lt;/code&gt;, &lt;code&gt;BSE_EQUITY&lt;/code&gt; (no F&amp;amp;O contracts)&lt;/td&gt;
&lt;td&gt;09:15 to 15:30&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;NSE_EQUITY_DERIVATIVES&lt;/code&gt;, &lt;code&gt;BSE_EQUITY_DERIVATIVES&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;09:15 to 15:40&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Queries for dates before 3 August 2026 return the old timings, so your backtests over historical data stay correct without any special casing.&lt;/p&gt;

&lt;p&gt;The full session table, including the four auction phases, the reference-price window and the revised pre-open from 7 September 2026, is available as data with the circular paragraph it comes from:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;cal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;market_timings&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"NSE_EQUITY_FNO_UNDERLYING"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"closing_auction"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"phases"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Holidays and special sessions
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;cal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;holidays&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"NSE"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;month&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="c1"&gt;# ['2026-10-02', '2026-10-20', '2026-11-10', '2026-11-24', '2026-12-25']&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;cal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;search&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Muhurat"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;end&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# MCX Muhurat Trading (Diwali) 2026-11-08 17:00:00+05:30 2026-11-08 21:30:00+05:30&lt;/span&gt;
&lt;span class="c1"&gt;# BSE Muhurat Trading (Diwali Laxmi Pujan) 2026-11-08 18:15:00+05:30 2026-11-08 19:15:00+05:30&lt;/span&gt;
&lt;span class="c1"&gt;# NSE Muhurat Trading (Diwali Laxmi Pujan) 2026-11-08 18:15:00+05:30 2026-11-08 19:15:00+05:30&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Muhurat trading is the classic case that breaks hardcoded calendars: an evening session on Sunday 8 November, one hour on NSE and BSE and longer on MCX. If your scheduler only knows "weekday and not a holiday", it will miss it.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cal.upcoming(as_of=date(2026, 10, 1), limit=5)&lt;/code&gt; gives you the next few market events across all segments, each with its category, which exchanges it applies to, and start and end times in IST.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the data stays current
&lt;/h2&gt;

&lt;p&gt;Exchanges add closures at short notice. Since 1.4.0, the package fetches holiday data from a published repository at most once a day, verifies it with SHA-256, and swaps it in atomically. A new closure no longer needs a new release of the package. If you run in an air-gapped environment, set &lt;code&gt;AION_IN_CALENDAR_OFFLINE=1&lt;/code&gt; and it uses the bundled data only.&lt;/p&gt;

&lt;p&gt;1.4.0 also removed the CLI's anonymous telemetry entirely. It is deleted, not just switched off, and a socket-level test fails the build if anything like it comes back.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it fits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Order systems:&lt;/strong&gt; check &lt;code&gt;is_continuous_trading&lt;/code&gt; before sending an order, not a clock constant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Schedulers and cron jobs:&lt;/strong&gt; run the end-of-day job after the right close for the segment, and skip holidays without a hand-maintained list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backtests:&lt;/strong&gt; filter bars to real sessions, including the old timings before August 2026.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CI:&lt;/strong&gt; fail a build if a deployment window lands on a trading session.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Get it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install aion-indian-market-calendar
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;User guide: &lt;a href="https://aionanalytics.in/docs/aion-indian-market-calendar-user-guide.txt" rel="noopener noreferrer"&gt;aionanalytics.in/docs/aion-indian-market-calendar-user-guide.txt&lt;/a&gt;. The package is free and open source. If you work on Indian markets more broadly, the rest of what we build, including a free daily NIFTY 50 opening band and an event-to-sector impact API with a free tier, is on &lt;a href="https://aionanalytics.in" rel="noopener noreferrer"&gt;aionanalytics.in&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>fintech</category>
      <category>programming</category>
    </item>
    <item>
      <title>Add a fail-closed edge check before your NIFTY options orders</title>
      <dc:creator>AION Analytics</dc:creator>
      <pubDate>Fri, 13 Nov 2026 13:00:13 +0000</pubDate>
      <link>https://dev.to/aion-analytics-in/add-a-fail-closed-edge-check-before-your-nifty-options-orders-4fk9</link>
      <guid>https://dev.to/aion-analytics-in/add-a-fail-closed-edge-check-before-your-nifty-options-orders-4fk9</guid>
      <description>&lt;p&gt;If you run an automated options strategy on NIFTY, BANK NIFTY or SENSEX, your system probably already knows how to find setups. The question it usually cannot answer is a narrower one: for this contract, right now, is there an edge that survives spread, slippage and costs?&lt;/p&gt;

&lt;p&gt;At &lt;a href="https://aionanalytics.in" rel="noopener noreferrer"&gt;AION Analytics (India)&lt;/a&gt; we built &lt;a href="https://aionanalytics.in/models/edge-engine" rel="noopener noreferrer"&gt;Edge Engine&lt;/a&gt; to answer exactly that question and nothing else. It is a hosted API. You ask about a contract, it tells you whether it is tradable, and your own code decides what to do with that. This post shows how to wire it in as a fail-closed gate in about twenty lines of Python.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is, in one paragraph
&lt;/h2&gt;

&lt;p&gt;Edge Engine assesses every live, unexpired NIFTY, BANK NIFTY and SENSEX contract continuously and returns a small, consistent record for each one: &lt;code&gt;tradable&lt;/code&gt;, a signed &lt;code&gt;edge_score&lt;/code&gt;, a conservative &lt;code&gt;lower_bound&lt;/code&gt;, and &lt;code&gt;as_of&lt;/code&gt;, the time of the exchange tick behind the reading. It does not place orders, never sees your positions or account, and never starts a trade. It can only stop one. The most common answer is "no", and that is the system working.&lt;/p&gt;

&lt;h2&gt;
  
  
  The endpoints
&lt;/h2&gt;

&lt;p&gt;Base URL: &lt;code&gt;https://aionanalytics.in/api/v1/edge&lt;/code&gt;. Your key goes in the &lt;code&gt;X-API-Key&lt;/code&gt; header.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Endpoint&lt;/th&gt;
&lt;th&gt;What it returns&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;GET /underlyings&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Which indices are live and which are coming soon. No key needed.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;GET /snapshot?underlying=nifty&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Readings for every live, unexpired contract of that index. Add &lt;code&gt;&amp;amp;symbol=&lt;/code&gt; for one contract.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;POST /predict&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The same, for clients that prefer JSON: &lt;code&gt;{"underlying": "banknifty", "symbol": null}&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You can try the first one right now without a key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl https://aionanalytics.in/api/v1/edge/underlyings
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What a real response looks like
&lt;/h2&gt;

&lt;p&gt;This is from the NIFTY session on 29 September 2026 at 11:39 IST, shortened to three of the 98 contracts returned:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"edge-engine"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"underlying"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"nifty"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;98&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"tradable_count"&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="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"contracts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"symbol"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"NFONIFTY26SEP22200CE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"instrument"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"CE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"strike"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;22200.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="nl"&gt;"expiry"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-09-29"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"tradable"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="nl"&gt;"edge_score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.3759&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"lower_bound"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;-4.254&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="nl"&gt;"as_of"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-09-29T06:09:20.787000+00:00"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"symbol"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"NFONIFTY26O0622300PE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"instrument"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"PE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"strike"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;22300.0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="nl"&gt;"expiry"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-10-06"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"tradable"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="nl"&gt;"edge_score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;1.1425&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"lower_bound"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;-0.227&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="nl"&gt;"as_of"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-09-29T06:09:18.402000+00:00"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"symbol"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"NFONIFTY26SEPFUT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"instrument"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"FUT"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"strike"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="nl"&gt;"expiry"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-09-29"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"tradable"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="nl"&gt;"edge_score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;3.8682&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"lower_bound"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;-3.012&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="nl"&gt;"as_of"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-09-29T06:09:21.055000+00:00"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"usage"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"daily_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"daily_cap"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;166&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;p&gt;All three contracts have a positive &lt;code&gt;edge_score&lt;/code&gt;, and all three are &lt;code&gt;tradable: false&lt;/code&gt;. That is the interesting part. A positive score with a negative lower bound means the conservative estimate does not clear, so there is nothing to act on. A dashboard that showed you only the score would have shown three green numbers. On that day, no NIFTY contract was tradable at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  The gate, in Python
&lt;/h2&gt;

&lt;p&gt;The pattern we recommend is simple: your strategy proposes a contract, Edge Engine is asked once, and anything other than a clear "yes" means stand aside.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timezone&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timedelta&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="no"&gt;EDGE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"https://aionanalytics.in/api/v1/edge/snapshot"&lt;/span&gt;
&lt;span class="no"&gt;KEY&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"AION_EDGE_KEY"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="no"&gt;MAX_AGE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;timedelta&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;minutes&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# your own freshness tolerance&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;edge_allows&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;symbol&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"nifty"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;bool&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;EDGE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"underlying"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"symbol"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;symbol&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                         &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"X-API-Key"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;KEY&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;RequestException&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;                       &lt;span class="c1"&gt;# unreachable: fail closed&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status_code&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;                       &lt;span class="c1"&gt;# 401, 403, 404, 429: fail closed&lt;/span&gt;
    &lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"contracts"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;                       &lt;span class="c1"&gt;# no fresh reading: fail closed&lt;/span&gt;
    &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;rows&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="n"&gt;as_of&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fromisoformat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"as_of"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;timezone&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;utc&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;as_of&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="no"&gt;MAX_AGE&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;                       &lt;span class="c1"&gt;# older than you accept: fail closed&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kt"&gt;bool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"tradable"&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;p&gt;Then, in your order path:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="nf"&gt;edge_allows&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"NFONIFTY26O0622300PE"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;info&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"edge gate: stand aside"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt;
&lt;span class="nf"&gt;place_order&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# your own risk checks and order logic&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every failure path returns &lt;code&gt;False&lt;/code&gt;. That is deliberate. A network blip, an expired key, a contract that has gone quiet, or a reading older than your tolerance all mean the same thing: you do not have an answer, so you do not trade on one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things worth knowing before you integrate
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Gate on &lt;code&gt;tradable&lt;/code&gt;, not on the score.&lt;/strong&gt; The score is there so you can see why. &lt;code&gt;tradable&lt;/code&gt; is the decision, and it already accounts for the lower bound and for how much history sits behind the reading.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stale readings are never served.&lt;/strong&gt; A contract only appears if its last exchange tick is under 15 minutes old. Outside market hours you get &lt;code&gt;"status": "no_fresh_readings"&lt;/code&gt; and an empty list, not yesterday's numbers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Poll once a minute per index.&lt;/strong&gt; Readings look five minutes ahead and the server refreshes them continuously. Polling faster returns the same answer and uses up your daily cap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Compare scores within one index only.&lt;/strong&gt; SENSEX has a shorter live history than NIFTY, so it says "no edge" more often. That is honest, not broken.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Errors are boring on purpose.&lt;/strong&gt; 401 missing key, 403 key not active or index not on your plan, 404 unknown contract or no fresh reading, 429 daily cap reached. All arrive as &lt;code&gt;{"error": {"code": ..., "message": ...}}&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pricing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Single index:&lt;/strong&gt; ₹10,000 a month, NIFTY, BANK NIFTY or SENSEX, 166 requests a day.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;All indices:&lt;/strong&gt; ₹25,000 a month, all three, 500 requests a day. Opening shortly; write to &lt;a href="mailto:contact@aionanalytics.in"&gt;contact@aionanalytics.in&lt;/a&gt; to reserve.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Commodities:&lt;/strong&gt; gold, silver and crude on MCX are coming soon.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is no free trial. Instead, if it is not useful to you, ask for a full refund within 2 days of your first payment. Two days of live market hours is enough to see whether the gate behaves the way your strategy needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is not
&lt;/h2&gt;

&lt;p&gt;It is not a strategy and not a signal service. It does not tell you what to buy or sell, it will not invent an edge to fill a quiet session, and an edge is a statement about many occurrences, not a promise about your next trade. It is informational only, not investment advice, and AION is not a SEBI-registered Research Analyst or Investment Adviser. We publish what the system does and what it returns. We do not publish how it is built.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get started
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Check what is live: &lt;code&gt;curl https://aionanalytics.in/api/v1/edge/underlyings&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Read the full field reference and error list on the &lt;a href="https://aionanalytics.in/models/edge-engine" rel="noopener noreferrer"&gt;Edge Engine page&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Subscribe from the same page and drop the gate above into your order path.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If anything in the docs is unclear, there is a feedback box at the bottom of the &lt;a href="https://aionanalytics.in/models/edge-engine" rel="noopener noreferrer"&gt;Edge Engine page&lt;/a&gt; that goes straight to the team.&lt;/p&gt;

</description>
      <category>python</category>
      <category>api</category>
      <category>fintech</category>
      <category>algorithms</category>
    </item>
    <item>
      <title>One IMI analysis, two delivery formats: structured JSON or a text report</title>
      <dc:creator>AION Analytics</dc:creator>
      <pubDate>Thu, 12 Nov 2026 12:50:22 +0000</pubDate>
      <link>https://dev.to/aion-analytics-in/one-imi-analysis-two-delivery-formats-structured-json-or-a-text-report-40lm</link>
      <guid>https://dev.to/aion-analytics-in/one-imi-analysis-two-delivery-formats-structured-json-or-a-text-report-40lm</guid>
      <description>&lt;p&gt;An application needs fields it can parse. An analyst may need a report they can read. The current AION Indian Market Intelligence REST contract supports both through one optional request field: &lt;code&gt;output_format&lt;/code&gt;. JSON is the default; &lt;code&gt;"text"&lt;/code&gt; selects a plain-text report. The same analysis and quota apply. &lt;a href="https://aionanalytics.in/models/indian-market-intelligence" rel="noopener noreferrer"&gt;Current API documentation&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The input is an event supplied by the customer
&lt;/h2&gt;

&lt;p&gt;IMI accepts one Indian financial or policy headline and optional article text in &lt;code&gt;body&lt;/code&gt;. It returns modelled sector impact, numeric confidence and stakeholder views. The standalone API does not fetch a continuous news feed. Licensed institutional event ingestion is a separately proposed service. &lt;a href="https://aionanalytics.in/models/indian-market-intelligence" rel="noopener noreferrer"&gt;Product boundaries&lt;/a&gt; / &lt;a href="https://aionanalytics.in/infrastructure" rel="noopener noreferrer"&gt;Institutional scope&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Request a text report
&lt;/h2&gt;

&lt;p&gt;This request template requires your own eligible AION API key. It is not a claim that a particular headline will produce a particular result.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST &lt;span class="s1"&gt;'https://api.aionanalytics.in/v1/analyze'&lt;/span&gt; \
  -H &lt;span class="s1"&gt;'Content-Type: application/json'&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"X-API-Key: $AION_API_KEY"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{
    "headline": "RBI announces a change in the policy repo rate",
    "body": "Optional article context from your permitted source.",
    "output_format": "text"
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A successful text response uses &lt;code&gt;Content-Type: text/plain; charset=utf-8&lt;/code&gt;. Its report includes the submitted headline, numeric confidence, nonzero sector impacts and available stakeholder impacts. It does not invent a resolved event label or add a reasoning receipt. &lt;a href="https://aionanalytics.in/models/indian-market-intelligence" rel="noopener noreferrer"&gt;Text response contract&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choose the format for the consumer
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Requirement&lt;/th&gt;
&lt;th&gt;Format&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Persist a full sector vector in an application&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;"json"&lt;/code&gt;, or omit &lt;code&gt;output_format&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Present a readable executive or analyst report&lt;/td&gt;
&lt;td&gt;&lt;code&gt;"text"&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Inspect sectors with no modelled impact&lt;/td&gt;
&lt;td&gt;JSON; zero-valued sectors are omitted from the text summary&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handle an error&lt;/td&gt;
&lt;td&gt;Parse the JSON error, even when text was requested&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The current JSON contract describes all 32 output sectors, including zero-impact entries. Numeric confidence is part of the analysis, not a probability of profit. A processed response is not proof that the model understood the event correctly. &lt;a href="https://aionanalytics.in/models/indian-market-intelligence" rel="noopener noreferrer"&gt;Coverage and interpretation&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep the error path distinct
&lt;/h2&gt;

&lt;p&gt;Unsupported &lt;code&gt;output_format&lt;/code&gt; values return HTTP 422. Errors remain JSON. A client should inspect both status and content type before choosing a JSON parser or text display, and should preserve authorization and quota failures as failures. Formatting must not turn an unsuccessful request into a neutral-looking market summary. &lt;a href="https://aionanalytics.in/models/indian-market-intelligence" rel="noopener noreferrer"&gt;Published request and error contract&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Access and input retention
&lt;/h2&gt;

&lt;p&gt;New self-service API enrollment is temporarily paused. Existing keys continue under their terms; approved developer integrations use separately confirmed access arrangements. Current prices, quotas and eligibility belong in the &lt;a href="https://aionanalytics.in/apis" rel="noopener noreferrer"&gt;API catalogue&lt;/a&gt;, rather than an indefinitely copied article.&lt;/p&gt;

&lt;p&gt;Under the published policy, unclassified or dynamically fallback-resolved headlines may be retained to improve and train the classifier, linked to the API key by a one-way hash. Other query text is not retained under that policy; billing uses query hashes. Submit only text you are permitted to process. &lt;a href="https://aionanalytics.in/legal/privacy" rel="noopener noreferrer"&gt;Privacy Policy&lt;/a&gt; / &lt;a href="https://aionanalytics.in/models/indian-market-intelligence" rel="noopener noreferrer"&gt;IMI input-retention explanation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;AION Analytics Private Limited (India). &lt;a href="https://github.com/AION-Analytics-India/aion-indian-market-intelligence" rel="noopener noreferrer"&gt;Canonical integration documentation&lt;/a&gt;. Research information, not investment advice, broker execution or a guaranteed classification.&lt;/p&gt;

&lt;p&gt;Choose a useful presentation without changing the meaning of the underlying analysis...&lt;/p&gt;

</description>
      <category>api</category>
      <category>json</category>
      <category>fintech</category>
      <category>webdev</category>
    </item>
    <item>
      <title>AION Intraday Infrastructure: choosing Full Engine or White-Box integration</title>
      <dc:creator>AION Analytics</dc:creator>
      <pubDate>Thu, 12 Nov 2026 12:49:31 +0000</pubDate>
      <link>https://dev.to/aion-analytics-in/aion-intraday-infrastructure-choosing-full-engine-or-white-box-integration-cf8</link>
      <guid>https://dev.to/aion-analytics-in/aion-intraday-infrastructure-choosing-full-engine-or-white-box-integration-cf8</guid>
      <description>&lt;p&gt;A quantitative team can own a strategy and still need the surrounding analytics: options Greeks, indicators, a separate assessment stage and a controlled delivery interface. AION Intraday Infrastructure is our flagship institutional technology project for evaluating those boundaries. Full Engine and White-Box leasing remain proposed contracts, pending legal review and tenant-isolation acceptance. They are not currently orderable services. &lt;a href="https://aionanalytics.in/infrastructure" rel="noopener noreferrer"&gt;Current product scope&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two integration choices
&lt;/h2&gt;

&lt;p&gt;The proposed &lt;strong&gt;Full Engine&lt;/strong&gt; combines Rust computation, five proprietary strategy categories, Edge Heuristics, native Edge ML and approved analytical delivery. The public categories are S1 Intraday Momentum, S2 Mean Reversion, S3 Volatility Breakout, S4 Greeks Scalping and S5 Event-Driven. These names describe capability categories, not disclosed strategy implementations or a verified mapping to private strategy IDs. &lt;a href="https://github.com/AION-Analytics-India/aion-intraday-infrastructure" rel="noopener noreferrer"&gt;Public architecture&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The proposed &lt;strong&gt;White-Box&lt;/strong&gt; arrangement is for a customer that keeps its own strategy. It would provide processed Greeks and indicators, with an optional Edge assessment of agreed candidate metadata. Keeping strategy source private does not mean no information is transmitted: the payload, logging and retention boundaries must be agreed. &lt;a href="https://aionanalytics.in/infrastructure" rel="noopener noreferrer"&gt;White-Box scope&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A conceptual integration comparison, not an executable endpoint example:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Customer need&lt;/th&gt;
&lt;th&gt;Proposed arrangement&lt;/th&gt;
&lt;th&gt;Customer responsibility&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Evaluate the complete analytical workflow&lt;/td&gt;
&lt;td&gt;Full Engine&lt;/td&gt;
&lt;td&gt;Authorized input, agreed output use and downstream decisions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Retain an existing proprietary detector&lt;/td&gt;
&lt;td&gt;White-Box&lt;/td&gt;
&lt;td&gt;Own strategy, source permissions and optional candidate payload&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interpret a supplied financial headline&lt;/td&gt;
&lt;td&gt;Separate standalone IMI API&lt;/td&gt;
&lt;td&gt;Supply permitted event text and hold an eligible API key&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://github.com/AION-Analytics-India/aion-intraday-infrastructure/blob/main/assets/architecture/full-engine-flow.svg" rel="noopener noreferrer"&gt;View the public Full Engine diagram&lt;/a&gt; and &lt;a href="https://github.com/AION-Analytics-India/aion-intraday-infrastructure/blob/main/assets/architecture/white-box-flow.svg" rel="noopener noreferrer"&gt;White-Box diagram&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exact interface names, with their status
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Interface&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;WSS /v1/signals/execute&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Proposed Full Engine analytical delivery; no broker orders&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;WSS /v1/stream/greeks&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Proposed processed Greeks and indicators&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;REST /v1/edge/evaluate&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Proposed candidate assessment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;REST /v1/edge/historical&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Proposed licensed replay&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;POST /v1/analyze&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Separately published standalone IMI API&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Do not construct a public WebSocket hostname from these identifiers. Authentication, schemas, reconnect behavior and delivery guarantees require their own accepted contract. The word execute describes the analytical pipeline, not brokerage execution. &lt;a href="https://github.com/AION-Analytics-India/aion-intraday-infrastructure/blob/main/docs/API_AND_STATUS.md" rel="noopener noreferrer"&gt;Interface documentation&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deployment is part of the test
&lt;/h2&gt;

&lt;p&gt;AION Hosted, BYOC in an approved AWS, Azure or GCP environment, and On-Premise are intended arrangements. None is a blanket claim of certified isolation or performance. An internal gate measurement is not complete WebSocket latency. Proposed service levels require end-to-end qualification and a signed agreement. &lt;a href="https://aionanalytics.in/infrastructure" rel="noopener noreferrer"&gt;Deployment and acceptance&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data rights remain a separate requirement
&lt;/h2&gt;

&lt;p&gt;AION does not sell, sublicense, distribute, redistribute, publish, broadcast or otherwise provide raw exchange ticks, quote streams, order book records, private brokerage feeds or samples. The prohibition includes free demonstrations, trials, evaluation samples and onward redistribution. Customers must hold appropriate source and processing rights; transformation alone does not create redistribution permission. &lt;a href="https://github.com/AION-Analytics-India/aion-intraday-infrastructure/blob/main/docs/DATA_RIGHTS_AND_PRIVACY.md" rel="noopener noreferrer"&gt;Data-rights policy&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Access is evaluated for qualified professional developers, verified SEBI-registered Research Analysts and Investment Advisers, and eligible institutional or brokerage technology teams. This is not a retail signal subscription. Documentation grants no data rights, broker credentials, trading permissions or advisory authorization, and promises no financial return, regulatory approval or contractual SLA. &lt;a href="https://aionanalytics.in/infrastructure" rel="noopener noreferrer"&gt;Qualification boundaries&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;AION Analytics Private Limited (India). &lt;a href="https://aionanalytics.in/contact" rel="noopener noreferrer"&gt;Discuss an evaluation&lt;/a&gt; / &lt;a href="https://github.com/AION-Analytics-India/aion-intraday-infrastructure" rel="noopener noreferrer"&gt;Canonical GitHub documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Start with the input rights, required outputs and acceptance workload...&lt;/p&gt;

</description>
      <category>rust</category>
      <category>api</category>
      <category>architecture</category>
      <category>fintech</category>
    </item>
  </channel>
</rss>
