How do I script a “One Triggers the other” order? For example, once a buy order gets filled at all, immediately place a limit sell order for the amount that got filled, at some profit target price.
I have tried many, many things, none have worked. I am really just looking for example code.
The community content is generated by people from the community and is actively moderated. However, we do not endorse or claim to maintain any user generated content, links, tutorials, guides, projects, or questions that may appear in community sections.