GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - LookTech/quantify_okx: 一个基于 Python 的自动化比特币交易机器人,利用 OKX 接口实时监控 BTC/USDT 的价格波动,并计算阈值,当波动幅度超过设定阈值时,自动执行买入或卖出操作。适合量化交易初学者、编程教学和自动化交易入门实战使用。

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
trading_bot.py
trading_bot.py
 
 

Repository files navigation

OKX自动化交易

一个基于 Python 的自动化比特币交易机器人,利用 欧易OKX 接口实时监控 BTC/USDT 的价格波动,当波动幅度超过设定阈值时,自动执行买入或卖出操作。适合量化交易初学者、编程教学和自动化交易入门实战使用。

OKX 自动搬砖套利机器人 🤖💰

一个基于 ccxt 库编写的自动化套利机器人,监控 OKX 上的 BTC/USDT 价格波动,当涨跌幅超过设定阈值(默认1%)时自动买入或卖出。

功能介绍

  • 自动连接 OKX 实时行情
  • 支持代理访问(适配翻墙)
  • 自动监测 BTC/USDT 价格波动
  • 达到设定阈值(如 ±1%)后自动下单交易
  • 支持自定义交易币种、阈值、交易频率

准备工具

欧易API 可在官网获取 www.okx.com

python www.python.org

安装依赖

pip install ccxt

配置 API 编辑 trading_bot.py,填入你自己的 OKX API 密钥:

api_key = '你的API Key'
secret_key = '你的Secret Key'
passphrase = '你的Passphrase'

启动机器人

python trading_bot.py

image

About

一个基于 Python 的自动化比特币交易机器人,利用 OKX 接口实时监控 BTC/USDT 的价格波动,并计算阈值,当波动幅度超过设定阈值时,自动执行买入或卖出操作。适合量化交易初学者、编程教学和自动化交易入门实战使用。

Resources

Readme
License
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.