Pages

Pine parity

PyneCore reproduces the Pine Script reference output with 99.999%+ numeric match. This is not aspirational — it is the explicit acceptance criterion built into the test suite. Every Pine function is verified against TradingView reference values, with floating-point comparison under strict numerical tolerance.

The test infrastructure is unusual: tests are themselves Pyne scripts. Each test file is both a runnable Pyne program and a pytest case, executed by the same runtime that ships to users. This catches behavioral drift that traditional unit tests miss — if a test passes, the production runtime passes too.

CSV reference data for indicators and strategies is exported directly from TradingView and committed to the repository. New Pine features are tested against actual reference output, not against a separate specification.

Architecture

PyneCore is a from-scratch Python runtime, not a wrapper or interpreter. Pine-like semantics — Persistent variables, Series, function isolation, NA handling — are produced by AST transformations that rewrite Python code at import time. The output is regular Python that runs on any standard interpreter.

The runtime has zero external dependencies. The full PyneCore package depends only on the Python standard library. This is a deliberate constraint, not a coincidence: zero dependencies makes the runtime portable to constrained environments — most importantly, the browser via WebAssembly.

The architecture splits into two parts. PyneCore — the open-source runtime — executes Pyne scripts. PyneComp — the closed-source compiler — translates Pine Script source into Pyne. The split is intentional. See the open source vs commercial section below.

Integration model

Three integration patterns, in order of increasing depth.

API today. REST API at api.pynesys.io with pre-paid credit packages from $500. Submit Pine Script source, receive Pyne output. Suitable for indie projects, prototypes, and back-office automation.

Browser execution (Q4 2026). Full PyneCore loaded into the browser via Pyodide WebAssembly. Strategies execute on the user’s machine with no server-side compute. Suitable for embedded backtesting and live execution within partner platforms.

Embeddable SDK (Q1 2027). Drop-in JavaScript SDK that bundles the WASM runtime, charting, and execution UI. White-label by configuration. Designed for brokers, exchanges, and fintech apps that want Pine-compatible execution branded as their own feature.

All three patterns share the same runtime. The only difference is deployment.

Compatibility

Pine Script v5 is the supported version. Indicator coverage is substantial — ta.*, math.*, str.*, array.*, line.*, label.*, plot, hline, fill, table, and the full set of plotting and drawing primitives.

Strategy support includes the harder cases: bar magnifier for intra-bar precision, varip semantics, calc_after_order_fill, and multi-timeframe access via request.security. The strategy execution model mirrors TradingView’s, including order fill timing and equity calculation.

Areas under active expansion: less common Pine functions, edge cases in commission and slippage models, and additional drawing primitives. The full compatibility matrix lives in the pynecore.org documentation and is updated with each release.

Performance

CPython execution closely matches Pine Script performance for typical scripts. The runtime is implemented in pure Python without C extensions, which simplifies portability without sacrificing speed.

PyPy is validated and yields a 5x speedup with zero code changes — a direct consequence of the zero-dependency architecture. There is nothing for PyPy to fall back from.

WebAssembly execution via Pyodide runs at approximately one-third of CPython speed. For live trading at one bar per minute, this is more than sufficient. For limited-bar backtests in the browser, the latency is imperceptible.

Heavy backtests on long histories should run server-side or under PyPy on the user’s machine. The choice is per-use-case, not per-runtime.

Open source vs commercial

PyneCore is licensed under Apache 2.0. The full source, test suite, and documentation are public on GitHub. Community contributions are welcomed via standard pull request flow. Commercial use is permitted under standard Apache 2.0 terms, including embedding in proprietary products, with attribution per the project’s NOTICE file.

PyneComp — the Pine Script to Pyne compiler — is closed source and offered as a SaaS service. This split is deliberate. The runtime is the foundation; making it open ensures portability, transparency, and ecosystem trust. The compiler is the engineering investment that translates a closed scripting language into the open runtime, and keeping it commercial is what funds the work.

The result is an ecosystem where the integration surface — PyneCore — is permanently free to use, and the value-added service — PyneComp — sustains the project. Partners integrating PyneCore are not building into a vendor trap.

Introduction

This Privacy Policy describes how PyNE Systems (“we,” “our,” or “us”) collects, uses, and discloses your personal information when you visit our website, www.pynesys.com (“Website”), use our services, or otherwise interact with us.

We respect your privacy and are committed to protecting your personal information. This Privacy Policy explains what information we collect, how we use it, and the choices you have regarding your information.

Information We Collect

Information You Provide to Us

We collect information that you voluntarily provide to us, including:

  • Contact Information: When you fill out contact forms, subscribe to newsletters, or register for services, we may collect your name, email address, phone number, and company information.
  • Correspondence Information: If you contact us directly via email, phone, or through our contact form, we collect the information you provide, including the contents of your message.
  • Account Information: If you create an account with us, we collect registration information, such as your name, email address, and password.

