Skip to content

fix settlements for new mode feature#151

Open
heytdep wants to merge 1 commit intomainfrom
feat/settlement-mode
Open

fix settlements for new mode feature#151
heytdep wants to merge 1 commit intomainfrom
feat/settlement-mode

Conversation

@heytdep
Copy link
Copy Markdown
Member

@heytdep heytdep commented Mar 30, 2026

No description provided.

@heytdep heytdep requested a review from antazoey March 30, 2026 19:22
Copy link
Copy Markdown
Collaborator

@antazoey antazoey left a comment

Choose a reason for hiding this comment

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

Looks good but please remove the .DS_Store file and maybe add that to gitignore before merge.

Also one suggestion on using an Enum type instead of a str literal

The shared fields for all inner settlement requests.
"""

mode: Literal["margin", "spot"] = "margin"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It may be better to use an Enum

@heytdep heytdep force-pushed the feat/settlement-mode branch from e1f16d4 to 59d6a45 Compare March 31, 2026 14:58
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.

2 participants