3.5 Binance_interface APP U本位合约交易-基础订单

2024-02-11 19:04

本文主要是介绍3.5 Binance_interface APP U本位合约交易-基础订单,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

Binance_interface U本位合约交易-基础订单

  • Github地址
  • PyTed量化交易研究院
量化交易研究群(VX) = py_ted

目录

  • Binance_interface U本位合约交易-基础订单
    • 1. APP U本位合约交易-基础订单函数总览
    • 2. 模型实例化
    • 3. 下单(API原始接口) set_order
    • 4. 查询订单(API原始接口) get_order
    • 5. 查看当前挂单 get_orders_pending
    • 6. 查看当前开仓挂单 get_orders_pending_open
    • 7. 查看当前平仓挂单 get_orders_pending_close
    • 8. 等待订单成交 wait_order_FILLED
    • 9. 撤销订单(API原始接口) cancel_order

1. APP U本位合约交易-基础订单函数总览

方法解释
set_order下单(API原始接口)
get_order查询订单(API原始接口)
get_orders_pending查看当前挂单
get_orders_pending_open查看当前开仓挂单
get_orders_pending_close查看当前平仓挂单
wait_order_FILLED等待订单成交
cancel_order撤销订单(API原始接口)

2. 模型实例化

from binance_interface.app import BinanceUM
from binance_interface.app.utils import eprint
import paux.date
# 转发:需搭建转发服务器,可参考:https://github.com/pyted/binance_resender
proxy_host = None
key = 'xxxx'
secret = 'xxxx'binanceUM = BinanceUM(key=key,secret=secret,proxy_host=proxy_host,timezone='Asia/Shanghai',
)
trade = binanceUM.trade

3. 下单(API原始接口) set_order

set_order_result = trade.set_order(symbol='MANAUSDT',side='BUY',type='LIMIT',price='0.4',quantity=15,positionSide='LONG',timeInForce='GTC',
)
eprint(set_order_result)

输出:

>>> {'code': 200,
>>>  'data': {'orderId': 10508381477,
>>>           'symbol': 'MANAUSDT',
>>>           'status': 'NEW',
>>>           'clientOrderId': '3ilBoDldzzHd16kvCqt99x',
>>>           'price': '0.4000',
>>>           'avgPrice': '0.00',
>>>           'origQty': '15',
>>>           'executedQty': '0',
>>>           'cumQty': '0',
>>>           'cumQuote': '0.0000',
>>>           'timeInForce': 'GTC',
>>>           'type': 'LIMIT',
>>>           'reduceOnly': False,
>>>           'closePosition': False,
>>>           'side': 'BUY',
>>>           'positionSide': 'LONG',
>>>           'stopPrice': '0.0000',
>>>           'workingType': 'CONTRACT_PRICE',
>>>           'priceProtect': False,
>>>           'origType': 'LIMIT',
>>>           'priceMatch': 'NONE',
>>>           'selfTradePreventionMode': 'NONE',
>>>           'goodTillDate': 0,
>>>           'updateTime': 1706118925588},
>>>  'msg': ''}

4. 查询订单(API原始接口) get_order

orderId = set_order_result['data']['orderId']
order_result = trade.get_order(symbol='MANAUSDT',orderId=orderId,
)
eprint(order_result)

输出:

>>> {'code': 200,
>>>  'data': {'orderId': 10508381477,
>>>           'symbol': 'MANAUSDT',
>>>           'status': 'NEW',
>>>           'clientOrderId': '3ilBoDldzzHd16kvCqt99x',
>>>           'price': '0.4000',
>>>           'avgPrice': '0.00',
>>>           'origQty': '15',
>>>           'executedQty': '0',
>>>           'cumQuote': '0.0000',
>>>           'timeInForce': 'GTC',
>>>           'type': 'LIMIT',
>>>           'reduceOnly': False,
>>>           'closePosition': False,
>>>           'side': 'BUY',
>>>           'positionSide': 'LONG',
>>>           'stopPrice': '0.0000',
>>>           'workingType': 'CONTRACT_PRICE',
>>>           'priceProtect': False,
>>>           'origType': 'LIMIT',
>>>           'priceMatch': 'NONE',
>>>           'selfTradePreventionMode': 'NONE',
>>>           'goodTillDate': 0,
>>>           'time': 1706118925588,
>>>           'updateTime': 1706118925588},
>>>  'msg': ''}

5. 查看当前挂单 get_orders_pending

# 查询symbol 从start到end全部未成交订单
orders_pending_result = trade.get_orders_pending(symbol='',  # 默认为空,表示全部产品start='2024-01-01 10:00:00',  # 默认为空,表示不限定订单的起始时间end='2024-12-26',  # 默认为空,表示不限定订单的终止时间
)
eprint(orders_pending_result, length=30)

输出:

