📦 SQA::StrategyGenerator::Pattern¶
Description
Represents a discovered indicator pattern
🔨 Instance Methods¶
#conditions()¶
Returns the value of attribute conditions.
Source Location
#conditions=(value)¶
Sets the attribute conditions
Parameters
| Name | Type | Description |
|---|---|---|
value |
Any |
the value to set the attribute conditions to. |
Source Location
#frequency()¶
Returns the value of attribute frequency.
Source Location
#frequency=(value)¶
Sets the attribute frequency
Parameters
| Name | Type | Description |
|---|---|---|
value |
Any |
the value to set the attribute frequency to. |
Source Location
#avg_gain()¶
Returns the value of attribute avg_gain.
Source Location
#avg_gain=(value)¶
Sets the attribute avg_gain
Parameters
| Name | Type | Description |
|---|---|---|
value |
Any |
the value to set the attribute avg_gain to. |
Source Location
#avg_holding_days()¶
Returns the value of attribute avg_holding_days.
Source Location
#avg_holding_days=(value)¶
Sets the attribute avg_holding_days
Parameters
| Name | Type | Description |
|---|---|---|
value |
Any |
the value to set the attribute avg_holding_days to. |
Source Location
#success_rate()¶
Returns the value of attribute success_rate.
Source Location
#success_rate=(value)¶
Sets the attribute success_rate
Parameters
| Name | Type | Description |
|---|---|---|
value |
Any |
the value to set the attribute success_rate to. |
Source Location
#occurrences()¶
Returns the value of attribute occurrences.
Source Location
#occurrences=(value)¶
Sets the attribute occurrences
Parameters
| Name | Type | Description |
|---|---|---|
value |
Any |
the value to set the attribute occurrences to. |
Source Location
#context()¶
Returns the value of attribute context.
Source Location
#context=(value)¶
Sets the attribute context
Parameters
| Name | Type | Description |
|---|---|---|
value |
Any |
the value to set the attribute context to. |
Source Location
#initialize(conditions: = {})¶
Returns
Type: Pattern
a new instance of Pattern
Source Location
#to_s()¶
Source Location
📝 Attributes¶
🔄 conditions read/write¶
Returns the value of attribute conditions.
🔄 frequency read/write¶
Returns the value of attribute frequency.
🔄 avg_gain read/write¶
Returns the value of attribute avg_gain.
🔄 avg_holding_days read/write¶
Returns the value of attribute avg_holding_days.
🔄 success_rate read/write¶
Returns the value of attribute success_rate.
🔄 occurrences read/write¶
Returns the value of attribute occurrences.
🔄 context read/write¶
Returns the value of attribute context.