I have a few lines which are variations on follow:
for index in range(len(seclist)):
curr_price[index] = data.current(sid(seclist[index]),'price')
Where seclist is a constant array of the id numbers of the securities I am looking at.
I am getting a build error "The sid(id) method takes one parameter."
What am I doing wrong?