GithubHelp home page GithubHelp logo

flastocky's Introduction

Flastocky

  1. virtualenv setup & install python requirements source bin/activate pip install -r requirements/stock-dev2.txt

  2. system envirment set ~/.bash_profile add: export MAIL_HOST="SMTP.163.com" export MAIL_FROM="[email protected]" export MAIL_TO="[email protected]" export MAIL_USERNAME="example" export MAIL_PASSWORD="example_passwd" export XUEQIU_USERNAME="xqexample" export XUEQIU_PASSWORDHASH="xqexamplehash"

    source ~/.bash_profile

  3. sqlite3 db init cd flastocky/ python manage.py shell db.create_all()

  4. baseinfo initial python manage.py baseinfo_update

  5. notify stocks set create a file app/stock/config.ini (there is an example :app/stock/config.ini.example) format: sh600999,0.1,18.4179309137,0.0,0.0,29.064 sh600036,0.1,16.8595404919,0.0,0.0,15.651

    indacates: stock_id, notify_percent, price_save_now(auto set), (auto set), (auto_set), start_price

  6. realtime stock price get python manage.py crawler

flastocky's People

Contributors

miguelgrinberg avatar cdyfng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.