Skip to content

Commit 48a9a99

Browse files
committed
Refactoring
1 parent 3ba4cec commit 48a9a99

5 files changed

Lines changed: 19 additions & 7 deletions

File tree

backtesting-engine-cpp.xcodeproj/project.pbxproj

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
94674B8E2D533E7800973137 /* trade.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 94674B8B2D533E7800973137 /* trade.cpp */; };
3030
9470B5A42C8C5AD0007D9CC6 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9470B5A32C8C5AD0007D9CC6 /* main.cpp */; };
3131
9470B5B62C8C5BFD007D9CC6 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9470B5A32C8C5AD0007D9CC6 /* main.cpp */; };
32+
94724A832F8B92C10029B940 /* operations.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 94724A822F8B92C10029B940 /* operations.cpp */; };
33+
94724A842F8B92C10029B940 /* operations.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 94724A822F8B92C10029B940 /* operations.cpp */; };
3234
94CD8B992D2DCDD800041BBA /* libpqxx-7.10.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 94CD8B982D2DCDD800041BBA /* libpqxx-7.10.a */; };
3335
94CD8B9C2D2DD02A00041BBA /* libpqxx-7.10.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 94CD8B9A2D2DCF6E00041BBA /* libpqxx-7.10.a */; };
3436
94CD8BA02D2E8CE500041BBA /* databaseConnection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 94CD8B9F2D2E8CE500041BBA /* databaseConnection.cpp */; };
@@ -89,6 +91,8 @@
8991
9470B5A12C8C5AD0007D9CC6 /* source */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = source; sourceTree = BUILT_PRODUCTS_DIR; };
9092
9470B5A32C8C5AD0007D9CC6 /* main.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; };
9193
9470B5AC2C8C5B99007D9CC6 /* tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
94+
94724A822F8B92C10029B940 /* operations.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = operations.cpp; sourceTree = "<group>"; };
95+
94724A852F8B92E30029B940 /* operations.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = operations.hpp; sourceTree = "<group>"; };
9296
948A9CCD2C906A5600E23669 /* CONVENTIONS.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CONVENTIONS.md; sourceTree = "<group>"; };
9397
948A9CED2C906AFE00E23669 /* 2020.csv */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = 2020.csv; sourceTree = "<group>"; };
9498
94BBA4512D2EA2640010E04D /* build.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = build.sh; sourceTree = "<group>"; };
@@ -1302,6 +1306,7 @@
13021306
isa = PBXGroup;
13031307
children = (
13041308
94280BA22D2FC00200F1CF56 /* base64.cpp */,
1309+
943398232D57E53400287A2D /* jsonParser.cpp */,
13051310
);
13061311
path = utilities;
13071312
sourceTree = "<group>";
@@ -1408,8 +1413,8 @@
14081413
940A61112C92CE210083FEB8 /* configManager.cpp */,
14091414
940A61152C92CE960083FEB8 /* serviceA.cpp */,
14101415
94CD8B9F2D2E8CE500041BBA /* databaseConnection.cpp */,
1411-
943398232D57E53400287A2D /* jsonParser.cpp */,
14121416
941408AD2D59F93F000ED1F9 /* sqlManager.cpp */,
1417+
94724A822F8B92C10029B940 /* operations.cpp */,
14131418
);
14141419
path = source;
14151420
sourceTree = "<group>";
@@ -3515,15 +3520,16 @@
35153520
94DE4F772C8C3E7C00FE48FF /* include */ = {
35163521
isa = PBXGroup;
35173522
children = (
3518-
941408B02D59F954000ED1F9 /* sqlManager.hpp */,
3519-
943398222D57E52900287A2D /* jsonParser.hpp */,
35203523
94674B842D533B2F00973137 /* trading */,
35213524
942966D72D48E84100532862 /* models */,
35223525
94B8C7932D3D770800E17EB6 /* utilities */,
35233526
941B548F2D3BBA3B00E3BF64 /* trading_definitions */,
35243527
941B549C2D3BBFB900E3BF64 /* trading_definitions.hpp */,
35253528
940A61162C92CE960083FEB8 /* serviceA.hpp */,
3529+
943398222D57E52900287A2D /* jsonParser.hpp */,
35263530
940A61122C92CE210083FEB8 /* configManager.hpp */,
3531+
941408B02D59F954000ED1F9 /* sqlManager.hpp */,
3532+
94724A852F8B92E30029B940 /* operations.hpp */,
35273533
94CD8B9E2D2E8CE500041BBA /* databaseConnection.hpp */,
35283534
);
35293535
path = include;
@@ -3631,6 +3637,7 @@
36313637
94674B872D533B4000973137 /* tradeManager.cpp in Sources */,
36323638
94CD8BA02D2E8CE500041BBA /* databaseConnection.cpp in Sources */,
36333639
940A61132C92CE210083FEB8 /* configManager.cpp in Sources */,
3640+
94724A842F8B92C10029B940 /* operations.cpp in Sources */,
36343641
940A61172C92CE960083FEB8 /* serviceA.cpp in Sources */,
36353642
);
36363643
runOnlyForDeploymentPostprocessing = 0;
@@ -3646,6 +3653,7 @@
36463653
94674B8D2D533E7800973137 /* trade.cpp in Sources */,
36473654
941B549A2D3BBADE00E3BF64 /* trading_definitions_json.cpp in Sources */,
36483655
94674B8A2D533BDA00973137 /* tradeManager.mm in Sources */,
3656+
94724A832F8B92C10029B940 /* operations.cpp in Sources */,
36493657
940A61182C92CE960083FEB8 /* serviceA.cpp in Sources */,
36503658
94674B882D533B4000973137 /* tradeManager.cpp in Sources */,
36513659
943398272D57E54000287A2D /* jsonParser.mm in Sources */,
@@ -3788,6 +3796,7 @@
37883796
"\"$(SRCROOT)/external/libpqxx/build/src\"",
37893797
"/opt/homebrew/Cellar/postgresql@18/18.3/lib/postgresql",
37903798
);
3799+
MACOSX_DEPLOYMENT_TARGET = 26.0;
37913800
OTHER_LDFLAGS = "";
37923801
OTHER_LIBTOOLFLAGS = "";
37933802
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -3810,6 +3819,7 @@
38103819
"\"$(SRCROOT)/external/libpqxx/build/src\"",
38113820
"/opt/homebrew/Cellar/postgresql@18/18.3/lib/postgresql",
38123821
);
3822+
MACOSX_DEPLOYMENT_TARGET = 26.0;
38133823
OTHER_LDFLAGS = "";
38143824
OTHER_LIBTOOLFLAGS = "";
38153825
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -3832,6 +3842,7 @@
38323842
"\"$(SRCROOT)/external/libpqxx/build/src\"",
38333843
"/opt/homebrew/Cellar/postgresql@18/18.3/lib/postgresql",
38343844
);
3845+
MACOSX_DEPLOYMENT_TARGET = 26.0;
38353846
MARKETING_VERSION = 1.0;
38363847
PRODUCT_BUNDLE_IDENTIFIER = com.mccaffers.tests;
38373848
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -3854,6 +3865,7 @@
38543865
"\"$(SRCROOT)/external/libpqxx/build/src\"",
38553866
"/opt/homebrew/Cellar/postgresql@18/18.3/lib/postgresql",
38563867
);
3868+
MACOSX_DEPLOYMENT_TARGET = 26.0;
38573869
MARKETING_VERSION = 1.0;
38583870
PRODUCT_BUNDLE_IDENTIFIER = com.mccaffers.tests;
38593871
PRODUCT_NAME = "$(TARGET_NAME)";

