Package: slothstock
SlothStockStock for Sloth.Read this in other languages:English,简体中文.Getting StartedInstallationpipinstall-UslothstockUsage$sloth-buy-h

usage:sloth-buy[-h][--reserve-st][--reserve-suspend][--check-great-great-grandparent][--daemon][--intervalINTERVAL][--ignore-empty][--outputOUTPUT][-V][--ebkEBK][--periodPERIOD][--loose][--child{cross,divergence}][--datetimeDATETIME][--titleTITLE][--tokenTOKEN][--topic-idsTOPIC_IDS][--uidsUIDS]optionalarguments:-h,--helpshowthishelpmessageandexit--daemonFlagofdaemonmode,noconsoleoutput.(default:False)--intervalINTERVALTimeintervalinsecondsbetweensuccessiverequestsinproviders.(default:0.1)--ignore-emptyFlagfornooutputornotificationwhentheresultisempty.(default:False)--outputOUTPUTTheoutputfileinebkformatfortheresults.(default:None)-V,--versionshowprogram'sversionnumberandexitBuy:--reserve-stFlagtoreserveSTstocks.(default:False)--reserve-suspendFlagtoreservesuspendedstocks.(default:False)--check-great-great-grandparentFlagtocheckgreat_great_grandparentperiod.(default:False)SlothStock:--ebkEBKStockcandidatesinebkformatfile.Ifnotspecified,allstocksareprocessed.Notethatmultipleofthemaresupported.(default:[])--periodPERIODChecksignalforspecificperiod.Validchoicesare`1m`,`5m`,`15m`,`60m`,`day`,`week`,`month`,`quarter`,`year`.(default:day)--looseFlagofloosemodeforsignalcheck.(default:False)--child{cross,divergence}Childcheckmode,itshouldbe`cross`or`divergence`.Ifnospecified,childperiodcheckwillbeskipped.(default:None)--datetimeDATETIMEThedatetimecompatiblewithISO8601format(`YY-MM-DD`or`YYYY-MM-DDTHH:MM`)forsignalcheck,mostlyfortestingpurpose.(default:None)WxPusher:--titleTITLEThe`title`forthenotification.(default:None)--tokenTOKENThe`token`forthenotification.Nonemeansnonotification(default:None)--topic-idsTOPIC_IDSThe`topic_ids`forthenotification.Notethatmultipleofthemaresupportedandnonotificationwillbesentifboth`topic_ids`and`uids`areNone,(default:[])--uidsUIDSThe`uids`forthenotification.Notethatmultipleofthemaresupportedandnonotificationwillbesentifboth`topic_ids`and`uids`areNone.(default:[])$sloth-sell-h

usage:sloth-sell[-h][--daemon][--intervalINTERVAL][--ignore-empty][--outputOUTPUT][-V][--check-parent][--ebkEBK][--periodPERIOD][--loose][--child{cross,divergence}][--datetimeDATETIME][--titleTITLE][--tokenTOKEN][--topic-idsTOPIC_IDS][--uidsUIDS]optionalarguments:-h,--helpshowthishelpmessageandexit--daemonFlagofdaemonmode,noconsoleoutput.(default:False)--intervalINTERVALTimeintervalinsecondsbetweensuccessiverequestsinproviders.(default:0.1)--ignore-emptyFlagfornooutputornotificationwhentheresultisempty.(default:False)--outputOUTPUTTheoutputfileinebkformatfortheresults.(default:None)-V,--versionshowprogram'sversionnumberandexitSell:--check-parentFlagtocheckparentperiod.(default:False)SlothStock:--ebkEBKStockcandidatesinebkformatfile.Ifnotspecified,allstocksareprocessed.Notethatmultipleofthemaresupported.(default:[])--periodPERIODChecksignalforspecificperiod.Validchoicesare`1m`,`5m`,`15m`,`60m`,`day`,`week`,`month`,`quarter`,`year`.(default:day)--looseFlagofloosemodeforsignalcheck.(default:False)--child{cross,divergence}Childcheckmode,itshouldbe`cross`or`divergence`.Ifnospecified,childperiodcheckwillbeskipped.(default:None)--datetimeDATETIMEThedatetimecompatiblewithISO8601format(`YY-MM-DD`or`YYYY-MM-DDTHH:MM`)forsignalcheck,mostlyfortestingpurpose.(default:None)WxPusher:--titleTITLEThe`title`forthenotification.(default:None)--tokenTOKENThe`token`forthenotification.Nonemeansnonotification(default:None)--topic-idsTOPIC_IDSThe`topic_ids`forthenotification.Notethatmultipleofthemaresupportedandnonotificationwillbesentifboth`topic_ids`and`uids`areNone,(default:[])--uidsUIDSThe`uids`forthenotification.Notethatmultipleofthemaresupportedandnonotificationwillbesentifboth`topic_ids`and`uids`areNone.(default:[])Running the teststoxTODOFetch stock information from XueQiu.MACD indicators.Wechat push notification.Basic unittest with positive cases and structure.EBK file import and export.Daemon mode.Buy signal script.Sell signal script.Add cache for frequent fetched data.logger.Cronjob guide or something similar.Monitored stocks management.Documentation.More robust unittest.ContributionComments or suggestions via github issues.Pull requests are welcome absolutely.