Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Dividend - didnt load

Ran the scripts from yahoo on SFR.AX and the dividend didnt download? Any reason.

Comments

  • I tested and it should work.
    Go to Scripts\Log\GetDividends-Yahoo.txt file and check for any errors, messages. For successful load my log file had

    10:00:00 --- Starting script GetDividends-Yahoo.ps1
    Symbol count: 1. MinDate: 2006-12-27
    Symbol: SFR.AX. Next date: 2006-12-27. Dividend file: C:\PortfolioSlicer\20201004\Dividends\_SFR.AX_.txt
    Requesting url: https://query1.finance.yahoo.com/v7/finance/download/SFR.AX?period1=1167177600&period2=1601817799&interval=1d&events=div&crumb=jyGrSX12K4U
    Done: SFR.AX (from: 2006-12-27). Dividend record count: 13. Last dividend date: 2020-09-14

    10:00:00 --- Finished. Quotes Requested/Succeed/Failed/Rows: 2/1/0/13. Duration: 2 sec.

    And in the Dividends folder I had data:

    2014-09-10,0.1,SFR.AX
    2015-03-10,0.03,SFR.AX
    2015-09-08,0.1,SFR.AX
    2016-03-09,0.02,SFR.AX
    2016-09-09,0.09,SFR.AX
    2017-03-06,0.05,SFR.AX
    2017-09-11,0.13,SFR.AX
    2018-03-05,0.08,SFR.AX
    2018-09-10,0.19,SFR.AX
    2019-03-04,0.07,SFR.AX
    2019-11-14,0.16,SFR.AX
    2020-02-25,0.05,SFR.AX
    2020-09-14,0.14,SFR.AX
  • have no idea what i am doing wrong: run this but no divided shown

    18:33:31 --- Starting script GetDividends-Yahoo.ps1
    (Dividends) Symbol list is empty after review. Exiting script.

  • in psConfig.txt for each symbol listed you need to specify Y as 5th parameter if you want Dividends extracted.
    # Yahoo: list of symbols from Yahoo Finance website. Format: Symbol,MinDate,MaxDate,IntraDayFlag[Y|N],[DividendFlag[Y|N],FactorHistory,FactorIntraDay,FactorDividend

    SFR.AX,,,Y,Y


Sign In or Register to comment.