{"paper_id":"2404.05101","title":"StockGPT: A GenAI Model for Stock Prediction and Trading","authors":["Dat Mai"],"paper_date":"2024-04-07","paper_type":"empirical","paper_url":"https://arxiv.org/pdf/2404.05101v3","page_url":"https://thequant.space/flowcharts/stockgpt-a-genai-model-for-stock-prediction-and-trading/","scores":{"empirical_rigor":6,"math_complexity":7.5,"quadrant":"Holy Grail"},"proposes":{"status":"available","statement":"The paper proposes StockGPT, an autoregressive “number” model trained on 70 million daily U.S. stock returns to predict future returns.","quote":"This paper introduces StockGPT, an autoregressive “number” model trained and tested on 70 million daily U.S. stock returns over nearly 100 years.","summary":"This paper introduces StockGPT, an autoregressive ``number’’ model trained and tested on 70 million daily U.S.\\ stock returns over nearly 100 years. Treating each return series as a sequence of tokens, StockGPT automatically learns the hidden patterns predictive of future returns via its attention…","strategy":null},"assumptions":{"status":"available","items":[{"assumption":"The model is trained only once using data up to 2000 and then applied off‑the‑shelf to the out‑of‑sample period.","type":"model","stated":"explicit","quote":"Notably, the model is trained only once using the training sample and applied off-the-shelf to the out-of-sample period."},{"assumption":"Trading is done at the market close with no explicit slippage or market impact beyond removing small stocks.","type":"execution","stated":"implied","quote":"To avoid trading only micro stocks since these stocks are illiquid and incur high transaction and market impact costs, before forming the portfolio, I remove stocks below the 10th percentile market value at the market close."},{"assumption":"Only common stocks with share codes 10 or 11 listed on NYSE, AMEX, and NASDAQ are included.","type":"data","stated":"explicit","quote":"I include only common stocks with a share code of 10 or 11 traded on three main exchanges NYSE, AMEX and NASDAQ."},{"assumption":"Returns are discretized into integer basis‑point intervals for the transformer input.","type":"model","stated":"explicit","quote":"Accordingly, I first convert returns into integer basis points by multiplying them by 10,000 and keeping the integer portion. Next, I cut the basis points into intervals of 50, closed on right."},{"assumption":"The training sample (1926‑2000) is split into a parameter‑optimization period (1926‑1990) and a hyper‑parameter tuning period (1991‑2000).","type":"data","stated":"explicit","quote":"Within the training sample, data from 1926 to 1990 is used for parameter optimization and data from 1991 to 2000 for hyperparameter tuning and evaluation."}]},"datasets":{"status":"available","items":[{"name":"CRSP daily stock returns","provider":"Center for Research in Security Prices (CRSP)","kind":"market-prices","access":"public","period":"1926-2023","universe":"all common U.S. stocks listed on NYSE, AMEX, NASDAQ","quote":"Stock return data comes from Center for Research in Security Prices (CRSP) that collects all historical U.S. stock returns from 1926 to 2023.","known_id":"crsp"}],"known":[{"id":"crsp","name":"CRSP","provider":"Center for Research in Security Prices","kind":"market-prices","access":"commercial","quote":"3 Data Stock return data comes from Center for Research in Security Prices (CRSP) that collects all historical U.S. stock returns from 1926 to 2023.","mentions":2,"used_in":1}],"sample":{"start":null,"end":null,"market":null,"asset_class":null,"frequency":null},"data_resolution":"daily"},"transaction_costs":{"status":"available","modeled":"partial","headline_net_of_costs":null,"detail":"Stocks below the 10th percentile market value are removed to avoid high transaction and market impact costs; no explicit cost model is applied to headline returns.","quote":"To avoid trading only micro stocks since these stocks are illiquid and incur high transaction and market impact costs, before forming the portfolio, I remove stocks below the 10th percentile market value at the market close.","source":"front_matter","rule":"R3","candidates":{"front_matter":"partial","evidence_card":"partial","evidence_card_quoted":true},"card_detail":"Stocks below the 10th percentile market value are removed to avoid high transaction and market impact costs; no explicit cost model is applied to headline returns.","card_quote":"To avoid trading only micro stocks since these stocks are illiquid and incur high transaction and market impact costs, before forming the portfolio, I remove stocks below the 10th percentile market value at the market close.","meaning":"costs appear only as a robustness check, a flat fee without spread or impact, or outside the headline numbers"},"results":{"status":"available","evaluation_type":"trading-pnl","findings":[{"finding":"The equal‑weighted daily rebalanced long‑short portfolio earns an average annualized return of 119% with a Sharpe ratio of 6.5 over 2001‑2023.","kind":"performance","quote":"Under the equal-weighting scheme where each stock receives an equal weight in the portfolio, this daily rebalanced long-short portfolio earns an average annualized returns of 119% from 2001 to 2023, achieving a Sharpe ratio of 6.5."},{"finding":"The value‑weighted version of the daily portfolio achieves an average annualized return of 27% and a Sharpe ratio of 1.","kind":"performance","quote":"Under the value weighting scheme where stock weights in the portfolio are proportional to their market values, the StockGPT-based portfolio achieves an average annualized return of 27% and a Sharpe ratio of 1."},{"finding":"Cross‑sectional Fama‑MacBeth regression shows an average slope of 0.5, implying a 100‑bp prediction difference signals a 50‑bp realized return difference; R² is 1.2%.","kind":"predictive-accuracy","quote":"Accordingly, the average slope coefficient is 0.5, indicating that a cross‑sectional difference of 100 basis points (i.e, 1%) in StockGPT return predictions signals a difference of 50 basis points in realized returns. Moreover, the average cross‑sectional R2 is 1.2%."},{"finding":"Monthly long‑term forecasts (20‑day horizon) yield an average slope of 3 (300‑bp realized return per 100‑bp prediction) and cross‑sectional R² of 0.55%.","kind":"predictive-accuracy","quote":"the average slope coefficient is 3 (significant at 5%), indicating that a cross‑sectional difference of 100 basis points (i.e, 1%) in StockGPT return forecasts signals a difference of 300 basis points in realized returns. Moreover, the average cross‑sectional R2 is 0.55%."},{"finding":"Monthly long‑short decile portfolios based on 20‑day forecasts outperform standard stock factors and generate highly significant alphas, though performance is less impressive than the daily model.","kind":"performance","quote":"Overall, while the investment performance of the monthly StockGPT model is far less impressive than that of the daily model, it still outperforms all of the standard stock factors and yields highly significant alphas."}],"reported_performance":null,"out_of_sample":{"method":"holdout","headline_out_of_sample":null}},"independent_evidence":{"status":"none_found","supports":[],"contradicts":[],"qualifies":[],"compared_with":22,"citations":{"cited_by_in_corpus":6,"by_independent_authors":6,"how_cited":{"used_as_baseline":0,"uses_method_or_data":0,"extends":0,"discusses_findings":0,"mentions":5,"unclassified":1},"independent_papers":[],"scope":"Citations between papers in this corpus only; citations from outside it are not counted."}},"implementation":{"status":"available","public":false,"code_url":null,"note":"No repository presented by the authors as their own was found in the paper. Absence here is not proof that no code exists."},"replication":{"status":"none_found","card":null,"note":"No replication of this paper has been run by thequant.space yet."},"extraction":{"text_source":"fulltext","model":"openai/gpt-oss-120b","version":1,"extracted_at":"2026-11-14T18:11:48Z"},"provenance":{"claims":"Everything here is what the authors state in the paper. Nothing was re-run or reproduced by the platform.","quotes":"Assumptions, datasets, cost detail and findings were extracted by a language model. Every quote is verbatim paper text. Where an item has `support`, \"full\" means every figure in it appears in the quoted sentences and \"partial\" means a figure is stated elsewhere in the paper; items with a figure found nowhere in the paper were discarded.","datasets_known":"datasets.known lists well-known vendors and public datasets by a stable id, found by a dictionary over the full text where the sentence says the data is used; it is independent of the model and covers only names in the dictionary.","flags":"transaction_costs.modeled, results.evaluation_type and results.out_of_sample.method are platform classifications (structured-decision models); see https://thequant.space/score-guide/#penalty-flags","comparisons":"supports / contradicts / qualifies are a language model's reading of two papers' quoted findings, restricted to closely related papers that share no author. They are pointers to read, not verified replications, and coverage is partial.","implementation":"code_url is a repository the paper itself presents as its own (rule-scored, ambiguous cases judged by a model), checked for liveness when it was recorded."},"docs":"https://thequant.space/agents/"}