What's new

Level up your trading game with Naxbot

Naxbot R is the world's first fully programmable crypto trading bot with an integrated metaheuristic optimization engine. Join us today to automate the mundane aspects of trading, so you can spend more time crafting profitable strategies. Self-hosted with no DRM or licensing, buy once - own forever!

Scripting

  • Views Views: 1,955
  • Last updated Last updated:
  • Introduction​

    Naxbot R is equipped with a very powerful scripting engine, utilizing the Lua scripting language.

    A great starting point for scripting is to take a look at the Script Engine Overview.

    For more advanced usage, you may refer to our API Reference.

    Performance​

    The performance of the scripting engine differs based on the platform it is run on. On Linux, the backend used is LuaJIT, which is a just-in-time compiler for the Lua engine, whereas on Windows, the regular Lua interpreter is utilized.

    This means that on Windows, performance will be (on average) 10x slower than on Linux. Unfortunately, this is the result of technical limitations at this time.

    If you require maximum scripting performance on Windows, it is recommended to run the bot through WSL2 for the time being.
Top