Information We Collect Automatically

When you visit our Website, we automatically collect certain information about your device and your interaction with our Website:

  • Device Information: We collect information about your device, including your IP address, browser type, operating system, and device identifiers.
  • Usage Information: We collect information about your interaction with our Website, such as the pages you visit, the time and date of your visits, and your browsing actions.
  • Cookies and Tracking Technologies: We use cookies and similar tracking technologies to collect information about your browsing activities. Please see our “Cookies and Tracking Technologies” section below for more information.

How We Use Your Information

We use the information we collect for various purposes, including:

  • To provide, maintain, and improve our Website and services
  • To respond to your inquiries and fulfill your requests
  • To send administrative information, such as updates, security alerts, and support messages
  • To personalize your experience on our Website
  • To send marketing communications, if you have opted in to receive them
  • To analyze usage patterns and improve functionality
  • To protect against, identify, and prevent fraud and other illegal activities
  • To comply with legal obligations

Sharing Your Information

We may share your personal information with the following categories of third parties:

  • Service Providers: We share information with third-party service providers who perform services on our behalf, such as website hosting, data analysis, payment processing, and customer service.
  • Business Partners: We may share information with our business partners to offer certain products, services, or promotions.
  • Legal Requirements: We may disclose information if required to do so by law or in response to valid requests by public authorities.
  • Business Transfers: If we are involved in a merger, acquisition, or sale of all or a portion of our assets, your information may be transferred as part of that transaction.

We do not sell your personal information to third parties.

Google reCAPTCHA

Our website uses Google reCAPTCHA to protect our forms from spam and abuse. When you use forms on our website that are protected by reCAPTCHA, Google collects certain information about you and your device to determine whether you are a human or an automated bot.

The information collected by reCAPTCHA may include:

  • Your IP address
  • Browser information and settings
  • Mouse movements and clicks
  • Time spent on our website
  • Cookies
  • Information about your device

This information is collected and used according to Google’s Privacy Policy. By using our website and our forms, you acknowledge and agree to Google’s data collection as part of the reCAPTCHA service.

For more information about Google reCAPTCHA, please visit: https://www.google.com/recaptcha/about/

Cookies and Tracking Technologies

We use cookies and similar tracking technologies to collect information about your browsing activities. Cookies are small text files that are stored on your device when you visit our Website.

We use the following types of cookies:

  • Essential Cookies: These cookies are necessary for the Website to function properly and cannot be switched off.
  • Analytical/Performance Cookies: These cookies allow us to recognize and count the number of visitors and see how visitors move around our Website.
  • Functionality Cookies: These cookies enable the Website to provide enhanced functionality and personalization.
  • Targeting Cookies: These cookies record your visit to our Website, the pages you have visited, and the links you have followed.

You can control cookies through your browser settings. However, if you block certain cookies, you may not be able to use all the features of our Website.

Data Retention

We retain your personal information for as long as necessary to fulfill the purposes outlined in this Privacy Policy, unless a longer retention period is required or permitted by law.

Security of Your Information

We implement appropriate technical and organizational measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction. However, no method of transmission over the Internet or method of electronic storage is 100% secure, and we cannot guarantee absolute security.

Your Rights and Choices

Depending on your location, you may have certain rights regarding your personal information, which may include:

  • Access: You have the right to request access to the personal information we hold about you.
  • Correction: You have the right to request that we correct inaccurate or incomplete information.
  • Deletion: You have the right to request that we delete your personal information under certain circumstances.
  • Restriction: You have the right to request that we restrict the processing of your personal information.
  • Data Portability: You have the right to receive your personal information in a structured, commonly used, and machine-readable format.
  • Objection: You have the right to object to the processing of your personal information.

To exercise any of these rights, please contact us using the contact information provided at the end of this Privacy Policy.

International Data Transfers

Your personal information may be transferred to, and processed in, countries other than the country in which you reside. These countries may have data protection laws that are different from the laws of your country.

Changes to This Privacy Policy

We may update this Privacy Policy from time to time to reflect changes in our practices or for other operational, legal, or regulatory reasons. We will notify you of any material changes by posting the updated Privacy Policy on our Website or by other appropriate means.

Contact Us

If you have any questions or concerns about this Privacy Policy, please contact us at:

PyNE Systems Email: [email protected]

By using our Website, you acknowledge that you have read and understood this Privacy Policy.

Introduction

These Terms of Use (“Terms”) govern your access to and use of www.pynesys.com (“Website”), operated by PyNE Systems (“we,” “our,” or “us”). By accessing or using our Website, you agree to be bound by these Terms. If you do not agree to these Terms, please do not use the Website.

Access to the Website

User Eligibility

You must be at least 18 years old to use this Website. By using this Website, you represent and warrant that you are at least 18 years old and have the legal capacity to enter into these Terms.

Account Security

