All Projects → doncat99 → Stockrecommendsystem

doncat99 / Stockrecommendsystem

Licence: mit
An intelligent recommender system for stock analyzing, predicting and trading

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Stockrecommendsystem

Intrinio Realtime Node Sdk
Intrinio NodeJS SDK for Real-Time Stock & Crypto Prices
Stars: ✭ 30 (-71.7%)
Mutual labels:  stock-market
Netsci Project
Network Analysis for Financial Markets
Stars: ✭ 39 (-63.21%)
Mutual labels:  stock-market
Algobot
A C++ stock market algorithmic trading bot
Stars: ✭ 78 (-26.42%)
Mutual labels:  stock-market
Sibyl
Platform for backtesting and live-trading intraday Stock/ETF/ELW using recurrent neural networks
Stars: ✭ 32 (-69.81%)
Mutual labels:  stock-market
Pandas Ta
Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 130+ Indicators
Stars: ✭ 962 (+807.55%)
Mutual labels:  stock-market
Stock Market Sentiment Analysis
Identification of trends in the stock prices of a company by performing fundamental analysis of the company. News articles were provided as training data-sets to the model which classified the articles as positive or neutral. Sentiment score was computed by calculating the difference between positive and negative words present in the news article. Comparisons were made between the actual stock prices and the sentiment scores. Naive Bayes, OneR and Random Forest algorithms were used to observe the results of the model using Weka
Stars: ✭ 56 (-47.17%)
Mutual labels:  stock-market
Sina Stock Crawler
Sina stock options crawler with CSV output 新浪上证ETF期权数据爬虫
Stars: ✭ 12 (-88.68%)
Mutual labels:  stock-market
Stock Market Prediction Web App Using Machine Learning And Sentiment Analysis
Stock Market Prediction Web App based on Machine Learning and Sentiment Analysis of Tweets (API keys included in code). The front end of the Web App is based on Flask and Wordpress. The App forecasts stock prices of the next seven days for any given stock under NASDAQ or NSE as input by the user. Predictions are made using three algorithms: ARIMA, LSTM, Linear Regression. The Web App combines the predicted prices of the next seven days with the sentiment analysis of tweets to give recommendation whether the price is going to rise or fall
Stars: ✭ 101 (-4.72%)
Mutual labels:  stock-market
Stocktrace
stock market analysis
Stars: ✭ 36 (-66.04%)
Mutual labels:  stock-market
Tradestation
EasyLanguage indicators and systems for TradeStation
Stars: ✭ 65 (-38.68%)
Mutual labels:  stock-market
Robin stocks
This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at
Stars: ✭ 967 (+812.26%)
Mutual labels:  stock-market
Td Ameritrade Client
TD Ameritrade Java Client
Stars: ✭ 35 (-66.98%)
Mutual labels:  stock-market
Alice blue
Official Python library for Alice Blue API trading
Stars: ✭ 60 (-43.4%)
Mutual labels:  stock-market
Fooltrader
quant framework for stock
Stars: ✭ 960 (+805.66%)
Mutual labels:  stock-market
Technicalindicators
A javascript technical indicators written in typescript with pattern recognition right in the browser
Stars: ✭ 1,328 (+1152.83%)
Mutual labels:  stock-market
Awesome Ai In Finance
🔬 A curated list of awesome machine learning strategies & tools in financial market.
Stars: ✭ 910 (+758.49%)
Mutual labels:  stock-market
Stocksight
Stock market analyzer and predictor using Elasticsearch, Twitter, News headlines and Python natural language processing and sentiment analysis
Stars: ✭ 1,037 (+878.3%)
Mutual labels:  stock-market
Tradingbot
Autonomous stocks trading script
Stars: ✭ 99 (-6.6%)
Mutual labels:  stock-market
Robinhood Playground
Stars: ✭ 96 (-9.43%)
Mutual labels:  stock-market
Foobugs Dashboard
various dashing dashboard jobs
Stars: ✭ 64 (-39.62%)
Mutual labels:  stock-market

StockRecommendSystem

Main Requirement:

Python 3.5.2
Keras 2.0.6 TensorFlow 1.2
pymongo
tqdm nltk
googletrans

Install

brew install mongodb --with-openssl
brew services start mongodb
mongod --dbpath (Your Porject Folder)/Data/DB

When you storing stock data with mongodb mode, you may meet too many open files problem, try the following codes in command line:

sysctl -w kern.maxfiles=20480 (or whatever number you choose)
sysctl -w kern.maxfilesperproc=18000 (or whatever number you choose)
launchctl limit maxfiles 1000000 (or whatever number you choose)
brew services restart mongodb
mongodump -h localhost:27017 -d DB_STOCK -o ./


Data Fetching:

Cover stock related data fetching, storaging in either MongoDB or CSV mode (See config.ini [Setting] sector for more detail).

  1. Stock:(NSDQ, NYSE)-> US, (HKSE) -> HK, (SSE,SZSE) -> CHN
  2. Earning: US stock market earning info.
  3. Short: US stock market short squeeze info. (Require Multi IP Routing Support)
  4. News: NewsRiver
  5. Media: Twitter Data

Data Structure

** US Stock List **   
DB   : DB_STOCK   
SHEET: SHEET_US_DAILY_LIST   
ITEM : symbol, name, market_cap, sector, industry, stock_update, news_update   

** US Stock Daily **   
DB   : DB_STOCK   
SHEET: SHEET_US_DAILY_DATA   
ITEM : symbol (stock symbol)   
       data -> [{date, open, high, low, close, adj_close, volume}]   

** US Stock Earning **   
DB   : DB_STOCK   
SHEET: SHEET_US_EARN   
ITEM : symbol (date)   
       data -> [{date, symbol, analyist, estimate, actual, surprise}]   

** US News **   
DB   : DB_STOCK   
SHEET: SHEET_US_NEWS   
ITEM : symbol, date, time, title, source, ranking, sentiment, uri, url, body_html, body_eng, body_chn

Run

cd Source/FetchData
python Fetch_Data_Stock_US_Daily.py

Stock Prediction:

Under Development...


Stock Processing:

Correlation

   Company1 Company2  Correlation  
       QQQ     TQQQ        0.999
       IBB      BIB        0.999
      INSE     XBKS        0.999
       JAG      JPT        0.999
      ACWX     VXUS        0.995
      IXUS     ACWX        0.993
      VONE      SPY        0.992
      IXUS     VXUS        0.991
      VTWO     VTWV        0.988
       NTB      FBK        0.988
      GOOG    GOOGL        0.987

Run

cd Source/StockProcessing
python Correlation_Stock_US.py


Reinforcement Learning:

This sector is directly clone from: Link

More in mind:

  1. The approach use only "Adj Close" price as input, it's supposed more features combinations shall be joined to the party.
  2. The Trading Strategy is a little mediocre and limited, better rewrite it.
  3. At most only two tickers are allowed in the trading system, rewrite it.

testing output:

init cash: 100000
Columns: [AMD, NVDA, SPY, ^VIX]
Index: []
Runner: Taking action 2016-03-16 00:00:00 buy
Runner: Taking action 2016-03-17 00:00:00 buy
Runner: Taking action 2016-03-18 00:00:00 hold
......
Runner: Taking action 2017-06-12 00:00:00 buy
Runner: Taking action 2017-06-13 00:00:00 buy
Runner: Taking action 2017-06-14 00:00:00 buy
Final outcome: 121500.348294

Run

cd Source/ReinforcementLearning
python runner.py


ToDo:

More AI approach will be arranged and upload ASAP

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].