V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
thinkingmind
V2EX  ›  推广

高转送行情

  •  
  •   thinkingmind · 2016-11-21 15:21:33 +08:00 · 782 次点击
    这是一个创建于 2728 天前的主题,其中的信息可能已经有所发展或是发生改变。

    新鲜出品:https://www.ricequant.com/community/topic/2057/?utm_source=v2ex?

    上周五,永和智控公布了高送转预案,开盘涨停并直至收盘,打响了 2016 年报高送转的第一枪,一些具备高送转预期的个股也纷纷上涨,再次启动了高送转行情。 下面就利用 ricequant 的免费优质数据选出有高转送预期的股票以供大家参考 一般来说,具备高送转预期的个股,都具有市值较小、每股未分配利润多、每股公积金高、每股收益大,流通股本少的特点。当然,也还有其它的因素,比如当前股价、经营收益变动情况、以及以往分红送股习惯等等。 这里我们暂将未分配利润多大于 1 元,公积金大于等于 5 元,每股收益大于等于 5 毛,流通股本在 3 亿以下,总市值在 100 亿以内作为高送转预期目标。

    高转送.ipynb In[6]:

    date = '2016-11-18'
    
    pl = get_fundamentals(
        query(
            fundamentals.financial_indicator.book_value_per_share,
            fundamentals.financial_indicator.capital_reserve_per_share,
            fundamentals.financial_indicator.undistributed_profit_per_share,
            fundamentals.financial_indicator.earnings_per_share,
            fundamentals.eod_derivative_indicator.market_cap
        ).filter(
            fundamentals.financial_indicator.capital_reserve_per_share>=5,
            fundamentals.financial_indicator.earnings_per_share>=0.5,
            fundamentals.eod_derivative_indicator.market_cap<1e+10,
            fundamentals.financial_indicator.undistributed_profit_per_share>1
        ), date)
    df = pl.major_xs(date)
    len(df)
    

    Out[6]:17

    In[7]:

    for stk in df.index:
        
        df.ix[stk,'circulation_a'] = get_shares(stk, start_date='2016-11-18', end_date='2016-11-18', fields='circulation_a').values
        df.ix[stk,'symbol'] =instruments(stk).symbol
        df.ix[stk,'ClosingPx']=get_price(stk, start_date='2016-11-18', end_date='2016-11-18', fields='ClosingPx', adjust_type='none').values
    
    
    df = df[['symbol','ClosingPx','book_value_per_share','capital_reserve_per_share','undistributed_profit_per_share','earnings_per_share','circulation_a','market_cap']]
    df     
    

    Out[7]:

    In[8]:

    df.rename(columns={'symbol':'名称','ClosingPx':'收盘价','circulation_a':'流通股本','book_value_per_share' : '每股净资产','capital_reserve_per_share':'每股资本公积','undistributed_profit_per_share':'每股未分配利润','earnings_per_share':'每股收益','market_cap':'市值'})  
    

    米筐这么厉害,你都听说过! 那你一定也很厉害! https://www.ricequant.com/community/topic/2057/?utm_source=v2ex?

    1 条回复    2016-11-22 00:14:43 +08:00
    kawaiiushio
        1
    kawaiiushio  
       2016-11-22 00:14:43 +08:00 via iPhone
    mark
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1274 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:57 · PVG 07:57 · LAX 16:57 · JFK 19:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.