Skip to content

v1.0.3

Choose a tag to compare

@tanem tanem released this 12 Jun 18:19
· 6 commits to main since this release
19ea9f6

Patch release. One bug fix.

  • Reversal deals are no longer dropped from the snapshot. The hand-vendored DEAL_ENTRY_INOUT constant was 3, which in the official MetaTrader5 enum is DEAL_ENTRY_OUT_BY (close-by) — true reversals are 2. fetch_closed_deals therefore skipped reversal deals, whose profit field carries the closed leg's realised P&L, undercounting P&L whenever an EA reversed a position in a single order. The filter now keeps OUT/INOUT/OUT_BY, verified against the MetaTrader5 5.0.5735 wheel. (#19)

No schema change — entry is stored as a raw integer. Because export rebuilds the full history each run, the first export after upgrading automatically backfills any previously dropped reversal deals.