Ejemplo n.º 1
0
def test_dl_bnd():
    """ download BND quote """
    app = PriceDbApplication()
    price = app.download_price("NYSEARCA:VTI", "USD", "morningstar")
    assert price
    price = app.download_price("NYSEARCA:BND", "USD", "morningstar")
    assert price
Ejemplo n.º 2
0
def test_debug_fixerio():
    """ Debug fixerio download for currencies """

    # pricedb dl -a fixerio -f symbols-fixerio-eur.txt -c eur
    app = PriceDbApplication()
    result = app.download_price("AUD", "EUR", "fixerio")
    assert result is not None
Ejemplo n.º 3
0
def download_bnd():
    app = PriceDbApplication()
    #price = app.download_price("NYSEARCA:VTI", "USD", "morningstar")
    price = app.download_price("NYSEARCA:BND", "USD", "morningstar")
    assert price
Ejemplo n.º 4
0
def test_debug_aud_morningstar():
    """ Debug download for aud quote """
    app = PriceDbApplication()
    result = app.download_price("ASX:AEF", "AUD", "morningstar")
    assert result is not None