50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

RobinHood (version 1.6.5)

get_positions: Get the currently held positions for your RobinHood account

Description

Get the currently held positions for your RobinHood account

Usage

get_positions(RH, limit_output = TRUE)

Arguments

RH

object class RobinHood

limit_output

(logical) if true, return a simplified positions table, false returns all position details

Examples

Run this code
if (FALSE) {
# Login in to your RobinHood account
RH <- RobinHood("username", "password")

get_positions(RH)
}

Run the code above in your browser using DataLab