Skip to main content

Core module for using VeighNa project in crypto markets.

Project description

By Traders, For Traders.

VeighNa Evo (vnpy_evo) is the core module for using VeighNa (vnpy) quant trading platform on the crypto market.

Social

  • Twitter Follow us on Twitter
  • Telegram Announcements Follow our important announcements
  • Telegram Chat If you need technical support

Features

  1. Full-featured quantitative trading platform (vnpy_evo.trader)

  2. Gateways which connect to exchanges for receiving market data and sending trading orders:

    • Crypto Market

      • Binance (binance): Spot/Perpetual/Futures/Option

      • OKX (okx): Spot/Perpetual/Futures/Option

      • Bybit (bybit): Spot/Perpetual/Futures/Option

      • BTSE (btse): Spot/Perpetual/Futures

    • Forex Market

      • MT5 (mt5): Forex/Gold/Commodity/Crypto
  3. 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.
  4. Event processing engine (vnpy_evo.event), which is the core of event-driven trading program

  5. 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.
  6. Standarad RPC solution (vnpy_evo.rpc) for implementing complex trading systems with distributed deployments

  7. High-performance charting widget (vnpy_evo.chart), which supports stream market data update

Install

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)"

Example

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

Licence

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vnpy_evo-0.3.2.tar.gz (62.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vnpy_evo-0.3.2-py3-none-any.whl (63.9 kB view details)

Uploaded Python 3

File details

Details for the file vnpy_evo-0.3.2.tar.gz.

File metadata

  • Download URL: vnpy_evo-0.3.2.tar.gz
  • Upload date:
  • Size: 62.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.9

File hashes

Hashes for vnpy_evo-0.3.2.tar.gz
Algorithm Hash digest
SHA256 c6861578d3941f289a8ee9c23452c6eed56db1be434c89863fe173f2ef2cc428
MD5 5dd948042d9ede64f94b80fce12b1d79
BLAKE2b-256 74847167639f169c427e3659cb2158fc6648907db478569ff9e72bce9ba8a7f4

See more details on using hashes here.

File details

Details for the file vnpy_evo-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: vnpy_evo-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 63.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.9

File hashes

Hashes for vnpy_evo-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eda1f8703b2854c42f12d841ae1ef2d61e82ef702eede98dce08527abecb60c5
MD5 e6c1a1482d87dbf5bc225cd9391a05fb
BLAKE2b-256 141c72cb560df8c62240fae3c1aff6675f4a067ac7689f989909895aa5a443a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page