Learn R Programming

RobinHood (version 1.6)

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
# NOT RUN {
# Login in to your RobinHood account
RH <- RobinHood("username", "password")

get_positions(RH)
# }

Run the code above in your browser using DataLab