Exemplo n.º 1
0
        date = date)
print( UKStockPrice[:5] )
#---------------------------------------------------------------
print('load EuropeStockInfo')
EuropeStockInfo = Load.FinData(dataset = 'EuropeStockInfo')
print( EuropeStockInfo[:5] )

print('load EuropeStockPrice {} '.format(EuropeStockInfo.loc[2,'stock_id']))
EuropeStockPrice = Load.FinData(
        dataset = 'EuropeStockPrice',
        select = EuropeStockInfo.loc[2,'stock_id'],
        date = date)
print( EuropeStockPrice[:5] )
#---------------------------------------------------------------
print('load ExchangeRate list')
ExchangeRate_list = Load.FinDataList(dataset = 'ExchangeRate')
print( ExchangeRate_list[:5] )

print('load ExchangeRate {}'.format(ExchangeRate_list[3]))
ExchangeRate = Load.FinData(
        dataset = 'ExchangeRate',
        select = ExchangeRate_list[3],
        date = date)
print( ExchangeRate[:5] )

#---------------------------------------------------------------
print('load InstitutionalInvestors list')
InstitutionalInvestors_list = Load.FinDataList(dataset = 'InstitutionalInvestors')
print( InstitutionalInvestors_list[:5] )

print('load InstitutionalInvestors {}'.format(InstitutionalInvestors_list[3]))
Exemplo n.º 2
0
                            select=UKStockInfo.loc[2, 'stock_id'],
                            date=date)
print(UKStockPrice[:5])
#---------------------------------------------------------------
print('load EuropeStockInfo')
EuropeStockInfo = Load.FinData(dataset='EuropeStockInfo')
print(EuropeStockInfo[:5])

print('load EuropeStockPrice {} '.format(EuropeStockInfo.loc[2, 'stock_id']))
EuropeStockPrice = Load.FinData(dataset='EuropeStockPrice',
                                select=EuropeStockInfo.loc[2, 'stock_id'],
                                date=date)
print(EuropeStockPrice[:5])
#---------------------------------------------------------------
print('load ExchangeRate list')
ExchangeRate_list = Load.FinDataList(dataset='ExchangeRate')
print(ExchangeRate_list[:5])

print('load ExchangeRate {}'.format(ExchangeRate_list[3]))
ExchangeRate = Load.FinData(dataset='ExchangeRate',
                            select=ExchangeRate_list[3],
                            date=date)
print(ExchangeRate[:5])

#---------------------------------------------------------------
print('load InstitutionalInvestors list')
InstitutionalInvestors_list = Load.FinDataList(
    dataset='InstitutionalInvestors')
print(InstitutionalInvestors_list[:5])

print('load InstitutionalInvestors {}'.format(InstitutionalInvestors_list[3]))
Exemplo n.º 3
0
print(UKStockPrice[:5])
# ---------------------------------------------------------------
print("load EuropeStockInfo")
EuropeStockInfo = Load.FinData(dataset="EuropeStockInfo")
print(EuropeStockInfo[:5])

print("load EuropeStockPrice {} ".format(EuropeStockInfo.loc[2, "stock_id"]))
EuropeStockPrice = Load.FinData(
    dataset="EuropeStockPrice",
    select=EuropeStockInfo.loc[2, "stock_id"],
    date=date,
)
print(EuropeStockPrice[:5])
# ---------------------------------------------------------------
print("load ExchangeRate list")
ExchangeRate_list = Load.FinDataList(dataset="ExchangeRate")
print(ExchangeRate_list[:5])

print("load ExchangeRate {}".format(ExchangeRate_list[3]))
ExchangeRate = Load.FinData(dataset="ExchangeRate",
                            select=ExchangeRate_list[3],
                            date=date)
print(ExchangeRate[:5])

# ---------------------------------------------------------------

print("load InstitutionalInvestors")
InstitutionalInvestors = Load.FinData(dataset="InstitutionalInvestors",
                                      date=date)
print(InstitutionalInvestors[:5])
Exemplo n.º 4
0
print(UKStockPrice[:5])
# ---------------------------------------------------------------
print("load EuropeStockInfo")
EuropeStockInfo = Load.FinData(dataset="EuropeStockInfo")
print(EuropeStockInfo[:5])

print("load EuropeStockPrice {} ".format(EuropeStockInfo.loc[2, "stock_id"]))
EuropeStockPrice = Load.FinData(
    dataset="EuropeStockPrice",
    select=EuropeStockInfo.loc[2, "stock_id"],
    date=date,
)
print(EuropeStockPrice[:5])
# ---------------------------------------------------------------
print("load ExchangeRate list")
ExchangeRate_list = Load.FinDataList(dataset="ExchangeRate")
print(ExchangeRate_list[:5])

print("load ExchangeRate {}".format(ExchangeRate_list[3]))
ExchangeRate = Load.FinData(dataset="ExchangeRate",
                            select=ExchangeRate_list[3],
                            date=date)
print(ExchangeRate[:5])

# ---------------------------------------------------------------

print("load InstitutionalInvestors")
InstitutionalInvestors = Load.FinData(dataset="InstitutionalInvestors",
                                      date=date)
print(InstitutionalInvestors[:5])