Scrapes the Sun Life of Canada Philippines web site for historical prices of their investment funds and then saves them as CSV files.

Related tags

Web Crawlingpython
Overview

slocpi-scraper

Sun Life of Canada Philippines Inc Investment Funds Scraper

Install dependencies

pip install -r requirements.txt

Usage

General format:

./api_client.py 
    
    
      (end_date)

    
   

The fund codes are listed in the next section.

The dates should use the YYYY-MM-DD format.

End dates are optional and default to today if not explicitly specified.

To get historical data for their Peso Balanced Fund from Jan 1, 2021 to Feb 14, 2021:

./api_client.py SLPBA 2021-01-01 2021-02-14

To get historical data for all of their VULs from Jan 1, 2021 to Feb 14, 2021:

./api_client.py VUL 2021-01-01 2021-02-14

To get historical data for all of their mutual funds from Jan 1, 2021 to Feb 14, 2021:

./api_client.py MF 2021-01-01 2021-02-14

To get historical data for all of their funds from Jan 1, 2021 to Feb 14, 2021:

./api_client.py ALL 2021-01-01 2021-02-14

List of VULs and their codes

  • SLPBA: Sun Life Phils - Peso Balanced Fund
  • SLPBF: Sun Life Phils - Peso Bond Fund
  • SLPCP: Sun Life Phils - Captains Fund
  • SLPDF: Dynamic Fund
  • SLPEF: Sun Life Phils - Peso Equity Fund
  • SLPGF: Sun Life Phils - Peso Growth Fund
  • SLPGP: Sun Life Phils - Growth Plus Fund
  • SLPIF: Sun Life Phils - Peso Income Fund
  • SLPIN: Sun Life Phils - Index Fund
  • SLPMM: Sun Life Phils - Money Market Fund
  • SLPOF: Sun Life Phils - Peso Opportunity Fund
  • SLPOT: Sun Life Phils - Opportunity Tracker Fund
  • SLPP1: Sun Peso Maximizer - Fund
  • SLPP2: Sun Peso Maximizer - Primo 2 Fund
  • TDF20: Sun Life Phils - Peso MyFuture 2020
  • TDF25: Sun Life Phils - Peso MyFuture 2025
  • TDF30: Sun Life Phils - Peso MyFuture 2030
  • TDF35: Sun Life Phils - Peso MyFuture 2035
  • TDF40: Sun Life Phils - Peso MyFuture 2040
  • SLUBF: Sun Life Phils - Dollar Bond Fund
  • SLUD7: Sun Life Phils - Sun Dollar Maximizer - WT
  • SLUD8: Sun Life Phils - Sun Dollar Maximizer - PriMO
  • SLUD9: Sun Life Phils - Sun Dollar Maximizer - PriMO 2
  • SLUGF: Sun Life Phils - Global Growth Fund
  • SLUIF: Sun Life Phils - Global Income Fund
  • SLUOF: Sun Life Phils - Global Opportunity Fund
  • SLUMM: Sun Life Phils - Dollar Money Market Fund

List of mutual funds and their codes

  • CF0001: Sun Life Prosperity Bond Fund
  • CF0002: Sun Life Prosperity Balanced Fund
  • CF0003: Sun Life Prosperity Philippine Equity Fund
  • CF0004: Sun Life Prosperity Dollar Advantage Fund
  • CF0005: Sun Life Prosperity Money Market Fund
  • CF0006: Sun Life Prosperity Dollar Abundance Fund
  • CF0007: Sun Life Prosperity Government Securities (GS) Fund
  • CF0008: Sun Life Prosperity Dynamic Fund
  • CF0009: Sun Life Prosperity Philippine Stock Index Fund
  • CF0010: Sun Life Prosperity Dollar Wellspring Fund
  • CF0011: Sun Life Prosperity World Voyager Fund
  • CF0012: Sun Life Prosperity Dollar Starter Fund
  • CF0013: Sun Life Prosperity Achiever Fund 2028
  • CF0014: Sun Life Prosperity Achiever Fund 2038
  • CF0015: Sun Life Prosperity Achiever Fund 2048
  • CF0016: Sun Life Prosperity World Equity Index Feeder Fund
Owner
Daryl Yu
Daryl Yu
Simple tool to scrape and download cross country ski timings and results from live.skidor.com

LiveSkidorDownload Simple tool to scrape and download cross country ski timings and results from live.skidor.com Usage: Put the python file in a dedic

0 Jan 07, 2022
A command-line program to download media, like and unlike posts, and more from creators on OnlyFans.

onlyfans-scraper A command-line program to download media, like and unlike posts, and more from creators on OnlyFans. Installation You can install thi

185 Jul 23, 2022
Web-Scraping using Selenium Master

