NexusFi: Find Your Edge


Home Menu

 





OpenAI's Deep Research - finance/trading related prompts


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one suko with 4 posts (5 thanks)
    2. looks_two Fi with 4 posts (5 thanks)
    3. looks_3 shortski with 3 posts (3 thanks)
    4. looks_4 Tripken with 3 posts (1 thanks)
      Best Posters
    1. looks_one trendisyourfriend with 8 thanks per post
    2. looks_two SMCJB with 3 thanks per post
    3. looks_3 Big Mike with 2.5 thanks per post
    4. looks_4 Morbec with 2.3 thanks per post
    1. trending_up 16,605 views
    2. thumb_up 80 thanks given
    3. group 369 followers
    1. forum 38 posts
    2. attach_file 1 attachments




 
Search this Thread
  #21 (permalink)
 
suko's Avatar
 suko 
Ogoto Onsen, Japan
Legendary Market Wizard
 
Experience: Intermediate
Platform: TOS via OA
Broker: TOS
Trading: SPX, XSP options
Frequency: Daily
Duration: Hours
Posts: 1,505 since Oct 2013
Thanks Given: 850
Thanks Received: 1,502

Here is the prompt snippet to switch modes in Grok3:

-----

Add MODE TOGGLE: Verbose (VBS) and Laconic (LAC) | [Toggle response mode; VBS for 350–500 words with context, LAC for 50–100 words, brief, no context
- VBS: “VBS ON” in prompt; full exposition, Markdown structure.
- LAC: “LAC ON” in prompt; concise, butler-style, minimal Markdown.
- Default: VBS; auto-revert next prompt unless re-specified.
- Log mode switches in JRN



"Persistence is very important. You should not give up unless you are forced to give up." -- Elon Musk
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #22 (permalink)
 Eubie 
Prague, Czech republic
 
Experience: Beginner
Platform: NinjaTrader/ZF
Trading: ES, TF
Posts: 169 since Jul 2010
Thanks Given: 393
Thanks Received: 134


suko View Post

In the case of Grok3 it's not a million tokens but in reality more like 128K tokens and that works out, for me, to 50000 words with 25 images per chat.

The images you share with Grok are charts? Reason Im asking is I tried this with GPT and felt that sometimes image comprehension is not perfect, after discussing with it, "we" settled it would be best to exchange trading related data in some sort of csv export. I coded it, but haven't used it yet, but can share experience in the future.


Reply With Quote
  #23 (permalink)
 
suko's Avatar
 suko 
Ogoto Onsen, Japan
Legendary Market Wizard
 
Experience: Intermediate
Platform: TOS via OA
Broker: TOS
Trading: SPX, XSP options
Frequency: Daily
Duration: Hours
Posts: 1,505 since Oct 2013
Thanks Given: 850
Thanks Received: 1,502

I am not using it for technical analysis but rather analytical results my platform spews out in image format that I have no CSV access to. Don't need CSV now, can just screenshot the table of numbers and let the AI sort it out and then analyze.

Grok itself says GPT4 has an advantage in that area as Grok cannot analyze images directly, but even this is wrong because it's famous for its medical image diagnostic use such as MRIs, and I have been using it for identification in the garden.



"Persistence is very important. You should not give up unless you are forced to give up." -- Elon Musk
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #24 (permalink)
 
rahulgopi's Avatar
 rahulgopi 
milpitas, ca, usa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Tradestation
Broker: Tradestation, Ameritrade
Trading: ES, Gold, 10 Yr
Posts: 1,725 since Feb 2014
Thanks Given: 1,389
Thanks Received: 4,210

I was hoping to experiment LLM for analysis / prediction (recommendation rather ). After spending around $25 on tokens with opeai using gpt-4 analyzing stocks from SP500, Nasdaq 100 and Dow, results look ok. I am using Technical, Fundamental and market sentiment to predict. I will host it on AWS and provide a link to check the results. Here is the prompt I am using if any one is curious.

# Construct prompt with all available data
prompt = f"""Analyze the following stock data for {symbol} and provide a comprehensive price prediction:

Current Market Data:
- Last Price: ${current_price:.2f}
- Bid: ${market_data.get('bid', 'N/A')}
- Ask: ${market_data.get('ask', 'N/A')}
- VWAP: ${daily_stats.get('vwap', 'N/A')}
- Daily Range: ${daily_stats.get('low', 'N/A')} - ${daily_stats.get('high', 'N/A')}
- Price Change: {price_change:.2f}%

Key Metrics:
- Market Cap: {market_cap}
- EPS: {eps}
- Dividend Yield: {dividend_yield}%
- P/E Ratio: {pe_ratio}
- P/B Ratio: {pb_ratio}
- Debt to Equity: {debt_to_equity}
- Current Ratio: {current_ratio}
- Quick Ratio: {quick_ratio}
- Profit Margin: {profit_margin}%
- Revenue Growth: {revenue_growth}%
- Earnings Growth: {earnings_growth}%
- Free Cash Flow: {free_cash_flow}
- Operating Margin: {operating_margin}%
- Return on Equity: {return_on_equity}%
- Return on Assets: {return_on_assets}%
- Beta: {beta}
- Shares Outstanding: {shares_outstanding}
- Average Volume: {avg_volume}
- Sector: {sector}
- Industry: {industry}
- Volume Change (vs 30-day avg): {f"{volume_change:.2f}%" if volume_change is not None else "N/A"}

Technical Indicators:
- RSI: {technical_indicators.get('rsi', 'N/A')}
- MACD: {technical_indicators.get('macd', 'N/A')}
- Signal Line: {technical_indicators.get('signal_line', 'N/A')}
- 20-day SMA: {technical_indicators.get('sma_20', 'N/A')}
- 50-day SMA: {technical_indicators.get('sma_50', 'N/A')}
- Bollinger Bands:
* Upper: {technical_indicators.get('bollinger_bands', {}).get('upper', 'N/A')}
* Middle: {technical_indicators.get('bollinger_bands', {}).get('middle', 'N/A')}
* Lower: {technical_indicators.get('bollinger_bands', {}).get('lower', 'N/A')}
- Volume Ratio: {technical_indicators.get('volume', {}).get('ratio', 'N/A')}

Fundamental Data:
{json.dumps(fundamental_data, indent=2)}

News Sentiment:
- Sentiment: {news_sentiment.get('sentiment', 'neutral')}
- Score: {news_sentiment.get('score', 0.0)}

Based on this data, provide a comprehensive analysis and prediction. Your response must be a valid JSON object with the following structure:
{{
"direction": "up/down/neutral",
"confidence": <number between 0 and 1>,
"reason": "<detailed explanation>",
"analysis": {{
"technical": "<technical analysis summary>",
"fundamental": "<fundamental analysis summary>",
"market_sentiment": "<market sentiment analysis>",
"risk_factors": ["<list of key risk factors>"],
"opportunities": ["<list of key opportunities>"]
}},
"metrics": {{
"price": {current_price},
"volume_change": {volume_change},
"market_cap": "{market_cap}",
"eps": {eps},
"dividend_yield": {dividend_yield},
"pe_ratio": {pe_ratio},
"pb_ratio": {pb_ratio},
"debt_to_equity": {debt_to_equity},
"current_ratio": {current_ratio},
"quick_ratio": {quick_ratio},
"profit_margin": {profit_margin},
"revenue_growth": {revenue_growth},
"earnings_growth": {earnings_growth},
"free_cash_flow": {free_cash_flow},
"operating_margin": {operating_margin},
"return_on_equity": {return_on_equity},
"return_on_assets": {return_on_assets},
"beta": {beta},
"shares_outstanding": {shares_outstanding},
"avg_volume": {avg_volume},
"sector": "{sector}",
"industry": "{industry}",
"vwap": {daily_stats.get('vwap', 'N/A')},
"daily_range": {{
"high": {daily_stats.get('high', 'N/A')},
"low": {daily_stats.get('low', 'N/A')}
}}
}}
}}"""

messages = [
{"role": "system", "content": "You are a professional stock market analyst. Provide clear, data-driven predictions with confidence scores and comprehensive analysis. Always respond with a valid JSON object."},
{"role": "user", "content": prompt}
]


Fundamental and Market Data : polygon.ai and yahoo finance ( fill some gaps ).


Attached Thumbnails
Click image for larger version

Name:	image (2).png
Views:	109
Size:	243.8 KB
ID:	342759  
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #25 (permalink)
 
rahulgopi's Avatar
 rahulgopi 
milpitas, ca, usa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Tradestation
Broker: Tradestation, Ameritrade
Trading: ES, Gold, 10 Yr
Posts: 1,725 since Feb 2014
Thanks Given: 1,389
Thanks Received: 4,210

Here is a temporary link to hosted results to try. This is just to verify the results and showcase the above prompt.
Top UP stocks and Top Down stocks list 50 stocks that have the highest probability / confidence to go up/down n the near future. This is not backtested, so no value as of now. Just for demo. Stock Market Analyzer


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #26 (permalink)
 
Tripken's Avatar
 Tripken 
Knoxville, TN/USA
Legendary Market Wizard
 
Experience: Beginner
Platform: TradeStation
Broker: TradeStation
Trading: ES
Frequency: Several times daily
Duration: Minutes
Posts: 641 since Feb 2010
Thanks Given: 1,750
Thanks Received: 1,428

Great thread! I've been trying to get a indicator for 2nd Entries (Mack's PATS) coded for Tradestation. The Ninja Trader indi is perfect so the logic is there. I finally secured the Ninja script and have been working with Gemini (flash & pro) to convert to Easy Language. Not doing too well, syntax issues Gemini can't figure out. So I'm curious if anyone has a suggestion for AI models that may better understand EL or coding in general, thanks


