1、订单增加策略模板

This commit is contained in:
2025-03-31 15:37:29 +08:00
parent 9ca1cd9a19
commit 0b95e32655
6 changed files with 145 additions and 35 deletions

View File

@ -74,6 +74,13 @@ const (
AveRequestToken = "ave_request_token" // AVE请求token
)
const (
//现货最后成交价 sort set {exchangeType,symbol}
SpotTickerLastPrice = "spot_ticker_last_price:%s:%s"
//合约最后成交价 sort set {exchangeType,symbol}
FutureTickerLastPrice = "fut_ticker_last_price:%s:%s"
)
// 用户下单
const (
MemberShipPre = "member_ship_pre:%v" //用户开通会员预下单 单价缓存{payable_amount}