ref: bcd9cd180c7b4322919c5e07f7a398d65d97bb0e
dir: /a.h/
typedef struct Chart Chart;
typedef struct Price Price;
struct Price
{
Tm date;
double open;
double close;
double high;
double low;
};
enum
{
Maxprices = 1024,
};
struct Chart
{
Price prices[Maxprices];
usize nprices;
double ymin;
double ymax;
};