---
id: faq_item.952
page_type: faq_article
title: "我的 Moonbot 终端里有同一币种的两个 .bin 历史数据图表片段，一个是昨天录制的，另一个是今天录制的。能否按我需要的顺序把它们合并成一个 .bin 文件？"
description: "Moonbot 终端提供 “BackTest” 功能——用历史成交数据测试策略。在 Moonbot 终端主窗口上点击 Menu - BackTest，即可打开 “BackTest” 窗口。如果您有同一币种在不同时间录制..."
section: faq
category: "界面设置"
url: https://moonbot.pro/zh/faq/interface-configuration/952?format=md
locale: zh
alternate_ru: https://moonbot.pro/ru/faq/interface-configuration/952?format=md
alternate_en: https://moonbot.pro/faq/interface-configuration/952?format=md
parent: https://moonbot.pro/zh/faq/interface-configuration?format=md
previous: https://moonbot.pro/zh/faq/interface-configuration/951?format=md
next: https://moonbot.pro/zh/faq/interface-configuration/953?format=md
status: published
updated_at: 2026-11-19T15:08:10+03:00
---

# 我的 Moonbot 终端里有同一币种的两个 .bin 历史数据图表片段，一个是昨天录制的，另一个是今天录制的。能否按我需要的顺序把它们合并成一个 .bin 文件？

Moonbot 终端提供 “[BackTest](https://moonbot.pro/zh/documentation/menu-button/backtest?format=md)” 功能——用历史成交数据测试策略。在 Moonbot 终端主窗口上点击 Menu - BackTest，即可打开 “BackTest” 窗口。如果您有同一币种在不同时间录制的不同历史数据图表片段（假设为 BTC1.bin 和 BTC2.bin 文件），可以把它们合并成一个 .bin 文件。为此，请在 BackTest 窗口中执行以下操作：

1\) 点击 “Select file” 按钮，选择第一个片段 BTC1.bin。

2\) 点击 “Play” 按钮，在币种图表上回放第一个片段 BTC1.bin。

3\) 点击 “Select file” 按钮，选择第二个片段 BTC2.bin。

4\) 点击 “Play” 按钮，在币种图表上回放第二个片段 BTC2.bin。

5\) 点击 “Scissors” 按钮，然后按住 Ctrl 键，用鼠标左键点击币种图表上第一个片段的起点，再拖动鼠标到第二个片段的终点，选中的区域会以绿色矩形标出，到达终点位置后松开鼠标左键。

6\) 之后会弹出如下提示窗口：\
Warning\
Store fragment of BTC, interval from 14:58:37 to 15:03:06 (269 sec) to BackTest\\\*.bin ?\
Yes / No

7\) 确认保存后，文件将被写入 BackTest\\Demo_BTC 25-08-2025 14-58.bin

.bin 文件名中各部分的含义：\
Demo——前缀，表示这是演示文件。\
BTC——录制历史成交数据的币种名称。\
25-08-2025——文件录制日期（2025 年 8 月 25 日）。\
14-58——开始录制文件的时和分（14 点 58 分）。

## 导航

路径: [首页](https://moonbot.pro/zh?format=md) / [常见问题](https://moonbot.pro/zh/faq?format=md) / [界面设置](https://moonbot.pro/zh/faq/interface-configuration?format=md) / 我的 Moonbot 终端里有同一币种的两个 .bin 历史数据图表片段，一个是昨天录制的，另一个是今天录制的。能否按我需要的顺序把它们合并成一个 .bin 文件？

上级栏目: [界面设置](https://moonbot.pro/zh/faq/interface-configuration?format=md)

上一页: [我能否把 Moonbot 终端以 .bin 扩展名录制、在 BackTest 功能中回放的不同历史成交数据文件“拼接”起来？](https://moonbot.pro/zh/faq/interface-configuration/951?format=md)

下一页: [我能否把不同币种的、在 Moonbot 终端中以 .bin 扩展名录制并在 BackTest 功能中回放的历史成交数据文件拼接成一个文件？](https://moonbot.pro/zh/faq/interface-configuration/953?format=md)

## 相关内容

- [我能否把不同币种的、在 Moonbot 终端中以 .bin 扩展名录制并在 BackTest 功能中回放的历史成交数据文件拼接成一个文件？](https://moonbot.pro/zh/faq/interface-configuration/953?format=md)
- [为什么在 BackTest 窗口中点击 “Play” 按钮时，Moonbot 终端的整体模式会自动切换为 “EMULATION”（模拟）模式？](https://moonbot.pro/zh/faq/interface-configuration/954?format=md)
- [如果在 BackTest 窗口回放 .bin 文件的过程中，手动把 Moonbot 终端的整体模式从 “EMULATION” 切换为实盘模式，会怎样？](https://moonbot.pro/zh/faq/interface-configuration/955?format=md)
- [在 Moonbot 主终端中使用 BackTest 功能测试策略时，会通过 UDP 向 Moonbot 从终端发送指令吗？](https://moonbot.pro/zh/faq/interface-configuration/956?format=md)
- [在 Moonbot 终端中，可以从哪些交易所下载 BackTest 模块使用的存档数据？](https://moonbot.pro/zh/faq/interface-configuration/957?format=md)