include/models/priceData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Backtesting Engine in C++
22
//
3-
// (c) 2025 Ryan McCaffery | https://mccaffers.com
3+
// (c) 2026 Ryan McCaffery | https://mccaffers.com
44
// This code is licensed under MIT license (see LICENSE.txt for details)
55
// ---------------------------------------
66
#pragma once

include/sqlManager.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Backtesting Engine in C++
22
//
3-
// (c) 2025 Ryan McCaffery | https://mccaffers.com
3+
// (c) 2026 Ryan McCaffery | https://mccaffers.com
44
// This code is licensed under MIT license (see LICENSE.txt for details)
55
// ---------------------------------------
66
#pragma once

source/databaseConnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Backtesting Engine in C++
22
//
3-
// (c) 2025 Ryan McCaffery | https://mccaffers.com
3+
// (c) 2026 Ryan McCaffery | https://mccaffers.com
44
// This code is licensed under MIT license (see LICENSE.txt for details)
55
// ---------------------------------------
66

source/utilities/jsonParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Backtesting Engine in C++
22
//
3-
// (c) 2025 Ryan McCaffery | https://mccaffers.com
3+
// (c) 2026 Ryan McCaffery | https://mccaffers.com
44
// This code is licensed under MIT license (see LICENSE.txt for details)
55
// ---------------------------------------
66

0 commit comments

Comments
 (0)