-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathData.h
47 lines (39 loc) · 1013 Bytes
/
Data.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//
// Data.hpp
// Project_v1217
//
// Created by Lu on 2021/12/18.
//
#ifndef Data_hpp
#define Data_hpp
#include <stdio.h>
#endif /* Data_hpp */
#pragma once
#include<iostream>
#include<cmath>
#include<vector>
#include <sstream>
#include <locale>
#include <iomanip>
#include <fstream>
#include "curl/curl.h"
#include <map>
#include"calculation.h"
using namespace std;
class Data
{
private:
const char* cIWB1000SymbolFile = "Russell_1000_component_stocks.csv";
const char* cEarningAnnounceFile = "EarningsAnnouncements.csv";
public:
void populateEarningVector(vector<string>& symbols, vector<string>& anndate, vector<string>& prdend, vector<string>& est, vector<string>& rpt, vector<string>& sur_prise, vector<string>& sur_pct);
void Split(vector<string>& title, vector<string>& miss, vector<string>& meet, vector<string>& beat);
void populateSymbolVector(vector<string>& symbols);
};
/*
class getAdj: public Download
{
public:
};
}
*/