# Trading API

- [Overview](https://api-documentation.autoshares.dev/rest-api/trading-api/overview.md): Get started with Autoshares Trading API
- [Authentication](https://api-documentation.autoshares.dev/rest-api/trading-api/authentication.md): Perform initial authentication to retrieve the authentication token used in all other requests
- [Single-Factor Authentication](https://api-documentation.autoshares.dev/rest-api/trading-api/authentication/requesting-tokens.md): Perform regular authentication in Autoshares Trader
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/authentication/requesting-tokens/get_token.md)
- [Two-Factor Authentication](https://api-documentation.autoshares.dev/rest-api/trading-api/authentication/two-factor-authentication.md): Perform two-factor authentication in Autoshares Trader
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/authentication/two-factor-authentication/syntax.md)
- [User Registration](https://api-documentation.autoshares.dev/rest-api/trading-api/user-registration.md): Create new users
- [Get Required Fields](https://api-documentation.autoshares.dev/rest-api/trading-api/user-registration/get-required-fields.md): Get a set of parameters that must be specified when creating users
- [Register a User](https://api-documentation.autoshares.dev/rest-api/trading-api/user-registration/register-a-user.md): Register a new user in Autoshares Trader
- [Managing Users](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-users.md): Get a user's information with Autoshares Trader API
- [Get User's Info](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-users/get-users-info.md): Get a user's information by their Autoshares Trader identifier
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-users/get-users-info/users_getuserinfo.md)
- [Get User's Trading Settings](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-users/get-users-settings.md): Retrieve default trading settings of a specific user
- [Get Mobile App Settings](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-users/get-mobile-app-settings.md): Retrieve settings for Autoshares Trader for iOS and Android
- [Get User's Exchanges](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-users/get-users-exchanges.md): Retrieve the list of exchanges available to a specific user
- [Modify User's Settings](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-users/modify-users-settings.md): Updated a user's default trading settings
- [Update User's Password](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-users/update-users-password.md): Update the password of a user
- [Trading Accounts](https://api-documentation.autoshares.dev/rest-api/trading-api/user-accounts.md): Get users' account information like the current balance and transaction history
- [Get Account's Balance Info](https://api-documentation.autoshares.dev/rest-api/trading-api/user-accounts/get-accounts-balance-info.md): Get balance information of a particular trading account
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/user-accounts/get-accounts-balance-info/useraccounts_getaccountbalanceinfo.md)
- [Get Account's History](https://api-documentation.autoshares.dev/rest-api/trading-api/user-accounts/get-accounts-history.md): Get transaction history for a particular trading account
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/user-accounts/get-accounts-history/useraccounts_getaccounthistory.md)
- [List User's Accounts](https://api-documentation.autoshares.dev/rest-api/trading-api/user-accounts/list-users-accounts.md): List all trading accounts of a particular user
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/user-accounts/list-users-accounts/useraccounts_getuseraccounts.md)
- [Password Reset](https://api-documentation.autoshares.dev/rest-api/trading-api/password-reset.md)
- [1. Reset Trader's Password](https://api-documentation.autoshares.dev/rest-api/trading-api/password-reset/1.-reset-traders-password.md): Reset a trader's password
- [2. Retrieve the Secret Question](https://api-documentation.autoshares.dev/rest-api/trading-api/password-reset/2.-retrieve-the-secret-question.md): Retrieve the secret question for which the user must provide the answer in order to reset the password
- [3. Generate a Token For a New Password](https://api-documentation.autoshares.dev/rest-api/trading-api/password-reset/2.-generate-a-token-for-a-new-password.md): Generate a token using the conformation code from email
- [4. Update the Password](https://api-documentation.autoshares.dev/rest-api/trading-api/password-reset/3.-update-the-password.md): Provide the trader's new password
- [Trading Accounts](https://api-documentation.autoshares.dev/rest-api/trading-api/trading-accounts.md): Open, manage, and close trading accounts
- [Open a New Trading Account](https://api-documentation.autoshares.dev/rest-api/trading-api/trading-accounts/open-a-new-trading-account.md)
- [Account Funding](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding.md)
- [Create an ACH Relationship](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/create-an-ach-relationship.md): Bind an ACH relationship to a trading account
- [Get an ACH Relationship](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/get-an-ach-relationship.md): Fetch information about a specific ACH relationship
- [Get All ACH Relationships](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/get-all-ach-relationships.md): List all ACH relationships of a particular trading account
- [Get the Default ACH Relationship](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/get-the-default-ach-relationship.md): Fetch information about the default ACH relationship
- [Modify an ACH Relationship](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/modify-an-ach-relationship.md): Modify the name of an existing ACH Relationship
- [Delete an ACH Relationship](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/delete-an-ach-relationship.md): Delete an existing ACH relationship
- [Approve an ACH Relationship](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/approve-an-ach-relationship.md): Approve an ACH relationship based on micro deposits
- [Deposit / Withdraw Funds via ACH](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/deposit-withdraw-funds.md): Deposit and withdraw funds to/from a specific trading account via ACH relationships
- [Cancel an ACH Transfer](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/cancel-an-ach-transfer.md): Cancel an outstanding ACH Transfer
- [Get All Transfers](https://api-documentation.autoshares.dev/rest-api/trading-api/account-funding/get-all-transfers.md): Retrieve all deposits and withdrawals of a particular trading account
- [Orders](https://api-documentation.autoshares.dev/rest-api/trading-api/orders.md): Place, modify, and cancel trade orders
- [Verify Order Placement](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/validate-order-placement.md): Verify a new order before placing it
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/validate-order-placement/orders_previewcreateorder.md)
- [Place Order](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/place-order.md): Place a new order
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/place-order/orders_placeorder.md)
- [Verify Order Replacement](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/validate-order-replacement.md): Verify an order modification before committing changes
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/validate-order-replacement/orders_previewmodifyorder.md)
- [Replace Order](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/replace-order.md): Modify an existing order (cancel and replace)
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/replace-order/orders_replaceorder.md)
- [Cancel an Order](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/cancel-order.md): Cancel an existing outstanding order
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/cancel-order/orders_cancelorder.md)
- [Get Order's Info](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/get-orders-info.md): Retrieve information about a particular order
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/get-orders-info/orders_getorder.md)
- [Get Filtered Orders](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/get-filtered-orders.md): List a user's outstanding and executed orders
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/orders/get-filtered-orders/orders_getorders.md)
- [Positions](https://api-documentation.autoshares.dev/rest-api/trading-api/positions.md): Fetch information on a user's current positions
- [Get User's Positions](https://api-documentation.autoshares.dev/rest-api/trading-api/positions/get-users-positions.md): List all existing positions of a user
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/positions/get-users-positions/positions_getpositions.md)
- [Get User's Positions in a Security](https://api-documentation.autoshares.dev/rest-api/trading-api/positions/get-users-positions-in-security.md): List all user's positions in a particular security
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/positions/get-users-positions-in-security/positions_getpositionbysymbol.md)
- [Get Market Value of all Security Groups](https://api-documentation.autoshares.dev/rest-api/trading-api/positions/get-market-value-of-all-security-types.md): Retrieve a trading account's collective market value of all security groups
- [Securities](https://api-documentation.autoshares.dev/rest-api/trading-api/securities.md): Fetch information about certain securities
- [Get Equity Info by Internal ID](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-securitys-info-by-internal-id.md): Fetch information about a particular equity by providing its internal ID
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-securitys-info-by-internal-id/securities_getequitybyid.md)
- [Get Equity Info by Ticker](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-securitys-info-by-ticker.md): Fetch information about a particular equity by providing its ticker symbol
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-securitys-info-by-ticker/securities_getequitybysymbol.md)
- [Get Equity Info by Mask](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-securitys-info-by-mask.md): Fetch information about a particular equity by providing a keyword that will be queried in all equities' symbol, exchange, and description fields.
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-securitys-info-by-mask/securities_getequitiesbymask.md)
- [Get Filtered Equities](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-filtered-equities.md): Retrieve equities sorted by a particular field and split into multiple pages
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-filtered-equities/securities_getequities.md)
- [Get Option Info by Internal ID](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-option-info-by-internal-id.md): Fetch information about a particular option by providing its internal ID
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-option-info-by-internal-id/securities_getoptionbyid.md)
- [Get Option Info by Ticker](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-option-info-by-ticker.md): Fetch information about a particular option by providing its ticker symbol
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-option-info-by-ticker/securities_getequitybysymbol.md)
- [Get Options Expiration Dates](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-options-expiration-dates.md): Fetch expiration dates of options with a particular underlying security
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-options-expiration-dates/securities_getoptionsexpirations.md)
- [Get an Option Chain](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-an-option-chain.md)
- [Get Filtered Options](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-filtered-options.md): Retrieve options sorted by a particular field and split into multiple pages
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/securities/get-filtered-options/securities_getoptions.md)
- [Watchlists](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists.md): Manage users' watchlists
- [Add Security to Watchlist by ID](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/add-security-to-watchlist-by-id.md): Add a security to an existing watchlist by providing the security's internal ID
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/add-security-to-watchlist-by-id/watchlists_addsecuritybyid.md)
- [Add Security to Watchlist by Ticker](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/add-security-to-watchlist-by-ticker.md): Add a security to an existing watchlist by providing the security's ticker symbol
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/add-security-to-watchlist-by-ticker/syntax.md)
- [Create New Watchlist](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/create-new-watchlist.md): Create a new watchlist for a particular user
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/create-new-watchlist/watchlists_createwatchlist.md)
- [Delete Watchlist](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/delete-watchlist.md): Delete an existing watchlist
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/delete-watchlist/watchlists_deletewatchlist.md)
- [Get Specific Watchlist](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/get-specific-watchlist.md): Fetch information about a specific watchlist
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/get-specific-watchlist/watchlists_getwatchlist.md)
- [Get User's Watchlists](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/get-users-watchlist.md): List a user's watchlists
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/get-users-watchlist/watchlists_getuserwatchlists.md)
- [Remove Security From Watchlist by ID](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/remove-security-from-watchlist-by-id.md): Remove a particular security from a watchlist by providing the security's internal ID
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/remove-security-from-watchlist-by-id/watchlists_removesecuritybyid.md)
- [Remove Security from Watchlist by Ticker](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/remove-security-from-watchlist-by-ticker.md): Remove a particular security from a watchlist by providing the security's ticker symbol
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/remove-security-from-watchlist-by-ticker/watchlists_removesecurity.md)
- [Rename Watchlist](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/rename-watchlist.md): Rename an existing watchlist
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/watchlists/rename-watchlist/watchlists_editwatchlistname.md)
- [Price Alerts](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts.md): Create, modify, and remove security price alerts.
- [Create Price Alert](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/create-price-alert.md): Create a new price alert
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/create-price-alert/pricealerts_createpricealert.md)
- [Delete Price Alert](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/delete-price-alert.md): Remove an existing price alert
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/delete-price-alert/pricealerts_deletepricealert.md)
- [Get Specific Alert](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/get-specific-alert.md): Fetch information about a specific price alert
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/get-specific-alert/pricealerts_getpricealert.md)
- [Get User's Price Alerts](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/get-users-price-alerts.md): List all price alerts of a particular user
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/get-users-price-alerts/pricealerts_getpricealerts.md)
- [Modify Price Alert](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/modify-price-alert.md): Modify an existing price alert
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/price-alerts/modify-price-alert/pricealerts_modifypricealerttrigger.md)
- [Historical Data](https://api-documentation.autoshares.dev/rest-api/trading-api/historical-data.md): Fetch historical chart data
- [Get Comparison Chart Data](https://api-documentation.autoshares.dev/rest-api/trading-api/historical-data/get-chart-data.md): Fetch trading data for comparing multiple securities
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/historical-data/get-chart-data/historicaltradedata_getchartcomparedata.md)
- [Get Candles and Indicators for a Security](https://api-documentation.autoshares.dev/rest-api/trading-api/historical-data/get-candles-and-indicators-for-charts.md): Fetch candles and indicators for a particular security
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/historical-data/get-candles-and-indicators-for-charts/historicaltradedata_getchartbasicdata.md)
- [Get Chart Data in the Excel Format](https://api-documentation.autoshares.dev/rest-api/trading-api/historical-data/get-chart-data-in-the-excel-format.md): Retrieve trading data for charts in the Microsoft Excel format
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/historical-data/get-chart-data-in-the-excel-format/historicaltradedata_exporttoexcel.md)
- [News](https://api-documentation.autoshares.dev/rest-api/trading-api/news.md): Fetch news and corporate actions for a specific security
- [Get News for a Security](https://api-documentation.autoshares.dev/rest-api/trading-api/news/get-news-for-a-security.md): Fetch all recent news for a specific security
- [Get Corporate Actions for a Security](https://api-documentation.autoshares.dev/rest-api/trading-api/news/get-corporate-actions-for-a-security.md): Fetch all impending corporate actions for a specific security
- [User Feedback](https://api-documentation.autoshares.dev/rest-api/trading-api/feedback.md): Submit User Feedback
- [Submit Feedback](https://api-documentation.autoshares.dev/rest-api/trading-api/feedback/submit-feedback.md): Submit feedback from a particular user
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/feedback/submit-feedback/feedbacks_submitfeedback.md)
- [Managing Transactions](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-transactions.md): List transactions
- [Get Transactions](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-transactions/get-transactions.md): List transactions of a particular user
- [Syntax](https://api-documentation.autoshares.dev/rest-api/trading-api/managing-transactions/get-transactions/transactions_getactionspage.md)
- [Streaming Data](https://api-documentation.autoshares.dev/rest-api/trading-api/streaming-data.md): Subscribe to quote streamers
- [Quotes](https://api-documentation.autoshares.dev/rest-api/trading-api/streaming-data/quotes.md): Subscribe to quotes
- [Orders](https://api-documentation.autoshares.dev/rest-api/trading-api/streaming-data/orders.md): Subscribe to orders
- [Positions](https://api-documentation.autoshares.dev/rest-api/trading-api/streaming-data/positions.md): Subscribe to positions
- [Watchlists](https://api-documentation.autoshares.dev/rest-api/trading-api/streaming-data/watchlists.md)
- [Account Balances](https://api-documentation.autoshares.dev/rest-api/trading-api/streaming-data/account-balances.md): Subscribe to changes in traders' account balances
- [Code Samples](https://api-documentation.autoshares.dev/rest-api/trading-api/code-samples.md): Explore examples of code that leverages Autoshares API requests
- [Basic Authentication](https://api-documentation.autoshares.dev/rest-api/trading-api/code-samples/basic-authentication.md)
- [Two-Factor Autentication](https://api-documentation.autoshares.dev/rest-api/trading-api/code-samples/two-factor-autentication.md)
- [Placing New Orders](https://api-documentation.autoshares.dev/rest-api/trading-api/code-samples/placing-new-orders.md)
- [Get User Information](https://api-documentation.autoshares.dev/rest-api/trading-api/code-samples/get-user-information.md)
- [List User Positions](https://api-documentation.autoshares.dev/rest-api/trading-api/code-samples/list-user-positions.md)
- [Get Trading Data for Charts](https://api-documentation.autoshares.dev/rest-api/trading-api/code-samples/get-trading-data-for-charts.md)
- [Terms and Definitions](https://api-documentation.autoshares.dev/rest-api/trading-api/definitions.md)
- [Part I](https://api-documentation.autoshares.dev/rest-api/trading-api/definitions/part-i.md)
- [Part II](https://api-documentation.autoshares.dev/rest-api/trading-api/definitions/part-ii.md)
- [Part III](https://api-documentation.autoshares.dev/rest-api/trading-api/definitions/part-iii.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-documentation.autoshares.dev/rest-api/trading-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