>>> {'code': 200,
>>>  'data': [{'orderId': 38469242721,
>>>            'symbol': 'ADAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': 'ios_8Caon6uUaXDwTaiUu7dY',
>>>            'price': '0.50000',
>>>            'avgPrice': '0',
>>>            'origQty': '20',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.00000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': False,
>>>            'closePosition': False,
>>>            'side': 'SELL',
>>>            'positionSide': 'SHORT',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1706118620980,
>>>            'updateTime': 1706118620980},
>>>           {'orderId': 38469210055,
>>>            'symbol': 'ADAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': 'ios_Odv0cISfWne64Tslg79N',
>>>            'price': '0.43000',
>>>            'avgPrice': '0',
>>>            'origQty': '23',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.00000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': False,
>>>            'closePosition': False,
>>>            'side': 'BUY',
>>>            'positionSide': 'LONG',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1706118533703,
>>>            'updateTime': 1706118533703},
>>>           {'orderId': 10485110992,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': 'CqSdY5QH4x1UWdUypMvoAl',
>>>            'price': '0.5348',
>>>            'avgPrice': '0',
>>>            'origQty': '10',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': True,
>>>            'closePosition': False,
>>>            'side': 'SELL',
>>>            'positionSide': 'LONG',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1705832967589,
>>>            'updateTime': 1705832967589},
>>>           {'orderId': 10508354973,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': 'ios_pZwB8GcFYVAvxxpyCDaC',
>>>            'price': '0.5000',
>>>            'avgPrice': '0',
>>>            'origQty': '20',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': False,
>>>            'closePosition': False,
>>>            'side': 'SELL',
>>>            'positionSide': 'SHORT',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1706118636567,
>>>            'updateTime': 1706118636567},
>>>           {'orderId': 10508381477,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': '3ilBoDldzzHd16kvCqt99x',
>>>            'price': '0.4000',
>>>            'avgPrice': '0',
>>>            'origQty': '15',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': False,
>>>            'closePosition': False,
>>>            'side': 'BUY',
>>>            'positionSide': 'LONG',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1706118925588,
>>>            'updateTime': 1706118925588}],
>>>  'msg': ''}
# 查询symbol 从start到end全部未成交订单
orders_pending_result = trade.get_orders_pending(symbol='MANAUSDT',  # 默认为空,表示全部产品start='2024-01-01 10:00:00',  # 默认为空,表示不限定订单的起始时间end='2024-12-26',  # 默认为空,表示不限定订单的终止时间
)
eprint(orders_pending_result, length=30)

输出:

>>> {'code': 200,
>>>  'data': [{'orderId': 10485110992,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': 'CqSdY5QH4x1UWdUypMvoAl',
>>>            'price': '0.5348',
>>>            'avgPrice': '0',
>>>            'origQty': '10',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': True,
>>>            'closePosition': False,
>>>            'side': 'SELL',
>>>            'positionSide': 'LONG',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1705832967589,
>>>            'updateTime': 1705832967589},
>>>           {'orderId': 10508354973,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': 'ios_pZwB8GcFYVAvxxpyCDaC',
>>>            'price': '0.5000',
>>>            'avgPrice': '0',
>>>            'origQty': '20',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': False,
>>>            'closePosition': False,
>>>            'side': 'SELL',
>>>            'positionSide': 'SHORT',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1706118636567,
>>>            'updateTime': 1706118636567},
>>>           {'orderId': 10508381477,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': '3ilBoDldzzHd16kvCqt99x',
>>>            'price': '0.4000',
>>>            'avgPrice': '0',
>>>            'origQty': '15',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': False,
>>>            'closePosition': False,
>>>            'side': 'BUY',
>>>            'positionSide': 'LONG',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1706118925588,
>>>            'updateTime': 1706118925588}],
>>>  'msg': ''}

6. 查看当前开仓挂单 get_orders_pending_open

# 参数positionSide默认值为'',表示全部多单和空单
orders_pending_open_result = trade.get_orders_pending_open(symbol='MANAUSDT',
)
eprint(orders_pending_open_result, length=30)

输出:

>>> {'code': 200,
>>>  'data': [{'orderId': 10508354973,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': 'ios_pZwB8GcFYVAvxxpyCDaC',
>>>            'price': '0.5000',
>>>            'avgPrice': '0',
>>>            'origQty': '20',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': False,
>>>            'closePosition': False,
>>>            'side': 'SELL',
>>>            'positionSide': 'SHORT',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1706118636567,
>>>            'updateTime': 1706118636567},
>>>           {'orderId': 10508381477,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': '3ilBoDldzzHd16kvCqt99x',
>>>            'price': '0.4000',
>>>            'avgPrice': '0',
>>>            'origQty': '15',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': False,
>>>            'closePosition': False,
>>>            'side': 'BUY',
>>>            'positionSide': 'LONG',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1706118925588,
>>>            'updateTime': 1706118925588}],
>>>  'msg': ''}
# positionSide='SHORT' 限制结果为空单
orders_pending_open_result = trade.get_orders_pending_open(symbol='MANAUSDT',positionSide='SHORT',
)
eprint(orders_pending_open_result, length=30)