If you create an account on our Website, you are responsible for maintaining the confidentiality of your account credentials and for all activities that occur under your account. You agree to notify us immediately of any unauthorized use of your account.

User Conduct

When using our Website, you agree not to:

  • Violate any applicable laws or regulations
  • Infringe upon the rights of others
  • Use the Website for any illegal or unauthorized purpose
  • Upload or transmit viruses, malware, or other harmful code
  • Interfere with or disrupt the Website or servers
  • Attempt to gain unauthorized access to any portion of the Website
  • Collect or store personal data about other users without their consent
  • Impersonate any person or entity
  • Engage in any activity that could harm our reputation or goodwill

Intellectual Property Rights

Our Intellectual Property

The Website and all its content, features, and functionality, including but not limited to text, graphics, logos, images, software, and audio/video materials, are owned by PyNE Systems or its licensors and are protected by copyright, trademark, and other intellectual property laws.

Limited License

Subject to these Terms, we grant you a limited, non-exclusive, non-transferable license to access and use the Website for your personal, non-commercial purposes. This license does not include the right to:

  • Modify, reproduce, or distribute any content from the Website
  • Use any data mining, robots, or similar data gathering methods
  • Use the Website or its content for any commercial purpose
  • Remove any copyright, trademark, or other proprietary notices

User Contributions

Content Submission

If you submit, post, or share any content on our Website, you grant us a non-exclusive, royalty-free, perpetual, irrevocable, and fully sublicensable right to use, reproduce, modify, adapt, publish, translate, create derivative works from, distribute, and display such content throughout the world in any media.

Representation and Warranty

You represent and warrant that you own or have the necessary rights to submit any content you post on the Website, and that such content does not violate the rights of any third party or any applicable laws.

Content Monitoring

We have the right, but not the obligation, to monitor, edit, or remove any content submitted to the Website. We may remove any content that we determine, in our sole discretion, violates these Terms or is otherwise objectionable.

Our Website may contain links to third-party websites, services, or content that are not owned or controlled by us. We do not endorse or assume any responsibility for any third-party websites, services, or content. You access third-party websites at your own risk.

Disclaimers

“As Is” Basis

The Website is provided on an “as is” and “as available” basis, without any warranties of any kind, either express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.

No Warranty

We do not warrant that the Website will be uninterrupted, secure, or error-free, that defects will be corrected, or that the Website or the servers that make it available are free of viruses or other harmful components.

Limitation of Liability

To the fullest extent permitted by applicable law, in no event shall PyNE Systems, its officers, directors, employees, agents, or affiliates be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to loss of profits, data, use, goodwill, or other intangible losses, resulting from:

  • Your access to or use of, or inability to access or use, the Website
  • Any conduct or content of any third party on the Website
  • Any content obtained from the Website
  • Unauthorized access, use, or alteration of your transmissions or content

The total liability of PyNE Systems for any claim arising out of or relating to these Terms or the Website shall not exceed one hundred dollars ($100).

Indemnification

You agree to defend, indemnify, and hold harmless PyNE Systems, its officers, directors, employees, agents, and affiliates from and against any and all claims, damages, obligations, losses, liabilities, costs, or debt, and expenses (including but not limited to attorney’s fees) arising from:

  • Your use of and access to the Website
  • Your violation of any term of these Terms
  • Your violation of any third-party right, including without limitation any copyright, property, or privacy right
  • Any claim that your content caused damage to a third party

Google reCAPTCHA

Our Website uses Google reCAPTCHA on certain forms to protect against spam and automated abuse. By using these forms, you acknowledge and agree that you are subject to Google’s Privacy Policy and Terms of Service, and that your use of Google reCAPTCHA is subject to those terms.

Changes to the Terms

We reserve the right to modify or replace these Terms at any time. We will provide notice of any material changes by posting the updated Terms on the Website. Your continued use of the Website after any such changes constitutes your acceptance of the new Terms.

Governing Law and Jurisdiction

These Terms shall be governed by and construed in accordance with the laws of the state/country where PyNE Systems is established, without regard to its conflict of law provisions. You agree to submit to the personal and exclusive jurisdiction of the courts located within this jurisdiction.

Termination

We may terminate or suspend your access to the Website immediately, without prior notice or liability, for any reason, including without limitation if you breach these Terms. Upon termination, your right to use the Website will immediately cease.

General Provisions

Entire Agreement

These Terms constitute the entire agreement between you and PyNE Systems regarding your use of the Website and supersede any prior agreements.

Waiver

The failure of PyNE Systems to enforce any right or provision of these Terms shall not be deemed a waiver of such right or provision.

Severability

If any provision of these Terms is held to be invalid or unenforceable, such provision shall be struck and the remaining provisions shall be enforced.

Contact Information

If you have any questions about these Terms, please contact us at: https://pynesys.com/contact

By using our Website, you acknowledge that you have read and understood these Terms.