Skip to content

Commit

Permalink
[Mod] rename as vnpy_evo
Browse files Browse the repository at this point in the history
  • Loading branch information
veighna-global committed Mar 11, 2024
1 parent 0bd4acc commit 2069d03
Show file tree
Hide file tree
Showing 38 changed files with 60 additions and 60 deletions.
24 changes: 12 additions & 12 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ ignore =
# line break before binary operator
W503,
per-file-ignores =
vnpy_crypto\trader\app.py: F401, F403
vnpy_crypto\trader\converter.py: F401, F403
vnpy_crypto\trader\constant.py: F401, F403
vnpy_crypto\trader\database.py: F401, F403
vnpy_crypto\trader\datafeed.py: F401, F403
vnpy_crypto\trader\engine.py: F401, F403
vnpy_crypto\trader\event.py: F401, F403
vnpy_crypto\trader\gateway.py: F401, F403
vnpy_crypto\trader\object.py: F401, F403
vnpy_crypto\trader\optimize.py: F401, F403
vnpy_crypto\trader\setting.py: F401, F403
vnpy_crypto\trader\utility.py: F401, F403
vnpy_evo\trader\app.py: F401, F403
vnpy_evo\trader\converter.py: F401, F403
vnpy_evo\trader\constant.py: F401, F403
vnpy_evo\trader\database.py: F401, F403
vnpy_evo\trader\datafeed.py: F401, F403
vnpy_evo\trader\engine.py: F401, F403
vnpy_evo\trader\event.py: F401, F403
vnpy_evo\trader\gateway.py: F401, F403
vnpy_evo\trader\object.py: F401, F403
vnpy_evo\trader\optimize.py: F401, F403
vnpy_evo\trader\setting.py: F401, F403
vnpy_evo\trader\utility.py: F401, F403
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 0.1.0

1. The first release of VeighNa Crypto
1. The first release of VeighNa Evo
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# By Crypto Traders, For Crypto Traders.
# By Traders, For Traders.

<p align="center">
<img src ="https://github.com/veighna-global/vnpy_crypto/blob/dev/logo.png" width="300" height="300"/>
<img src ="https://github.com/veighna-global/vnpy_evo/blob/dev/logo.png" width="300" height="300"/>
</p>

<p align="center">
<img src ="https://img.shields.io/badge/version-0.1.0-blueviolet.svg"/>
<img src ="https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg"/>
<img src ="https://img.shields.io/badge/python-3.10|3.11|3.12-blue.svg" />
<img src ="https://img.shields.io/github/license/veighna-global/vnpy_crypto.svg?color=orange"/>
<img src ="https://img.shields.io/github/license/veighna-global/vnpy_evo.svg?color=orange"/>
</p>

