COCO研究院

 找回密碼
 註冊
搜索
查看: 2807|回復: 5

怎樣可以將股票的市值及財務數據 等輸入到Ab

[複製鏈接]
發表於 15-1-31 12:19 來自手機 | 顯示全部樓層 |閱讀模式
各位大大, 本人是新手, 從香港來的請多多指教.

本人剛買了ami broker, 發現很多地方都很難, 請指點一下

正題: 怎樣可以將股票的市值及市賬率Price to book ratio 等數據輸入到Ami Broker.
發表於 15-2-1 10:46 | 顯示全部樓層
Please Refer
http://www.amibroker.com/guide/d_ascii.html

1st you just edit a *.format file and put under the \formats directory
      ex.Fundamental.format
      and the following is an example inside fundamental.format

# Fundamental Format definition
$FORMAT TICKER,FULLNAME,MARKET,CURRENCY,GROUP,BOOK_VALUE_PER_SHARE,REVENUE,GROSS_PROFIT
$NOQUOTES 1
$SKIPLINES 1
$SEPARATOR ,
$CONT 1
$OVERWRITE 1
$DEBUG 1


2nd edit the import.types file which is under the \formats directory
      and put Fundamental.format as one of the list

ex: add new line as below after Default ASCII (*.*)|*.*|default.format

      Fundamental (*.csv)|*.csv|Fundamental.format


3rd  Generate  a new csv file ready for the importing
       for example:

股號,股名,交易所,幣別,GROUP,每股淨值,今年以來累計營收(億),近一年營業毛利(百萬)
1101.TW,台泥,TAISE,NTD,水泥,30.2,1183.26,22823
1102.TW,亞泥,TAISE,NTD,水泥,39.81,777.62,9013.84
1103.TW,嘉泥,TAISE,NTD,水泥,26.65,39.38,234.95
1104.TW,環泥,TAISE,NTD,水泥,24.37,58.2,461.77
1108.TW,幸福,TAISE,NTD,水泥,11.12,50.99,542.4
1109.TW,信大,TAISE,NTD,水泥,13.95,50,805.12
1110.TW,東泥,TAISE,NTD,水泥,15.56,20.78,257.67

And last, Use File>Import ASCII
when the Pop up window shows up, select the fundamental  before choosing the csv file.

HOPE this will help
 樓主| 發表於 15-2-6 19:18 來自手機 | 顯示全部樓層
可以在那找到香港股票的fundamental data 來download呢?
發表於 15-2-7 08:52 | 顯示全部樓層
先找找看美國yahoo裡有沒有港股,有的話用amiquote download
我剛剛試了 8201.HK 是有可以download,來源選yahoo fundamental basic
 樓主| 發表於 15-2-11 21:54 | 顯示全部樓層
我已經將 fundamental data 下載到AB, 謝謝各位大大.

我想從AB 裏選出超過五十億市值及P/E ratio 低過10 的股票, 因為很少人討論這個題目,

請問各位大大, 這個AFL 是怎樣寫?
發表於 15-3-11 12:49 | 顯示全部樓層
lwhuang 發表於 15-2-7 08:52
先找找看美國yahoo裡有沒有港股,有的話用amiquote download
我剛剛試了 8201.HK 是有可以download,來源選 ...

大家可能需要注意一下,美國yahoo的免費基本面資料對亞洲公司很多都有很長時間可能會有一年的滯後
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

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

GMT+8, 24-5-21 07:56

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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