COCO研究院

 找回密碼
 註冊
搜索
查看: 12205|回復: 4

請教一下版上大大關於amibroker匯入TICK的問題

[複製鏈接]
發表於 23-4-25 21:24 | 顯示全部樓層 |閱讀模式
請教一下版上大大amibroker要怎麼匯入TICK阿,爬了版上的文好像都沒詳細說明,有些有說明的又因為年代久遠,網站已經連不上了,有大大知道怎麼匯入tick嗎?(我的匯入是指excel csv檔,裡面的資料只有時間、價、量,沒有開高低收
發表於 23-4-26 07:48 | 顯示全部樓層
我是新手,我也沒在用 ab

下面步驟參考看看

我的格式
20180723,084500,10846,982

import wizard -> pick files -> 下一步 -> column1=YMD, column2=time, column3=close, column4=volume, 其他=skip -> 一直按下一步 -> 完成

不過tick看起來好像有問題, 雖然都輸入, 但是實際上, 最小單位為秒
每一秒的最後一筆資料為最後資料, 其他都跳過
20180723,084500,10846,982  <-- skip
20180723,084500,10847,8 <-- 只會出現這筆
20180723,084501,10847,2

每一分鐘也只出現最後一筆
20180723,084559,10844,4  <-- skip
20180723,084559,10844,2 <-- 只會出現這筆
20180723,084600,10844,2

 樓主| 發表於 23-4-26 09:10 | 顯示全部樓層
manmanlai 發表於 23-4-26 07:48
我是新手,我也沒在用 ab

下面步驟參考看看

我的資料格式是這樣
時間成交價
08:45:00
1362
1
08:45:00
1362
1
08:45:00
1362
2


然我我是設定 Colume 1 時間 2 close 3 Volum  但出現以下錯誤碼


Logging started for 'C:\Users\chen\Desktop\TICKK.txt' file, using format definition file 'Formats\wizard.format'
Error in line 時間,成交價,量,
Invalid (close) price. Prices must be positive. If you want to import no quotation data please specify $NOQUOTES 1 ('no quotation data' box in Wizard)
Invalid date format/value
Error in line 08:45:00,1362,1,
Invalid date format/value
Error in line 08:45:00,1362,1,Leg

發表於 23-4-26 12:31 | 顯示全部樓層
我測試的結果就是你沒有日期資訊,造成錯誤,所以前面還需要加個日期的欄位
 樓主| 發表於 23-4-26 19:18 | 顯示全部樓層
manmanlai 發表於 23-4-26 12:31
我測試的結果就是你沒有日期資訊,造成錯誤,所以前面還需要加個日期的欄位 ...

感謝
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

手機版|Archiver|站長信箱|廣告洽詢|COCO研究院

GMT+8, 24-4-29 10:24

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回復 返回頂部 返回列表
理財討論網站 | AI繪圖AI超擬真美女AI beauty AI Stable DiffusionAI正妹AI Lookbook