This guide explains how to install and run the Server module of the Prime Spot DCA Trading Bot on Windows Server (64-bit). The server package includes a self-contained executable. All logs and configuration files stay inside the same folder for easy deployment.
server.zip provided with your license.C:\PrimeTradingBot\server\
C:\PrimeTradingBot\server\server.exe
Ensure the bot can write logs:
trading_bot.logtrades_mainet.logtrades_testnet.logRight-click folder → Properties → Security → Allow Read/Write.
Choose one of the methods below to start the bot automatically after reboot.
nssm install PrimeTradingBot
C:\PrimeTradingBot\server\server.exeC:\PrimeTradingBot\server\Run this in Administrator Command Prompt:
schtasks /create ^
/sc onstart ^
/tn "PrimeTradingBotServer" ^
/tr "C:\PrimeTradingBot\server\server.exe" ^
/rl highest ^
/f
Start immediately:
schtasks /run /tn "PrimeTradingBotServer"
Delete if needed:
schtasks /delete /tn "PrimeTradingBotServer" /f
Located inside server/:
trading_bot.log — bot execution logtrades_mainet.log — real tradestrades_testnet.log — testnet tradesconfig.json)Delete the folder to uninstall.
If using NSSM:
nssm remove PrimeTradingBot confirm
If using Task Scheduler:
schtasks /delete /tn "PrimeTradingBotServer" /f