定投
修改定投
修改计划的金额或节奏,或暂停和恢复计划。
curl --request PATCH \
--url "https://reirex.com/api/v1/recurring/RB-7K2M4Q" \
--header "GX-API-KEY: $GX_API_KEY" \
--header "GX-API-TIMESTAMP: $TIMESTAMP" \
--header "GX-API-SIGN: $SIGNATURE" \
--header "Content-Type: application/json" \
--data '{"amount":"75"}'200 OKapplication/json
{
"reference": "RB-7K2M4Q",
"symbol": "BTC",
"amount": "75.00",
"frequency": "weekly",
"status": "active",
"nextRunAt": "2026-10-21T16:14:15.412Z",
"buys": 12,
"invested": "600.00",
"units": "0.00824710",
"value": "612.40",
"createdAt": "2026-07-29T16:14:15.412Z"
}下一次买入日期保持不变。暂停和恢复始终有效,即使你的账户无法交易;恢复后的计划从今天起按其节奏进行下一次买入。
路径参数
referencestring必填计划编号,例如
RB-7K2M4Q。
请求体application/json
amountstring新的欧元金额。
frequencystring新的节奏。
可选值
dailyweeklybiweeklymonthlystatusstringpaused暂停计划,active恢复计划。可选值
activepaused
响应
referencestring计划编号,例如
RB-7K2M4Q。symbolstring买入的品种。
amountstring每次花费的欧元金额。
frequencystringdaily、weekly、biweekly或monthly。statusstringactive或paused。nextRunAtstring下次买入时间。
buysinteger已完成的买入次数。
investedstring目前已花费的欧元金额。
unitsstring目前已买入的数量。
valuestring其当前价值,以欧元计。
createdAtstring计划开始时间。