Web-Scraping using Selenium What is the need of Selenium? Some websites don't like to be scrapped and in that case you need to disguise your webscrapi

Md Rashidul Islam 1 Oct 26, 2021
TikTok Username Swapper/Claimer/etc

TikTok-Turbo TikTok Username Swapper/Claimer/etc I wanted to create it as fast as possible but i eventually gave up and recoded it many many many many

Kevin 12 Dec 19, 2022
A crawler of doubamovie

豆瓣电影 A crawler of doubamovie 一个小小的入门级scrapy框架的应用,选取豆瓣电影对排行榜前1000的电影数据进行爬取。 spider.py start_requests方法为scrapy的方法,我们对它进行重写。 def start_requests(self):

Cats without dried fish 1 Oct 05, 2021
薅薅乐 - JD 测试脚本

薅薅乐 安裝 使用docker docker一键安装: docker run -d --name jd classmatelin/hhl:latest. 使用 进入容器: docker exec -it jd bash 获取JD_COOKIES: python get_jd_cookies.py,

ClassmateLin 575 Dec 28, 2022
✂️🕷️ Spider-Cut is a Network Mapper Framework (NMAP Framework)

Spider-Cut is a Network Mapper Framework (NMAP Framework) Installation | Usage | Creators | Donate Installation # Kali Linux | WSL

XforWorks 3 Mar 07, 2022
Complete pipeline for crawling online newspaper article.

Complete pipeline for crawling online newspaper article. The articles are stored to MongoDB. The whole pipeline is dockerized, thus the user does not need to worry about dependencies. Additionally, d

newspipe 4 May 27, 2022
Linkedin webscraping - Linkedin web scraping with python

linkedin_webscraping This is the first step of a full project called "LinkedIn J

Pedro Dib 4 Apr 24, 2022
Web-scraping - A bot using Python with BeautifulSoup that scraps IRS website by form number and returns the results as json

Web-scraping - A bot using Python with BeautifulSoup that scraps IRS website (prior form publication) by form number and returns the results as json. It provides the option to download pdfs over a ra

1 Jan 04, 2022
Scrape puzzle scrambles from csTimer.net

Scroodle Selenium script to scrape scrambles from csTimer.net csTimer runs locally in your browser, so this doesn't strain the servers any more than i

Jason Nguyen 1 Oct 29, 2021
Snowflake database loading utility with Scrapy integration

Snowflake Stage Exporter Snowflake database loading utility with Scrapy integration. Meant for streaming ingestion of JSON serializable objects into S

Oleg T. 0 Dec 06, 2021
This is a web crawler that works on employ email data by gmane.org and visualizes it in different ways.

crawler_to_visual_gmane Analyzing an EMAIL Archive from gmane and vizualizing the data using the D3 JavaScript library. This is a set of tools that al

Saim Zafar 1 Dec 20, 2021
A simple app to scrap data from Twitter.

Twitter-Scraping-App A simple app to scrap data from Twitter. Available Features Search query. Select number of data you want to fetch from twitter. C

Davis David 2 Oct 31, 2022
CRI Scrape is a tool for get general info about Italian Red Cross in GAIA Platform

CRI Scrape CRI Scrape is a tool for get general info about Italian Red Cross in GAIA Platform Disclaimer This code is only for educational purpose. So

Vincenzo Cardone 0 Jul 23, 2022
An application that on a given url, crowls a web page and gets all words, sorts and counts them.

Web-Scrapping-1 An application that on a given url, crowls a web page and gets all words, sorts and counts them. Installation Using the package manage

adriano atambo 1 Jan 16, 2022
Collection of code files to scrap different kinds of websites.

STW-Collection Scrap The Web Collection; blog posts. This repo contains Scrapy sample code to scrap the following kind of websites: Do you want to lea

Tapasweni Pathak 15 Jun 08, 2022
jd_maotai rpa 基于selenium驱动的jd抢购rpa机器人

jd_maotai rpa 基于selenium驱动的jd抢购rpa机器人, 照顾我们这样的马大哈, 不会忘记抢购了, 祝大家过年都能喝上茅台. 特别声明: 本仓库发布的jd_maotai_rpa项目定义为自动化rpa项目, 是用于防止忘记参与jd茅台的活动(由于本人时常忘记), 而不是为了秒杀和抢

35 Nov 18, 2022
This tool crawls a list of websites and download all PDF and office documents

This tool crawls a list of websites and download all PDF and office documents. Then it analyses the PDF documents and tries to detect accessibility issues.

AccessibilityLU 7 Sep 30, 2022
Dailyiptvlist.com Scraper With Python

Dailyiptvlist.com scraper Info Made in python Linux only script Script requires to have wget installed Running script Clone repository with: git clone

1 Oct 16, 2021