Coder Social home page Coder Social logo

bopo / lowriskarbitool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leonliu2001/lowriskarbitool

0.0 1.0 0.0 147 KB

利用公共数据的低风险套利工具,包括可转债、ETF、期货、期权、lof、债券等

License: Apache License 2.0

Python 100.00%

lowriskarbitool's Introduction

LowRiskArbiTool

一个将低风险投资品种的数据进行收集,整理,分析,并将部分品种间存在的套利计算做成工具。
数据获取来源有新浪财经、天天基金网、baostock等,实时数据从新浪获取,基金估值从天天基金获取,历史数据从baostock获取。
编程语言选用python3.7.0,图形界面采用tkinter,数据库选用了mysql5.7.32(暂不涉及),ORM采用peewee(暂不涉及)。
main/menu_window为tkinter图形界面,将相关工具图形化,截至8月2日,仍有部分功能待开发。
data/sina_tick类实现了从新浪财经接口提取股票、期货期权、商品期货、etf期权的实时成交数据,以及提取基金的每日净值数据。
data/ttjj_data类实现了从天天基金网接口提取lof基金的实时估算值。
data/bao_data类实现了从baostock提取股票的历史数据。
data/tencent_data类实现了从腾讯接口提取股票的实时数据。
tool/stock_option类实现用蒙特卡洛、bsm方式对股票的期权定价进行计算。
tool/send_wechat使用163邮箱(开启smtp功能)向qq邮箱发送邮件,在微信端开启qq邮箱提醒功能,实现重要消息提醒(实测延时约10秒)。
tool/diff_lof_price实现比较lof现价和估算值之间的折溢价。
tool/calc_stock_volitality实现了对股票年化波动率的计算,历史数据取自baostock。
tool/diff_index_future实现了比较中证500指数和IC期货,计算IC期货的贴水率。
tool/calc_change_ratio实现了计算可转债转股后价格和正股价格的折溢价率。
tool/diff_etf_option500sh实现计算500etf和上证所500期权合成后的折溢价率。
tool/diff_index_option_io实现计算hs300和中金所期权合成后的折溢价率。

lowriskarbitool's People

Contributors

leonliu2001 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.