Reply With Quote
Thanked by:
  #27 (permalink)
 shortski 
Calgary, AB, Canada
 
Experience: Intermediate
Platform: Multicharts & NinjaTrader
Broker: Mirus/Zen-Fire
Trading: ES CL TF 6E
Posts: 169 since Jun 2009
Thanks Given: 103
Thanks Received: 85


Tripken View Post
Great thread! I've been trying to get a indicator for 2nd Entries (Mack's PATS) coded for Tradestation. The Ninja Trader indi is perfect so the logic is there. I finally secured the Ninja script and have been working with Gemini (flash & pro) to convert to Easy Language. Not doing too well, syntax issues Gemini can't figure out. So I'm curious if anyone has a suggestion for AI models that may better understand EL or coding in general, thanks

Claude.AI should be able to do it in a few minutes. Free for quick usage.


Reply With Quote
Thanked by:
  #28 (permalink)
 
Tripken's Avatar
 Tripken 
Knoxville, TN/USA
Legendary Market Wizard
 
Experience: Beginner
Platform: TradeStation
Broker: TradeStation
Trading: ES
Frequency: Several times daily
Duration: Minutes
Posts: 641 since Feb 2010
Thanks Given: 1,750
Thanks Received: 1,428


shortski View Post
Claude.AI should be able to do it in a few minutes. Free for quick usage.

