Skip to content

Persist asset class - #1137

Open
carkod wants to merge 1 commit into
masterfrom
codex/persistent-asset-class
Open

Persist asset class#1137
carkod wants to merge 1 commit into
masterfrom
codex/persistent-asset-class

Conversation

@carkod

@carkod carkod commented Aug 16, 2026

Copy link
Copy Markdown
Owner

TODO

  • Create a new etl folder in binbot/etl
  • Move SymbolDataEtl to that folder and rename to SymbolData
  • Then move loose functions like _classify_persistent_regimes, _persistent_asset_class, _variance_ratio... into a binbot/etl/transform/asset_class.py staticmethod class

@carkod carkod changed the title Codex/persistent asset class Persist asset class Aug 16, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a78d23b7d0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

id=symbol_table.id,
active=symbol_table.active,
blacklist_reason=symbol_table.blacklist_reason,
asset_class=symbol_table.asset_class,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Expose asset_class through the pinned SymbolModel

For every add/get/list/edit response, the pinned pybinbot==1.11.15 SymbolModel has no asset_class field and Pydantic silently ignores this unknown keyword, so persisted classifications never reach API clients and cannot be used for strategy routing. Add the field to the shared pybinbot model and bump the dependency before constructing these responses.

AGENTS.md reference: AGENTS.md:L12-L12

Useful? React with 👍 / 👎.

@carkod
carkod force-pushed the codex/persistent-asset-class branch from a78d23b to 1bc86bb Compare August 16, 2026 02:13
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