Giter VIP home page Giter VIP logo

binance_grid_trader's Introduction

51bitquant网格交易策略

交易所注册推荐码

代码获取方式: 网易云课堂,或者联系bitquant51, 回复:网格交易代码 网格交易: 适合币圈的高波动率的品种,适合现货, 如果交易合约,需要注意防止极端行情爆仓。

部署服务器

参考我的博客

服务器购买地址

可以通过一下链接够买服务器,可以享受打折优惠

linux 常用命令

  • cd # 是切换工作目录, 具体使用可以通过man 指令 | 指令 --help
  • clear
  • ls # 列出当前文件夹的文件
  • rm 文件名 # 删除文件
  • rm -rf 文件夹 # 删除文件
  • cp # 拷贝文件 copy
  • scp scp binance_grid_trader.zip [email protected]:/home/ubuntu
  • pwd
  • mv # 移动或者剪切文件
  • ps -ef | grep main.py # 查看进程
  • kill 进程id # 杀死当前进程

部署

直接把代码上传到服务器, 通过scp命令上传

  • 先把代码压缩一下
  • 通过一下命令上传到自己的服务器, xxx.xxx.xxx.xxx为你的服务器地址, :/home/ubuntu表示你上传到服务器的目录

scp binance_grid_trader.zip [email protected]:/home/ubuntu

安装软件 sudo apt-get install 软件名称 | 库

sudo apt-get install unzip # pip install requests 解压文件 unzip binance_grid_trader.zip

进入该文件夹目录

cd binance_grid_trader

安装依赖包

pip install -r requirements.txt

执行运行脚本

sh start.sh

查看程序运行的id

ps -ef | grep main.py

杀死进程, 关闭程序

kill <进程ID>

更多课程内容

请参考网易云课堂的视频 网易云课堂链接 你也可以在网易云课堂直接搜索51bitquant可以找到课程视频。

binance_grid_trader's People

Contributors

51bitquant 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.