Dear All,
We are brainstorming use cases for LLMs for P123. I created a 2 GPTs to be an expert in writing and explaining P123 formulas. You can access them here
For an example prompt below, V1.0 gave a very coherent and correct answer with great alternatives (see below). But, for a different prompt, it proposed using a function, InIndex("SP500"), that does not exist. So it still needs additional guidance. Or more guardrails.
I'm just learning how to create specialized LLMs. I have no idea how much more effort it will take to generate a true P123 language expert. It probably needs a lot more examples, and feedback when it's wrong, although the process seems slow.
I'm also starting to feel like the key to creating super smart P123 GPTs is you, the P123 community. Our product would not have evolved nearly as much without your great forum contributions and questions.
Here are some ideas
- Create different domain expert GPTs
- Personal AI agents that manage your account using a strategy
- Community curated GPTs (labeling, examples, etc) to make them smarter for benefit of all.
- Designer GPTs: created by you, hosted on p123, that leveraging our infrastructure.
- And, why not, P123 crypto token for rewarding contributors.
Looking forward to your feedback.
Cheers
PS. you can find all the files, data and instructions that I used to create the GPT in this google drive folder. I even used a decades old document written by the legendary Marc Gerstein.
Prompt Example
You said:
find stocks that are in the top decile by market cap
ChatGPT said:
To find stocks that are in the top decile (top 10%) by market capitalization, you can use the FRank
function in Portfolio123, which ranks stocks based on a specified factor.
P123 Formula:
FRank("MktCap", #All, #DESC) >= 90
Explanation:
FRank("MktCap", #All, #DESC)
- This function ranks all stocks in the database based on their market capitalization (
MktCap
). #All
specifies that the ranking should be applied to the entire stock universe.#DESC
ensures that higher market cap values get higher ranks (i.e., the largest stocks receive the highest ranks).
>= 90
- Since the
FRank
function assigns values from 0 to 100, filtering for stocks with a rank of 90 or higher ensures that we only select those in the top decile (top 10%).
Alternative:
If you want to compare market cap within a specific sector or industry rather than across all stocks, you can modify the formula:
- Top 10% within Sector:
FRank("MktCap", #Sector, #DESC) >= 90
- Top 10% within Industry:
FRank("MktCap", #Industry, #DESC) >= 90
Would you like any refinements, such as filtering for specific sectors or countries?