输出:

>>> {'code': 200,
>>>  'data': [{'orderId': 10508354973,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': 'ios_pZwB8GcFYVAvxxpyCDaC',
>>>            'price': '0.5000',
>>>            'avgPrice': '0',
>>>            'origQty': '20',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': False,
>>>            'closePosition': False,
>>>            'side': 'SELL',
>>>            'positionSide': 'SHORT',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1706118636567,
>>>            'updateTime': 1706118636567}],
>>>  'msg': ''}

7. 查看当前平仓挂单 get_orders_pending_close

# 参数positionSide默认值为'',表示全部多单和空单
orders_pending_close_result = trade.get_orders_pending_close(symbol='MANAUSDT',
)
eprint(orders_pending_close_result, length=30)

输出:

>>> {'code': 200,
>>>  'data': [{'orderId': 10485110992,
>>>            'symbol': 'MANAUSDT',
>>>            'status': 'NEW',
>>>            'clientOrderId': 'CqSdY5QH4x1UWdUypMvoAl',
>>>            'price': '0.5348',
>>>            'avgPrice': '0',
>>>            'origQty': '10',
>>>            'executedQty': '0',
>>>            'cumQuote': '0.0000',
>>>            'timeInForce': 'GTC',
>>>            'type': 'LIMIT',
>>>            'reduceOnly': True,
>>>            'closePosition': False,
>>>            'side': 'SELL',
>>>            'positionSide': 'LONG',
>>>            'stopPrice': '0',
>>>            'workingType': 'CONTRACT_PRICE',
>>>            'priceProtect': False,
>>>            'origType': 'LIMIT',
>>>            'priceMatch': 'NONE',
>>>            'selfTradePreventionMode': 'NONE',
>>>            'goodTillDate': 0,
>>>            'time': 1705832967589,
>>>            'updateTime': 1705832967589}],
>>>  'msg': ''}
# positionSide='SHORT' 限制结果为空单
orders_pending_close_result = trade.get_orders_pending_close(symbol='MANAUSDT',positionSide='SHORT',
)
eprint(orders_pending_close_result, length=30)

输出:

>>> {'code': 200, 'data': [], 'msg': ''}

8. 等待订单成交 wait_order_FILLED

orderId = set_order_result['data']['orderId']
symbol = set_order_result['data']['symbol']
# 堵塞,等待订单完全成交,如果超时后仍未成交,返回订单数据
wait_order_filled_result = trade.wait_order_FILLED(symbol=symbol,orderId=orderId,timeout=5,
)
eprint(wait_order_filled_result, length=30)

输出:

>>> {'code': 200,
>>>  'data': {'orderId': 10508381477,
>>>           'symbol': 'MANAUSDT',
>>>           'status': 'NEW',
>>>           'clientOrderId': '3ilBoDldzzHd16kvCqt99x',
>>>           'price': '0.4000',
>>>           'avgPrice': '0.00',
>>>           'origQty': '15',
>>>           'executedQty': '0',
>>>           'cumQuote': '0.0000',
>>>           'timeInForce': 'GTC',
>>>           'type': 'LIMIT',
>>>           'reduceOnly': False,
>>>           'closePosition': False,
>>>           'side': 'BUY',
>>>           'positionSide': 'LONG',
>>>           'stopPrice': '0.0000',
>>>           'workingType': 'CONTRACT_PRICE',
>>>           'priceProtect': False,
>>>           'origType': 'LIMIT',
>>>           'priceMatch': 'NONE',
>>>           'selfTradePreventionMode': 'NONE',
>>>           'goodTillDate': 0,
>>>           'time': 1706118925588,
>>>           'updateTime': 1706118925588},
>>>  'msg': ''}

9. 撤销订单(API原始接口) cancel_order

orderId = set_order_result['data']['orderId']
symbol = set_order_result['data']['symbol']cancel_order_result = trade.cancel_order(symbol=symbol,orderId=orderId,
)
eprint(cancel_order_result, length=30)

输出:

>>> {'code': 200,
>>>  'data': {'orderId': 10508381477,
>>>           'symbol': 'MANAUSDT',
>>>           'status': 'CANCELED',
>>>           'clientOrderId': '3ilBoDldzzHd16kvCqt99x',
>>>           'price': '0.4000',
>>>           'avgPrice': '0.00',
>>>           'origQty': '15',
>>>           'executedQty': '0',
>>>           'cumQty': '0',
>>>           'cumQuote': '0.0000',
>>>           'timeInForce': 'GTC',
>>>           'type': 'LIMIT',
>>>           'reduceOnly': False,
>>>           'closePosition': False,
>>>           'side': 'BUY',
>>>           'positionSide': 'LONG',
>>>           'stopPrice': '0.0000',
>>>           'workingType': 'CONTRACT_PRICE',
>>>           'priceProtect': False,
>>>           'origType': 'LIMIT',
>>>           'priceMatch': 'NONE',
>>>           'selfTradePreventionMode': 'NONE',
>>>           'goodTillDate': 0,
>>>           'updateTime': 1706118936170},
>>>  'msg': ''}

这篇关于3.5 Binance_interface APP U本位合约交易-基础订单的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!


原文地址:
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.chinasem.cn/article/700595

相关文章

SpringBoot首笔交易慢问题排查与优化方案

《SpringBoot首笔交易慢问题排查与优化方案》在我们的微服务项目中,遇到这样的问题:应用启动后,第一笔交易响应耗时高达4、5秒,而后续请求均能在毫秒级完成,这不仅触发监控告警,也极大影响了用户体... 目录问题背景排查步骤1. 日志分析2. 性能工具定位优化方案:提前预热各种资源1. Flowable

Python基础文件操作方法超详细讲解(详解版)

《Python基础文件操作方法超详细讲解(详解版)》文件就是操作系统为用户或应用程序提供的一个读写硬盘的虚拟单位,文件的核心操作就是读和写,:本文主要介绍Python基础文件操作方法超详细讲解的相... 目录一、文件操作1. 文件打开与关闭1.1 打开文件1.2 关闭文件2. 访问模式及说明二、文件读写1.

C#基础之委托详解(Delegate)

《C#基础之委托详解(Delegate)》:本文主要介绍C#基础之委托(Delegate),具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1. 委托定义2. 委托实例化3. 多播委托(Multicast Delegates)4. 委托的用途事件处理回调函数LINQ

Android App安装列表获取方法(实践方案)

《AndroidApp安装列表获取方法(实践方案)》文章介绍了Android11及以上版本获取应用列表的方案调整,包括权限配置、白名单配置和action配置三种方式,并提供了相应的Java和Kotl... 目录前言实现方案         方案概述一、 androidManifest 三种配置方式

Mybatis从3.4.0版本到3.5.7版本的迭代方法实现

《Mybatis从3.4.0版本到3.5.7版本的迭代方法实现》本文主要介绍了Mybatis从3.4.0版本到3.5.7版本的迭代方法实现,包括主要的功能增强、不兼容的更改和修复的错误,具有一定的参考... 目录一、3.4.01、主要的功能增强2、selectCursor example3、不兼容的更改二、

Java中实现订单超时自动取消功能(最新推荐)

《Java中实现订单超时自动取消功能(最新推荐)》本文介绍了Java中实现订单超时自动取消功能的几种方法,包括定时任务、JDK延迟队列、Redis过期监听、Redisson分布式延迟队列、Rocket... 目录1、定时任务2、JDK延迟队列 DelayQueue(1)定义实现Delayed接口的实体类 (

0基础租个硬件玩deepseek,蓝耘元生代智算云|本地部署DeepSeek R1模型的操作流程

《0基础租个硬件玩deepseek,蓝耘元生代智算云|本地部署DeepSeekR1模型的操作流程》DeepSeekR1模型凭借其强大的自然语言处理能力,在未来具有广阔的应用前景,有望在多个领域发... 目录0基础租个硬件玩deepseek,蓝耘元生代智算云|本地部署DeepSeek R1模型,3步搞定一个应

macOS怎么轻松更换App图标? Mac电脑图标更换指南

《macOS怎么轻松更换App图标?Mac电脑图标更换指南》想要给你的Mac电脑按照自己的喜好来更换App图标?其实非常简单,只需要两步就能搞定,下面我来详细讲解一下... 虽然 MACOS 的个性化定制选项已经「缩水」,不如早期版本那么丰富,www.chinasem.cn但我们仍然可以按照自己的喜好来更换

MySQL中my.ini文件的基础配置和优化配置方式

《MySQL中my.ini文件的基础配置和优化配置方式》文章讨论了数据库异步同步的优化思路,包括三个主要方面:幂等性、时序和延迟,作者还分享了MySQL配置文件的优化经验,并鼓励读者提供支持... 目录mysql my.ini文件的配置和优化配置优化思路MySQL配置文件优化总结MySQL my.ini文件

Springboot的ThreadPoolTaskScheduler线程池轻松搞定15分钟不操作自动取消订单

《Springboot的ThreadPoolTaskScheduler线程池轻松搞定15分钟不操作自动取消订单》:本文主要介绍Springboot的ThreadPoolTaskScheduler线... 目录ThreadPoolTaskScheduler线程池实现15分钟不操作自动取消订单概要1,创建订单后