Giter VIP home page Giter VIP logo

bitcon's Introduction

  1. .env.example复制成.env文件
cp .env.example .env

# 生成laravel key
php artisan key:generate

# 配置数据库和其他信息
  1. 数据库迁移
php artisan migrate --seed
或者
php artisan migrate:refresh --seed
  1. 定时任务验证
php artisan schedule:run
  1. 开启定时任务
* * * * * php /home/vagrant/bitcon/artisan schedule:run >> /dev/null 2>&1

Log

  1. 目前可以实时抓取最优挂单,抓取尽量实现了两边同时抓取,入库。 目前问题在于,抓取来的数据量大,且没有用。 考虑改为每次更新单条记录。并开一个任务,每次抓取这两条记录进行分析。

增加command,用于系统定时任务直接调用程序,不用laravel的定时任务控制 创建count_data表,用于记录每次计算的结果,盈利状态,是否可交易,是否交易成功,是否撤单,交易后状态 创建money表,用于记录当前金额分布状态

bitcon's People

Contributors

ouhaohan avatar

Watchers

James Cloos 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.