vanguard-api


Namevanguard-api JSON
Version 0.2.9 PyPI version JSON
download
home_pagehttps://github.com/MaxxRK/vanguard-api
SummaryAn unofficial API for Vanguard Invest
upload_time2025-01-29 02:06:16
maintainerNone
docs_urlNone
authorMaxxRK
requires_pythonNone
licenseMIT
keywords vanguard api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # vanguard-api
 A reverse-engineered python API to interact with the Vanguard Trading platform.

 This is not an official api! This api's functionality may change at any time.

 This api provides a means of buying and selling stocks through Vanguard. It uses playwright to scrape data and to interact with the website.

 ---

## Contribution
I am new to coding and new to open-source. I would love any help and suggestions!

## Disclaimer
I am not a financial advisor and not affiliated with Vanguard in any way. Use this tool at your own risk. I am not responsible for any losses or damages you may incur by using this project. This tool is provided as-is with no warranty.

## Setup
Install using pypi:
```
pip install vanguard-api
```
This package requires playwright. After installing vanguard-api, you will need to finish the install of playwright. You can do this in most cases by running the command:
```
playwright install
```
If you would like some more information on this, you can find it [here](https://playwright.dev/python/docs/intro).

## Quickstart
Checkout `test.py` for a quickstart example it will: 
- Login and print account info.
- Print out Holdings.
- Place a dry run market order for 'INTC' on the first account in the `account_numbers` list
- Print out the order confirmation


---

 ## Implemented Features
 - [x] Login
 - [x] Login with MFA
 - [x] Get Account Data
 - [x] Place Market Orders
 - [x] Get Currently Held Positions
 - [x] Get Quotes
 - [x] Place Limit Orders

## TO DO
 - [ ] Get Order Status
 - [ ] Cancel placed orders
 - [ ] Options
 - [ ] Give me some Ideas!

## If you would like to support me, you can do so here:
[![GitHub Sponsors](https://img.shields.io/github/sponsors/maxxrk?style=social)](https://github.com/sponsors/maxxrk) 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/MaxxRK/vanguard-api",
    "name": "vanguard-api",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "VANGUARD, API",
    "author": "MaxxRK",
    "author_email": "maxxrk@pm.me",
    "download_url": "https://files.pythonhosted.org/packages/a1/fe/475023fb64109a3ce00874317c957b555444d3e6dce64d597074313a1b3e/vanguard_api-0.2.9.tar.gz",
    "platform": null,
    "description": "# vanguard-api\n A reverse-engineered python API to interact with the Vanguard Trading platform.\n\n This is not an official api! This api's functionality may change at any time.\n\n This api provides a means of buying and selling stocks through Vanguard. It uses playwright to scrape data and to interact with the website.\n\n ---\n\n## Contribution\nI am new to coding and new to open-source. I would love any help and suggestions!\n\n## Disclaimer\nI am not a financial advisor and not affiliated with Vanguard in any way. Use this tool at your own risk. I am not responsible for any losses or damages you may incur by using this project. This tool is provided as-is with no warranty.\n\n## Setup\nInstall using pypi:\n```\npip install vanguard-api\n```\nThis package requires playwright. After installing vanguard-api, you will need to finish the install of playwright. You can do this in most cases by running the command:\n```\nplaywright install\n```\nIf you would like some more information on this, you can find it [here](https://playwright.dev/python/docs/intro).\n\n## Quickstart\nCheckout `test.py` for a quickstart example it will: \n- Login and print account info.\n- Print out Holdings.\n- Place a dry run market order for 'INTC' on the first account in the `account_numbers` list\n- Print out the order confirmation\n\n\n---\n\n ## Implemented Features\n - [x] Login\n - [x] Login with MFA\n - [x] Get Account Data\n - [x] Place Market Orders\n - [x] Get Currently Held Positions\n - [x] Get Quotes\n - [x] Place Limit Orders\n\n## TO DO\n - [ ] Get Order Status\n - [ ] Cancel placed orders\n - [ ] Options\n - [ ] Give me some Ideas!\n\n## If you would like to support me, you can do so here:\n[![GitHub Sponsors](https://img.shields.io/github/sponsors/maxxrk?style=social)](https://github.com/sponsors/maxxrk) \n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An unofficial API for Vanguard Invest",
    "version": "0.2.9",
    "project_urls": {
        "Download": "https://github.com/MaxxRK/vanguard-api/archive/refs/tags/v0.2.9.tar.gz",
        "Homepage": "https://github.com/MaxxRK/vanguard-api"
    },
    "split_keywords": [
        "vanguard",
        " api"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "99b58c36a6d66e2623e68de42ec43c460b8464458cd5eb09c57b3e5a44fafe08",
                "md5": "6398fa7a322719591aded7ad739bce5a",
                "sha256": "eb48b0021adf38de0c719f557638300eb9752d4e7528bd0dac95edeafac73a7f"
            },
            "downloads": -1,
            "filename": "vanguard_api-0.2.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6398fa7a322719591aded7ad739bce5a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 12321,
            "upload_time": "2025-01-29T02:06:14",
            "upload_time_iso_8601": "2025-01-29T02:06:14.875702Z",
            "url": "https://files.pythonhosted.org/packages/99/b5/8c36a6d66e2623e68de42ec43c460b8464458cd5eb09c57b3e5a44fafe08/vanguard_api-0.2.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a1fe475023fb64109a3ce00874317c957b555444d3e6dce64d597074313a1b3e",
                "md5": "e99af01cfd67754abced2dda5ae970cb",
                "sha256": "6e5eca95d8c34cc65a1a0d79d5da50b436c0a0d19200321f1b95db0ba9380f1e"
            },
            "downloads": -1,
            "filename": "vanguard_api-0.2.9.tar.gz",
            "has_sig": false,
            "md5_digest": "e99af01cfd67754abced2dda5ae970cb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12145,
            "upload_time": "2025-01-29T02:06:16",
            "upload_time_iso_8601": "2025-01-29T02:06:16.502613Z",
            "url": "https://files.pythonhosted.org/packages/a1/fe/475023fb64109a3ce00874317c957b555444d3e6dce64d597074313a1b3e/vanguard_api-0.2.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-29 02:06:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MaxxRK",
    "github_project": "vanguard-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "vanguard-api"
}
        
Elapsed time: 1.12742s