Are JSON Properties Case Sensitive?

Fact checked by
Mike Christensen, CFOA
July 31, 2024
JSON properties in TradersPost are currently case sensitive. TradersPost will soon implement case insensitivity to reduce errors, but for now, users should copy property names directly from the documentation.

Yes, JSON properties in TradersPost are case sensitive. For example, a property like limitPrice must have a capital “P” in the JSON payload. If the property is written incorrectly, such as limitprice with a lowercase “p”, the system may not interpret it as intended, potentially leading to the wrong type of order being executed.

Future Update: Case Insensitivity

To reduce errors, TradersPost plans to implement case insensitivity for these properties in the near future. This change will allow users to send property names in any case (e.g., lowercase) without issues. For now, it’s recommended to copy and paste the property names directly from the TradersPost documentation to avoid mistakes.

Ready to automate your trading? Try a free 7-day account:
Try it for free ->