No project description provided
Project description
prosper-bot
Bot to automatically invest in prosper.com
Installation
Use pipx
to install in a self-contained virtual environment.
pipx install prosper-bot
Setup
Follow the setup instructions for Prosper API
Running
Dry run
prosper-bot --dry-run
For realsies
prosper-bot
Options
Prosper bot exposes all the config options from prosper-api
, plus the options in the bot
and cli
sections below.
usage: prosper-bot [-h] [-u | --use-decimals | --no-use-decimals]
[-p | --parse-dates | --no-parse-dates]
[--parse-enums | --no-parse-enums] [-c CLIENT-ID]
[--client-secret CLIENT-SECRET] [--username USERNAME]
[--password PASSWORD] [-t TOKEN-CACHE] [-m MIN-BID]
[-s {AGGRESSIVE,CONSERVATIVE,OVERALL_HIGHEST_RATE}] [-v] [-d]
options:
-h, --help show this help message and exit
prosper-shared.serde:
-u, --use-decimals, --no-use-decimals
Floating point values should be parsed as decimals instead of
floats.; Type: bool; Default: True
-p, --parse-dates, --no-parse-dates
Date values represented as strings should be parsed into `date` and
`datetime` objects. Supports ISO-8601-compliant date strings.; Type:
bool; Default: True
--parse-enums, --no-parse-enums
Enum values represented as strings should be parsed into their
respective types.; Type: bool; Default: True
prosper-api.credentials:
-c CLIENT-ID, --client-id CLIENT-ID
The client-id from Prosper.; Type: str matching /^[a-f0-9]{32}$/
--client-secret CLIENT-SECRET
The client-secret from Prosper; can be stored and accessed securely
using the keyring library.; Type: str matching /^[a-f0-9]{32}$/
--username USERNAME Your Prosper username; Type: str
--password PASSWORD Your Prosper password; can be stored and accessed securely using the
keyring library.; Type: str
prosper-api.auth:
-t TOKEN-CACHE, --token-cache TOKEN-CACHE
The filesystem location where the auth token will be cached.; Type:
str; Default: /home/graham/.cache/prosper-api/token-cache
prosper-bot.bot:
-m MIN-BID, --min-bid MIN-BID
Minimum amount of a loan to purchase.; Type: Decimal; Default: 25.00
-s {AGGRESSIVE,CONSERVATIVE,OVERALL_HIGHEST_RATE}, --strategy {AGGRESSIVE,CONSERVATIVE,OVERALL_HIGHEST_RATE}
Strategy for balancing your portfolio.; Type: str; Default:
AGGRESSIVE
prosper-bot.cli:
-v, --verbose Prints additional debug messages.; Type: bool
-d, --dry-run Run the loop but don't actually place any orders.; Type: bool
Feedback
This project uses GitHub issues for feature requests and bug reports.
Contributing
This project uses Poetry to manage dependencies and building. Follow the instructions
to install it. Then use poetry install --all-extras
to install the project dependencies. Then run poetry run autohooks activate
to set up the pre-commit hooks. Please ensure the hooks pass before submitting a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for prosper_bot-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11034ad0d4e79f10c0bd1224c2f27ceae1c1352568eeab4ea2ade257a9f6a737 |
|
MD5 | 0019e660259166d3b805a02b46ac366a |
|
BLAKE2b-256 | 1c8af98fcaf287bd41ac64ca77886f17800c5046703a3e9821217807d0fe850d |