Changed class name to follow CaseConvention
Changed to test to check Date string from last row in DF. Test rolling over a 5min timeframe, with print inside the it block watched it be processed firt loop after the new candle then not after.
This commit is contained in:
parent
2f5d9dc752
commit
853d67d8d9
@ -21,7 +21,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
class CandleAnalyzed:
|
||||
'''
|
||||
Maintains candle_row, the last df ['date'], set by analyze_ticker
|
||||
Maintains candle_row, the last df ['date'], set by analyze_ticker.
|
||||
This allows analyze_ticker to test if analysed the candle row in dataframe prior.
|
||||
To not keep testing the same candle data, which is wasteful in CPU and time
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user