Welcome to NexusFi: the best trading community on the planet, with over 200,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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.
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
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:
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 ).
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
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
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.
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.