On Wednesday, September 13, 2017 at 7:53:25 PM UTC-7, Andrew Zyman wrote:
> hello,
>  is there a better approach to populating a function in this situation?
> 
> res = self.DB.getPrice():  # returns array of 3x2 always.  symbol_id,
> symbol, price.
> 
> var1 = self.AFunction(symbols=res[0][2] + '.' + res[1][2], conid1=
> self.Contracts[res[0][0]].conId,
> 
> conid2=self.Contracts[res[1][0]].conId, price1= res[0][2], price2=
> res[1][2])
> 
> 
> Thank you.

OOP?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to