summaryrefslogtreecommitdiff
path: root/yahoo.h
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2021-05-31 06:11:22 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2021-05-31 06:11:22 -0700
commit18bde7391efb9c6bd6ea7846891ab5d16276a809 (patch)
tree237cc152edbdf934ed32e4c8c54c5ce97535e57f /yahoo.h
downloadstonks-18bde7391efb9c6bd6ea7846891ab5d16276a809.tar.gz
stonks-18bde7391efb9c6bd6ea7846891ab5d16276a809.tar.xz
initial importHEADmaster
A bit messy and missing error handling in some places.
Diffstat (limited to 'yahoo.h')
-rw-r--r--yahoo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/yahoo.h b/yahoo.h
new file mode 100644
index 0000000..91b880b
--- /dev/null
+++ b/yahoo.h
@@ -0,0 +1,10 @@
+#ifndef YAHOO_H
+#define YAHOO_H
+
+#include "assets.h"
+#include "quotes.h"
+
+int yahoo_get_quote_symbols(struct asset **assets, int n, char **bufptr);
+int yahoo_get_quotes(const char *symbols, struct quote ***quotes_ptr);
+
+#endif