Skip to content

fix(conditions): scrub third-party product mark from trade condition 61#480

Merged
userFRM merged 1 commit into
mainfrom
fix/scrub-nanex-admin-condition
May 6, 2026
Merged

fix(conditions): scrub third-party product mark from trade condition 61#480
userFRM merged 1 commit into
mainfrom
fix/scrub-nanex-admin-condition

Conversation

@userFRM
Copy link
Copy Markdown
Owner

@userFRM userFRM commented May 6, 2026

What

Rename trade condition 61's display name in crates/tdbe/src/conditions.rs:825.

Why

Condition 61's display name embeds a third-party product mark inherited from the upstream condition dictionary. Same pattern as #477 (exchange code 0). The description ("Used to make volume and price corrections to match official exchange values") already captures purpose; the renamed constant matches intent without the vendor reference.

How

"NANEXADMIN" -> "PRICEVOLUMEADJ" (matches existing ALLCAPS condition-name convention). Single tracked-source occurrence, no downstream string match (rg 'NANEXADMIN' clean post-rename). Description unchanged.

Test plan

  • cargo test -p tdbe conditions (18 tests pass)
  • rg 'Nanex|NANEX' returns no matches
  • cargo fmt --all -- --check

The display name carried a third-party product mark inherited from the
upstream condition dictionary. The description ("Used to make volume
and price corrections to match official exchange values") already
describes the purpose, so the renamed `PRICEVOLUMEADJ` constant
captures intent without the vendor reference. Single tracked
occurrence, no downstream string match.
@userFRM userFRM merged commit 6835ba5 into main May 6, 2026
31 checks passed
@userFRM userFRM deleted the fix/scrub-nanex-admin-condition branch May 6, 2026 08:12
userFRM added a commit that referenced this pull request May 6, 2026
* chore(release): 8.0.27

- polars 0.52 -> 0.53 (#479)
- conditions code 61 scrubbed to PRICEVOLUMEADJ (#480)

* chore(release): refresh sub-Cargo.lock files for 8.0.27

The workspace bump only updated the root Cargo.lock; tools/mcp,
tools/server, sdks/python, sdks/typescript carry their own lockfiles
that pin thetadatadx by version. CI's --locked check failed because
they still pinned 8.0.26.
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