Skip to content

Commit 75a91d1

Browse files
Update base.py
Only join symbols if passed as a list, fixes alexgolec#53
1 parent c20c42f commit 75a91d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schwab/client/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ def get_instruments(self, symbols, projection):
11021102
projection = self.convert_enum(projection, self.Instrument.Projection)
11031103

11041104
params = {
1105-
'symbol': ','.join(symbols),
1105+
'symbol': ','.join(symbols) if isinstance(symbols, list) else symbols,
11061106
'projection': projection,
11071107
}
11081108

0 commit comments

Comments
 (0)