All functions

alpaca_connect()

Connect to an alpaca backend

balance_portfolio()

Balance portfolio

constrain_orders()

Constrain orders

cooldown_elapsed()

Has the cooldown period for a portfolio elapsed?

create_portfolio_model()

Create a portfolio model

get_cash()

Get cash balance from backend

get_orders()

Get order history from backend

get_portfolio_current()

Get current portfolio holdings

get_positions()

Get positions from backend

get_quotes()

Get quotes from a data backend

load_portfolio_targets()

Load portfolio targets

market_open()

Determine if the market is open

price_portfolio()

Price a portfolio

read_portfolio_model()

Read a portfolio model from disk

save_portfolio_model()

Save a portfolio model to disk

solve_portfolio()

Compute which changes are required to make a current portfolio identical to a portfolio model

trader()

Interact with a trading backend

update_portfolio_model()

Update a portfolio model

validate_portfolio_model()

Validate a portfolio model