Last updated
Last updated
The Command Tester is a dedicated space where users can create and test how their trade interact with NinjaTrader. It allows you to check if your orders are flowing from CrossTrade to NinjaTrader as expected. Essentially, the tester serves as a quality check to ensure your integration works exactly as it should, saving you from unwanted surprises when it’s time to go live.
💡 The Command Tester's purpose is strictly for testing predefined commands between CrossTrade and NinjaTrader.
The Tester sends an alert payload directly to NinjaTrader in the same way it would occur if sending to CrossTrade from an external software like TradingView. The Command Library found on the user dashboard offers a dozen of the most popular commands which can be automatically sent to the tester by clicking on the Test button.
No API Functionality: It’s important to remember that the tester does not support dynamic variables or API testing. This means that while you can test the flow of orders using the provided commands, the tester isn’t designed to interact with platforms like TradingView or to process dynamic data from external sources.
By limiting the tester to static commands, we ensure that the testing process remains straightforward and reliable.
Getting started with the Tester is easy. Once logged into your CrossTrade account, follow these simple steps:
Navigate to the Tester: Find it within the user dashboard, under the testing section.
Select Basic or Advanced Commands: Depending on what you want to test, you can choose from the available command sets to simulate different scenarios.
Submit a Sample Payload: Use the predefined commands to test the flow of orders to NinjaTrader.
Verify the Results: Confirm that the orders are flowing through as expected, ensuring that everything is functioning correctly.
Predefined Commands Only: The tester accepts only the provided within the basic and advanced tabs in your dashboard. These commands include the Basic commands supported by NinjaTrader and Advanced commands which include specific CrossTrade enhancements.
No Dynamic Variables: The Tester does not support from your TradingView strategies or indicators. You will need to test those from TradingView directly.
How to use the Command Tester