Stocks API
/v1
- /v1/list
- List stocks by their ticker symbol, price, and market cap
/v2
- /v2/list?user={token}
- List stocks by their ticker symbol, price, and market cap.
- /v2/buy/{symbol}?quantity={n}&user={token}
- Buy n shares of a stock with this symbol.
- /v2/sell/{symbol}?quantity={n}&user={token}
- Sell n shares of a stock with this symbol.
- /v2/holdings?user={token}
- List currently owned shares of user.
- /v2/auth
- Receive auth token to access other endpoints.
/v3
- /v3/list?user={token}
- List stocks by their ticker symbol, price, and market cap
- /v3/buy/{symbol}?quantity={n}&user={token}
- Buy n shares of a stock with this symbol.
- /v3/sell/{symbol}?quantity={n}&user={token}
- Sell n shares of a stock with this symbol.
- /v3/holdings?user={token}
- List currently owned shares of user.
- /v3/auth
- Receive auth token to access other endpoints.