You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Evgeniy Ierusalimov 9905f0c32d Switched to selected mailbox folder, customize target email subject and sender 12 小時之前
bin Add initial set of files 2 年之前
config Switched to selected mailbox folder, customize target email subject and sender 12 小時之前
migrations initial release of FinFollowBCS 2 年之前
public Add initial set of files 2 年之前
src Switched to selected mailbox folder, customize target email subject and sender 12 小時之前
.env Switched to selected mailbox folder, customize target email subject and sender 12 小時之前
.gitignore Notify portfolio changes using generated image instead of text 1 年之前
README.md Switched to selected mailbox folder, customize target email subject and sender 12 小時之前
composer.json Prettify the output (securities names) 1 年之前
composer.lock updated libraries 4 週之前
droid_sans_mono.ttf Notify portfolio changes using generated image instead of text 1 年之前
portfolio.xml fixed security name substitution for those which is under in movement 1 年之前
portfolio_new.xml allow new period format from xlm title 1 周之前
symfony.lock updated libraries 4 週之前

README.md

FinFollowBCS

The main goal is

  1. Fetch emails from bcs-robot@ mailbox
  2. Extract xml reports from emails attachments
  3. Process xml reports to portfolio changes
  4. Format portfolio changes to image (using text presentation) and notify via Telegram

NB: Do not forget to remove var/imap/attachments/*.bin files after

Use .env:SECURITIES_MAP to substitute more human-readable titles instead of given ones

IMAP Connection string for selected folder: IMAP_PATH={imap.yandex.ru:993/imap/ssl}BCS-robot