Title: help wanted. Linked TP and SL orders · Issue #183 · gateio/gateapi-python · GitHub
Open Graph Title: help wanted. Linked TP and SL orders · Issue #183 · gateio/gateapi-python
X Title: help wanted. Linked TP and SL orders · Issue #183 · gateio/gateapi-python
Description: Is it possible to use the Python SDK to create TP and SL orders that are linked to each other and to an open position - so that when one is executed, the other is automatically canceled? And also, if the position is closed manually (at m...
Open Graph Description: Is it possible to use the Python SDK to create TP and SL orders that are linked to each other and to an open position - so that when one is executed, the other is automatically canceled? And also, ...
X Description: Is it possible to use the Python SDK to create TP and SL orders that are linked to each other and to an open position - so that when one is executed, the other is automatically canceled? And also, ...
Opengraph URL: https://github.com/gateio/gateapi-python/issues/183
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"help wanted. Linked TP and SL orders","articleBody":"Is it possible to use the Python SDK to create TP and SL orders that are linked to each other and to an open position - so that when one is executed, the other is automatically canceled? And also, if the position is closed manually (at market), the TP and SL orders would be automatically canceled as well? Basically, something like an OCO order for futures perp. It's pretty easy to set this up through the web interface, but it's not clear how to do it using the Python SDK. \n\n\u003cimg width=\"2023\" height=\"247\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/0e3f2cfd-c0ad-4fa1-890b-fa2f1377e690\" /\u003e","author":{"url":"https://github.com/DrZuse","@type":"Person","name":"DrZuse"},"datePublished":"2025-10-16T12:57:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/183/gateapi-python/issues/183"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:08aba82a-ce08-caed-17dc-f6016be8f62b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB94:15EE04:98EA55:C4F10A:699065CC |
| html-safe-nonce | 939e0e6bc422122155a7e02b023c14a5416f18e2fceb07d23f2ec6037c787626 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjk0OjE1RUUwNDo5OEVBNTU6QzRGMTBBOjY5OTA2NUNDIiwidmlzaXRvcl9pZCI6IjkwNzQ2MDc0NzExNDI2NTk1MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 62ea960dc84240d3e218628537dd77892c3d3a06b73e2e70d8044b544490697a |
| hovercard-subject-tag | issue:3521785135 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gateio/gateapi-python/183/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5849ad7b50bb6c33f7bb4283a090884890348590ae579c3fa7b62355bd6d3bc3/gateio/gateapi-python/issues/183 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5849ad7b50bb6c33f7bb4283a090884890348590ae579c3fa7b62355bd6d3bc3/gateio/gateapi-python/issues/183 |
| og:image:alt | Is it possible to use the Python SDK to create TP and SL orders that are linked to each other and to an open position - so that when one is executed, the other is automatically canceled? And also, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DrZuse |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/gateio/gateapi-python git https://github.com/gateio/gateapi-python.git |
| octolytics-dimension-user_id | 32661171 |
| octolytics-dimension-user_login | gateio |
| octolytics-dimension-repository_id | 163492316 |
| octolytics-dimension-repository_nwo | gateio/gateapi-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 163492316 |
| octolytics-dimension-repository_network_root_nwo | gateio/gateapi-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width