Built for Google Antigravity

Gemini 4 Neon trading resources for Antigravity

141 free resources for trading research with Neon: Google's docs, 32 copy-ready prompts, 45 repos and MCP servers, 8 setups, and what firms and traders report. Every link checked on 27 Nov 2026.

Not financial advice. Paper trade first.

32 prompts, ready to paste. Read it, open it, copy it.

26 one-question prompts and 6 long jobs for Antigravity /goal or /schedule. Each one asks Neon to cite sources and never place orders. Paste into Antigravity first; AI Studio and the Gemini app work too.

  • 01

    Prompt · Research · Beginner · 2 min · by Avid

    Explain any company in one page

    Use whenyou hear a ticker and don't know what the company does.

    You getwhat it sells, who pays, how it makes money, what could break it.

    Show the full prompt
    You are my research analyst. Ticker: TICKER.
    In one page, plain English:
    1. What it sells and to whom (top 3 revenue lines with % of revenue from the latest annual report).
    2. How it makes money: gross and operating margin, last 3 years.
    3. The 3 things that would hurt it most in the next 12 months.
    4. One sentence: what a skeptic would say.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 02

    Prompt · Research · Beginner · 3 min · by Avid

    Bull vs bear, side by side

    Use whenyou can't decide if a stock is worth it.

    You getthe strongest case for and against and the one fact that settles it.

    Show the full prompt
    Ticker: TICKER. Build a two-column table: strongest bull case vs strongest bear case, 5 points each, every point backed by a dated source.
    Then answer: which single upcoming data point (earnings line, guidance, macro print) would settle the debate, and when is it due?
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 03

    Prompt · Research · Intermediate · 6 min · by Avid

    Read a 10-K or 10-Q for me

    Use whenyou have a filing and no time for 200 pages.

    You get10 bullets that matter, with page or section references.

    Show the full prompt
    I am attaching COMPANY's latest 10-K / 10-Q as a PDF. Read all of it (you have a 1M-token window, use it).
    Give me the 10 things that actually matter, each with the section name and page. Then list anything that changed vs the prior filing: new risk factors, segment changes, accounting changes, going-concern language.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 04

    Prompt · Research · Beginner · 2 min · by Avid

    Earnings in 2 minutes

    Use whenresults just dropped.

    You getbeat or miss on every line, guidance change, what management dodged.

    Show the full prompt
    COMPANY just reported QUARTER. Find the press release and call transcript.
    Table: revenue, EPS, margin, guidance vs consensus (cite where the consensus number came from).
    Then: 3 quotes from the call that matter, and 1 question analysts asked that management did not answer directly.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 05

    Prompt · Backtest · Beginner · 3 min · by Avid

    Turn a trading idea into exact rules

    Use whenyou have a vague idea like 'buy the dip on strong stocks'.

    You getentry, exit, stop, size and universe written as testable rules.

    Show the full prompt
    My idea: DESCRIBE IDEA.
    Rewrite it as rules a computer can test with zero judgment calls: universe, data frequency, entry condition, exit condition, stop, position size, max open positions, costs and slippage assumptions.
    List every place my idea was ambiguous and the choice you made. Output the rules as YAML.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 06

    Prompt · Backtest · Intermediate · 5 min · by Avid

    Write a backtest I can read

    Use whenyou want to test the rules above.

    You getone Python file using backtesting.py or vectorbt, with costs included.

    Show the full prompt
    Write a single Python file that backtests these rules: PASTE YAML RULES.
    Use yfinance for daily data and backtesting.py. Include commission and slippage. Split the data: first 70% in-sample, last 30% out-of-sample, and report both separately.
    Print: CAGR, max drawdown, Sharpe, win rate, number of trades, and buy-and-hold for the same period. Comment every line a beginner would not understand.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 07

    Prompt · Backtest · Intermediate · 5 min · by Avid

    Check my backtest for cheating

    Use whenyour backtest looks too good.

    You getlook-ahead bias, survivorship bias, overfitting and cost errors, line by line.

    Show the full prompt
    Audit this backtest code like a hostile reviewer: PASTE CODE.
    Check for: look-ahead bias (using today's close to trade today), survivorship bias (today's index members tested in the past), missing costs, parameter overfitting, too few trades, data snooping.
    For each issue: the line number, why it inflates results, and the fix. End with a verdict: trust it / rerun it / throw it away.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 08

    Prompt · Backtest · Advanced · 6 min · by Avid

    Is my strategy just lucky?

    Use whenyou have one good equity curve.

    You geta plain-English luck test with Monte Carlo and a simple benchmark.

    Show the full prompt
    Here are my trade results as CSV (date, symbol, return): PASTE.
    Run in Python with code execution: shuffle trade order 5,000 times and report the 5th / 50th / 95th percentile max drawdown. Compare to random entries with the same holding period.
    Tell me in plain words how likely it is that this is luck, and what sample size I would need before trusting it.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 09

    Prompt · Bots · Intermediate · 8 min · by Avid

    Build a paper trading bot (Alpaca)

    Use whenyou want a bot but not with real money.

    You geta small Python bot that only talks to the Alpaca paper endpoint.

    Show the full prompt
    Build a Python bot that trades my rules PASTE RULES on Alpaca PAPER only.
    Hard requirements: refuse to start unless ALPACA_PAPER_TRADE is true; read keys from env vars, never from code; daily loss limit that stops the bot; log every decision with the reason; a kill switch file (if STOP exists, flatten nothing, just stop).
    Plan first, show me the plan, wait for my OK before writing code.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 10

    Prompt · Bots · Intermediate · 5 min · by Avid

    Add a safety switch to any bot

    Use whenyou already have a bot and it scares you.

    You getloss limits, position caps and a kill switch added to your code.

    Show the full prompt
    Here is my bot: PASTE CODE. Add, without changing the strategy logic:
    1. Max position size per symbol and total exposure cap.
    2. Daily and weekly loss limits that halt trading.
    3. A kill switch (env var or file).
    4. A dry-run mode that logs orders instead of sending them.
    Show a diff and explain each change in one line.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 11

    Prompt · Bots · Intermediate · 5 min · by Avid

    Pine Script to Python

    Use whenyou found a TradingView script you like.

    You getthe same logic in Python, with a test that both give the same signals.

    Show the full prompt
    Convert this Pine Script to Python (pandas): PASTE PINE.
    Keep the exact logic, including how Pine handles bar close vs intrabar. Flag anything that repaints.
    Add a small test that prints the last 20 signals so I can compare with the TradingView chart.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 12

    Prompt · Risk · Beginner · 2 min · by Avid

    How much should I put in this trade?

    Use whenyou know the entry and stop but not the size.

    You getposition size from your account size and max risk, shown step by step.

    Show the full prompt
    Account size: AMOUNT. Max risk per trade: e.g. 1%. Entry: PRICE. Stop: PRICE.
    Calculate the position size step by step, then tell me what happens to my account after 5, 10 and 15 losses in a row at this risk level.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 13

    Prompt · Risk · Intermediate · 5 min · by Avid

    X-ray my portfolio

    Use whenyou think you're diversified.

    You gethidden concentration, correlation and your real biggest bet.

    Show the full prompt
    My holdings (ticker, weight): PASTE.
    Find: sector and country concentration, the 3 most correlated pairs over the last year, and my single biggest hidden bet (e.g. 'everything here is a rate-cut trade').
    Then: what happens to this portfolio in a 2022-style rate shock and a 2020-style crash, using real historical moves.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 14

    Prompt · Review · Beginner · 4 min · by Avid

    Review this week's trades

    Use whenthe week is over and you want honest feedback.

    You getpatterns in your wins and losses and one rule to fix next week.

    Show the full prompt
    Attached: my trade log for the week as CSV or a broker statement PDF.
    Group trades by setup, time of day and holding time. Show where the money came from and where it went.
    Find the 3 mistakes I repeat most, then give me ONE rule for next week. No pep talk.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 15

    Prompt · Crypto · Beginner · 4 min · by Avid

    Crypto token due diligence

    Use whensomeone is shilling a token.

    You getsupply, unlocks, real usage and red flags.

    Show the full prompt
    Token: NAME / CONTRACT ADDRESS.
    Find: circulating vs total supply, upcoming unlocks with dates, top holder concentration, real on-chain usage (fees, active addresses) vs price, team and audit status.
    List every red flag. If you cannot find on-chain data, say so instead of guessing.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 16

    Prompt · Options · Beginner · 3 min · by Avid

    Explain an options trade before you place it

    Use whenyou are looking at a spread or a contract.

    You getmax profit, max loss, breakeven and what has to happen to win.

    Show the full prompt
    Trade: e.g. buy 1 AAPL 30-day 200/210 call spread at $3.20.
    Show max profit, max loss, breakeven, and a payoff table at expiry. Explain theta and IV crush risk for this trade in plain words. Then tell me what the stock has to do, by when, for this to work.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 17

    Prompt · Research · Intermediate · 4 min · by Avid

    Make Neon a regime detector

    Use whenyou want to know if the market is trending, chopping or panicking.

    You geta daily regime label with the data behind it.

    Show the full prompt
    Using today's data (search for it and cite it): S&P 500 vs its 50/200-day averages, VIX level and term structure, 2y and 10y yields, high-yield credit spreads, market breadth.
    Label today's regime: trending up / trending down / range / stress. Show the evidence table, then say what kind of strategy usually struggles in this regime.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 18

    Prompt · New here · Beginner · 3 min · by Avid

    I'm new: set up my trading research desk

    Use whenyou've never used Neon for trading.

    You geta safe first-week plan: paper only, read-only data, one strategy.

    Show the full prompt
    I am new to trading with AI. I use Antigravity / AI Studio / Gemini app.
    Give me a 7-day plan: day 1 set up, day 2 learn one strategy, day 3 write rules, day 4 backtest, day 5 audit the backtest, day 6 paper trade, day 7 review.
    Each day: exactly what to type, what I should see, and the one mistake beginners make on that day.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 19

    Prompt · Research · Intermediate · 4 min · by Avid

    Earnings-day playbook

    Use whena stock you hold or watch reports this week.

    You getthe date, what's priced in, and your plan for each outcome written before the print.

    Show the full prompt
    Ticker: TICKER. Find the confirmed earnings date and time, consensus EPS and revenue, and the options-implied move (cite the source).
    Then write my plan before the print: if it gaps up more than the implied move, if it lands inside, if it gaps down. For each: what I check first, and what I do on PAPER.
    End with the one line from last quarter's call that matters most this time.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 20

    Prompt · Risk · Beginner · 3 min · by Avid

    Portfolio heat check

    Use whenyou have several paper positions open at once.

    You gettotal open risk if every stop hits, and which position to trim first.

    Show the full prompt
    Paper positions (ticker, entry, stop, shares): PASTE. Paper account size: AMOUNT.
    For each: risk in money and as % of the account if the stop hits. Then total open risk, the largest single risk, and which positions move together (same sector or factor).
    If total open risk is above 5%, say which position to trim first and why. Show the math.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 21

    Prompt · Review · Beginner · 2 min · by Avid

    Journal one trade honestly

    Use whena trade just closed, win or lose.

    You geta short post-mortem: plan vs what you actually did.

    Show the full prompt
    Trade: TICKER, entry, exit, size, dates. My plan before entry: PASTE OR 'none'.
    Compare plan vs execution: entry, exit, size, stop. Was the result skill, luck or a broken rule? Name one specific thing to repeat or stop.
    Keep it under 150 words and score my discipline 1 to 5 with a reason.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 22

    Prompt · Research · Beginner · 2 min · by Avid

    Pre-market brief in 5 minutes

    Use whenit's before the open and you want only what matters.

    You getovernight moves, today's calendar and news on your list.

    Show the full prompt
    My watchlist: TICKERS. Today's date: DATE.
    Give me: index futures and overnight moves, today's economic releases with times, earnings today for my list, and any news on my list since yesterday's close.
    One line each, newest first, every line with a source link. Flag anything that changes my plans.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 23

    Prompt · Risk · Intermediate · 3 min · by Avid

    Check correlation before adding

    Use whenyou want to add a new position.

    You getwhether it really diversifies what you already hold.

    Show the full prompt
    Current holdings: TICKERS. Candidate: TICKER.
    Use code execution to compute 1-year daily return correlations between the candidate and each holding. Data from yfinance / my CSV.
    Tell me if the candidate is the same bet I already have, and which holding it overlaps most with. Show the table.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 24

    Prompt · Research · Beginner · 2 min · by Avid

    Macro calendar for next week

    Use whenit's the weekend and you plan the week.

    You getevery release and central bank event that can move your markets.

    Show the full prompt
    Markets I trade: e.g. US stocks, BTC.
    List next week's scheduled events: CPI, jobs, central bank meetings and speeches, big earnings, options expiry. Date, time in TIMEZONE, consensus if any, source link.
    Mark the 3 events most likely to move my markets and why.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 25

    Prompt · New here · Beginner · 3 min · by Avid

    Turn my strategy into AGENTS.md rules

    Use whenyou want Antigravity to follow your rules in every session.

    You geta filled-in AGENTS.md with your limits and strategy.

    Show the full prompt
    Here is my strategy in my own words: DESCRIBE. Paper account size: AMOUNT. Max risk per trade: %.
    Turn it into an AGENTS.md file with sections: Role, Account (paper only), Strategy (exact testable rules), How to work, Never.
    Ask me up to 5 questions first about anything vague. Do not invent numbers I did not give you.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 26

    Prompt · Risk · Beginner · 2 min · by Avid

    Exit plan before entry

    Use whenyou're about to open a paper trade.

    You getstop, targets and a time stop written down before you're in.

    Show the full prompt
    Trade idea: TICKER, direction, entry, reason.
    Write the exit plan: stop level and why it invalidates the idea, 2 targets based on recent structure, a time stop (exit if nothing happens by N days), and what news would make me exit early.
    Show risk to reward for each target.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 27

    Long job · Research · Long jobs · Overnight · by Avid

    Wake up to a ranked watchlist

    You get10 tickers ranked with a reason each, ready by morning.

    Show the full prompt
    Run this as a long task (Antigravity /goal or /schedule, or an API background decode).
    Universe: LIST or 'S&P 500 tech'. For each name: latest earnings surprise, guidance change, analyst revision trend, price vs 50/200-day average, next catalyst date.
    Score each 0-10 with the formula shown, rank the top 10, and write one line per name. Save as watchlist-DATE.md.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 28

    Long job · Backtest · Long jobs · Overnight · by Avid

    Test 20 strategy ideas, keep the best 3

    You geta folder of backtests with an honest leaderboard.

    Show the full prompt
    Use /swarm or the Orchestrator so Neon plans and Hydrogen subagents execute.
    Generate 20 simple, distinct strategy ideas for ASSET. For each: write YAML rules, a backtesting.py script with costs, run in-sample and out-of-sample.
    Leaderboard ranked by out-of-sample Sharpe, with trade count. Discard anything with fewer than 30 trades. Keep the top 3 and write why they might still be luck.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 29

    Long job · Research · Long jobs · Overnight · by Avid

    Read every filing for my portfolio

    You getone page per holding with what changed.

    Show the full prompt
    Holdings: LIST. For each, pull the latest 10-Q/10-K and the last earnings call transcript.
    One page per company: what changed vs last quarter, new risks, guidance, insider transactions in the last 90 days. Then a 5-line summary of the whole portfolio.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 30

    Long job · Bots · Long jobs · Overnight · by Avid

    Fix and finish my trading bot

    You geta cleaned-up bot with tests and a paper-trading dry run.

    Show the full prompt
    Repo: PATH. Read the whole codebase first and write a plan. Then: add tests for the signal logic, add the safety switches (loss limits, position caps, kill switch, dry-run), fix any bugs the tests reveal.
    Do not change strategy logic without listing it. Finish with a dry run on paper and a walkthrough of every change.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 31

    Long job · Review · Long jobs · Overnight · by Avid

    Review a year of my trades

    You getthe full truth about your trading year.

    Show the full prompt
    Attached: 12 monthly broker statements (PDF or XLSX; Neon reads both).
    Total fees, realized P&L by month and by setup, best and worst hours and days, average hold time of winners vs losers, and the 5 trades that cost me most. End with 3 rules I should adopt, each backed by a number from my own data.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.
  • 32

    Long job · Research · Long jobs · Overnight · by Avid

    Weekly regime and watchlist refresh

    You geta fresh regime label and watchlist every Sunday.

    Show the full prompt
    Run with Antigravity /schedule every Sunday 18:00.
    1. Label the market regime (trend, range, stress) from index trend, VIX, yields and credit spreads, with sources.
    2. Re-rank my watchlist TICKERS for that regime and drop names that no longer fit.
    3. Save regime-DATE.md and diff it against last week's file.
    
    Rules: use Google Search grounding for anything after your training data and cite every source with a link. If you cannot verify a number, write UNVERIFIED next to it. Do not place, suggest sizing for, or simulate live orders. This is research, not advice.

