Does MineMeld support multiple values for a condition in a prototype config?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Does MineMeld support multiple values for a condition in a prototype config?

L0 Member

I am trying to setup one prototype where it's condition will accept indicators with share levels of both green AND amber.   I don't want to create a seperate prototype for every share level combination of color and confidence..

 

I would like to just say "if the confidence is >75 AND share level is either green or amber, then accept the indicator.   Is this possible?

 

Something to this effect:

 

infilters:
- actions:
- accept
conditions:
- __method == 'withdraw'
name: accept withdraws
- actions:
- accept
conditions:

- confidence > 75
- share_level == 'green', 'amber'  <- syntax here is where I am unsure
name: accept confidence > 75 and share level green or amber
- actions:
- drop
name: drop all

1 REPLY 1

L1 Bithead

@jsiergiej 

I am having a similar issue as well with the multiple contains values. Were you able to find a solution? 

 

infilters:
- actions:
- accept
conditions:
- __method == 'withdraw'
name: accept withdraws
- actions:
- accept
conditions:
- contains(`["A", "B", "C"]`, alphabet_letters) == true
name: ABC Only
type: IPv4
- actions:
- drop
name: drop all

 

 

  • 2354 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!