How to install the AvalonQuant trading tool on Windows and macOS. Pictures of each step past the 'Windows protected your PC' and macOS 'unidentified developer' warnings shown on first launch, why the warnings appear, checking the installer's SHA-256, what to do after the first launch, uninstalling and updating, and troubleshooting.
Kit coming soon: the download is not open yet. This guide describes installing the upcoming release ahead of time.
Double-click the downloaded AvalonQuant-<version>-win-x64-setup.exe.
When the blue 'Windows protected your PC' window appears, do not close it; press 'More info' under the text.
The app name and 'Publisher: Unknown publisher' appear, with a 'Run anyway' button below. Press 'Run anyway'.
Check the install location and press 'Install'. It installs for the current user only, so no administrator rights are needed. An AvalonQuant shortcut is created on the desktop.
Open AvalonQuant from the desktop or the Start menu. The dashboard appears after a few seconds. Closing the window leaves the app in the notification area (right side of the taskbar) to keep strategies running; to quit completely, use 'Quit' in the icon's menu.
Double-click the downloaded AvalonQuant-<version>-mac-arm64.dmg (mac-x64.dmg on an Intel Mac).
In the window that opens, drag the AvalonQuant icon onto the Applications folder on the right. When copying is done, close the dmg window and eject the dmg from the Finder sidebar.

In the Applications folder, do not double-click AvalonQuant; right-click (control-click) it and choose 'Open'. In the 'cannot verify the developer. Are you sure you want to open it?' window, press 'Open' again. Once allowed, it opens normally from then on.
From macOS 15 the right-click 'Open' no longer gets past the warning. Open AvalonQuant once; when the 'Not Opened' window appears, press 'Done'. Do not press 'Move to Trash'.

Go to System Settings → Privacy & Security and, under 'Security' near the bottom, press 'Open Anyway' next to "'AvalonQuant' was blocked". In the window that asks again, press 'Open Anyway' and confirm with your Mac password or Touch ID.

The 'Open Anyway' button is shown only for a while after the app was blocked. If you don't see it, try opening the app once more, then go back to System Settings.
Windows and macOS warn on the first launch of a program that is not signed with a code signing certificate recognized by Microsoft or Apple. The AvalonQuant installer is not signed with such a certificate yet, so the warning appears. The warning is not the result of scanning the program; it means the system cannot confirm who made it.
AvalonQuant runs only on your computer. Exchange and broker API keys are stored encrypted on that computer only and are not sent to AvalonQuant's servers. The app connects to the exchanges and brokers you link, and to avalonquant.com for license and update checks.
No signature also means the system does not check for you that the file you received is the one we published. Download the installer only from avalonquant.com and check it yourself with the SHA-256 checksum below.
Compute the installer's SHA-256 value and compare it with the table below. If even one character differs, do not run it; delete it and download again. Letter case does not matter.
Open PowerShell from the Start menu and run:
Get-FileHash .\Downloads\AvalonQuant-<version>-win-x64-setup.exe -Algorithm SHA256Open Applications → Utilities → Terminal and run:
shasum -a 256 ~/Downloads/AvalonQuant-<version>-mac-arm64.dmg| System | File | SHA-256 |
|---|---|---|
| Windows 10/11 (64-bit) | AvalonQuant-<version>-win-x64-setup.exe | Published at release |
| macOS (Apple chip) | AvalonQuant-<version>-mac-arm64.dmg | Published at release |
| macOS (Intel) | AvalonQuant-<version>-mac-x64.dmg | Published at release |
If you bought a paid license, open 'License' in the side menu → 'Add a license key' and paste the key you received or choose the .aqkey file. If you use it free, skip this step.
Save one exchange or broker API key under 'Accounts'. Prices and virtual trading work right after saving. Each connection's 'Allow live trading' switch is off by default, and while it is off no order, balance or account call is made. A withdrawal permission is not needed, so turn it off when you create the key.
Run a strategy in virtual trading first: it fills against real prices inside the app and sends no real order. Live trading starts only after you have checked it in virtual trading, switched 'Allow live trading' on and switched the strategy to live. For building strategies, see the strategy developer guide.
Uninstalling leaves the data folder (settings, encrypted API keys, backtest cache, logs) in place, and a reinstall picks up where you left off. To remove everything, delete this folder yourself.
The app tells you when a new version is out. Download the new installer from avalonquant.com and install it the same way. The data folder is not touched, so settings and keys stay.
A computer managed by an organization can block unsigned programs by policy, so the 'Windows protected your PC' window may have no 'Run anyway' button or macOS may show no 'Open Anyway'. You cannot lift that yourself; ask your IT administrator to allow it or use a personal computer.
Some antivirus programs falsely flag or briefly hold new unsigned programs. First check that the SHA-256 checksum above matches. If it does, add the AvalonQuant installer or install folder to the antivirus allow (exception) list. If the checksum differs, do not run it; delete it.
The app's engine listens only inside this computer (127.0.0.1) and tries port 18787 first. If another program uses it, the engine picks another free port by itself, so usually nothing needs to be done. If it still fails, make sure AvalonQuant is not running twice, then use 'Restart engine' in the icon's menu or restart the computer.
Closing the window leaves the app in the notification area (Windows) or menu bar (macOS); click the icon and choose 'Open dashboard'. If there is no icon either, check the error with 'Show engine log' or open logs/engine.log in the data folder. On macOS, check that you finished the 'Open Anyway' step above and downloaded the dmg for your Mac (arm64 for Apple chip, x64 for Intel). If it is still not solved, post on the Q&A page with the error text.