8 setup files. Short, real and paper-first.

  • Setup · bash

    Pick Neon in Antigravity CLI

    From the Antigravity model docs. Needs Google AI Pro or Ultra.

    # max reasoning for strategy design
    agy --model gemini-4-neon-xhigh
    
    # or switch inside a session
    /model     # pick Gemini 4 Neon
    /effort    # low | medium | high | xhigh
  • Setup · json

    Alpaca MCP in Antigravity, paper + read-only

    Config shape from the alpaca-mcp-server README; path from the Antigravity MCP docs (~/.gemini/config/mcp_config.json, or .agents/mcp_config.json per project). Paper is the default. The toolset list leaves out 'trading', so the agent can't place orders.

    {
      "mcpServers": {
        "alpaca": {
          "command": "uvx",
          "args": "alpaca-mcp-server",
          "env": {
            "ALPACA_API_KEY": "your_paper_key",
            "ALPACA_SECRET_KEY": "your_paper_secret",
            "ALPACA_PAPER_TRADE": "true",
            "ALPACA_TOOLSETS": "account,stock-data,crypto-data,options-data,news"
          }
        }
      }
    }
  • Setup · markdown

    Risk rules as an Antigravity skill

    Avid's. Save as .agents/skills/risk-rules/SKILL.md so every session loads it.

    ---
    name: risk-rules
    description: Use before any trade idea, position size or order. Enforces my risk limits.
    ---
    # Risk rules (non-negotiable)
    - Paper account only unless I type: LIVE OK date.
    - Max risk per trade: 1% of account. Max total exposure: 50%.
    - Every idea needs: entry, stop, target, size, and the reason it fails.
    - If a number is not sourced, label it UNVERIFIED and do not use it for sizing.
    - Never move funds, change account settings or place orders on your own.
      Propose, then wait for my explicit OK.
  • Setup · python

    Call Neon from Python with search grounding

    Avid's, using the google-genai SDK. Model id and thinking levels from Google's Neon docs. Needs a paid-tier GEMINI_API_KEY.

    from google import genai
    from google.genai import types
    
    client = genai.Client()  # reads GEMINI_API_KEY
    
    resp = client.models.generate_content(
        model="gemini-4-neon",
        contents="What moved NVDA today? Cite sources.",
        config=types.GenerateContentConfig(
            thinking_config=types.ThinkingConfig(thinking_level="HIGH"),
            tools=types.Tool(google_search=types.GoogleSearch()),
        ),
    )
    print(resp.text)
  • Setup · bash

    Kraken CLI as a Gemini CLI extension

    Install line from the kraken-cli README. Heads up: the Gemini CLI README says it is not tuned for Gemini 4 and points to Antigravity CLI instead.

    gemini extensions install https://github.com/krakenfx/kraken-cli
  • Setup · text

    Antigravity /swarm backtest team

    Avid's prompt for the /swarm command (Antigravity docs: in preview, uses quota faster). Workers split the job; one verifies.

    /swarm Backtest my strategy in strategy.md on ASSET, daily bars, START-END.
    Workers:
    - data: download bars with yfinance, save data/prices.csv, check for gaps and splits.
    - builder: write backtest.py with backtesting.py, commission 0.1% per side, slippage 0.05%.
    - splitter: run in-sample (first 70%) and out-of-sample (last 30%) separately.
    - verifier: re-run everything from a clean folder, check trade count >= 30,
      look for lookahead bias, and write report.md with the numbers from both runs.
    Paper research only. No broker connections.
  • Setup · python

    Paper-trading bot skeleton (alpaca-py)

    Avid's skeleton using the official alpaca-py SDK. paper=True and DRY_RUN on by default; it only logs until you change both.

    import os, logging
    from alpaca.trading.client import TradingClient
    from alpaca.trading.requests import MarketOrderRequest
    from alpaca.trading.enums import OrderSide, TimeInForce
    
    DRY_RUN = True          # logs only; flip on purpose
    MAX_POSITIONS = 5
    MAX_DAILY_LOSS = 0.02   # stop for the day at -2% of equity
    
    log = logging.getLogger("bot"); logging.basicConfig(level=logging.INFO)
    client = TradingClient(os.environ"APCA_API_KEY_ID",
                           os.environ"APCA_API_SECRET_KEY", paper=True)
    
    def signal(symbol):
        return None  # your tested rule: return "buy", "sell" or None
    
    def run(symbols):
        acct = client.get_account()
        if float(acct.equity) < float(acct.last_equity) * (1 - MAX_DAILY_LOSS):
            log.warning("daily loss limit hit, stopping"); return
        if len(client.get_all_positions()) >= MAX_POSITIONS:
            log.info("max positions open"); return
        for s in symbols:
            side = signal(s)
            if not side: continue
            order = MarketOrderRequest(symbol=s, qty=1, time_in_force=TimeInForce.DAY,
                                       side=OrderSide.BUY if side == "buy" else OrderSide.SELL)
            if DRY_RUN: log.info("DRY RUN %s %s", side, s)
            else: client.submit_order(order_data=order)
    
    if __name__ == "__main__":
        run("SPY")
  • Setup · markdown

    AGENTS.md strategy template (download)

    Avid's template. Antigravity loads AGENTS.md in your project folder as an always-on rule (Antigravity rules docs). Fill every bracket. Download AGENTS.md

    # AGENTS.md: trading research rules (template by Avid, Neon trading hub)
    # Put this file in your project folder. Antigravity loads AGENTS.md as an always-on rule.
    # Not financial advice. Paper trade first. Edit every BRACKET before use.
    
    ## Role
    You are my trading research assistant. You research, write code and run backtests.
    You do not decide trades and you never place, change or cancel orders.
    
    ## Account
    - Mode: PAPER. Live trading is off unless I write "LIVE OK date" in this chat.
    - Broker: Alpaca paper / IBKR paper / exchange testnet.
    - Max risk per trade: 1% of the paper account. Max open risk: 5%. Max positions: 5.
    
    ## Strategy
    - Name: strategy name
    - Universe: e.g. 20 liquid US large caps
    - Entry rule: exact, testable rule
    - Exit rule: exact rule
    - Stop: rule
    - Timeframe: daily / 1h
    - Costs to assume in tests: commission plus slippage per side.
    
    ## How to work
    1. Plan first. Show me the plan before writing code.
    2. Cite a source with a link for every outside number. Mark anything unverified as UNVERIFIED.
    3. Backtests: split in-sample and out-of-sample, include costs, report trade count, max drawdown and exposure.
    4. Reject any result with fewer than 30 trades. Say why a good result might be luck.
    5. Code changes: small diffs, tests for signal logic, a dry-run flag that defaults to on.
    
    ## Never
    - Never place orders, move funds or change account settings.
    - Never store API keys in code or in chat. Read them from environment variables.
    - Never present a backtest as a forecast.

No firm-published source found: Renaissance Technologies, Virtu Financial.

Paper trade first

Not financial advice. Six facts to read before you let any model near an order button.

  • Overreach

    Google says Neon cut overreach by 13% to 35% against Carbon on its own agentic-behavior eval. It is an internal test, so keep order tools off until you mean it.

  • Paper mode

    Alpaca's MCP server defaults to paper trading. Leave out the trading toolset and the agent can read data but not place orders.

  • Which CLI

    The Gemini CLI README says it is not tuned for Gemini 4 models and points Pro and Ultra users to Antigravity CLI (agy).

  • Cost

    Neon is $3 in and $15 out per 1M tokens on the API. An agent on a 5-minute loop adds up. Check pricing before you schedule anything.

  • Access

    In Antigravity, Neon needs Google AI Pro or Ultra. The Free and Plus plans leave it out.

  • Your trades

    Nothing here is a promise of profit. Test on paper, size small, and you own every trade. The prompts, setups and template by Avid have not been run with real money.