V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
sunfinv
V2EX  ›  Python

我用免费 A 股数据做了几个工具,欢迎一起开源!

  •  
  •   sunfinv · 4 小时 8 分钟前 · 130 次点击

    大家好!

    之前分享了 finshare(免费 A 股数据库),最近用它做了几个小工具,今天分享下。


    3 分钟做一个行情看板

    pip install finshare streamlit plotly
    
    import streamlit as st
    import finshare as fs
    
    st.title("📈 实时行情")
    stocks = ['000001.SZ', '600519.SH', '300750.SZ']
    for code in stocks:
        snap = fs.get_snapshot_data(code)
        st.metric(code, snap.last_price, f"{snap.change_pct:.2f}%")
    

    运行 streamlit run app.py,搞定!


    已开源的项目

    项目 功能
    finboard 实时行情看板
    finscreener 选股器

    一起开源!

    基于 finshare 可以做:

    • 选股器 / 条件筛选
    • 价格提醒机器人
    • K 线图表工具
    • 数据导出 Excel
    • ...

    fork 项目,自己改改就能用!

    优秀项目我会推荐、帮你宣传~


    GitHub: https://github.com/finvfamily/finshare

    Discord: https://discord.gg/XT5f8ZGB

    欢迎来玩!

    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   958 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 19:59 · PVG 03:59 · LAX 12:59 · JFK 15:59
    ♥ Do have faith in what you're doing.