Feb-15-2018, 08:23 AM
Hi,
I'm getting a TypeError: list indices must be integers or slices, not tuple on the following section of code:
Console is telling me the error is in the 2nd line, but i'm stumped. Any help would be appreciated.
Thanks
I'm getting a TypeError: list indices must be integers or slices, not tuple on the following section of code:
1 2 3 4 |
df_Germany, err = tr.get_data([ 'ALVG.DE' , 'SIEGn.DE' , 'BAYGn.DE' , 'DBKGn.DE' , 'DAIGn.DE' , 'SAPG.DE' ] [ 'TR.AcquisitionType' , 'TR.AdjSharesTraded' , 'TR.AsRepSharesTraded' , 'TR.TransactionDate' ], { 'Scale' : 6 , 'SDate' : - 1000 , 'EDate' : 0 , 'FRQ' : 'D' , 'Curn' : 'USD' }) df_Germany |
Thanks