What you need
- Basic knowledge of programming. Almost any programming language will do to get started with our SDK. If you understand PHP, C#, JavaScript or similar, you’re good to go.
- A code editor or your choice. We recommend Visual Studio Code, IntelliJ IDEA or Sublime Text. But also Notepad++ will do.
- Our Bot SDK. You can download it here.
What you can code
Buy / Sell signals
Here’s an example of a barebone buy/sell signal. Please refer to the other sections of the SDK documentation for more information on how to extend the class and use the various features of the SDK.The getSignalInfo function is the most important function in your signal. It’s called based on the frequency you set in the bot configuration and is responsible for generating buy/sell signals. It also offers you access to realtime OHLCV data and other utility classes/functions to help you define your signal.
Investment strategies
Investment strategies are different from buy/sell strategies in that they don’t generate buy/sell signals. Instead, they define the trade order information (i.e. how much to invest in a particular asset, what order type [Market, Limit, StopLoss etc.]) based on the buy/sell strategies. Here’s an example of a barebone investment strategy. Please refer to the other sections of the SDK documentation for more information on how to extend the class and use the various features of the SDK.Patterns
(Candlestick) Patterns are a set of predefined conditions that need to be met in order to generate a buy/sell signal. Here’s an example of a barebone pattern.Limitations
Even you use a programming language like PHP or C# to code your bot, there are some limitations you should be aware of:Due to security restrictions you can only use the most native functions or system classes of the programming language. This means you can’t use any external libraries or APIs or functions that access system resources like files, databases or access the internet.
Internally, once you upload your code to our platform, we will parse it and convert it to our own internal code. All code that is not supported will be discarded and you’ll receive errors which lines of your code are not supported.That means your code will never directly run on our servers. Instead, we will run the converted code in a secure sandbox environment that has no access to the internet or any system resources. This is to ensure the security of our platform and your data.

