summaryrefslogtreecommitdiffstats
path: root/esp32/main/stock.h
blob: 0e2d56e429c25f821d83fdbc6ce5d4faa47036ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef STOCK_H
#define STOCK_H

#define TICKER_LEN 25

struct stock_data {
	char ticker[TICKER_LEN];
	int *prices;
	int price_min;
	int price_max;
	int price_ref;
	int prices_len;
	int prices_maxlen;
};

void stock_get_data(struct stock_data *sd);

#endif /* STOCK_H */