skyfffire 1 周之前
當前提交
2f24eb451e
共有 11 個文件被更改,包括 141 次插入0 次删除
  1. 45 0
      .gitignore
  2. 21 0
      LICENSE
  3. 47 0
      README.md
  4. 6 0
      requirements.txt
  5. 22 0
      setup.py
  6. 二進制
      xlsx/history_records (28).xlsx
  7. 二進制
      xlsx/history_records (29).xlsx
  8. 二進制
      xlsx/history_records (30).xlsx
  9. 二進制
      xlsx/history_records (31).xlsx
  10. 二進制
      xlsx/history_records (32).xlsx
  11. 二進制
      xlsx/history_records (33).xlsx

+ 45 - 0
.gitignore

@@ -0,0 +1,45 @@
+# Python
+__pycache__/
+*.py[cod]
+*$py.class
+*.so
+.Python
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+wheels/
+*.egg-info/
+.installed.cfg
+*.egg
+
+# Virtual Environment
+venv/
+env/
+ENV/
+
+# IDE
+.idea/
+.vscode/
+*.swp
+*.swo
+
+# Testing
+.coverage
+htmlcov/
+.pytest_cache/
+.tox/
+
+# Logs
+*.log
+
+# Local configuration
+.env
+.env.local

+ 21 - 0
LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2025 skyfffire
+
+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.

+ 47 - 0
README.md

@@ -0,0 +1,47 @@
+# ERC20 Lead MEXC
+
+ERC20代币交易和分析工具包,专注于MEXC交易所的ERC20代币交易。
+
+## 功能特点
+
+- ERC20代币交易数据分析
+- MEXC交易所API集成
+- 交易策略实现与回测
+
+## 安装方法
+
+```bash
+pip install erc20_lead_mexc
+```
+
+或者从源代码安装:
+
+```bash
+git clone https://github.com/yourusername/erc20_lead_mexc.git
+cd erc20_lead_mexc
+pip install -e .
+```
+
+## 使用示例
+
+```python
+from erc20_lead_mexc import analyzer
+
+# 分析特定ERC20代币
+result = analyzer.analyze_token("0x123abc...")
+print(result)
+```
+
+## 开发环境设置
+
+1. 克隆仓库
+2. 创建虚拟环境: `python -m venv venv`
+3. 激活虚拟环境: 
+   - Windows: `venv\Scripts\activate`
+   - Linux/Mac: `source venv/bin/activate`
+4. 安装开发依赖: `pip install -r requirements.txt`
+5. 安装pre-commit钩子: `pre-commit install`
+
+## 许可证
+
+MIT

+ 6 - 0
requirements.txt

@@ -0,0 +1,6 @@
+pytest>=7.0.0
+pre-commit>=2.17.0
+black>=22.1.0
+flake8>=4.0.1
+web3>=5.28.0
+requests>=2.27.1

+ 22 - 0
setup.py

@@ -0,0 +1,22 @@
+from setuptools import setup, find_packages
+
+setup(
+    name="erc20_lead_mexc",
+    version="0.1.0",
+    packages=find_packages(),
+    install_requires=[
+        # 在这里添加项目依赖
+    ],
+    author="Your Name",
+    author_email="your.email@example.com",
+    description="ERC20代币交易和分析工具包",
+    keywords="erc20, cryptocurrency, trading, analysis",
+    url="https://github.com/yourusername/erc20_lead_mexc",
+    classifiers=[
+        "Development Status :: 3 - Alpha",
+        "Intended Audience :: Developers",
+        "Programming Language :: Python :: 3",
+        "Programming Language :: Python :: 3.8",
+    ],
+    python_requires=">=3.8",
+)

二進制
xlsx/history_records (28).xlsx


二進制
xlsx/history_records (29).xlsx


二進制
xlsx/history_records (30).xlsx


二進制
xlsx/history_records (31).xlsx


二進制
xlsx/history_records (32).xlsx


二進制
xlsx/history_records (33).xlsx