Bar Series Question
Dustin_Lang
Posts: 25
Is there a way to iterate only once over a bar series and get several data items from the same bar ? For example, if I want to make a ordered list of open/close prices : pseudo code list = [] bars = function to get list of bars for bar in bars: list.append(bar.open) list.append(bar.close) instead of iterate over bars.open once and on bars.close once ?
Tagged:
Comments
I'm sure there are other approaches, using itertools works