Fund-Notice

基于 Python 的基金涨跌提醒程序

MIT License

Stars
17

python 3 
requests
yagmail
  1. SMTP

    SMTP

  1. zip

  2. git

git clone [email protected]:Micro-sheep/Fund-Notice.git

pip install -r requirements.txt --upgrade

  1. single
cd single
  1. config.json
{
    "usr": "[email protected]",
    "pwd": "uwymszlkcjphdgeg",
    "receiver": "[email protected]",
    "codes": {
        "161725": [-2, 2],
        "002190": [-2, 2],
        "003834": [-2, 2],
        "160225": [-2, 2],
        "001632": [-2, 2]

    },
    "wait": 300
}
|      |                                                          |
| -------- | ------------------------------------------------------------ |
| usr      |                |
| pwd      | SMTP                         |
| receiver |                            |
| codes    |  161725  [-2,2]   2   -2  |
| wait     | 300                            |
 **single**  **notice.py** 

  1. multi
cd multi
  1. config.json
{
    "usr": "[email protected]",
    "pwd": "uwymszlkcjphdgeg",
    "receivers": [{
            "email": "[email protected]",
            "codes": {
                "161725": [-2,
                    2
                ]
            }
        },
        {
            "email": "[email protected]",
            "codes": {
                "160225": [-2,
                    2
                ],
                "001632": [-2,
                    2
                ]
            }
        }
    ],
    "wait": 300
}
usr
pwd SMTP
receivers
wait 300
**multi**  **notice.py** 

9:30

QQ2572699140

Related Projects