Skip to content

Commit

Permalink
Merge pull request #11 from dsec-capital/de/tick_history
Browse files Browse the repository at this point in the history
De/tick history
  • Loading branch information
degloff authored Aug 13, 2024
2 parents d4c8f21 + 5272ce7 commit 326481e
Show file tree
Hide file tree
Showing 8 changed files with 172 additions and 121 deletions.
35 changes: 0 additions & 35 deletions Debug

This file was deleted.

26 changes: 0 additions & 26 deletions Release

This file was deleted.

14 changes: 10 additions & 4 deletions common/common.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
<IntDir>$(LibrariesArchitecture)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
<IntDir>$(LibrariesArchitecture)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\</OutDir>
Expand All @@ -101,7 +101,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y "$(ProjectDir)market_config.toml" "$(SolutionDir)$(Configuration)"</Command>
<Command>copy /y "$(ProjectDir)market_config.toml" "$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\market_config.toml"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -125,7 +125,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y "$(ProjectDir)market_config.toml" "$(SolutionDir)$(Configuration)"</Command>
<Command>copy /y "$(ProjectDir)market_config.toml" "$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\market_config.toml"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Expand All @@ -144,6 +144,9 @@
</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y "$(ProjectDir)market_config.toml" "$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\market_config.toml"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
Expand All @@ -165,6 +168,9 @@
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y "$(ProjectDir)market_config.toml" "$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\market_config.toml"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="bar.h" />
Expand Down
10 changes: 8 additions & 2 deletions fix_simulation_server/fix_simulation_server.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<AdditionalLibraryDirectories>$(SolutionDir)$(LibrariesArchitecture)\$(Configuration);$(SolutionDir)third-parties\quickfix\$(LibrariesArchitecture)-$(Configuration)\lib</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>copy /y "$(ProjectDir)session.cfg" "$(SolutionDir)$(Configuration)"</Command>
<Command>copy /y "$(ProjectDir)session.cfg" "$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\session.cfg"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -131,7 +131,7 @@
<AdditionalLibraryDirectories>$(SolutionDir)$(LibrariesArchitecture)\$(Configuration);$(SolutionDir)third-parties\quickfix\$(LibrariesArchitecture)-$(Configuration)\lib</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>copy /y "$(ProjectDir)session.cfg" "$(SolutionDir)$(Configuration)"</Command>
<Command>copy /y "$(ProjectDir)session.cfg" "$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\session.cfg"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Expand All @@ -150,6 +150,9 @@
<AdditionalDependencies>$(CoreLibraryDependencies);%(AdditionalDependencies);quickfixd.lib;common.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)$(LibrariesArchitecture)\$(Configuration);$(SolutionDir)third-parties\quickfix\$(LibrariesArchitecture)-$(Configuration)\lib</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>copy /y "$(ProjectDir)session.cfg" "$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\session.cfg"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
Expand All @@ -171,6 +174,9 @@
<AdditionalDependencies>$(CoreLibraryDependencies);%(AdditionalDependencies);quickfix.lib;common.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)$(LibrariesArchitecture)\$(Configuration);$(SolutionDir)third-parties\quickfix\$(LibrariesArchitecture)-$(Configuration)\lib</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>copy /y "$(ProjectDir)session.cfg" "$(SolutionDir)$(LibrariesArchitecture)\$(Configuration)\session.cfg"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="application.cpp" />
Expand Down
1 change: 1 addition & 0 deletions fxcm_market_data_server/proxy_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ namespace fxcm {
});

// for example http://localhost:8083/ticks?symbol=EUR/USD&from=2024-06-27 00:00:00
// http://localhost:8083/ticks?symbol=EUR/USD&count=300
server.Get("/ticks", [this](const Request& req, Response& res) {
std::string symbol = "nan";

Expand Down
1 change: 1 addition & 0 deletions scripts/copy_zorro_scripts_x64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ECHO Copy asset files to %ZORRO_HISTORY_DIR%...
robocopy %SOURCE% %ZORRO_HISTORY_DIR% "*.csv" > nul

ECHO "Copy FIX spec files to %ZorroInstallDir%\Plugin64\spec..."
robocopy "%SCRIPT_DIR%..\spec" "%ZorroInstallDir%\Plugin\spec"
robocopy "%SCRIPT_DIR%..\spec" "%ZorroInstallDir%\Plugin64\spec"

ECHO Copy plugin config toml file
Expand Down
Loading

0 comments on commit 326481e

Please sign in to comment.