Skip to content

Tidy examples and cover classic expiry arithmetic - #121

Merged
LimiNode merged 1 commit into
mainfrom
chore/examples-and-intrade-formula-test
Jul 23, 2026
Merged

Tidy examples and cover classic expiry arithmetic#121
LimiNode merged 1 commit into
mainfrom
chore/examples-and-intrade-formula-test

Conversation

@LimiNode

Copy link
Copy Markdown
Owner

Summary

  • add a pure fixed-value unit test for Intrade CLASSIC expiry arithmetic
  • move generic example helpers into examples/example_utils.hpp
  • trim duplicated helper code from smoke examples and add short orientation comments
  • update examples README to describe the shared helper split

Validation

  • git diff --check
  • cmake --build build-codex-pr111-mingw --target intrade_bar_api_response_test --parallel 1
  • .\build-codex-pr111-mingw\intrade_bar_api_response_test.exe --gtest_brief=1
  • cmake --build build-codex-pr111-mingw --target bot_binary_command_builder_smoke metatrader_file_command_writer_smoke metatrader_file_end_to_end_smoke metatrader_file_bridge_smoke tradingview_extension_bridge_smoke intrade_market_data_example trade_record_db_example --parallel 1 (timed out during a buffered batch build; rerun target-by-target below)
  • cmake --build build-codex-pr111-mingw --target bot_binary_command_builder_smoke --parallel 1
  • cmake --build build-codex-pr111-mingw --target metatrader_file_command_writer_smoke --parallel 1
  • cmake --build build-codex-pr111-mingw --target metatrader_file_end_to_end_smoke --parallel 1
  • cmake --build build-codex-pr111-mingw --target metatrader_file_bridge_smoke --parallel 1
  • cmake --build build-codex-pr111-mingw --target tradingview_extension_bridge_smoke --parallel 1
  • cmake --build build-codex-pr111-mingw --target intrade_market_data_example --parallel 1
  • cmake --build build-codex-pr111-mingw --target trade_record_db_example --parallel 1
  • cmake --build build-codex-pr111-mingw --target bridge_umbrella_include_test --parallel 1
  • .\build-codex-pr111-mingw\bot_binary_command_builder_smoke.exe --self-test
  • .\build-codex-pr111-mingw\metatrader_file_command_writer_smoke.exe --self-test
  • .\build-codex-pr111-mingw\metatrader_file_bridge_smoke.exe --self-test
  • .\build-codex-pr111-mingw\metatrader_file_end_to_end_smoke.exe --self-test
  • .\build-codex-pr111-mingw\tradingview_extension_bridge_smoke.exe --self-test

@LimiNode
LimiNode force-pushed the chore/examples-and-intrade-formula-test branch from 90f35e9 to 43e4097 Compare July 23, 2026 19:45
@LimiNode
LimiNode force-pushed the chore/examples-and-intrade-formula-test branch from 43e4097 to a454d12 Compare July 23, 2026 20:34
@LimiNode
LimiNode marked this pull request as ready for review July 23, 2026 20:46
@LimiNode
LimiNode merged commit 26d6e68 into main Jul 23, 2026
2 checks passed
@LimiNode
LimiNode deleted the chore/examples-and-intrade-formula-test branch July 23, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant