December 21st, 2022
Last updated
Last updated
This release contains several different improvements mostly around the webhooks functionality.
Users commonly have issues with the JSON that gets sent to TradersPost. To improve this, we adopted a new JSON5 parser that makes the JSON that we accept a bit more flexible. For example, you can now have trailing commas in your JSON.
Before, this JSON was invalid:
Notice the trailing comma on the 3rd line. This would have caused a JSON error previously. Now it will be accepted as valid JSON. You can read more about JSON5 here.
Due to us adopting a new JSON5 parser, we are now able to provide more specific error messages to help you identify what is wrong with your JSON. We will try to point out the specific line and column where the error exists.
You can now restrict notifications to only notify you of failures. If you go to your strategy subscription settings, you will see a Notifications section where you can setup your notifications.
You will now find a similar section when editing webhooks. You can configure notifications for new and failed webhooks or restrict to only failed webhooks by checking Notify failures only.
If you don't want to configure notification settings on each strategy subscription or webhook, under your Account Settings, you will see a new section for managing this.
The copy button next to a webhook URL will actually copy the URL now without you having to copy the URL manually.