python-trading-robot icon indicating copy to clipboard operation
python-trading-robot copied to clipboard

Problem with single quotes in order dictionary.

Open ckvk48a opened this issue 3 years ago • 0 comments

It appears through testing that there is some sort of problem when submitting the orders created with the create trade module that have single quotes (') in the dictionary. I kept having a problem getting the orders to submit to my production TD account. Then when I changed the single quotes(') to double quotes(") (as is depicted in the example they provide in the API guide) the order went through just fine. Are you aware of this?

Seems somewhat peculiar that the API would be written this way, but that is what my testing has borne out. Would appreciate any comments from anyone else who is using this to chime in.

If I am correct, it would be worthy of making the changes in the trades Class to remedy this. Please advise.

ckvk48a avatar Apr 02 '21 04:04 ckvk48a