VeighNa Evo (vnpy_evo) is the core module for using VeighNa (vnpy) quant trading platform on the crypto market.
-
Full-featured quantitative trading platform (vnpy_evo.trader)
-
Gateways which connect to exchanges for receiving market data and sending trading orders:
-
Applications for various quantitative strategies:
- Nova Strategy (nova_strategy): The quant strategy app module which is designed specifically for crypto markets, supports trend following, pair trading, multi-factor and many other types of quant strategies.
-
Event processing engine (vnpy_evo.event), which is the core of event-driven trading program
-
Database adaptors which support most commonly used databases:
- DuckDB (duckdb): The high-performance in-process analytical database which is designed to be fast, reliable, portable, and easy to use.
-
Standarad RPC solution (vnpy_evo.rpc) for implementing complex trading systems with distributed deployments
-
High-performance charting widget (vnpy_evo.chart), which supports stream market data update
MacOS
Please ensure you have installed XCode and Homebrew before running the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/veighna-global/vnpy_evo/HEAD/install_macos.sh)"
Ubuntu
sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/veighna-global/vnpy_evo/HEAD/install_linux.sh)"
You can start running VeighNa Evo with only a few lines of code.
from vnpy_evo.event import EventEngine
from vnpy_evo.trader.engine import MainEngine
from vnpy_evo.trader.ui import MainWindow, create_qapp
from vnpy_binance import BinanceLinearGateway
from vnpy_novastrategy import NovaStrategyApp
def main():
qapp = create_qapp()
event_engine = EventEngine()
main_engine = MainEngine(event_engine)
main_engine.add_gateway(BinanceUsdtGateway)
main_engine.add_app(CtaStrategyApp)
main_engine.add_app(NovaStrategyApp)
main_window = MainWindow(main_engine, event_engine)
main_window.showMaximized()
qapp.exec()
if __name__ == "__main__":
main()
Open a terminal within the directory and run the following command to start VeighNa Trader.
python run.py
MIT