Thanks. Haven't tried Claude, none of the other mainstream models could get it. Of course only using free, may need to pay for a month!!


Reply With Quote
  #29 (permalink)
 shortski 
Calgary, AB, Canada
 
Experience: Intermediate
Platform: Multicharts & NinjaTrader
Broker: Mirus/Zen-Fire
Trading: ES CL TF 6E
Posts: 169 since Jun 2009
Thanks Given: 103
Thanks Received: 85


Tripken View Post
Thanks. Haven't tried Claude, none of the other mainstream models could get it. Of course only using free, may need to pay for a month!!

if you just copy/paste the code to Claude, if it is working code, the bot should convert it quickly. Maybe some errors but if it is working code, it should be sorted quickly.


Reply With Quote
Thanked by:
  #30 (permalink)
 
twosigma's Avatar
 twosigma 
San Francisco, California
 
Experience: Intermediate
Platform: TradeStation, Fidelity
Broker: TradeStation, Fidelity
Trading: Futures & stocks
Frequency: Several times daily
Duration: Other
Posts: 120 since Oct 2014
Thanks Given: 1,860
Thanks Received: 250

I would also suggest trying Claude. I'm using the $20/month "pro" version. Here's my experience.

I asked Claude to write from scratch an intraday EMA indicator in TradingView that reset on the first bar of each day, to remove the effect of opening gaps. That involved some careful timebase handling and EMA scaling. I'm experienced with TV code, and Claude's code was perfect.

I haven't yet tested Claude writing or converting to EasyLanguage but I plan to use Claude to convert some of my TV indicators to EL.

If you give Claude a try, post your results here. I'm curious to know how well Claude handled EL.


Reply With Quote
Thanked by:




Last Updated on December 4, 2025


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts