-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
39 lines (31 loc) · 920 Bytes
/
main.cpp
File metadata and controls
39 lines (31 loc) · 920 Bytes
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
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
// #include "curl/curl.h"
#include "Test/TestFile.h"
// #include <nlohmann/json.hpp>
// using json = nlohmann::json;
int main() {
// testOptionInfo();
//testBlackScholes();
// testMonteCarlo();
// testDate();
// testBond();
testBinomialLattice();
return 0;
}
// void apiTest() {
// CURL* curl = curl_easy_init();
// if (curl) {
// std::string url = "https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=AAPL&apikey=YOUR_API_KEY&datatype=json";
// curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
//
// if (CURLcode response = curl_easy_perform(curl); response != CURLE_OK) {
// std::cout << "Failed to fetch: " << curl_easy_strerror(response) << std::endl;
// } else {
// // Handle success
// }
// }
//
//
// curl_easy_cleanup(curl);
// }