Lodol Docs

Robinhood

API actions for the Robinhood integration.

Robinhood

Trade stocks, review watchlists, and view account data with Robinhood.


Cancel order

Cancel a pending Robinhood order.

Parameters

ParameterTypeRequiredDescription
order_idstringYesID of the order to cancel.

Response

{
  "result": {}
}

Get account profile

Fetch account profile details such as status and buying power.

Response

{
  "profile": {}
}

Get stock quote

Look up the latest price quote for a stock.

Parameters

ParameterTypeRequiredDescription
symbolstringYesStock ticker symbol to look up, for example AAPL.

Response

{
  "quote": {}
}

List positions

List the current stock holdings (positions) in the portfolio.

Parameters

ParameterTypeRequiredDescription
nonzero_onlybooleanNoSet to true to show only positions where you still hold shares.

Response

{
  "positions": {}
}

List watchlists

Retrieve all watchlists set up in the account.

Response

{
  "watchlists": {}
}

Place limit order

Submit a limit order to buy or sell shares at your chosen price or better.

Parameters

ParameterTypeRequiredDescription
symbolstringYesStock ticker symbol to trade, for example AAPL.
quantitynumberYesNumber of shares to trade.
sidestringYesWhether to buy or sell shares. Enter buy or sell.
limit_pricenumberYesPrice per share: the highest you'll pay when buying, or the lowest you'll accept when selling.

Response

{
  "order": {}
}

Place market order

Submit a market order to buy or sell shares at the current market price.

Parameters

ParameterTypeRequiredDescription
symbolstringYesStock ticker symbol to trade, for example AAPL.
quantitynumberYesNumber of shares to trade.
sidestringYesWhether to buy or sell shares. Enter buy or sell.

Response

{
  "order": {}
}

On this page