-
05-22-2016, 06:26 AM #1
Junior Member
- Ngày tham gia
- Nov 2015
- Bài viết
- 0
Cách import nhanh mã chứng khoán vào mục Markets, Groups, sectors, industry?
- Hiện tại trong amibroker 5.6 em biết thì chỉ có mục whatch Lists là cho import mã chứng khoán nhanh chóng (file dạng .txt, excel...), còn các mục khá như Markets, Groups, sectors, industry thì em không thấy import mã CK nhanh dc (hoặc do em ko bết).
- Bác nào biết cách import, hoặc cách làm nhanh chóng cho các mã vào mục trên thì xin được giúp đỡ, nếu vào từng mã CK sau đó chọn các mục Markets, Groups, sectors, industry thì rất lâu.
Em xin cảm ơn !
[IMG]data/attachments/41/41992-a2d5c4fe8f5b18ed8855963380480e6b.jpg[/IMG]
[IMG]data/attachments/41/41991-d04f2d779ff994711c25476d126ea35e.jpg[/IMG]
-
05-25-2016, 03:50 PM #2
Junior Member
- Ngày tham gia
- Aug 2015
- Bài viết
- 0
Trích 1 đoạn trong user manual
The improved ASCII importer in v5.60 allows to import symbols, sectors and industry names and build complete database in just one step.
Let us say that we have CSV file that looks as follows:
"DDD","3D Systems Corporation","Technology","Computer Software: Prepackaged Software"
"MMM","3M Company","Health Care","Medical/Dental Instruments"
"SVN","7 Days Group Holdings Limited","Consumer Services","Hotels/Resorts"
"AHC","A.H. Belo Corporation","Consumer Services","Newspapers/Magazines"
"AIR","AAR Corp.","Capital Goods","Aerospace"
"AAN","Aaron's, Inc.","Technology","Diversified Commercial Services"
Now we can import it into AmiBroker and automatically setup all sectors and industries using this format definition
$FORMAT Ticker, FullName,SectorName,IndustryName
$SEPARATOR ,
$AUTOADD 1
$NOQUOTES 1
$OVERWRITE 1
$CLEANSECTORS 1
$SORTSECTORS 1
The last two commands ($CLEANSECTORS and $SORTSECTORS) instruct AmiBroker to clean (wipe) existing sector/industry names before importing and sort newly imported sectors after importing so they appear alphabetically
-
05-25-2016, 06:11 PM #3
Junior Member
- Ngày tham gia
- Aug 2015
- Bài viết
- 0
Gửi bởi ranluc
bây giờ em muốn import (Hoặc cách nào nhanh) tất cả các mã trên sàn HOSE vào folder markets Hose, tương tự import nhanh vào mục Group. như kiểu m import mã CK trong watch list vậy? chứ làm thủ công theo kiểu vào từng mã sau đó chọn trong phần categories thì rất lâu
-
05-25-2016, 10:41 PM #4
Junior Member
- Ngày tham gia
- Aug 2015
- Bài viết
- 0
bác @runluc có thể giải thích cho em rõ hơn được không? cài này em đã đọc rồi, nhưng không biết thực hiện ra sao
Bàn ăn là một trong những sản phẩm nội thất chẳng thể thiếu trong phòng bếp hay nhà ăn của mỗi gia đình Việt. Là nơi sum vầy, quây quần thưởng thức những bữa ăn ngon cùng nhau chuyện trò.+365 Bộ bàn...
Bộ Bàn Ẳn 4, 6, 8 Ghế Giá phải...