Using source control

Using source control can help you track, organize, and improve your trading bot source code. By using version control software such as Git, you can keep track of changes made to your code, collaborate with other developers, and revert to previous versions if necessary.

With source control, you can create multiple branches to test different strategies, merge changes back into the main branch when they’re ready, and track the progress of their development over time.

In addition, using source control can help you identify bugs and errors in the code more easily. By tracking changes and keeping a history of the code, you can quickly identify when a bug was introduced and what changes were made that could have caused it.

HaasOnline TradeServer Cloud includes a built-in versioning directly into the IDE. You can use this feature to track changes and keep your trading bot source code organized and up-to-date. With this feature, you can easily revert to previous versions of trading bot code, experiment with new strategies, and manage their development process more efficiently.

Back to: HaasScript Fundamentals > Other Best Practices