Ë
    zWj×  ã                  óH   — d Z ddlmZ ddlmZ ddlmZmZmZm	Z	m
Z
mZ dd„Zy)	aN  Roaring Kitty (Keith Gill)-style scoring.

Gill's GME thesis combined deep value with an asymmetric catalyst: a
beaten-down but viable business carrying heavy short interest, so that any
improvement could force a squeeze. This scorer blends value cheapness,
short-squeeze fuel (short % of float, days to cover), and turning momentum.
é    )Úannotationsé   )Ú	StockData)ÚSignalÚStrategyResultÚcombineÚhigher_betterÚlower_betterÚverdict_fromc                ó>  — | j                  d«      }| j                  d«      }| j                  d«      }| j                  d«      }| j                  d«      }| j                  d«      }t        d|t        |dd	«      d
d«      t        d|t        |dd«      d«      t        d|t	        |dd«      dd«      t        d|t	        |dd«      d«      t        d|t        |dd«      dd«      t        d|t	        |dd	«      dd«      g}t        |«      }t        d ||t        |«      «      S )!NÚshortPercentOfFloatÚ
shortRatioÚpriceToBookÚpriceToSalesTrailing12Monthsé   éü   zShortFloat%gš™™™™™©?g333333Ó?gìQ¸…ëÑ?zshort-squeeze fuelÚDaysToCoverr   é   gš™™™™™É?zP/Bg      à?g      @g¸…ëQ¸¾?z
value basezP/Sgš™™™™™Ù?g      @gš™™™™™¹?ÚMom_1Mgš™™™™™©¿g
×£p=
Ç?zturning catalystÚ	Beaten_1Yg      à¿zstill cheap vs a year agozRoaring Kitty)ÚgetÚreturnsr   r	   r
   r   r   r   )	ÚsdÚ	short_pctÚshort_ratioÚpbÚpsÚret_1mÚret_1yÚsignalsÚscores	            ú7/var/www/html/finance-tool/screener/strategies/kitty.pyÚevaluater#      s  € Ø—‘Ð,Ó-€IØ—&‘&˜Ó&€KØ	�‰�Ó	€BØ	�‰Ð.Ó	/€Bð �Z‰Z˜‹^€FØ�Z‰Z˜‹_€Fô 	ˆ}˜i¬°yÀ$ÈÓ)MÈtØ#ó	%äˆ}˜k¬=¸ÀaÈÓ+KÈTÓRÜˆu�bœ, r¨3°Ó4°d¸LÓIÜˆu�bœ, r¨3°Ó4°dÓ;Üˆx˜¤¨v°u¸dÓ!CÀTØ!ó	#äˆ{˜F¤L°¸¸sÓ$CÀTØ*ó	,ð
€Gô �GÓ€EÜ˜/¨5°'¼<ÈÓ;NÓOÐOó    N)r   r   Úreturnr   )Ú__doc__Ú
__future__r   Údatar   Úscoringr   r   r   r	   r
   r   r#   © r$   r"   ú<module>r+      s"   ðñõ #å ÷3÷ 3ôPr$   