VeighNa Crypto (vnpy_crypto) is the core module for using [VeighNa (vnpy)](https://github.com/vnpy/vnpy) quant trading platform on the crypto market.
VeighNa Evo (vnpy_evo) is the core module for using [VeighNa (vnpy)](https://github.com/vnpy/vnpy) quant trading platform on the crypto market.

## Social

Expand All @@ -22,7 +22,7 @@ VeighNa Crypto (vnpy_crypto) is the core module for using [VeighNa (vnpy)](https

## Features

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

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

Expand All @@ -40,7 +40,7 @@ VeighNa Crypto (vnpy_crypto) is the core module for using [VeighNa (vnpy)](https

* RPC service ([rpc](https://www.github.com/vnpy/vnpy_rpcservice)): inter-process communication interface for distributed architecture

3. Applications for various quantitative strategies (vnpy_crypto.app).
3. Applications for various quantitative strategies (vnpy_evo.app).

* [cta_strategy](https://www.github.com/vnpy/vnpy_ctastrategy): CTA strategy engine module, which allows users to perform fine-grained control over the withdrawal behavior of delegates during the operation of CTA-type strategies while maintaining ease of use (reducing trading slippage, implementing high-frequency strategies)

Expand Down Expand Up @@ -82,13 +82,13 @@ VeighNa Crypto (vnpy_crypto) is the core module for using [VeighNa (vnpy)](https
* Websocket Client ([websocket](https://www.github.com/vnpy/vnpy_websocket)): The high-performance websocket API client based on coroutine process asynchronous IO supports which sharing event loops with REST Client to avoid multi-threaded performance loss caused by GIL


5. Event processing engine (vnpy_crypto.event), which is the core of event-driven trading program
5. Event processing engine (vnpy_evo.event), which is the core of event-driven trading program

6. Database adaptors which support most commonly used databases:

* SQL

* SQLite ([sqlite](https://www.github.com/vnpy/vnpy_sqlite)): lightweight single file database, no need to install and configure data service programs, default option of vnpy_crypto.py, suitable for novice users
* SQLite ([sqlite](https://www.github.com/vnpy/vnpy_sqlite)): lightweight single file database, no need to install and configure data service programs, default option of vnpy_evo.py, suitable for novice users

* MySQL ([mysql](https://www.github.com/vnpy/vnpy_mysql)): the world's most popular open source relational database, extremely rich documentation, and can replace other high NewSQL compatible implementations (such as TiDB)

Expand All @@ -102,13 +102,13 @@ VeighNa Crypto (vnpy_crypto) is the core module for using [VeighNa (vnpy)](https

* LevelDB ([leveldb](https://www.github.com/vnpy/vnpy_leveldb)): The high-performance key/value database launched by Google which realizes the process memory storage engine based on LSM algorithm, and supports billions of levels of massive data

7. Standarad RPC solution (vnpy_crypto.rpc) for implementing complex trading systems with distributed deployments
7. Standarad RPC solution (vnpy_evo.rpc) for implementing complex trading systems with distributed deployments

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

## Install

Download the latest version from [here](https://github.com/veighna_global/vnpy_crypto/releases), unzip it and run the following command to install it.
Download the latest version from [here](https://github.com/veighna_global/vnpy_evo/releases), unzip it and run the following command to install it.

**Windows**

Expand All @@ -130,12 +130,12 @@ bash install_osx.sh

## Example

You can start running VeighNa Crypto with only a few lines of code.
You can start running VeighNa Evo with only a few lines of code.

```Python
from vnpy_crypto.event import EventEngine
from vnpy_crypto.trader.engine import MainEngine
from vnpy_crypto.trader.ui import MainWindow, create_qapp
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 BinanceUsdtGateway
from vnpy_ctastrategy import CtaStrategyApp
Expand Down
8 changes: 4 additions & 4 deletions examples/candle_chart/run.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from datetime import datetime

from vnpy_crypto.trader.ui import create_qapp, QtCore
from vnpy_crypto.trader.constant import Exchange, Interval
from vnpy_crypto.trader.database import get_database
from vnpy_crypto.chart import ChartWidget, VolumeItem, CandleItem
from vnpy_evo.trader.ui import create_qapp, QtCore
from vnpy_evo.trader.constant import Exchange, Interval
from vnpy_evo.trader.database import get_database
from vnpy_evo.chart import ChartWidget, VolumeItem, CandleItem


if __name__ == "__main__":
Expand Down
6 changes: 3 additions & 3 deletions examples/client_server/run_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from vnpy_crypto.event import EventEngine
from vnpy_crypto.trader.engine import MainEngine
from vnpy_crypto.trader.ui import MainWindow, create_qapp
from vnpy_evo.event import EventEngine
from vnpy_evo.trader.engine import MainEngine
from vnpy_evo.trader.ui import MainWindow, create_qapp

from vnpy_rpcservice import RpcGateway
from vnpy_ctastrategy import CtaStrategyApp
Expand Down
8 changes: 4 additions & 4 deletions examples/client_server/run_server.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from time import sleep

from vnpy_crypto.event import EventEngine, Event
from vnpy_crypto.trader.engine import MainEngine
from vnpy_crypto.trader.ui import MainWindow, create_qapp
from vnpy_crypto.trader.event import EVENT_LOG
from vnpy_evo.event import EventEngine, Event
from vnpy_evo.trader.engine import MainEngine
from vnpy_evo.trader.ui import MainWindow, create_qapp
from vnpy_evo.trader.event import EVENT_LOG

from vnpy_binance import BinanceUsdtGateway
from vnpy_rpcservice import RpcServiceApp
Expand Down
6 changes: 3 additions & 3 deletions examples/no_ui/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
from datetime import datetime, time
from logging import INFO

from vnpy_crypto.event import EventEngine
from vnpy_crypto.trader.setting import SETTINGS
from vnpy_crypto.trader.engine import MainEngine
from vnpy_evo.event import EventEngine
from vnpy_evo.trader.setting import SETTINGS
from vnpy_evo.trader.engine import MainEngine

from vnpy_binance import BinanceUsdtGateway
from vnpy_ctastrategy import CtaStrategyApp
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_rpc/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from __future__ import absolute_import
from time import sleep

from vnpy_crypto.rpc import RpcClient
from vnpy_evo.rpc import RpcClient


class TestClient(RpcClient):
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_rpc/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from __future__ import absolute_import
from time import sleep, time

from vnpy_crypto.rpc import RpcServer
from vnpy_evo.rpc import RpcServer


class TestServer(RpcServer):
Expand Down
6 changes: 3 additions & 3 deletions examples/veighna_trader/run.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from vnpy_crypto.event import EventEngine
from vnpy_crypto.trader.engine import MainEngine
from vnpy_crypto.trader.ui import MainWindow, create_qapp
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 BinanceUsdtGateway
from vnpy_ctastrategy import CtaStrategyApp
Expand Down
2 changes: 1 addition & 1 deletion install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ python -m pip install --upgrade pip wheel
::Install prebuild wheel
python -m pip install --extra-index-url https://pypi.vnpy.com TA_Lib==0.4.24

:: Install vnpy_crypto
:: Install vnpy_evo
python -m pip install .
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ function ta-lib-exists()
}
ta-lib-exists || install-ta-lib

# Install vnpy_crypto
# Install vnpy_evo
$python -m pip install . --index $pypi_index
2 changes: 1 addition & 1 deletion install_osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ ta-lib-exists || install-ta-lib
$python -m pip install numpy==1.23.1 --index $pypi_index
$python -m pip install ta-lib==0.4.24 --index $pypi_index

# Install vnpy_crypto
# Install vnpy_evo
$python -m pip install . --index $pypi_index
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = vnpy_crypto
version = attr: vnpy_crypto.__version__
name = vnpy_evo
version = attr: vnpy_evo.__version__
author = VeighNa Global
author_email = [email protected]
description = Core module for using VeighNa project on crypto markets.
Expand Down Expand Up @@ -31,7 +31,7 @@ classifiers =
License :: OSI Approved :: MIT License
Natural Language :: English
project_urls =
Documentation = https://github.com/veighna-global/vnpy_crypto
Documentation = https://github.com/veighna-global/vnpy_evo

[options]
packages = find:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from vnpy.event import EventEngine
from vnpy.trader.locale import _

import vnpy_crypto
import vnpy_evo
from .qt import QtCore, QtGui, QtWidgets
from .widget import (
ConnectDialog,
Expand Down Expand Up @@ -50,7 +50,7 @@ def __init__(self, main_engine: MainEngine, event_engine: EventEngine) -> None:
self.main_engine: MainEngine = main_engine
self.event_engine: EventEngine = event_engine

self.window_title: str = f"VeighNa Crypto - {vnpy_crypto.__version__} [{TRADER_DIR}]"
self.window_title: str = f"VeighNa Evo - {vnpy_evo.__version__} [{TRADER_DIR}]"

self.app_widgets: dict[str, QtWidgets.QWidget] = {}

Expand Down Expand Up @@ -148,7 +148,7 @@ def open_forum(self) -> None:
def open_github(self) -> None:
"""
"""
webbrowser.open("https://github.com/veighna-global/vnpy_crypto")
webbrowser.open("https://github.com/veighna-global/vnpy_evo")

def edit_global_setting(self) -> None:
"""
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion vnpy_crypto/trader/ui/qt.py → vnpy_evo/trader/ui/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
QtCore.QDateTime.toPyDate = QtCore.QDateTime.toPython


def create_qapp(app_name: str = "VeighNa Crypto") -> QtWidgets.QApplication:
def create_qapp(app_name: str = "VeighNa Evo") -> QtWidgets.QApplication:
"""
Create Qt Application.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,10 +501,10 @@ def __init__(self, parent: QtWidgets.QWidget) -> None:

def init_ui(self) -> None:
""""""
self.title_label = SubtitleLabel("About VeighNa Crypto", self)
self.title_label = SubtitleLabel("About VeighNa Evo", self)

from vnpy import __version__ as vnpy_version
from ... import __version__ as crypto_version
from ... import __version__ as evo_version

text: str = f"""
By Traders, For Traders.
Expand All @@ -517,7 +517,7 @@ def init_ui(self) -> None:
Github:www.github.com/vnpy/vnpy
VeighNa Crypto - {crypto_version}
VeighNa Evo - {evo_version}
VeighNa - {vnpy_version}
Python - {platform.python_version()}
PySide6 - {importlib_metadata.version("pyside6")}
Expand Down
File renamed without changes.

0 comments on commit 2069d03

Please sign in to comment.