One commercial license for codegen and HPO
PineForge codegen and PineForge HPO (pineforge-hpo) are free for personal trading and for noncommercial purposes, including use by schools, universities, public research organizations, charities and government institutions for their teaching, research and other operations. Investment management is not free for anyone except as personal trading: managing, advising on or trading investment capital, an endowment, a pension or public fund or a foundation's treasury included, is Commercial Use. So is use for a company or fund, inside or bundled with a product or service you offer, or in a hosted service. Commercial Use needs a commercial license.
What the commercial license covers
The LICENSE defines Commercial Use as any use that is not one of its permitted purposes, and makes investment management Commercial Use for every individual and organization except as personal trading. It names four uses as examples. A commercial license permits them for the scope you buy:
- Use (1)Managing, advising on, or trading capital that belongs to any other person or entity, whether or not for a fee.
- Use (2)Use by, for, or on behalf of a company, fund, partnership, or other organization, including an individual's work for one.
- Use (3)Embedding the software or its Output, changed or not, into a product or service made available to others, or distributing either bundled with such a product or service, including using the software to generate Output for one.
- Use (4)Operating a hosted, software-as-a-service, or otherwise public-facing service through which others can run the software or receive its Output.
Four plans map onto those uses: Solo covers use (2) for one person and a company they wholly own, and use (1) for up to $1M of others' capital, such as funded-trader accounts; Team covers use (2) for one organization; Fund adds use (1), others' capital and institutional funds such as endowments, pension and public funds, priced by assets under management; OEM / Embedded covers uses (3) and (4), products and hosted services. Solo above its own-capital cap alone takes the Team band; with any others' capital it takes Fund for both together. Team above its top band takes Fund. OEM above its included own-capital cap needs an additional Team or Fund Order, purchased through its own ordinary checkout. The OEM Order retains its internal-use cap; each Order has separate assent, payment and screening. Scope beyond the listed options requires an eligible quoted offer.
Do I need one?
Answer a few questions about how you use PineForge codegen and PineForge HPO (pineforge-hpo). The guide follows the LICENSE and shows the text each result rests on.
Not legal advice; the LICENSE is the controlling text; ask [email protected] if unsure.
How the guide decides
First identify the intended Licensee. An organization cannot take Solo or Personal Trading. A natural person may take Solo for a qualifying Personal Vehicle. For employer work, name the employer as Licensee. Count only that Licensee's beneficially owned capital; qualifying personal accounts are not company capital. Shareholder/member/partner ownership alone does not make the Licensee's capital external, unless it is a fund or pooled investment vehicle.
- First identify the intended Licensee, then answer uses 2, 4, 8 and 9. For a natural-person Licensee with use 2, question 3 asks about funded-trader accounts or relatives outside the household, friends or first clients, up to $1M in total and traded alone; an organization cannot be Solo. Investment Management needs a commercial license except qualifying Personal Trading.
- For an organization, question 5 asks whether it is a listed noncommercial organization, and 6 whether it uses the software for Investment Management. Non-investment use stays free. For a natural person describing use 4 through an organization, question 7 checks the qualifying Personal Vehicle; otherwise choose that organization as Licensee.
- If no answer so far needs a commercial license whatever else you answer, a yes to any of the four uses leads to question 14: is all of that use for a noncommercial purpose? Yes: no commercial license is needed. Otherwise you need one. Solo covers use (2) for such a company of your own, and use (1) for one person after a yes to question 3; Team covers use (2) for one organization; Fund adds others' capital (1) and other Investment Management, such as an endowment or a pension fund; OEM / Embedded covers products (3) and hosted services (4). Separate uses need an Order for each applicable Tier; contact licensing for combined ordering or tailored Product scope. No combined checkout route is implemented.
- If all four uses are no, questions 11 to 13 test Personal Trading: an individual trading for their own account (including household, joint and retirement accounts) with their own capital (including household capital and margin). Three yes answers: no commercial license is needed. Otherwise question 14 decides: a noncommercial purpose needs no commercial license; any other use needs one, by quote.
The questions
- 1.Is the intended Licensee an organization rather than you as a natural person?Choose the person or organization that will hold each Order. An employer's own capital stays its own when an employee answers. Solo can name only a natural person, including their qualifying Personal Vehicles; a company cannot be the Solo Licensee.
- 2.For the intended licensee, will you manage, advise on, or trade capital belonging to another person or entity (outside the household for a natural-person licensee), whether or not for a fee?LICENSE use (1). It is also Investment Management, which needs a commercial license whatever its purpose. Your household is you, your spouse or domestic partner, and your dependants. Capital that an employer, a prop-trading firm or a funded-trader program gives you to trade, and still owns or bears the losses of, is not your own capital. An account that such a firm or program gives you, a challenge, evaluation or simulated account included, is not your own account or capital. Its capital is investment capital whether real or simulated. The capital of a fund, pooled vehicle, managed account or other entity with an outside investor, client or beneficiary is not your own capital, even if you control that entity. After a yes, the next question asks about funded-trader accounts. Answer for the intended licensee. If it is your employer, that company's Own Capital is its own, not others' capital merely because you are its employee; your personal funded-trader account is a separate use. A Solo licensee must be a natural person.
- 3.Is the capital that is not yours only funded-trader or challenge accounts, or the money of relatives outside the household, friends or first clients, up to $1M in total, traded by you alone as one person?Count each funded-trader account at its nominal size, whether it is a challenge, evaluation, simulated or funded account and whether the capital in it is real or simulated, and add any money of relatives outside the household, friends or first clients held in their own accounts: up to $1M in total, Solo covers it. Above $1M, pooled in a fund, or for a firm rather than one person, it is Fund. Either way it is Investment Management, which needs a commercial license.
- 4.Will you use it by, for, or on behalf of a company, fund, partnership, or other organization, including your own company or your work for one?LICENSE use (2). The account of a company you wholly own is not your own account, so trading through one counts.
- 5.Is the organization a charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution?The noncommercial organizations the LICENSE lists among its permitted purposes, whatever their source of funding. Their teaching, research and other operations are free; Investment Management is not.
- 6.Will the organization use the software for Investment Management: to manage, advise on or trade investment capital, such as an endowment, a pension or retirement fund, a sovereign or other public fund, or its treasury or reserves; to research, develop or backtest strategies for such capital; or to run the software for others who do?Investment Management is never a permitted purpose, except as Personal Trading: it needs a commercial license for every organization, noncommercial ones included, whoever the capital belongs to and whether or not for a fee. The organization's teaching, research and other operations stay free.
- 7.Is the organization one you wholly own, alone or with your household, holding only your household's capital, where no one but you uses the software and no one outside your household works on its trading or research?For example, a company you trade your own savings through. Your household is you, your spouse or domestic partner, and your dependants. Trading through such a company is Investment Management, not Personal Trading, so it needs a commercial license even for a noncommercial purpose.
- 8.Will you embed the software or its Output into a product or service made available to others, distribute either bundled with such a product or service, or use the software to generate Output for one?LICENSE use (3), changed or not: embedding counts, and so does shipping a copy of the software or its Output bundled with a product or service. Output is code the software generates, such as the C++ it generates from PineScript, and any program or library built from that code. Backtest results, charts, reports and trade signals are not Output.
- 9.Will you operate a hosted, software-as-a-service, or otherwise public-facing service through which others can run the software or receive its Output?LICENSE use (4). Output is the code the software generates, not backtest results, charts, reports or trade signals.
- 10.Does the Product itself manage, advise on or trade other persons' capital?Yes needs tailored scope. No means the investment business and the Product are distinct uses and require separate Orders, with separate scope and payment.
- 11.Are you an individual (a natural person) using it to research, develop or backtest trading strategies, or to execute trades in financial instruments?The Personal Trading permission covers natural persons only. Trading in your own name counts even when it is your business or livelihood, and so does publishing or teaching about your own trading, even for pay, as long as you give no Output to others.
- 12.Are the trades placed, or will they be, for your own account?Personal Trading, condition (a). Your own account includes an account you hold alone or jointly with your household, a household member's account, and a retirement, pension, education-savings or other tax-advantaged account, or a revocable trust's account, for your household. The account of a company, partnership, fund, other trust or other organization is not, even if you wholly own it. Neither is an account that a prop-trading firm or a funded-trader program gives you to trade, a challenge, evaluation or simulated account included.
- 13.Are the trades funded, or will they be, solely by your own capital?Personal Trading, condition (b). Your own capital includes your household's capital, money you received outright such as pay, a gift or an inheritance, and ordinary borrowing such as margin that you or your household are liable for. Capital that an employer, a prop-trading firm or a funded-trader program gives you to trade, and still owns or bears the losses of, is not, even if you share in the profits. Trades in an account that such a firm or program gives you, a challenge, evaluation or simulated account included, are not funded by your own capital either, whether the capital in it is real or simulated.
- 14.Is all of your use of the software for a noncommercial purpose, without any anticipated commercial application, such as a free hobby project, teaching, or research for the benefit of public knowledge?The LICENSE makes any noncommercial purpose a permitted purpose, but never Investment Management: managing, advising on or trading investment capital, or researching strategies for it, other than as Personal Trading. If any part of the use has an anticipated commercial application or is Investment Management, answer no.
The possible results
Each result gives the reason for one example of answers that lead to it.
You need a commercial license: Solo
You use it for a company you wholly own that holds only your household's capital: Solo covers that.
Your band and price: see the Solo bands.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
An account of a company, partnership, fund, trust or other organization, other than an account described under own account above, is not the person's own account, even if the person wholly owns or controls it.Investment Management is Commercial Use for every individual and every organization, including the noncommercial organizations listed under Permitted Purposes, whatever its purpose, unless it is Personal Trading.Commercial Use requires a separate commercial license from the licensor.You need a commercial license: Team
You use it inside your company or organization: Team covers that.
Your band and price: see the Team bands.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Unless it is a permitted purpose, each of the following is also Commercial Use:(2) use by, for, or on behalf of any company, fund, partnership, or other organization, including use by an individual in the course of work for such an organization;Commercial Use requires a separate commercial license from the licensor.You need a commercial license: Fund
You manage other people's capital and use the software for your organization: Fund covers both.
Your band and price: see the Fund bands.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Investment Management means using the software to manage, advise on, or trade investment capital; to research, develop or backtest strategies for investment capital that you, or anyone you do the work for, manage, advise on or trade; or to operate the software for others who do any of these things; in each case whoever the capital belongs to and whether or not for a fee.Investment Management is Commercial Use for every individual and every organization, including the noncommercial organizations listed under Permitted Purposes, whatever its purpose, unless it is Personal Trading.Commercial Use requires a separate commercial license from the licensor.You need a commercial license: OEM / Embedded
You offer it, or the code it generates, in a product for others: OEM / Embedded covers that.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Unless it is a permitted purpose, each of the following is also Commercial Use:(3) embedding the software or its Output, changed or not, into any product or service made available to others, or distributing either bundled with such a product or service, including using the software to generate Output for such a product or service; andCommercial Use requires a separate commercial license from the licensor.You need a commercial license that no single plan covers
Managing other people's capital needs Fund; offering the software in a product for others needs OEM / Embedded; separate uses need one Order per Tier, while a Product that itself manages others' capital needs tailored scope; contact licensing to arrange an eligible offer.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Investment Management is Commercial Use for every individual and every organization, including the noncommercial organizations listed under Permitted Purposes, whatever its purpose, unless it is Personal Trading.Unless it is a permitted purpose, each of the following is also Commercial Use:(3) embedding the software or its Output, changed or not, into any product or service made available to others, or distributing either bundled with such a product or service, including using the software to generate Output for such a product or service; andNo commercial license needed: a noncommercial organization
Your organization is a noncommercial one the LICENSE lists and does not use the software for Investment Management, so its use is free.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Noncommercial organizations. Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution for its teaching, research and other operations, regardless of the source of funding or obligations resulting from the funding.Investment Management, defined in the Commercial Use section, is never a permitted purpose, except as Personal Trading. That is so even when it is done by a noncommercial organization or for a noncommercial purpose.No commercial license needed: Personal Trading
You trade as an individual, for your own account and with your own capital: that is Personal Trading, which is free.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Personal Trading means use of the software by a natural person to do any of the following, solely for trades that meet conditions (a) and (b) below: research, develop or backtest trading strategies, or execute trades in securities, derivatives, currencies, crypto-assets, commodities or other financial instruments.(a) The trades are, or will be, placed for that person's own account.(b) The trades are, or will be, funded solely by that person's own capital.No commercial license needed: a permitted purpose
All of your use is for a noncommercial purpose, which the LICENSE permits free of charge.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Noncommercial purposes. Any noncommercial purpose.Personal uses. Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application.Investment Management, defined in the Commercial Use section, is never a permitted purpose, except as Personal Trading. That is so even when it is done by a noncommercial organization or for a noncommercial purpose.Your use needs a commercial license
Trades that are not for your own account are not Personal Trading, and not all of your use is noncommercial, so no free permission covers it.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Commercial Use means any use of the software that is not a permitted purpose, other than distributing copies under the Distribution License section.Commercial Use requires a separate commercial license from the licensor.Separate investment and Product Orders
The investment business and the Product are distinct uses; choose each Order separately because one purchase does not cover both.
See the separate Order options
These are independent Orders: each requires its own correct declarations, agreement assent, payment and screening. Buying one does not license the other use. Fund + OEM / Embedded
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Investment Management is Commercial Use for every individual and every organization, including the noncommercial organizations listed under Permitted Purposes, whatever its purpose, unless it is Personal Trading.Unless it is a permitted purpose, each of the following is also Commercial Use:(3) embedding the software or its Output, changed or not, into any product or service made available to others, or distributing either bundled with such a product or service, including using the software to generate Output for such a product or service; andChoose the organization as Licensee
You described work for an organization that is not your qualifying Personal Vehicle; start again with that organization as the intended Licensee, whose capital and use determine its plan.
Why? See the license text
From the LICENSE: PineForge Source License 1.2
Unless it is a permitted purpose, each of the following is also Commercial Use:(2) use by, for, or on behalf of any company, fund, partnership, or other organization, including use by an individual in the course of work for such an organization;Commercial Use requires a separate commercial license from the licensor.What it does not change
Personal trading with your own capital, for your own account, stays free under the LICENSE, including household, joint and retirement accounts and ordinary margin. Noncommercial purposes stay free, and so do the teaching, research and other non-investment operations of the noncommercial organizations the LICENSE names. A commercial license adds no right to sell or host the transpiler as a standalone product.
The same commercial license covers PineForge codegen and PineForge HPO (pineforge-hpo). PineForge HPO is licensed under PineForge Source License 1.2. One purchase covers both, with the same plans and prices.
PineForge HPO and the codegen transpiler are also distributed together, version-matched, in pineforge-release: https://github.com/pineforge-4pass/pineforge-release/releases/tag/v1.6.0