Skip to content

Graph Date Range #65

@henryroseman-beep

Description

@henryroseman-beep

I started my own experiment 3 days ago. I have had great success using the trading_script, after fixing the date format issue. Thanks so much! However, when I try to generate a graph using Generate_Graph, the date range on the x-axis is wrong. Do you know how to fix this?

For context, here are my current holdings (output from trading_script today):

Daily Results — 2025-09-05

[ Price & Volume ]
Ticker Close % Chg Volume

INUV 3.36 +0.00% 65,829
SLE 2.89 +1.76% 26,075
BEEM 2.49 +2.05% 63,923
CMTL 2.22 +6.22% 215,215
IWO 310.83 +0.55% 290,705
XBI 95.47 +2.14% 13,162,369
SPY 647.21 -0.29% 84,914,083
IWM 237.77 +0.50% 47,528,013

[ Risk & Return ]
Max Drawdown: 0.00% on 2025-09-03
Sharpe Ratio (period): 3.0639
Sharpe Ratio (annualized): 33.8974
Sortino Ratio (period): N/A
Sortino Ratio (annualized): N/A

[ CAPM vs Benchmarks ]
Beta (daily) vs ^GSPC: 1.8638
Alpha (annualized) vs ^GSPC: 102431.30%
R² (fit quality): 1.000 Obs: 2
Note: Short sample and/or low R² — alpha/beta may be unstable.

[ Snapshot ]
Latest ChatGPT Equity: $ 102.92
$100.0 in S&P 500 (same window): $ 100.52
Cash Balance: $ 5.82

[ Holdings ]
ticker shares cost_basis stop_loss buy_price
0 INUV 8.0 27.36 2.57 3.42
1 SLE 8.0 25.60 2.40 3.20
2 BEEM 10.0 25.50 1.93 2.55
3 CMTL 10.0 20.50 1.54 2.05

Thank you!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions