SET_ORDERTEXT don't work when closing all trade

Posted By: 7th_zorro

SET_ORDERTEXT don't work when closing all trade - 03/28/22 02:13

I set SET_ORDERTEXT to distinguish each order, but when closing zorro program to update, zorro close all trade without SET_ORDERTEXT.

How to set SET_ORDERTEXT for zorro closing situation?
Posted By: Petra

Re: SET_ORDERTEXT don't work when closing all trade - 03/28/22 06:27

Ordertext is normally used when you open a trade, not when closing it.
Posted By: 7th_zorro

Re: SET_ORDERTEXT don't work when closing all trade - 03/29/22 01:05

I need to name every enter and exit orders used inside broker dll, can you add some functionality for this?
Posted By: Petra

Re: SET_ORDERTEXT don't work when closing all trade - 03/29/22 07:05

Contact the plugin developer. Brokercommands like set_ordertext are only sent to the plugin. What then happens with them is up to the plugin or broker.
Posted By: 7th_zorro

Re: SET_ORDERTEXT don't work when closing all trade - 03/29/22 07:34

I am the plugin developer and also strategy developer. I want to control my orders using the name.
Posted By: Petra

Re: SET_ORDERTEXT don't work when closing all trade - 03/29/22 07:59

Do you want the same ordertext for all trades closed at the end, or different ordertexts?
Posted By: 7th_zorro

Re: SET_ORDERTEXT don't work when closing all trade - 03/29/22 09:15

I want the same text between entry and exit pair.
Posted By: Petra

Re: SET_ORDERTEXT don't work when closing all trade - 03/29/22 11:55

Then store the text with the trade. Thats what the other plugins also do.
© 2024 lite-C Forums