GithubHelp home page GithubHelp logo

pybotters-inago-flyer's Introduction

pybotters-inago-flyer

pybotters + asyncioを使ったinago flyerボットです。

使い方

依存ライブラリのインストール

pip install -r requirements.txt

API keyの入ったJSONファイル

# api.json
{
  "bitflyer": [
      "...",  # API Key
      "..."   # API Secrete
  ]
}

実行

python main.py --api_key_json PATH/TO/api.json

オプション

usage: main.py [-h] --api_key API_KEY [--symbol SYMBOL] [--side {BUY,SELL,BOTH}] [--size SIZE] [--bar_unit_seconds_long BAR_UNIT_SECONDS_LONG]
               [--bar_unit_seconds_short BAR_UNIT_SECONDS_SHORT] [--bar_maxlen BAR_MAXLEN] [--lower_threshold LOWER_THRESHOLD]
               [--upper_threshold UPPER_THRESHOLD] [--entry_patience_seconds ENTRY_PATIENCE_SECONDS] [--entry_price_change ENTRY_PRICE_CHANGE]
               [--trail_margin TRAIL_MARGIN]

options:
  -h, --help            show this help message and exit
  --api_key API_KEY     apiキーが入ったJSONファイル
  --symbol SYMBOL       取引通過
  --side {BUY,SELL,BOTH}
                        エントリーサイド
  --size SIZE           注文サイズ
  --bar_unit_seconds_long BAR_UNIT_SECONDS_LONG
                        長期足
  --bar_unit_seconds_short BAR_UNIT_SECONDS_SHORT
                        短期足
  --bar_maxlen BAR_MAXLEN
                        足の最大履歴
  --lower_threshold LOWER_THRESHOLD
                        短期足のボリューム(log)がこの閾値以上であればエントリー待機

注意

自己責任での使用をお願いします。

ライセンス:MIT

pybotters-inago-flyer's People

Contributors

ko0hi 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.