Replies: 1 comment
-
Hi @Felix99 Thanks for reaching out! This certainly needs more documentation, which we're working to improve. I suggest you use the You can access it from a strategy with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to implement a strategy on futures with fixed stop loss and take profit orders.
In a trading software, these functions are usually combined by OCO, such that, SL is reached the TP order is canceled, and vice versa.
I have found OCO in the documentation at
https://docs.nautilustrader.io/concepts/advanced/advanced_orders.html
but from the docs its use remains unclear to me.
In my code, I tried to use the order list:
order_list = OrderList(order_list_id, [sl_order, tp_order]) self.submit_order_list(order_list)
but how can I tell the engine to combine them as OCO?
Any help appreciated!
Beta Was this translation helpful? Give feedback.
All reactions