Skip to content

Problem with single quotes in order dictionary. #20

@ckvk48a

Description

@ckvk48a

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions