Notifications Manager Filters
Last updated
Last updated
Filters work on the principle of cutoff (funnel). An example of the filter (picture above):
The first filter will pass* only messages with the specified numbers.
The second filter from the messages skipped by the first filter will skip only those that do not contain the given substring (in other words, it will cut off messages containing the given substring).
The third filter will cut off messages with the substring "There is no candle to bind the order" from the messages passed by the second filter.
The order of filters 2 and 3 does not matter, because they filter non-overlapping messages.
pass* - Skip to the handler, i.e. these numbers will go further and the next selection will be from those messages that have passed this filter.
Question: How to pass only messages #100 in the notification manager?
Answer: You need to use the "By number" filter and enter 100 in the "Message #" field. If you need to filter several message numbers, then you need to use the "By numbers" filter.
Question: Filter "Reject duplicate lines with 20 identical characters" How does it work?
Answer: The name of the filter may change over time, most likely the phrase "starting from the 16th character" will be added.
The filter works only for agents with the same number of characters in the name (if there are several agents), the time is not taken into account. Example:
Agent 'USDLong': Recalculation... Agent 'Pension': Recalculation...
16 space character after ':'. The message number is not important in this case. Agent names are both 7 characters long, i.e. the beginning of the word "Recalculation" will be from the same character. But if the names of agents differ in length, then this method will not work. A space counts as a character. Those. 20+ characters are those characters that come after the 16th character.
Category | Parameter | Description |
---|---|---|
Agent | with name _____ | Filters messages from the specified agent. |
Category | Data provider | All messages from data providers are filtered out. |
Category | Program | All messages from the program are filtered out. |
Category | Script | All messages from agents are filtered out. |
Category | Trade | All messages from the broker and exchange are filtered out |
Data provider | with name _______ | All messages from the specified data provider are filtered out. |
Duoplications | Compare _____ symbol(s), begin with _____ symbol | Checks messages for duplicate characters and filters out identical characters. |
Duoplications | Forget in _____ minutes | Cancels the blocking of receiving identical messages after the end of the time interval you set. |
By number | Message # _____ | Messages that have the corresponding service number from the list of service message numbers are filtered out. |
Except numbers | Show all events except event numbers | Shows event messages, except for those selected from the list of service message numbers. |
Identical messages | Reject messages containing a string ________ | Filters out messages containing the selected string. |
By numbers | Messages list | Opens event list selection windows. |
Parameter | with name _____ contains _____ | All messages containing the parameter specified in the first input field and the value specified in the second input field are filtered out. |
Script | with name _____ | Filters messages from the specified script. |
By message tag | Message contains tag value _________ | Filters out messages containing the selected tag. |
Substring | Expression contains substring _________ | Filters out messages containing a substring of your choice. |
Substring | Expression does not contain a substring | Filters out messages does not containing a substring of your choice. |
Substring | Expression contains regular expression | Filters out messages containing a regular expression of your choice. |
Substring | Expression does not contains regular expression | Filters out messages does not containing a regular expression of your choice. |
Time range | From _____ to _____ | Shows event messages in the specified time interval. The rest of the time blocks the passage of messages. The local time of the computer is used. |
Transactions | connected with orders | All orders are filtered out. |
Transactions | connected with trades | All trades are filtered out. |
Transactions | connected with orders and trades | All orders and trades are filtered out. |
Type | Debug | Filters out all debug messages. |
Type | Information | Filters out all Information messages. |
Type | Warning | Filters out all warning messages. |
Type | Errors | Filters out all error messages. |