Skip to content

Commit 5658b22

Browse files
author
Mike Cardillo
committed
Remove fstring from place_stop_order to make compatible with python < 3.6
1 parent 45ed5dc commit 5658b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cbpro/authenticated_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def place_stop_order(self, product_id, stop_type, price, size=None, funds=None,
456456
elif stop_type == 'entry':
457457
side = 'buy'
458458
else:
459-
raise ValueError(f'Invalid stop_type for stop order: {stop_type}')
459+
raise ValueError('Invalid stop_type for stop order: ' + stop_type)
460460

461461
params = {'product_id': product_id,
462462
'side': side,

0 commit comments

Comments
 (0)