Less log details on Trade.CreateSellStopOrder
Less log details on Trade.CreateSellStopOrder
01 Oct 2013, 13:57
How can I stop Trade.CreateSellStopOrder to create a log entry for every Create Pending Order and I have Buy Stop and Sell Stop entries in the log that I don't really wanna see as it makes my debugging a bit trickier :)
I thought the journal is enough for those events to be logged so is there a way to stop them logging when I run Trade.CreateSellStopOrder?
Replies
Spotware
02 Oct 2013, 10:19
( Updated at: 15 Jan 2024, 14:50 )
RE: RE:
stoko said:
stoko said:
How can I stop Trade.CreateSellStopOrder to create a log entry for every Create Pending Order and I have Buy Stop and Sell Stop entries in the log that I don't really wanna see as it makes my debugging a bit trickier :)
I thought the journal is enough for those events to be logged so is there a way to stop them logging when I run Trade.CreateSellStopOrder?
Also can I put a label when I use CreateSellStopOrder ?
You cannot eliminate the messages that are generated in the log.
To add a label you can use a Request and initialize the optional properties such as Label, please see: [/forum/whats-new/labels-and-a-new-method-to-create-orders]
@Spotware
stoko
01 Oct 2013, 14:36
RE:
stoko said:
Also can I put a label when I use CreateSellStopOrder ?
@stoko