Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwang558 committed Dec 18, 2024
1 parent 3a16d14 commit 1fb265c
Show file tree
Hide file tree
Showing 4 changed files with 278 additions and 200 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@

安装环境推荐基于3.0.0版本以上的【[**VeighNa Studio**](https://www.vnpy.com)】。

直接使用pip命令:

```
pip install vnpy_akshare
```


或者下载源代码后,解压后在cmd中运行:
下载源代码后,解压后在cmd中运行:

```
pip install .
Expand All @@ -42,5 +35,3 @@ pip install .
|名称|含义|必填|举例|
|---------|----|---|---|
|datafeed.name|名称||akshare|
|datafeed.username|用户名||token|
|datafeed.password|密码||token|
12 changes: 6 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[metadata]
name = vnpy_akshare
version = 1.0.0.2
version = 1.0.0.1
url = https://www.vnpy.com
license = MIT
author = Hao Hu
author_email = haohu.th@gmail.com
description = akshare datafeed for VeighNa quant trading framework.
author = David Wang
author_email = littlefatty.wong@gmail.com
description = Akshare datafeed for VeighNa quant trading framework.
long_description = file: README.md
long_description_content_type = text/markdown
keywords =
Expand All @@ -18,7 +18,7 @@ classifiers =
Development Status :: 5 - Production/Stable
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.10
Topic :: Office/Business :: Financial :: Investment
Programming Language :: Python :: Implementation :: CPython
License :: OSI Approved :: MIT License
Expand All @@ -29,4 +29,4 @@ packages = find:
include_package_data = True
zip_safe = False
install_requires =
tushare
akshare
27 changes: 2 additions & 25 deletions vnpy_akshare/__init__.py
Original file line number Diff line number Diff line change
@@ -1,32 +1,9 @@
# The MIT License (MIT)
#
# Copyright (c) 2015-present, Xiaoyou Chen
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.


import importlib_metadata

from .akshare_datafeed import AkshareDatafeed as Datafeed
from .akshare_datafeed import AKShareDataFeed as Datafeed


try:
__version__ = importlib_metadata.version("vnpy_akshare")
except importlib_metadata.PackageNotFoundError:
__version__ = "dev"
__version__ = "dev"
Loading

0 comments on commit 1fb265c

Please sign in to comment.