Skip to content

docs(examples): add place_autoslice_order example - #233

Open
Finance-broski wants to merge 1 commit into
zerodha:masterfrom
Finance-broski:add-autoslice-example
Open

docs(examples): add place_autoslice_order example#233
Finance-broski wants to merge 1 commit into
zerodha:masterfrom
Finance-broski:add-autoslice-example

Conversation

@Finance-broski

Copy link
Copy Markdown

The examples/ folder has no example for place_autoslice_order() (added in v5.2). This adds examples/autoslice_order.py, mirroring the snippet in the README's "v5.2 — Auto slice orders" section as a runnable file, and demonstrating the market_protection parameter (also added in v5.2, not yet shown in examples/). Uses set_access_token() directly to keep the example focused on order placement.

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