Giter Club home page Giter Club logo

binance-quantization's Introduction

如果您想和我一样通过币圈赚到第一桶金?

那么你需要 时间+充足的精力+一点点💰

准备好了吗? 那就进入下方的表格吧(开始你的区块链任务的之旅) https://docs.google.com/spreadsheets/d/1szV11my3F11HG2kVUt1Bo2a4P7u19fWr4U8mqYzMP_U/edit?usp=sharing


作者 🔗:https://linktr.ee/erwaplayblockchain

视频教程⬆️ 尽在YouTube discord群链接🔗 ⬆️⬆️


推荐使用 -> v2版 现货做多网格

v4版 趋势做空网格

介绍

这是一款单方向(多)现货网格交易策略的量化项目。 并且支持防踏空,行情上涨。网格价也自动提升。

优势:🎉

  1. 简单易上手
  2. 安全(不用将api_secret告诉他人)

为什么选择币安交易所

最开始我使用的是火币网的api接口来做量化交易,久而久之,我发现交易的手续费看起来很少,但是一个月下来也是一笔不小的数目。所以我得赶忙找一个手续费低的大平台交易所,所以我选择了币安

火币手续费 Maker 0.2% Taker 0.2%

币安手续费 Maker 0.1% Taker 0.1% (加上BNB家持手续费低至0.075%)

如何启动

  1. 修改app目录下的authorization文件
api_key='你的key'
api_secret='你的secret'

dingding_token = '申请钉钉群助手的token'   # 强烈建议您使用 (若不会申请,请加我个人微信)

申请api_key地址: 币安API管理页面

如果你还没有币安账号: 注册页面免翻墙地址交易返佣20%

或者可以注册火币账号:注册页面交易返佣15%

【腾讯云】热门云产品首单特惠秒杀,1核2G云服务器首年38元🔗 okex 正常otc 交易手续费85折

[抹茶 不用kyc 正常交易 交易9折]:https://www.mexc.com/zh-CN/register?inviteCode=78117345

区块链、defi、gamefi、nft、智能合约视频教程 ⬇️ youtube

  1. 修改data/data.json配置文件 (参数详细解读->一定要看
{
    "runBet": {
        "next_buy_price": 350,      <- 下次开仓价   (你下一仓位买入价)
      
        "grid_sell_price": 375      <- 当前止盈价  (你的当前仓位卖出价)
        "step":0                    <- 当前仓位  (0:仓位为空)
    },
    "config": {
        "profit_ratio": 5,         <- 止盈比率      (卖出价调整比率。如:设置为5,当前买入价为100,那么下次卖出价为105)
        "double_throw_ratio": 5,   <- 补仓比率      (买入价调整比率。如:设置为5,当前买入价为100,那么下次买入价为95)
        "cointype": "ETHUSDT",     <- 交易对        (你要进行交易的交易对,请参考币安现货。如:BTC 填入 BTC/USDT)
        "quantity": [1,2,3]        <- 交易数量       (第一手买入1,第二手买入2...超过第三手以后的仓位均按照最后一位数量(3)买入)
        
    }
}

  1. 安装依赖包 ''' pip install requests '''
  2. 运行主文件
# python eth-run.py 这是带有钉钉通知的主文件(推荐使用钉钉模式启动👍)

注意事项(一定要看)

  • 由于交易所的api在大陆无法访问,请使用海外服务器才能够稳定运行

  • 如果您使用的交易所为币安,那么请保证账户里有足够的bnb

    • 手续费足够低
    • 确保购买的币种完整(如果没有bnb,比如购买1个eth,其中你只会得到0.999。其中0.001作为手续费支付了)
  • 第一版本现货账户保证有足够的U(一般交易对最少10u购买一次)

  • 第三版本现货、合约账户保证有足够的U

  • 默认运行环境是国外的服务器,默认环境是python3(linux自带的是python2)

钉钉预警

如果您想使用钉钉通知,那么你需要创建一个钉钉群,然后加入自定义机器人。最后将机器人的token粘贴到authorization文件中的dingding_token 关键词输入:报警

1月到5月实战收益

收益图

私人微信号:zxmeng1999

钉钉设置教程

钉钉设置教程

钉钉设置教程

钉钉设置教程

打赏

免责申明

本项目不构成投资建议,投资者应独立决策并自行承担风险 币圈有风险,入圈须谨慎。

🚫风险提示:防范以“虚拟货币”“区块链”名义进行非法集资的风险。

binance-quantization's People

Contributors

hengxuz avatar yuanpengxia avatar jodieme 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.