Skip to content

StockFucker/SmallCapStocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmallCapStocks

A small capacity stocks strategy, calculate the market value of stocks, and buy the minimum several stocks.
SUPPORT python2


1. Including stocks start with 0, 3, 6
2. Excluding stocks with ST or risk notification from sse, shanghai stock exchange
3. Excluding stocks with suspended or limit up

Trade price decision

1.Get ten gear price from leverfun API, and comparison the own balance and commission volumes, return the corresponding price
2.Premium paramter is important, avoid risk of the commission volumes equal to own banlance, the initial value of premium is 1.02.

Dependency

easytrader

Install easytrader, you need install logbook, demjson, java, use following command:

   sudo pip install logbook         
   sudo pip install demjson
   sudo yum/pacman/apt-get install java

[numpy]
[pandas]
[tushare] [easyquotation]

LICENSE

Copyright 2016 StockFucker            

All codes is licensed under GPLv2.             
This means you can use those codes according to the license on a case-by-case basis.         
However, you cannot modify it and distribute it without supplying the source.                

About

Small cap stocks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages