Skip to content

Commit

Permalink
Merge pull request #105 from ranjanrak/fix-param-field
Browse files Browse the repository at this point in the history
Fix:param arg in convert_position method
  • Loading branch information
vividvilla authored Jan 14, 2021
2 parents 6c670eb + fcd602a commit 0a73af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiteconnect/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def convert_position(self,
old_product,
new_product):
"""Modify an open position's product type."""
return self._put("portfolio.positions.convert", {
return self._put("portfolio.positions.convert", params={
"exchange": exchange,
"tradingsymbol": tradingsymbol,
"transaction_type": transaction_type,
Expand Down

0 comments on commit 0a73af8

Please sign in to comment.