# Alpaca Technical Documentation - Full Content # https://docs.alpaca.markets/docs/ llms-full.txt ## Alpaca Trading APIs # About Alpaca [Skip link to About Alpaca](https://docs.alpaca.markets/docs/about-alpaca\#about-alpaca) ## History & Founders [Skip link to History & Founders](https://docs.alpaca.markets/docs/about-alpaca\#history--founders) Alpaca is a technology company headquartered in Silicon Valley that builds a simple and modern API for stock and crypto trading. Our Brokerage services are provided by Alpaca Securities LLC, a member of [FINRA](https://www.finra.org/#/)/ [SIPC](https://www.sipc.org/). We are a team of diverse background individuals with deep financial and technology expertise, backed by some of the top investors in the industry globally. We are proud to be supported by the love of enthusiastic community members on various platforms. Alpaca’s globally distributed team consists of developers, traders, and brokerage business specialists, who collectively have decades of financial services and technology industry experience at organizations such as FINRA, Apple, Wealthfront, Robinhood, EMC, Cloudera, JP Morgan, and Lehman Brothers. Alpaca is co-founded and led by [Yoshi Yokokawa](https://www.linkedin.com/in/yoshiyokokawa/) (CEO) and [Hitoshi Harada](https://www.linkedin.com/in/hitoshi-harada-02b01425/) (CPO). Our investors include a group of well-capitalized investors including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Elderidge, and Y Combinator as well as highly experienced industry angel investors such as Joshua S. Levine (former CTO/COO of ETRADE), Nate Rodland (former COO of Robinhood & GP of Elefund), Patrick O’Shaughnessy (“Invest Like the Best” podcast host & Partner of Positive Sum), Jacqueline Reses (former Executive Chairman of Square Financial Services), Asiff Hirjii (former President/COO of Coinbase), Aaron Levie (CEO of Box), and founders of leading Fintech companies including Plaid and Wealthsimple. ## Vision [Skip link to Vision](https://docs.alpaca.markets/docs/about-alpaca\#vision) > ## Allow 8+ billion people on the planet to access financial markets. [Skip link to Allow 8+ billion people on the planet to access financial markets.](https://docs.alpaca.markets/docs/about-alpaca\#allow-8-billion-people-on-the-planet-to-access-financial-markets) We are committed to providing a secure, reliable and compliant platform for anyone who wants to build their own trading strategies, asset management automation, trading and robo-advisor apps, new brokerage services, investment advisory services and investment products. We value having a variety of developers who create exciting and innovative projects with our API. ## What Services Does Alpaca Provide? [Skip link to What Services Does Alpaca Provide?](https://docs.alpaca.markets/docs/about-alpaca\#what-services-does-alpaca-provide) Alpaca provides trading and clearing services for US equities under its subsidiary Alpaca Securities LLC. We currently support stocks, ETFs listed in the US public exchanges (NMS stocks), Options trading, and cryptocurrencies. Support for other asset classes, such as futures, FX, private equities, and international equities are on our roadmap. We work with retail traders and institutional investors directly, and also work with app developers, broker-dealers globally, investment advisors and fintech companies that offer US stock investing features to their end customers, both in and out of the United States. To serve our customers, we provide Web API, Web dashboards, market data, paper trading simulation, API sandbox environment, and community platforms. Updated6 months ago * * * Did this page help you? Yes No ## Alpaca Account Opening # Trading/Investing App and RIA [Skip link to Trading/Investing App and RIA](https://docs.alpaca.markets/docs/account-opening\#tradinginvesting-app-and-ria) In this use case, Alpaca is responsible for the account approval step, while you can own the user experiences for collecting the end-customer information. We require you to collect a set of the information required for our approval process. Upon the POST request, the account status starts from `SUBMITTED` status. Alpaca system will run the automatic KYC process asynchronously and update the KYC result as the account status. You can receive such updates in the [Event API](https://docs.alpaca.markets/reference/subscribetotransferstatussse) stream. If all KYC information is verified without problems, the account status will be `APPROVED` and shortly transition to `ACTIVE`. In some cases, if the final approval is pending, the account status becomes `APPROVAL_PENDING` which will transition to `APPROVED` once it is approved. In the case of some action is required, the status becomes `ACTION_REQUIRED` and you will receive the reason for this. In most cases, you will need to collect additional information from the end user. One example would be that the residential address is not verified, so a copy of a document such as a utility bill needs to be uploaded. You can use [Document API](https://docs.alpaca.markets/reference/getdocsforaccount) to upload additional documents when requested. # Fully-Disclosed Broker-Dealer [Skip link to Fully-Disclosed Broker-Dealer](https://docs.alpaca.markets/docs/account-opening\#fully-disclosed-broker-dealer) As a reminder, in this setup, you are required to have a proper broker-dealer license in your local jurisdiction and you are the broker on the record. Alpaca relies on your KYC process to open customers' accounts which you will send via the [CIP API](https://docs.alpaca.markets/reference/post-v1-accounts-account_id-cip). In this case, as soon as a `POST` request is made and all fields are validated, we will first screen the account against our internal list of blacklisted accounts and an exact, or similar, match against this list will result in the account moving to either `REJECTED` or `APPROVAL_PENDING`. If there is no match then the account status starts from `APPROVED` status, meaning you have approved the account opening. Therefore, you need to complete your KYC for the account before making the `POST` request. # Omnibus Broker-Dealer [Skip link to Omnibus Broker-Dealer](https://docs.alpaca.markets/docs/account-opening\#omnibus-broker-dealer) In an omnibus setup, you will not request any new account opening. Your trading accounts will be set up by Alpaca when the go-live is approved. That said, you may want to simulate this structure using [Account API](https://docs.alpaca.markets/reference/createaccount) and you can open as many accounts as you want in the sandbox environment even if you are an omnibus. # Account Type [Skip link to Account Type](https://docs.alpaca.markets/docs/account-opening\#account-type) Alpaca currently opens all accounts as margin accounts. We support individual taxable accounts and business accounts. Other types of accounts such as cash and IRA accounts are on our roadmap. Even though all accounts at Alpaca are margin accounts, you have the ability to set accounts to be cash accounts (100% buying power) to disable margin trading for your users through account configurations [here](https://docs.alpaca.markets/reference/patch-patch-v1-trading-accounts-account_id-account-configurations). Updatedabout 1 year ago * * * Did this page help you? Yes No ## Alpaca Trading API # Paper Trading [Skip link to Paper Trading](https://docs.alpaca.markets/docs/trading-api\#paper-trading) Paper trading is free and available to all Alpaca users. Paper trading is a real-time simulation environment where you can test your code. You can reset and test your algorithm as much as you want using free, real-time market data. For more click [here](https://docs.alpaca.markets/docs/paper-trading). # Account Plans [Skip link to Account Plans](https://docs.alpaca.markets/docs/trading-api\#account-plans) Anyone globally can create an paper only account. All you need to do is sign up with your email address. Alpaca also offers live brokerage accounts (with real money) for individuals and businesses plus crypto accounts. For more click [here](https://docs.alpaca.markets/docs/account-plans). # Crypto Trading [Skip link to Crypto Trading](https://docs.alpaca.markets/docs/trading-api\#crypto-trading) Alpaca offers crypto trading through our API and the Alpaca web dashboard! Trade all day, seven days a week, as frequently as you’d like. For more click [here](https://docs.alpaca.markets/docs/crypto-trading). # Understand Orders [Skip link to Understand Orders](https://docs.alpaca.markets/docs/trading-api\#understand-orders) Our Trading API supports different order types such as market, limit and stop orders plus more complex ones. For more click [here](https://docs.alpaca.markets/docs/orders-at-alpaca). # Fractional Trading [Skip link to Fractional Trading](https://docs.alpaca.markets/docs/trading-api\#fractional-trading) Fractional shares are fractions of a whole share, meaning that you don’t need to buy a whole share to own a portion of a company. You can now buy as little as $1 worth of shares for over 2,000 US equities. For more click [here](https://docs.alpaca.markets/docs/fractional-trading). We only allow market orders for fractional trading at the moment. # User Protections [Skip link to User Protections](https://docs.alpaca.markets/docs/trading-api\#user-protections) We have enabled several types of protections to enhance your trading experience. For more click [here](https://docs.alpaca.markets/docs/user-protection). Updatedover 1 year ago * * * Did this page help you? Yes No ## Fractional Trading Overview Fractional shares are fractions of a whole share, meaning that you don’t need to buy a whole share to own a portion of a company. You can now buy as little as $1 worth of shares for over 2,000 US equities. By default all Alpaca accounts are allowed to trade fractional shares in both live and paper environments. Please make sure you reset your paper account if you run into any issues dealing with fractional shares. # Supported Order Types [Skip link to Supported Order Types](https://docs.alpaca.markets/docs/fractional-trading\#supported-order-types) Alpaca currently supports fractional trading for market, limit, stop & stop limit orders with a time in force=Day, accommodating both fractional quantities and notional values. You can pass either a fractional amount (qty), or a notional value (notional) in any POST/v2/orders request. Note that entering a value for either parameters, will automatically nullify the other. If both qty and notional are entered the request will be rejected with an error status 400. Both notional and qty fields can take up to 9 decimal point values. Moreover, we support fractional shares trading not only during standard market hours, but extending into pre-market (4:00 a.m. - 9:30 a.m. ET) and post-market (4:00 p.m. - 8:00 p.m. ET) hours, offering global investors the ability to trade during the full extended hours session. # Eligible Securities [Skip link to Eligible Securities](https://docs.alpaca.markets/docs/fractional-trading\#eligible-securities) Only exchange-listed securities are eligible to trade in the extended hours. Additionally, the asset must be enabled as a fractional asset on Alpaca’s side. If there is an asset you want to trade in the extended hours and it is not eligible, please contact our [support](mailto:support@alpaca.markets) team. # Sample Requests [Skip link to Sample Requests](https://docs.alpaca.markets/docs/fractional-trading\#sample-requests) ## Notional Request [Skip link to Notional Request](https://docs.alpaca.markets/docs/fractional-trading\#notional-request) JSON ```rdmd-code lang-json theme-light { "symbol": "AAPL", "notional": 500.75, "side": "buy", "type": "market", "time_in_force": "day" } ``` ## Fractional Request [Skip link to Fractional Request](https://docs.alpaca.markets/docs/fractional-trading\#fractional-request) JSON ```rdmd-code lang-json theme-light { "symbol": "AAPL", "qty": 3.654, "side": "buy", "type": "market", "time_in_force": "day" } ``` # Supported Assets [Skip link to Supported Assets](https://docs.alpaca.markets/docs/fractional-trading\#supported-assets) Not all assets are fractionable yet so please make sure you query assets details to check for the parameter `fractionable = true`. Supported fractionable assets would return a response that looks like this JSON ```rdmd-code lang-json theme-light { "id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "class": "us_equity", "exchange": "NASDAQ", "symbol": "AAPL", "name": "Apple Inc. Common Stock", "status": "active", "tradable": true, "marginable": true, "shortable": true, "easy_to_borrow": true, "fractionable": true } ``` If you request a fractional share order for a stock that is not yet fractionable, the order will get rejected with an error message that reads `requested asset is not fractionable`. # Dividends [Skip link to Dividends](https://docs.alpaca.markets/docs/fractional-trading\#dividends) Dividend payments occur the same way in fractional shares as with whole shares, respecting the proportional value of the share that you own. For example if the dividend amount is $0.10 per share and you own 0.5 shares of that stock then you will receive $0.05 as dividend. As a general rule of thumb all dividends are rounded to the nearest penny. # Notes on Fractional Trading [Skip link to Notes on Fractional Trading](https://docs.alpaca.markets/docs/fractional-trading\#notes-on-fractional-trading) - We do not support short sales in fractional orders. All fractional sell orders are marked long. - The expected price of fill is the NBBO quote at the time the order was submitted. If you submit an order for a whole and fraction, the price for the whole share fill will be used to price the fractional portion of the order. - Day trading fractional shares counts towards your day trade count. - You can cancel a fractional share order that is pending, the same way as whole share orders. - Limit orders are supported for both fractional and notional orders. Extended hours are also supported with limit orders (same as whole share orders). - Fees for fractional trading work the same way as with whole shares. Alpaca does not make recommendations with regard to fractional share trading, whether to use fractional shares at all, or whether to invest in any specific security. A security’s eligibility on the list of fractional shares available for trading is not an endorsement of any of the securities, nor is it intended to convey that such stocks have low risk. Fractional share transactions are executed either on a principal or riskless principal basis, and can only be bought or sold with market orders during normal market hours. Updated9 months ago * * * Did this page help you? Yes No ## Plaid Bank Transfers ## Plaid Integration for Bank Transfers [Skip link to Plaid Integration for Bank Transfers](https://docs.alpaca.markets/docs/ach-funding\#plaid-integration-for-bank-transfers) We have integrated with Plaid to allow you to seamlessly link your Plaid account to Alpaca. The integration will allow your end-users to verify their account instantly through Plaid’s trusted front-end module. Leveraging this allows you to generate Plaid Processor Tokens on behalf of your end-users, which allows Alpaca to immediately retrieve a user’s bank details in order to deposit or withdraw funds on the Alpaca platform. You can utilize your Plaid account and activate the Alpaca integration within the Plaid dashboard. The integration requires [Plaid API Keys](https://plaid.com/docs/auth/partnerships/alpaca/) ### Obtaining a Plaid Processor Token [Skip link to Obtaining a Plaid Processor Token](https://docs.alpaca.markets/docs/ach-funding\#obtaining-a-plaid-processor-token) A Plaid processor token is used to enable Plaid integrations with partners. After a customer connects their bank using Plaid Link, a processor token can be generated at any time. Please refer to the Plaid Processor Token using Alpaca page for creating a token and additional details. Exchange token ```rdmd-code lang- theme-light curl -X POST -H 'Content-Type: application/json' -d '{ "client_id": "PLAID_CLIENT_ID", "secret": "PLAID_SECRET", "public_token": "PUBLIC_TOKEN" } ``` Create a processor token for a specific account id. ```rdmd-code lang- theme-light curl -X POST -H 'Content-Type: application/json' -d '{ "client_id": "PLAID_CLIENT_ID", "secret": "PLAID_SECRET", "access_token": "ACCESS_TOKEN", "account_id": "ACCOUNT_ID", "processor": "alpaca" } ``` For a valid request, the API will return a JSON response similar to: ```rdmd-code lang- theme-light { "processor_token": "processor-sandbox-0asd1-a92nc", "request_id": "m8MDnv9okwxFNBV" } ``` ### Processor Token Flow [Skip link to Processor Token Flow](https://docs.alpaca.markets/docs/ach-funding\#processor-token-flow) ![](https://files.readme.io/c06c778-image.png) 1. End-user links bank account using Plaid. 2. Plaid returns a public token to you. 3. You will submit a public token to Plaid in exchange for an access token. 4. You will submit access token to Plaid’s /processor/token/create endpoint and receive Processor Token (specific to Alpaca). 5. You will make a call to the processor endpoint to pass Alpaca the processor token, to initiate the payment. To pass the processor token use the ACH relationships endpoint (Link). #### Sample Request [Skip link to Sample Request](https://docs.alpaca.markets/docs/ach-funding\#sample-request) `POST /v1/accounts/{account_id}/ach_relationships` text ```rdmd-code lang-text theme-light { "processor_token": "processor-sandbox-161c86dd-d470-47e9-a741-d381c2b2cb6f" } ``` #### Sample response [Skip link to Sample response](https://docs.alpaca.markets/docs/ach-funding\#sample-response) ```rdmd-code lang- theme-light { "id": "794c3c51-71a8-4186-b5d0-247b6fb4045e", "account_id": "9d587d7a-7b2c-494f-8ad8-5796bfca0866", "created_at": "2021-04-08T23:01:53.35743328Z", "updated_at": "2021-04-08T23:01:53.35743328Z", "status": "QUEUED", "account_owner_name": "John Doe", "nickname": "Bank of America Checking" } ``` 6. Alpaca makes a call to Plaid to retrieve the Account and Routing number\* using the processor token. 7. Alpaca saves the processor token and account and routing number internally for future use. Alpaca uses account information for NACHA file creation and processing. \*Can include Auth, Identity, Balance info - if the broker API wants to initiate a transfer, we use the transfer endpoint. ### ACH Status Flow [Skip link to ACH Status Flow](https://docs.alpaca.markets/docs/ach-funding\#ach-status-flow) ![](https://files.readme.io/51382cd-image.png) Updatedabout 1 year ago * * * Did this page help you? Yes No ## Alpaca Trading Protections We have enabled several types of protections to enhance your trading experience. 1. Pattern Day Trader (PDT) Protection 2. Day Trade Margin Call (DTMC) Protection 3. Preventing Wash Trades 4. Limit order price away sanity check Please note that these do not apply to crypto trading as cryptocurrencies are not marginable. Pattern Day Trading rule does not apply to crypto trading either. Preventing Wash Trades does apply to crypto trading. # Pattern Day Trader (PDT) Protection at Alpaca [Skip link to Pattern Day Trader (PDT) Protection at Alpaca](https://docs.alpaca.markets/docs/user-protection\#pattern-day-trader-pdt-protection-at-alpaca) In order to prevent Alpaca Brokerage Account customers from unintentionally being designated as a Pattern Day Trader (PDT), the Alpaca Trading platform checks the PDT rule condition every time an order is submitted from a customer. If the order could potentially result in the account being flagged as a PDT, the order is rejected, and API returns error with HTTP status code 403 (Forbidden). ## The Rule [Skip link to The Rule](https://docs.alpaca.markets/docs/user-protection\#the-rule) A day trade is defined as a round-trip pair of trades within the same day (including extended hours). This is best described as an initial or opening transaction that is subsequently closed later in the same calendar day. For long positions, this would consist of a buy and then sell. For short positions, selling a security short and buying it back to cover the short position on the same day would also be considered a day trade. An account is designated as a Pattern Day Trader if it makes four (4) or more day trades within five (5) business days, and the number of day trades represents more than six percent (6%) of the total trades within the same five (5) business days window. Day trades less than this criteria will not flag the account for PDT. Cryptocurrency trading is not subject to the PDT rule. As a result, crypto orders are not evaluated by PDT protection logic and round-trip crypto trades on the same day do not contribute to the day trade count. Day trades are counted regardless of share quantity or frequency throughout the day. Here are some FINRA-provided examples: Example A: 09:30 Buy 250 ABC 09:31 Buy 250 ABC 13:00 Sell 500 ABC The customer has executed one day trade. Example B: 09:30 Buy 100 ABC 09:31 Sell 100 ABC 09:32 Buy 100 ABC 13:00 Sell 100 ABC The customer has executed two day trades. Example C: 09:30 Buy 500 ABC 13:00 Sell 100 ABC 13:01 Sell 100 ABC 13:03 Sell 300 ABC The customer has executed one day trade. Example D: 09:30 Buy 250 ABC 09:31 Buy 300 ABC 13:01 Buy 100 ABC 13:02 Sell 150 ABC 13:03 Sell 175 ABC The customer has executed one day trade. Example E: 09:30 Buy 199 ABC 09:31 Buy 142 ABC 13:00 Sell 1 ABC 13:01 Buy 45 ABC 13:02 Sell 100 ABC 13:03 Sell 200 ABC The customer has executed two day trades. Example F: 09:30 Buy 200 ABC 09:30 Buy 100 XYZ 13:00 Sell 100 ABC 13:00 Sell 100 XYZ The customer has executed two day trades. For further information, please visit [Regulatory Notice 21-13 \| FINRA.org](https://www.finra.org/rules-guidance/notices/21-13) ## Alpaca’s Order Rejection [Skip link to Alpaca’s Order Rejection](https://docs.alpaca.markets/docs/user-protection\#alpacas-order-rejection) Alpaca Trading platform monitors the number of day trades for the account for the past 5 business days and rejects a newly submitted orders on exit of a position if it could potentially result in the account being flagged for PDT. This protection triggers only when the previous day’s closing account equity is less than $25,000 at the time of order submission. In addition to the filled orders, the system also takes into consideration pending orders in the account. In this case, regardless of the order of pending orders, a pair of buy and sell orders is counted as a potential day trade. This is because orders that are active (pending) in the marketplace may fill in random orders. Therefore, even if your sell limit order is submitted first (without being filled yet) and another buy order on the same security is submitted later, this buy order will be blocked if your account already has 3 day trades in the last 5 business days. ## Paper Trading [Skip link to Paper Trading](https://docs.alpaca.markets/docs/user-protection\#paper-trading) The same protection triggers in your paper trading account. It is advised to test your algorithm with the realistic balance amount you would manage when going live, to make sure your assumption works under this PDT protection as well. > For more details of Pattern Day Trader rule, please visit the [FINRA website](https://www.finra.org/investors/investing/investment-products/stocks/day-trading). # Day Trade Margin Call (DTMC) Protection at Alpaca [Skip link to Day Trade Margin Call (DTMC) Protection at Alpaca](https://docs.alpaca.markets/docs/user-protection\#day-trade-margin-call-dtmc-protection-at-alpaca) In order to prevent Alpaca Brokerage Account customers from unintentionally receiving day trading margin calls, Alpaca implements two forms of DTMC protection. ## The Rule [Skip link to The Rule](https://docs.alpaca.markets/docs/user-protection\#the-rule-1) Day traders are required to have a minimum of $25,000 OR 25% of the total market value of securities (whichever is higher) maintained in their account. The buying power of a pattern day trader is 4x the excess of the maintenance margin from the closing of the previous day. If you exceed this amount, you will receive a day trading margin call. ## How Alpaca’s DTMC Protection Settings Work [Skip link to How Alpaca’s DTMC Protection Settings Work](https://docs.alpaca.markets/docs/user-protection\#how-alpacas-dtmc-protection-settings-work) Users only receive day trading buying power when marked as a pattern day trader. If the user is designated a pattern day trader, the account.multiplier is equal to 4. Daytrading buying power cannot increase beyond its start of day value. In other words, closing an overnight position will not add to your daytrading buying power. The following scenarios and protections are applicable only for accounts that are designated as pattern day traders. Please check your Account API result for the multiplier field. Every trading day, you start with the new `daytrading_buying_power`. This beginning value is calculated as `4 * (last_equity - last_maintenance_margin)`. The last\_equity and last\_maintenance\_margin values can be accessed through Account API. These values are stored from the end of the previous trading day. Throughout the day, each time you enter a new position, your `daytrading_buying_power` is reduced by that amount. When you exit that position within the same day, that same amount is credited back, regardless of position’s P/L. At the end of the trading day, on close, the maximum exposure of your day trading position is checked. A Day Trade Margin Call (DTMC) is issued the next day if the maximum exposure of day trades exceeded your day trading buying power from the beginning of that day. The buying\_power value is the larger of `regt_buying_power` and `daytrading_buying_power`. Since the basic buying power check runs on this buying\_power value, you could be exceeding your `daytrading_buying_power` when you enter the position if `regt_buying_power` is larger than your `daytrading_buying_power` at one point in the day. The following is an example scenario: 1. Your equity is $50k 2. You hold overnight positions up to $100k 3. Your maintenance margin is $30k (~30%), therefore your day trading buying power at the beginning of day is $80k using the calculation of 4 \* ($50k - $30k) 4. You sell all of the overnight positions ($100k value) in the morning, which brings your `regt_buying_power` up to $100k 5. You now buy and sell the same security up to $100k 6. At the end of the day, you have a $20k Day Trade Margin Call ($100k - $80k) By default, Alpaca users have DTMC protections on entry of a position. This means that if your entering order would exceed `daytrading_buying_power` at the moment, it will be blocked, even if `regt_buying_power` still has room for it. This is based on the assumption that any entering position could be day trades later in the day. This option is the more conservative of the two DTMC protections that our users have. The second DTMC protection option is protection on exit of a position. This means that Alpaca will block the exit of positions that would cause a Day Trading Margin Call. This may cause users to be unable to liquidate a position until the next day. Neither of the DTMC protection options evaluate crypto orders since crypto cannot be purchased using margin. One of the two protections will be enabled for all users (you cannot have both protections disabled). If you would like to switch your protection option, please contact our support. We are working towards features to allow users to change their DTMC protection setting on their own without support help. ## Equity/Order Ratio Validation Check [Skip link to Equity/Order Ratio Validation Check](https://docs.alpaca.markets/docs/user-protection\#equityorder-ratio-validation-check) In order to help Alpaca Brokerage Account customers from placing orders larger than the calculated buying power, Alpaca has instituted a control on the account independent of the buying power for the account. Alpaca will restrict the account to closing transactions when an account has a position that is 600% larger than the equity in the account. The account will remain restricted for closing transactions until a member of Alpaca’s trading team reviews the account. The trading team will either clear the alert by allowing opening transactions or will notify the client of the restriction and take corrective actions as necessary. ## Paper Trading [Skip link to Paper Trading](https://docs.alpaca.markets/docs/user-protection\#paper-trading-1) he same protection triggers in your paper trading account. It is advised to test your algorithm with the realistic balance amount you would manage when going live, to make sure your assumption works under this DTMC protection as well. For more details of Pattern Day Trader rule, please read [FINRA’s margin requirements](https://www.finra.org/investors/learn-to-invest/advanced-investing/day-trading-margin-requirements-know-rules-rot). For more details on day trade margins, please read [FINRA’s Mind Your Margin](https://www.finra.org/investors/day-trading) article. # Preventing Wash Trades at Alpaca [Skip link to Preventing Wash Trades at Alpaca](https://docs.alpaca.markets/docs/user-protection\#preventing-wash-trades-at-alpaca) At Alpaca, we want to help our customers avoid making unintentional wash trades. A wash trade happens when a customer buys and sells the same security at the same time, which can be seen as a form of market manipulation. To prevent this, the Alpaca Trading platform checks for potential wash trades every time a customer places an order. If we detect a possible wash trade, we reject the order and send back an error message with the HTTP status code 403 (Forbidden). ## The Rule [Skip link to The Rule](https://docs.alpaca.markets/docs/user-protection\#the-rule-2) A wash trade occurs when a customer's two orders could potentially interact with each other. Here are a couple of examples: - A customer places an order to buy 1 share at $10 (a limit order). Then, the same customer places an order to sell 100 shares at $10 (another limit order). These orders could potentially interact, which would be a wash trade. - A customer places an order to sell 100 shares at the market open (a market order). Then, the same customer places an order to buy 100 shares at $10 (a limit order). Again, these orders could potentially interact, which would be a wash trade. ## How Alpaca Handles Potential Wash Trades [Skip link to How Alpaca Handles Potential Wash Trades](https://docs.alpaca.markets/docs/user-protection\#how-alpaca-handles-potential-wash-trades) The Alpaca Trading platform is always on the lookout for potential wash trades. If we determine that an order could result in a wash trade, we trigger our protection measures, reject the order, and send back an error message with the HTTP status code 403 (Forbidden). If a customer wants to set up a 'take profit' and a 'stop loss' situation, we recommend using a bracket or OCO (One Cancels the Other) order. These complex orders and trailing stop orders are exceptions to our wash trade protection. Here's a table that shows when we would reject an order to prevent a potential wash trade: | Existing Order | New Order | Reject Condition | | --- | --- | --- | | market buy | market sell | always rejected | | market buy | limit sell | always rejected | | market buy | stop sell | always rejected | | market buy | stop\_limit sell | always rejected | | market sell | market buy | always rejected | | market sell | limit buy | always rejected | | market sell | stop buy | always rejected | | market sell | stop\_limit buy | always rejected | | stop buy | market sell | always rejected | | stop buy | limit sell | always rejected | | stop buy | stop sell | always rejected | | stop buy | stop\_limit sell | always rejected | | stop sell | market buy | always rejected | | stop sell | limit buy | always rejected | | stop sell | stop buy | always rejected | | stop sell | stop\_limit buy | always rejected | | limit buy | market sell | always rejected | | limit buy | limit sell | rejected if buy limit price >= sell limit price | | limit buy | stop sell | always rejected | | limit buy | stop\_limit sell | rejected if buy limit price >= sell limit price | | limit sell | market buy | always rejected | | limit sell | limit buy | rejected if buy limit price >= sell limit price | | limit sell | stop buy | always rejected | | limit sell | stop\_limit buy | rejected if buy limit price >= sell limit price | | stop\_limit buy | market sell | always rejected | | stop\_limit buy | limit sell | rejected if buy limit price >= sell limit price | | stop\_limit buy | stop sell | always rejected | | stop\_limit buy | stop\_limit sell | rejected if buy limit price >= sell limit price | | stop\_limit sell | market buy | always rejected | | stop\_limit sell | limit buy | rejected if buy limit price >= sell limit price | | stop\_limit sell | stop buy | always rejected | | stop\_limit sell | stop\_limit buy | rejected if buy limit price >= sell limit price | ## Paper Trading [Skip link to Paper Trading](https://docs.alpaca.markets/docs/user-protection\#paper-trading-2) Our wash trade protection also applies to your paper trading account. We recommend testing your trading algorithm with a realistic balance amount. This way, you can make sure your strategy works under our wash trade protection rules before you start live trading. For more details of wash trade rule, please read [FINRA's self-trades requirements](https://www.finra.org/rules-guidance/rulebooks/finra-rules/5210). Updated3 months ago * * * Did this page help you? Yes No ## Options Trading Overview > ## 🎉 Options trading is now available on Live! > > Share your feedback on [Options API for Trading API here](https://docs.google.com/forms/d/e/1FAIpQLScIYvKDJnKjXWESs6qxzpgk7pbvkt0IF1_nhv46t4o31-YOng/viewform) # OpenAPI Spec [Skip link to OpenAPI Spec](https://docs.alpaca.markets/docs/options-trading\#openapi-spec) You can find our Open API docs here: [](https://docs.alpaca.markets/reference). # Enablement [Skip link to Enablement](https://docs.alpaca.markets/docs/options-trading\#enablement) In the Paper environment, options trading capability will be enabled by default - there's nothing you need to do! _Note, in production there will be a more robust experience to request options trading._ For those who do not wish to have options trading enabled, you can disable options trading by navigating to your Trading Dashboard; Account > Configure. The [Trading Account](https://docs.alpaca.markets/reference/getaccount-2) model was updated to reflect the account's options approved and trading levels. The [Account Configuration](https://docs.alpaca.markets/reference/getaccountconfig-1) model was updated to show the maximum options trading level, and allow a user to downgrade to a lower level. Note, a different API will be provided for requesting a level upgrade for live account. ## Trading Levels [Skip link to Trading Levels](https://docs.alpaca.markets/docs/options-trading\#trading-levels) Alpaca supports the below options trading levels. | Level | Supported Trades | Validation | | --- | --- | --- | | 0 | \- Options trading is disabled | \- NA | | 1 | \- Sell a covered call
\- Sell cash-secured put | \- User must own sufficient underlying shares
\- User must have sufficient options buying power | | 2 | \- Level 1
\- Buy a call
\- Buy a put | \- User must have sufficient options buying power | | 3 | \- Level 1,2
\- Buy a call spread
\- Buy a put spread | \- User must have sufficient options buying power | # Option Contracts [Skip link to Option Contracts](https://docs.alpaca.markets/docs/options-trading\#option-contracts) ## Assets API Update [Skip link to Assets API Update](https://docs.alpaca.markets/docs/options-trading\#assets-api-update) The [Assets](https://docs.alpaca.markets/reference/get-v2-assets-1) endpoint has an existing `attributes` query parameter. Symbols which have option contracts will have an attribute called `options_enabled`. Querying for symbols with the `options_enabled` attribute allows users to identify the universe of symbols with corresponding option contracts. ## Fetch Contracts [Skip link to Fetch Contracts](https://docs.alpaca.markets/docs/options-trading\#fetch-contracts) To obtain contract details, a new endpoint was introduced: `/v2/options/contracts?underlying_symbols=`. The endpoint supports fetching a single contract such as `/v2/options/contracts/{symbol_or_id}` The default params are: - expiration\_date\_lte: Next weekend - limit: 100 Example: if `/v2/options/contracts` is called on Thursday, the response will include Thursday and Friday data. If called on a Saturday, the response will include Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday, and Friday. Here is an example of a response object: JSON ```rdmd-code lang-json theme-light { "option_contracts": [\ {\ "id": "6e58f870-fe73-4583-81e4-b9a37892c36f",\ "symbol": "AAPL240119C00100000",\ "name": "AAPL Jan 19 2024 100 Call",\ "status": "active",\ "tradable": true,\ "expiration_date": "2024-01-19",\ "root_symbol": "AAPL",\ "underlying_symbol": "AAPL",\ "underlying_asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",\ "type": "call",\ "style": "american",\ "strike_price": "100",\ "size": "100",\ "open_interest": "6168",\ "open_interest_date": "2024-01-12",\ "close_price": "85.81",\ "close_price_date": "2024-01-12"\ },\ ...\ ], "page_token": "MTAw", "limit": 100 } ``` More detailed information regarding this endpoint can be found on the OpenAPI spec [here](https://docs.alpaca.markets/reference/get-options-contracts). # Market Data [Skip link to Market Data](https://docs.alpaca.markets/docs/options-trading\#market-data) Alpaca offers both [real-time](https://docs.alpaca.markets/docs/real-time-option-data) and [historical](https://docs.alpaca.markets/docs/historical-option-data) option data. # Placing an Order [Skip link to Placing an Order](https://docs.alpaca.markets/docs/options-trading\#placing-an-order) Placing an order for an option contract uses the same [Orders API](https://docs.alpaca.markets/reference/postorder-1) that is used for equities and crypto asset classes. Given the same Orders API endpoint is being used, Alpaca has implemented a series of validations to ensure the options order does not include attributes relevant to other asset classes. Some of these validations include: - Ensuring `qty` is a whole number - `Notional` must not be populated - `time_in_force` must be `day` - `extended_hours` must be `false` or not populated - `type` must be `market` or `limit` Examples of valid order payloads can be found as a child page [here](https://docs.alpaca.markets/docs/options-orders). # Options Positions [Skip link to Options Positions](https://docs.alpaca.markets/docs/options-trading\#options-positions) Good news - the existing [Positions API](https://docs.alpaca.markets/reference/getallopenpositions) model will work with options contracts. There is not expected to be a change to this model. As an additive feature, we aim to support fetching positions of a certain asset class; whether that be options, equities, or crypto. # Account Activities [Skip link to Account Activities](https://docs.alpaca.markets/docs/options-trading\#account-activities) The existing schema for trade activities (TAs) are applicable for the options asset class. For example, the `FILL` activity is applicable to options and maintains it's current shape for options. There are new non-trade activities (NTAs) entry types for options, however the schema stays the same. These NTAs reflect exercise, assignment, and expiry. More details can be found on a child page [here](https://docs.alpaca.markets/docs/non-trade-activities-for-option-events) and on the OpenAPI spec [here](https://docs.alpaca.markets/reference/getaccountactivities-2). > ## 🚧 On PAPER NTAs are synced at the start of the following day. While your balance and positions are updated instantly, NTAs on PAPER will be visible in the Activities endpoint only the next day # Exercise and DNE Instructions [Skip link to Exercise and DNE Instructions](https://docs.alpaca.markets/docs/options-trading\#exercise-and-dne-instructions) ## Exercise [Skip link to Exercise](https://docs.alpaca.markets/docs/options-trading\#exercise) Contract holders may submit exercise instructions to Alpaca. Alpaca will process instructions and work with our clearing partner accordingly. All available held shares of this option contract will be exercised. By default, Alpaca will automatically exercise in-the-money (ITM) contracts at expiry. Exercise requests will be processed immediately once received. Exercise requests submitted outside market hours will be rejected. Endpoint: `POST /v2/positions/{symbol_or_contract_id}/exercise`(no body) More details in our OpenAPI Spec [here](https://docs.alpaca.markets/reference/optionexercise). ## Do Not Exercise [Skip link to Do Not Exercise](https://docs.alpaca.markets/docs/options-trading\#do-not-exercise) To submit a Do-not-exercise (DNE) instruction, please contact our support team. # Expiration [Skip link to Expiration](https://docs.alpaca.markets/docs/options-trading\#expiration) - In the event no instruction is provided on an ITM contract, the Alpaca system will exercise the contract as long as it is ITM by at least $0.01 USD. - Alpaca Operations has tooling and processes in place to identify accounts which pose a buying power risk with ITM contracts. - In the event the account does not have sufficient buying power to exercise an ITM position, Alpaca will sell-out the position within 1 hour before expiry. # Assignment [Skip link to Assignment](https://docs.alpaca.markets/docs/options-trading\#assignment) When Alpaca receives an assignment from our clearing partner, we will process the assignment and inform traders via email and websocket streaming events. The assignment websocket streaming event will be modeled as a non-trade activity (NTA). # FAQ [Skip link to FAQ](https://docs.alpaca.markets/docs/options-trading\#faq) Please see our full FAQs here: [https://alpaca.markets/support/tag/options](https://alpaca.markets/support/tag/options) Updated4 months ago * * * Did this page help you? Yes No ## Data Validation Guidelines As part of Alpaca Securities LLC’s regulatory obligation to comply with new reporting requirements defined by FINRA, we are required to submit user information to comply with FINRA’s Customer & Account Information System (CAIS). The CAIS system will begin validating the data for correct formatting so we need to ensure that data is provided in correct format at the time of account creation to avoid errors and potential delays with reporting. This validation will be live in production on **March 25, 2024**. The validation will be released in sandbox first on **March 5, 2024** so you can carry out any testing required. ## Validation Criteria [Skip link to Validation Criteria](https://docs.alpaca.markets/docs/data-validations\#validation-criteria) A validation check on user information submitted via the account creation ( [POST /v1/accounts](https://docs.alpaca.markets/reference/createaccount)) and update ( [PATCH /v1/accounts/{account\_id}](https://docs.alpaca.markets/reference/patchaccount)) endpoints will return a 422 error if the information submitted does not meet our validation criteria. The validation criteria will include the following: - Name and Address Romanization - `given_name`, `middle_name`, `family_name`, `street_address`, `unit`, `city`, `state`, `postal_code`, `email_address`, and `tax_id` are all required to be provided in latin characters. The accepted input for these fields will be limited to ASCII character range 32-126 - We have introduced the following fields to continue accepting name and address information in its original script if desired - `local_given_name`, `local_middle_name`, `local_family_name`, `local_street_address`, `local_unit`, `local_city`, and `local_state` - `given_name` is now required for all users - Tax ID Number Validation - `tax_id` is required for securities accounts - If the tax ID type is `USA_SSN` or `USA_TIN` then the following must be met: - No values having an Area Number (first three digits) of 000 nor 666. - No values having a Group Number (middle two digits) of 00. - No values having a Serial Number (last four digits) of 0000. - No values all of the same digit such as 000-00-0000, 111-11-1111, 333-33-3333, 666-66- 6666, 999-99-9999, nor all increasing or decreasing characters i.e. 123-45-6789 or 987-65-4321. - Values must be exactly 9 characters in length after dashes have been stripped - All tax ID types will undergo the following validation: - The length must be greater than 1 character i.e. submitting 0 as a tax ID will not be permitted - No values all of the same digit such as 000-00-0000, 111-11-1111, 333-33-3333, 666-66- 6666, 999-99-9999, nor all increasing or decreasing characters i.e. 123-45-6789 or 987-65-4321. - Max length of 40 characters - Only letters, digits, dashes (denoted by ASCII char 45), periods, and plus (+) signs will be permitted - Value most contain digits (i.e. submitting TIN\_NOT\_ISSUED or xxx-xxx-xxxx will not be permitted) - As a general reminder to our partners that onboard users in regions where tax ID numbers are not issued, there is still a requirement for a unique identifier to be submitted for those users. The identifier should be either a national identity card number, passport number, permanent resident number, drivers license number, etc. We have introduced the following tax\_id\_type values to support these classifications. These are also available in our documentation [here](https://docs.alpaca.markets/reference/createaccount). - `NATIONAL_ID` - `PASSPORT` - `PERMANENT_RESIDENT` - `DRIVER_LICENSE` - `OTHER_GOV_ID` - `street_address` Validation - No values consisting of only digits - Length must be greater than 1 character - Postal Code Validation - If country of tax residence = USA: - The `postal_code` attribute will be required upon account creation - No values less than 5 characters in length and the first 5 characters must only contain digits - No values greater than 10 digits - `date_of_birth` Validation - No values greater than or less than 10 characters in length. Values must be in YYYY-MM-DD format. - Email addresses, after aliases are removed, are restricted to a maxim of 60 characters in length. Alpaca defines an alias as all characters after a + sign and before the @ sign. - State Validation - For all countries - The max length for state should not be greater than 50 characters - State cannot consist of only digits. It can be alphanumeric - If country of tax residence = USA - State will be limited to either the 2 letter abbreviation code for the state or the complete name of the state as defined in our documentation [here](https://docs.alpaca.markets/docs/domestic-usa-accounts) - The `city` attribute cannot consist of only digits. It can be alphanumeric - Whitespace validation - The following validation will be applied to the `given_name`, `middle_name`, `family_name`, `street_address`, `unit`, `city`, `state`, `postal_code`, `email_address`, `tax_id_type`, and `tax_id` fields on the Accounts API: - The space character, denoted by ASCII character 32, will be the only whitespace character we accept - Leading and trailing spaces present in the string will return a 422 error - Additionally, we will be cleaning up the existing accounts in our system that contain invalid whitespace characters. We will follow up directly with the affected partners and share the complete list of accounts and data points that we will be updating. Updatedabout 1 year ago * * * Did this page help you? Yes No ## Alpaca Account Statuses The following are the possible account status values. Accounts will have both `status` and `crypto_status` with `status` denoting the account's equities trading status and `crypto_status` denoting the account's crypto trading status. Most likely, the account status is `ACTIVE` unless there is an issue. The account status may get to `ACCOUNT_UPDATED` when personal information is being updated from the API, in which case the end user may not be allowed trading for a short period of time until the change is approved. For more on creating an account check out our [API reference section on the Accounts Endpoint](https://docs.alpaca.markets/reference/createaccount). | status | description | | --- | --- | | `INACTIVE` | Account not set to trade given asset. | | `ONBOARDING` | The account has been created but we haven’t performed KYC yet. This is only used with Onfido. | | `SUBMITTED` | The account application has been submitted and is being processed, this is a transitory status. | | `SUBMISSION_FAILED` | The account failed to be created in Alpaca's system. Accounts in this status are resolved by Alpaca and no further action is needed. | | `ACTION_REQUIRED` | The account application requires manual action and a document upload is required from the user. KYCResults contains information about the details. | | `APPROVAL_PENDING` | The application requires manual checks from our team because the account did not pass the KYC automatic check, but most likely no document is required. KYCResults contains information about the details. | | `APPROVED` | The account application has been approved, waiting to be ACTIVE, this is a transitory status. | | `REJECTED` | The account application was rejected by our team. The account will not be able to continue to go active. | | `ACTIVE` | The account is fully active and can start trading the enabled asset. | | `ACCOUNT_UPDATED` | The account personal information is being updated which needs to be reviewed before being moved back to ACTIVE. | | `ACCOUNT_CLOSED` | The account was closed, will not be able to trade or fund anymore. | ![Account statuses flowchart](https://files.readme.io/49871fe-image.png) Account statuses flowchart ## Account Updated [Skip link to Account Updated](https://docs.alpaca.markets/docs/accounts-statuses\#account-updated) Please note that outgoing transfers are restricted while in this status. To move accounts from `ACCOUNT_UPDATED` back to `ACTIVE`, Alpaca will handle the process manually. The specific nature of the update will determine the necessary actions to be taken for returning to `ACTIVE` status. For non-material updates, the accounts will be regularly moved back to `ACTIVE` without requiring any action from the end-user or partner. For material updates, additional documentation or confirmation will be needed, such as IDs, W8BEN corrections, address verifications, or new CIP reports. The required documents and instructions will be communicated to our partners accordingly. Edits to the below fields will trigger a status change to `ACCOUNT_UPDATED`: - given\_name - family\_name - street\_address - unit - city - state - postal\_code - country\_of\_citizenship - employer\_name - employment\_position - if any of the following disclosures are set to true when they were previously false then that triggers account\_updated as well - is\_control\_person - is\_politically\_exposed - immediate\_family\_exposed - is\_affiliated\_exchange\_or\_finra Updated11 months ago * * * Did this page help you? Yes No ## Broker API Use Cases There are several different use cases for Broker API integration. Below are some common ones, but please do not hesitate to reach out to our sales team if you have a different case in mind. We want our platform to encourage a broad range of use cases. - Broker dealer (fully-disclosed, omnibus) - Registered Investment Advisor (RIA) _We support most use cases internationally._ Depending on the case, the API methods you want to use could vary. For example, the omnibus broker-dealer case never uses API to open a customer account since the trading accounts are created upfront and you will submit orders to them, and manage your end customer accounting on your end. More details on each use case are described in the following sections. # Broker Dealer [Skip link to Broker Dealer](https://docs.alpaca.markets/docs/use-cases\#broker-dealer) ## Fully-Disclosed [Skip link to Fully-Disclosed](https://docs.alpaca.markets/docs/use-cases\#fully-disclosed) You are a registered broker-dealer in your jurisdiction and you introduce your customers to Alpaca to establish individual accounts on a fully-disclosed basis. Alpaca receives each customer’s information in order to open an account and provide our services. Depending on your registration status and regulations in your jurisdiction, you may own the full end-to-end user experience from account opening, to trading, and reporting. You are responsible for maintaining a robust Customer Identification Program (CIP) and Know Your Customer (KYC) procedures, in accordance with Anti-Money Laundering (AML) regulations. To ensure compliance with applicable laws, Alpaca will conduct due diligence on your firm, including a thorough review of your CIP/KYC/AML program. In this setup, you will use most of the API methods such as the Account, Transfer and Trading API. In addition, you can move cash and securities between your firm account and end-customer accounts using the Journal API to implement features such as reward programs. ## Omnibus [Skip link to Omnibus](https://docs.alpaca.markets/docs/use-cases\#omnibus) You are a registered broker-dealer and you manage customer accounting and one main trading account for the entire trading flow of your customers. In the omnibus setup, your end customer information (e.g. name, address) is not disclosed to Alpaca. When submitting customer orders for your two trading accounts, you will indicate if the order is for the long or short position of each customer. To meet our regulatory requirements, you will be required to submit a “sub-tag” in each order to identify different customer’s order flow. This can be just an arbitrary text string such as UUID or a customer ID number. Alpaca, as well as our trading execution venues, need to be able to review and account for all trading activity. Failure to submit the required trading order flow information may result in the suspension of the entire order flow. As each end customer is not disclosed to Alpaca, you are responsible for all tax reporting in your local jurisdiction. If you are a non-US broker-dealer, this will likely require registration with the IRS as a Foreign Financial Institution (FFI) and get certified as a Qualified Intermediary (QI) to be certified to manage taxes on the US-sourced income by foreigners. # Registered Investment Advisor (RIA) [Skip link to Registered Investment Advisor (RIA)](https://docs.alpaca.markets/docs/use-cases\#registered-investment-advisor-ria) You are a SEC-registered RIA with customers either in or outside the US. Similar to the Trading/Investing App approach described above, the end customer is introduced to Alpaca on an individual basis. The account approval process is owned by Alpaca, and you own the user experience and most of the communications. Unless you have a robust CIP/KYC/AML program in place that has been vetted by Alpaca, your customers will go through Alpaca’s CIP/KYC/AML process. The Account API works slightly differently from the fully-disclosed case for this setup. Please see the rest of API documentation for more details. As an RIA, you can communicate with your customers directly. Alpaca will work hand-in-hand with you to market your service using Broker API in a compliant manner. Currently, Alpaca does not support order allocation and advisory fee calculation as built-in functionality. These items are on our roadmap. Updatedabout 1 month ago * * * Did this page help you? Yes No ## Alpaca Resources Overview # Alpaca Learn [Skip link to Alpaca Learn](https://docs.alpaca.markets/docs/additional-resources\#alpaca-learn) We post regular content on our Alpaca Learn resource site where you can find the latest market updates, development tools and tips and much more to help you along your journey developing with Alpaca. For more click [here](https://alpaca.markets/learn/). # Blog [Skip link to Blog](https://docs.alpaca.markets/docs/additional-resources\#blog) Dont miss a beat and find the latest updates from Alpaca in our blog. For more click [here](https://alpaca.markets/blog/). # Slack Community [Skip link to Slack Community](https://docs.alpaca.markets/docs/additional-resources\#slack-community) We have an active community on Slack with developers and traders from all over the world. For Broker API we have a dedicated channel #broker-api for you to discuss with the rest of the community building new products using Broker API. You will be automatically added to `#announcements`, `#community`, `#feedback`, and `#q-and-a`. To join click [here](https://join.slack.com/t/alpaca-community/shared_invite/zt-1mwc1kpf8-ssNEGH6IyKgAAtFaSC_GMg). # Forum [Skip link to Forum](https://docs.alpaca.markets/docs/additional-resources\#forum) We have set up a community forum to discuss topics ranging from integration, programming, API questions, market data, etc. The forum is also a place to find up-to-date announcements about Alpaca and its features. The forum is the recommended place for discussion, since it has more advanced indexing and search functionality compared to our other community channels. For more click [here](https://forum.alpaca.markets/). # Support [Skip link to Support](https://docs.alpaca.markets/docs/additional-resources\#support) Have questions? Need help? Check out our support page for FAQs and to get in contact with our team. For more click [here](https://alpaca.markets/support). # Systems Status [Skip link to Systems Status](https://docs.alpaca.markets/docs/additional-resources\#systems-status) Stay up to date with Alpaca services status and any updates on outages. For more click [here](https://status.alpaca.markets/). # Disclosures [Skip link to Disclosures](https://docs.alpaca.markets/docs/additional-resources\#disclosures) To view our disclosures library click [here](https://alpaca.markets/disclosures). Updatedover 1 year ago * * * Did this page help you? Yes No ## W-8 BEN Form Submission ## W-8 BEN [Skip link to W-8 BEN](https://docs.alpaca.markets/docs/international-accounts\#w-8-ben) For certain individuals, a W-8 BEN form should be submitted at onboarding. If the individual is not a registered U.S. taxpayer (not subject to a W-9), the W-8 BEN form may need to be submitted. The IRS explains [here](https://www.irs.gov/instructions/iw8ben) which individuals this applies to and provides instructions on completing the form. Every three years, in addition to the calendar year it was signed, a new W-8 BEN form must be submitted. The form can be submitted in JSON, JSONC, PNG, JPEG or PDF. If submitting it in JSON, please see the W-8 BEN completed with the corresponding field names for the API [here](https://github.com/alpacahq/bkdocs/files/7756721/W-8Ben_Example_Broker_Docs.pdf). Note: The dates collected on the form are in a slightly different format than how they need to be submitted via Accounts API. It is requested by the user on the form in MM-DD-YYYY, but should be submitted as YYYY-MM-DD. Updatedover 1 year ago * * * Did this page help you? Yes No ## Alpaca Trading API # Welcome to Alpaca 🦙 [Skip link to Welcome to Alpaca 🦙](https://docs.alpaca.markets/docs/getting-started\#welcome-to-alpaca-%F0%9F%A6%99) Alpaca offers simple, modern API-first solutions to enable anyone, either individuals or businesses, to connect applications and build algorithms to buy and sell stocks or crypto. Whether you are launching an app to access the US equities market or deploy algorithmic trading-strategies with stocks and crypto, Alpaca has an API for you. - Build trading apps and brokerage services for your end users. Tailored for businesses such as trading apps, challenger banks, etc. - **Start [here](https://docs.alpaca.markets/docs/getting-started-with-broker-api)** - Stock trading for individuals and business accounts. Built for retail, algorithmic and proprietary traders. - **Start [here](https://docs.alpaca.markets/docs/getting-started-with-trading-api)** - Access real-time market pricing data and up to 6+ years worth of historical data for stocks and crypto. - **Start [here](https://docs.alpaca.markets/docs/getting-started-with-alpaca-market-data)** - Develop applications on Alpaca’s platform using OAuth2. Let any user with an Alpaca brokerage account connect to your app. - **Start [here](https://docs.alpaca.markets/docs/about-connect-api)** If you are not a developer and an API is not for you, we also enable users to trade on our responsive web dashboard. Stay tuned for our API updates as we have on roadmap plans for futures, FX, and much more! Updated6 months ago * * * Did this page help you? Yes No ## FIX Messages Overview Version 1.0.4 ## Supported Message Types [Skip link to Supported Message Types](https://docs.alpaca.markets/docs/fix-messages\#supported-message-types) | Message | MsgType | Description | | --- | --- | --- | | [Logon](https://docs.alpaca.markets/docs/fix-messages#logon-a) | A | Sent by FIX client to authenticate and establish the FIX session | | [Heartbeat](https://docs.alpaca.markets/docs/fix-messages#heartbeat-0) | 0 | Sent by either client or server at preset interval within the working FIX session | | [Test Request](https://docs.alpaca.markets/docs/fix-messages#test-request-1) | 1 | Sent to force a heartbeat from the opposing application | | [Resend Request](https://docs.alpaca.markets/docs/fix-messages#resend-request-2) | 2 | To request retransmission of messages which were missed | | [Reject](https://docs.alpaca.markets/docs/fix-messages#reject-3) | 3 | Response to a message that could not be processed | | [Sequence Reset](https://docs.alpaca.markets/docs/fix-messages#sequence-reset-4) | 4 | To reset the FIX session sequence number | | [Logout](https://docs.alpaca.markets/docs/fix-messages#logout-5) | 5 | To safely disconnect the connected FIX session | | [New Order - Single](https://docs.alpaca.markets/docs/fix-messages#new-order---single-d) | D | To submit a new single order | | [Execution Report](https://docs.alpaca.markets/docs/fix-messages#execution-report-8) | 8 | Sent whenever the state of the order changes | | [Order Cancel Request](https://docs.alpaca.markets/docs/fix-messages#order-cancel-request-f) | F | To request cancellation of an order | | [Order Cancel/Replace Request](https://docs.alpaca.markets/docs/fix-messages#order-cancelreplace-request-g) | G | To request modification of an order | | [Order Cancel Reject](https://docs.alpaca.markets/docs/fix-messages#order-cancel-reject-9) | 9 | Sent if the Order Cancel Request (F) or Order Cancel/Replace Request (G) could not be executed | ## Message Header [Skip link to Message Header](https://docs.alpaca.markets/docs/fix-messages\#message-header) All messages should contain the following tags in the header: | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 8 | BeginString | Y | FIX.4.2 | | 9 | BodyLength | Y | Size of the message body in bytes | | 34 | MsgSeqNum | Y | Message sequence number | | 35 | MsgType | Y | Message type, should be one of the types supported in this doc | | 49 | SenderCompID | Y | Provided by Alpaca, must be present in all FIX messages. This will be returned as TargetCompID (56) in all FIX messages to clients | | 52 | SendingTime | Y | UTC timestamp of message transmission. Precision supported: Millis, Micros, Nanos | | 56 | TargetCompID | Y | Provided by Alpaca, must be present in all FIX messages. This will be returned as SenderCompID (49) in all FIX messages to clients | ## Message Trailer [Skip link to Message Trailer](https://docs.alpaca.markets/docs/fix-messages\#message-trailer) All messages should contain the following tags in the trailer: | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 10 | CheckSum | Y | Last field in the messages with trailing ``. Value calculated by the FIX engine from message data | ## Logon (A) [Skip link to Logon (A)](https://docs.alpaca.markets/docs/fix-messages\#logon-a) | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | A - For Logon | | 98 | EncryptMethod | Y | 0 - None, only accepted value | | 108 | HeartBtInt | Y | Must be set to `30` for 30 seconds | | 141 | ResetSeqNumFlag | N | Y - Resets both sender and target sequence number to 1 | **Example FIX Message** Logon (A) ```rdmd-code lang-text theme-light |8=FIX.4.2|9=73|35=A|34=1|49=SENDER|52=20240524-16:02:42.003|56=ALPACA|98=0|108=30|141=Y|10=131| ``` ## Heartbeat (0) [Skip link to Heartbeat (0)](https://docs.alpaca.markets/docs/fix-messages\#heartbeat-0) Sent by either client or server if no message has been received since the last heartbeat interval. This is also sent in response to a Test Request (1). | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | 0 - For Heartbeat | | 112 | TestReqID | N | Required only when Heartbeat is sent in response to a Test Request (1) | **Example FIX Message** Heartbeat ```rdmd-code lang-text theme-light |8=FIX.4.2|9=91|35=0|49=SENDER|56=ALPACA|34=2|52=20230330-16:52:321.029|10=049| ``` ## Test Request (1) [Skip link to Test Request (1)](https://docs.alpaca.markets/docs/fix-messages\#test-request-1) May be sent by either client or server, to force a Heartbeat (0) from the other party. | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | 1 - For Test Request | | 112 | TestReqID | Y | Identifier to be returned in the resulting Heartbeat (0) | **Example FIX Message** Test Request ```rdmd-code lang-text theme-light |8=FIX.4.2|9=91|35=1|49=SENDER|56=ALPACA|34=2|52=20230330-16:52:321.029|112=TEST|10=049| ``` ## Resend Request (2) [Skip link to Resend Request (2)](https://docs.alpaca.markets/docs/fix-messages\#resend-request-2) Sent to request retransmission of messages which were missed. | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | 2 - For Resend Request | | 7 | BeginSeqNo | Y | Beginning sequence number of requested messages | | 16 | EndSeqNo | Y | Ending sequence number of requested messages | **Example FIX Message** Resend Request ```rdmd-code lang-text theme-light |8=FIX.4.2|9=66|7=9|16=36|34=12|35=2|49=SENDER|52=20230627-14:10:21.769|56=ALPACA|10=126| ``` ## Reject (3) [Skip link to Reject (3)](https://docs.alpaca.markets/docs/fix-messages\#reject-3) Sent when a message is rejected or cannot be processed by the FIX server. | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | 3 - For Reject | | 45 | RefSeqNum | Y | Sequence number of the rejected message | | 58 | Text | N | Reason for rejection | | 371 | RefTagID | N | The tag number of the FIX field being referenced | | 372 | RefMsgType | N | The MsgType (35) of the FIX message being referenced | | 373 | SessionRejectReason | N | Reject reason codes.
0 - Invalid tag number
1 - Required tag missing
2 - Tag not defined for this message type
3 - Unsupported Message Type
4 - Tag specified without a value
5 - Value is incorrect (out of range) for this tag
6 - Incorrect data format for value
9 - CompID problem
10 - SendingTime accuracy problem
11 - Invalid MsgType | **Example FIX Message** Reject ```rdmd-code lang-text theme-light |8=FIX.4.2|9=0134|35=3|34=44196|49=ALPACA|56=TARGET|52=20230330-20:18:38.039|58=0005 Tag specified without a value|45=44196|371=11|372=8|373=4|10=092| ``` ## Sequence Reset (4) [Skip link to Sequence Reset (4)](https://docs.alpaca.markets/docs/fix-messages\#sequence-reset-4) Sent to reset the incoming sequence number on the other side. The sequence reset should be used only to increase the sequence number. Any request to decrease the sequence number will result in a Reject (3) message. | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | 4 - For Sequence Reset | | 36 | NewSeqNo | Y | New sequence number | | 123 | GapFillFlag | N | N - Sequence reset to recover from an out-of-sequence condition, MsgSeqNum(34) is ignored
Y - Gap fill message, MsgSeqNum(34) field must be valid | **Example FIX Message** Sequence Reset ```rdmd-code lang-text theme-light |8=FIX.4.2|9=61|34=12|35=4|36=9|49=SENDER|52=20230627-14:14:51.732|56=ALPACA|10=156| ``` ## Logout (5) [Skip link to Logout (5)](https://docs.alpaca.markets/docs/fix-messages\#logout-5) May be sent by either client or server, to terminate the session. The other party would respond with a confirming Logout message as an acknowledgement. | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | 5 - For Logout | **Example FIX Message** Logout ```rdmd-code lang-text theme-light |8=FIX.4.2|9=56|34=12|35=5|49=SENDER|52=20230627-14:16:50.690|56=ALPACA|10=197| ``` ## New Order - Single (D) [Skip link to New Order - Single (D)](https://docs.alpaca.markets/docs/fix-messages\#new-order---single-d) Sent by the client to submit a new single order. | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | D - For New Order - Single | | 1 | Account | Y | Account number | | 11 | ClOrdID | Y | Unique identifier of the order assigned by the client (must be no longer than 48 characters) | | 12 | Commission | N | Commission to collect from the account holder | | 13 | CommType | N | 1 - per share
2 - percentage, 5% should be represented as .05
3 - absolute | | 18 | ExecInst | N | 1 - Not held
5 - Held | | 21 | HandlInst | Y | 1 - Automated execution with no broker intervention, only accepted value | | 38 | OrderQty | N | Number of shares to trade, required if CashOrderQty (152) is not set | | 40 | OrdType | Y | 1 - Market
2 - Limit
3 - Stop
4 - Stop limit
5 - Market on close
B - Limit on close | | 44 | Price | N | Required for Limit `40=2` and Stop Limit `40=4` orders | | 54 | Side | Y | 1 - Buy
2 - Sell | | 55 | Symbol | Y | Ticker symbol | | 59 | TimeInForce | Y | 0 - Day (day)
1 - Good Till Cancel (gtc)
2 - At the Opening (opg)
3 - Immediate or Cancel (ioc)
4 - Fill or Kill (fok)
7 - At the Close (cls) | | 60 | TransactTime | Y | UTC timestamp of order creation by client | | 77 | OpenClose | N | Indicates whether the resulting position from the trade would be an opening or closing position.
O - Open
C - Close | | 99 | StopPx | N | Required for Stop `40=3` and Stop Limit `40=4` orders | | 109 | ClientID | N | Sub-account tag for omnibus accounts | | 152 | CashOrderQty | N | Notional value to trade, required if OrderQty (38) is not set | | 336 | TradingSessionID | N | 8 - Extended Hours
Required for extended hours orders only | **Example FIX Messages** Market order (quantity based)Market order (notional based)Limit orderStop orderStop limit orderExtended Hours Order ```rdmd-code lang-text theme-light |8=FIX.4.2|9=139|1=TEST_ACCOUNT|11=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|34=12|35=D|38=10|40=1|49=SENDER|52=20230613-14:01:37.330|54=1|55=SPY|56=ALPACA|59=1|10=030| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=141|1=TEST_ACCOUNT|11=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|34=12|35=D|40=1|49=SENDER|52=20230613-14:43:47.572|54=1|55=SPY|56=ALPACA|59=0|152=100|10=130| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=149|1=TEST_ACCOUNT|11=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|34=12|35=D|38=10|40=2|44=350.78|49=SENDER|52=20230613-14:45:58.303|54=1|55=SPY|56=ALPACA|59=0|10=005| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=149|1=TEST_ACCOUNT|11=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|34=12|35=D|38=10|40=3|49=SENDER|52=20230613-14:50:51.223|54=1|55=SPY|56=ALPACA|59=0|99=350.78|10=006| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=159|1=TEST_ACCOUNT|11=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|34=12|35=D|38=10|40=4|44=350.78|49=SENDER|52=20230613-15:26:35.992|54=1|55=SPY|56=ALPACA|59=0|99=350.78|10=246| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=149|1=TEST_ACCOUNT|11=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|34=12|35=D|38=10|40=2|44=350.78|49=SENDER|52=20230613-14:45:58.303|54=1|55=SPY|56=ALPACA|59=5|10=005| ``` ## Execution Report (8) [Skip link to Execution Report (8)](https://docs.alpaca.markets/docs/fix-messages\#execution-report-8) Sent by the server whenever an order receives an update. Each execution report contains field OrdStatus (39) which is used to convey the current status of the order as understood by Alpaca, as well as fields ExecType (150) and ExecTransType (20) which describe the purpose of the message. | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | 8 - For Execution Report | | 1 | Account | Y | Account number | | 6 | AvgPx | Y | Average price of all fills on this order | | 11 | ClOrdID | Y | Unique identifier of the order as assigned by the client | | 12 | Commission | N | Monetary commission value charged on a fill/partial fill | | 14 | CumQty | Y | Filled quantity on the order | | 15 | Currency | N | Account base currency, default USD | | 17 | ExecID | Y | Unique identifier of the execution assigned by Alpaca | | 19 | ExecRefID | N | ExecID (17) of the original execution being canceled or corrected when `20=1` or `20=2` | | 20 | ExecTransType | Y | Transaction type.
0 - New
1 - Cancel
2 - Correct
3 - Status, for Restated (D) message upon stop trigger | | 30 | LastMkt | N | Market of execution for this fill | | 31 | LastPx | N | Price of this fill | | 32 | LastShares | N | Quantity traded on this fill | | 37 | OrderID | Y | Unique identifier of the order assigned by Alpaca | | 38 | OrderQty | N | Either CashOrderQty (152) or OrderQty (38) is provided | | 39 | OrdStatus | Y | Identifies current status of order.
0 - New
1 - Partially filled
2 - Filled
3 - Done for day
4 - Canceled
5 - Replaced
6 - Pending Cancel
8 - Rejected
A - Pending New
C - Expired
E - Pending Replace | | 40 | OrdType | N | Same as specified on the order.
1 - Market
2 - Limit
3 - Stop
4 - Stop limit
5 - Market on close
B - Limit on close | | 41 | OrigClOrdID | N | ClOrdID (11) of the original order in cancel and cancel/replace requests | | 44 | Price | N | Sent when specified on the order | | 54 | Side | Y | 1 - Buy
2 - Sell | | 55 | Symbol | Y | Ticker symbol | | 58 | Text | N | Contains reject reason when `150=8` | | 59 | TimeInForce | N | Same as specified on the order.
0 - Day (day)
1 - Good Till Cancel (gtc)
2 - At the Opening (opg)
3 - Immediate or Cancel (ioc)
4 - Fill or Kill (fok)
7 - At the Close (cls) | | 60 | TransactTime | N | Server time in UTC when execution occurred, nanoseconds precision | | 99 | StopPx | N | Sent when specified on the order | | 150 | ExecType | Y | Describes the type of execution report.
0 - New
1 - Partial fill
2 - Fill
3 - Done for day
4 - Canceled
5 - Replaced
6 - Pending Cancel, ack for Order Cancel Request (F)
8 - Rejected
A - Pending New
C - Expired
D - Restated, for stop price triggers
E - Pending Replace, ack for Order Cancel/Replace Request (G) | | 151 | LeavesQty | Y | Unfilled quantity on the order. When order is closed (filled, done for day, canceled, replaced, rejected, expired) value could be 0 | | 152 | CashOrderQty | N | Either CashOrderQty (152) or OrderQty (38) is provided. Specifies the notional amount conveyed on the order | | 378 | ExecRestatementReason | N | Populated when ExecType (150) = Restated (D).
100 - Stop triggered, for stop and stop limit orders | **Example FIX Messages** Pending NewNewPartial FillFillPending ReplaceReplacedPending CancelCanceledRejected ```rdmd-code lang-text theme-light |8=FIX.4.2|9=216|1=TEST_ACCOUNT|17=694bc450-3ca6-461e-8566-f977dcec9e2d|34=12|35=8|37=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|39=A|40=1|49=ALPACA|52=20230615-18:14:29.702|54=1|55=SPY|56=SENDER|59=0|60=20230615-18:14:29.702|150=A|151=10|10=088| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=216|1=TEST_ACCOUNT|17=694bc450-3ca6-461e-8566-f977dcec9e2d|34=12|35=8|37=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|39=0|40=1|49=ALPACA|52=20230615-18:14:45.263|54=1|55=SPY|56=SENDER|59=0|60=20230615-18:14:45.263|150=0|151=10|10=054| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=251|1=TEST_ACCOUNT|6=350.78|14=5|15=USD|17=694bc450-3ca6-461e-8566-f977dcec9e2d|31=350.78|32=5|34=12|35=8|37=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|39=1|40=1|49=ALPACA|52=20230615-18:15:00.622|54=1|55=SPY|56=SENDER|59=0|60=20230615-18:15:00.622|150=1|151=5|10=185| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=253|1=TEST_ACCOUNT|6=350.78|14=10|15=USD|17=694bc450-3ca6-461e-8566-f977dcec9e2d|31=350.78|32=10|34=12|35=8|37=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|39=2|40=1|49=ALPACA|52=20230615-18:15:21.920|54=1|55=SPY|56=SENDER|59=0|60=20230615-18:15:21.920|150=2|151=0|10=024| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=216|1=TEST_ACCOUNT|17=694bc450-3ca6-461e-8566-f977dcec9e2d|34=12|35=8|37=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|39=E|40=1|49=ALPACA|52=20230615-18:26:53.971|54=1|55=SPY|56=SENDER|59=0|60=20230615-18:26:53.971|150=E|151=10|10=112| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=256|1=TEST_ACCOUNT|17=694bc450-3ca6-461e-8566-f977dcec9e2d|34=12|35=8|37=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|39=5|40=1|41=56fcd203-7a97-430d-b14c-b0d9a7f59f2f|49=ALPACA|52=20230615-18:15:38.108|54=1|55=SPY|56=SENDER|59=0|60=20230615-18:15:38.108|150=5|151=10|10=144| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=216|1=TEST_ACCOUNT|17=694bc450-3ca6-461e-8566-f977dcec9e2d|34=12|35=8|37=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|39=6|40=1|49=ALPACA|52=20230615-18:24:50.191|54=1|55=SPY|56=SENDER|59=0|60=20230615-18:24:50.191|150=6|151=10|10=060| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=216|1=TEST_ACCOUNT|17=694bc450-3ca6-461e-8566-f977dcec9e2d|34=12|35=8|37=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|39=4|40=1|49=ALPACA|52=20230615-18:17:45.813|54=1|55=SPY|56=SENDER|59=0|60=20230615-18:17:45.813|150=4|151=10|10=070| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=227|1=TEST_ACCOUNT|17=694bc450-3ca6-461e-8566-f977dcec9e2d|34=12|35=8|37=c5bfc5f6-163d-450e-bb4a-fb25188cde8e|39=8|40=1|49=ALPACA|52=20230615-18:15:51.825|54=1|55=SPY|56=SENDER|59=0|60=20230615-18:15:51.825|103=Price too low|150=8|10=191| ``` ## Order Cancel Request (F) [Skip link to Order Cancel Request (F)](https://docs.alpaca.markets/docs/fix-messages\#order-cancel-request-f) Sent by the client to request cancellation of an order. | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | F - For Order Cancel Request | | 1 | Account | Y | Account number | | 11 | ClOrdID | Y | Unique identifier of cancel request assigned by the client | | 41 | OrigClOrdID | Y | ClOrdID (11) of the order to be canceled as assigned by the client | | 54 | Side | Y | As specified on the order to be canceled | | 55 | Symbol | Y | As specified on the order to be canceled | | 60 | TransactTime | Y | UTC timestamp when cancel request was initiated | To acknowledge this message, an Execution Report (8) with `150=6` is sent immediately followed by an Execution Report (8) with `150=4` or an Order Cancel Reject (9) message. Sometimes an Order Cancel Reject (9) message might be sent directly without sending an Execution Report (8) with `150=6`. **Example FIX Messages** Cancel Request ```rdmd-code lang-text theme-light |8=FIX.4.2|9=190|35=F|34=5|49=SENDER|52=20240524-16:02:44.709|56=ALPACA|1=account1|11=b165965d-0c9d-467e-a174-ee30f3fe6dbe|41=b5db0b8e-bbc1-4906-aff8-c58d18ba3398|54=1|55=AAPL|60=20240524-16:02:44.709206406|10=226| ``` ## Order Cancel/Replace Request (G) [Skip link to Order Cancel/Replace Request (G)](https://docs.alpaca.markets/docs/fix-messages\#order-cancelreplace-request-g) Sent by the client to request modification of an order. | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | G - For Order Cancel/Replace Request | | 1 | Account | Y | Account number | | 11 | ClOrdID | Y | Unique identifier of the replacement order assigned by the client (must be no longer than 48 characters) | | 21 | HandlInst | Y | 1 - Automated execution with no broker intervention, only accepted value | | 38 | OrderQty | N | Modified quantity for the order | | 40 | OrdType | Y | As specified on the original order | | 41 | OrigClOrdID | Y | ClOrdID (11) of the order to be modified as assigned by the client | | 44 | Price | N | Modified price for the order | | 54 | Side | Y | As specified on the original order | | 55 | Symbol | Y | As specified on the original order | | 59 | TimeInForce | N | Modified time in force for the order | | 60 | TransactTime | Y | UTC timestamp when cancel/replace request was initiated | | 99 | StopPx | N | Modified stop price for the order | **Example FIX Messages** Cancel/Replace Request ```rdmd-code lang-text theme-light |8=FIX.4.2|9=212|35=G|34=21|49=SENDER|52=20240524-16:16:58.956|56=ALPACA|1=account1|11=45169819-088a-4089-9758-f28e830e95f0|21=3|40=2|41=f001f209-2c3e-42e3-9ab1-10e74ee39fe5|44=1.50000|54=1|55=AAPL|60=20240524-16:16:58.956849295|10=173| ``` ## Order Cancel Reject (9) [Skip link to Order Cancel Reject (9)](https://docs.alpaca.markets/docs/fix-messages\#order-cancel-reject-9) Sent by the server if the Order Cancel Request (F) or Order Cancel/Replace Request (G) message could not be honored. Some common reject scenarios include: - when order is already filled or closed - when a previous Order Cancel Request (F) or Order Cancel/Replace Request (G) is pending for this order | Tag | Field | Mandatory | Description | | --- | --- | --- | --- | | 35 | MsgType | Y | 9 - For Order Cancel Reject | | 1 | Account | Y | Account number | | 11 | ClOrdID | Y | Unique identifier of cancel or cancel/replace request as assigned by the client | | 37 | OrderID | Y | Unique identifier of the order as assigned by Alpaca for which the cancel or cancel/replace request was rejected | | 39 | OrdStatus | Y | Order status after this cancel reject is applied | | 41 | OrigClOrdID | Y | ClOrdID (11) of the order for which the cancel or cancel/replace request was rejected | | 58 | Text | N | Reject reason | | 60 | TransactTime | N | Server time in UTC when cancel or replace reject occurred | | 102 | CxlRejReason | N | Code to identify reason for cancel rejection.
0 - Too late to cancel
1 - Unknown order
2 - Broker Option
3 - Order already in Pending Cancel or Pending Replace status | | 434 | CxlRejResponseTo | Y | 1 - Response to Order Cancel Request (F)
2 - Response to Order Cancel/Replace Request (G) | **Example FIX Messages** Cancel RejectCancel/Replace Reject ```rdmd-code lang-text theme-light |8=FIX.4.2|9=220|35=9|34=18|49=ALPACA|52=20240524-16:02:46.215|56=SENDER|1=account1|11=a7860828-4dc5-4f8f-bfb1-8fbca8855c88|37=f50af678-bba4-44ea-9b23-0fc452ed4921|39=6|41=2c017b79-a843-4146-a2b7-3bf83af89482|58=TOO_LATE_TO_CANCEL|434=1|10=116| ``` ```rdmd-code lang-text theme-light |8=FIX.4.2|9=198|35=9|34=45|49=ALPACA|52=20240524-16:16:59.085|56=SENDER|1=account1|11=5cdf9082-067b-4497-a90c-f5e8c666409b|37=UNKNOWN|39=8|41=c7feaf5a-54d2-458d-8ab2-9b2f337a28ec|58=replace pending for order|434=2|10=179| ``` ## Version History [Skip link to Version History](https://docs.alpaca.markets/docs/fix-messages\#version-history) | Version | Date | Change | | --- | --- | --- | | 0.1.0 | 08/05/2024 | Document Creation | | 0.1.1 | 24/05/2024 | Changed FIX version to FIX.4.2
Removed ApplVerID (1128) from Message Header
Added ClOrdID (11) and OrigClOrdID (41) as required in Order Cancel Request (F) and Order Cancel/Replace Request (G)
Removed OrderID (37) from Order Cancel Request (F) and Order Cancel/Replace Request (G)
Added OrderQty (38) to Order Cancel/Replace Request (G)
Updated FIX examples | | 0.1.2 | 12/06/2024 | Removed Account (1) and RawData (96) from Logon (A) message
Added RefTagID (371), RefMsgType (372) and SessionRejectReason (373) to Reject (3) message
Added HandlInst (21), TransactTime (60) and OpenClose (77) to New Order - Single (D)
Added 1 (per share) as an accepted value for CommType (13) in New Order - Single (D)
Updated AvgPx (6) to mandatory in Execution Report (8)
Added Commission (12), ExecRefID (19), ExecTransType (20), LastMkt (30), OrderQty (38) and CashOrderQty (152) to Execution Report (8)
Removed OrdRejReason (103) from Execution Report (8)
Updated possible values for ExecType (150) in Execution Report (8) | | 1.0.0 | 13/06/2024 | Added Side (54), Symbol (55) and TransactTime (60) to Order Cancel Request (F)
Added OrderID (37) to Order Cancel Reject (9)
Added HandlInst (21), OrdType (40), Side (54), Symbol (55) and TransactTime (60) to Order Cancel/Replace Request (G) | | 1.0.1 | 04/09/2024 | Added Market on close (5) and Limit on close (B) as values for OrdType (40) on New Order - Single (D)
Added At the Close (7) as a value for TimeInForce (59) on New Order - Single (D) | | 1.0.2 | 08/10/2024 | Added Restated (D) as value for ExecType (150) on Execution Report (8)
Added ExecRestatementReason (378) to Execution Report (8)
Added Status (3) as value for ExecTransType (20) on Execution Report (8)
Added TransactTime (60) to Order Cancel Reject (9) | | 1.0.3 | 14/01/2025 | Added Good Till Crossing (5) as a value for TimeInForce (59) on New Order - Single (D)
Added ClientID (109) to New Order - Single (D) | | 1.0.4 | 03/04/2025 | Removed Good Till Crossing (5) as a valid value for TimeInForce (59) on New Order - Single (D)
Added TradingSessionID (336) to New Order - Single (D) | Updatedabout 1 month ago * * * Did this page help you? Yes No ## WebSocket Streaming Alpaca’s API offers WebSocket streaming for trade, account, and order updates which follows the [RFC6455 WebSocket protocol](https://datatracker.ietf.org/doc/html/rfc6455). To connect to the WebSocket follow the standard opening handshake as defined by the RFC specification to `wss://paper-api.alpaca.markets/stream` or `wss://api.alpaca.markets/stream`. Alpaca’s streaming service supports both JSON and MessagePack codecs. Once the connection is authorized, the client can listen to the `trade_updates` stream to get updates on trade, account, and order changes. > ## 📘 Note: > > The `trade_updates` stream coming from `wss://paper-api.alpaca.markets/stream` uses binary frames, which differs from the text frames that comes from the `wss://data.alpaca.markets/stream` stream. In order to listen to streams, the client sends a `listen` message to the server as follows: JSON ```rdmd-code lang-json theme-light { "action": "listen", "data": { "streams": ["trade_updates"] } } ``` The server acknowledges by replying a message in the listening stream. JSON ```rdmd-code lang-json theme-light { "stream": "listening", "data": { "streams": ["trade_updates"] } } ``` If any of the requested streams are not available, they will not appear in the streams list in the acknowledgement. Note that the streams field in the listen message is to tell the set of streams to listen, so if you want to stop receiving updates from the stream, you must send an empty list of streams values as a listen message. Similarly, if you want to add more streams to get updates in addition to the ones you are already doing so, you must send all the stream names, not only the new ones. Subscribing to real-time trade updates ensures that a user always has the most up-to-date picture of their account actvivity. > ## 📘 Note > > To request with MessagePack, add the header: Content-Type: `application/msgpack`. # Authentication [Skip link to Authentication](https://docs.alpaca.markets/docs/websocket-streaming\#authentication) The WebSocket client can be authenticated using the same API key when making HTTP requests. Upon connecting to the WebSocket, client must send an authentication message over the WebSocket connection with the API key and secret key as its payload. JSON ```rdmd-code lang-json theme-light { "action": "auth", "key": "{YOUR_API_KEY_ID}", "secret": "{YOUR_API_SECRET_KEY}" } ``` The server will then authorize the connection and respond with either an authorized (successful) response JSON ```rdmd-code lang-json theme-light { "stream": "authorization", "data": { "status": "authorized", "action": "authenticate" } } ``` or an unauthorized (unsuccessful) response: JSON ```rdmd-code lang-json theme-light { "stream": "authorization", "data": { "status": "unauthorized", "action": "authenticate" } } ``` In the case that the socket connection is not authorized yet, a new message under the authorization stream is issued in response to the listen request. JSON ```rdmd-code lang-json theme-light { "stream": "authorization", "data": { "status": "unauthorized", "action": "listen" } } ``` # Trade Updates [Skip link to Trade Updates](https://docs.alpaca.markets/docs/websocket-streaming\#trade-updates) With regards to the account associated with the authorized API keys, updates for orders placed at Alpaca are dispatched over the WebSocket connection under the event trade\_updates. These messages include any data pertaining to orders that are executed with Alpaca. This includes order fills, partial fills, cancellations and rejections of orders. Clients may listen to this stream by sending a listen message: JSON ```rdmd-code lang-json theme-light { "action": "listen", "data": { "streams": ["trade_updates"] } } ``` Any listen messages received by the server will be acknowledged via a message on the listening stream. The message’s data payload will include the list of streams the client is currently listening to: JSON ```rdmd-code lang-json theme-light { "stream": "listening", "data": { "streams": ["trade_updates"] } } ``` The fields present in a message sent over the `trade_updates` stream depend on the type of event they are communicating. All messages contain an `event` type and an `order` field, which is the same as the order object that is returned from the REST API. Potential event types and additional fields that will be in their messages are listed below. ## Common Events [Skip link to Common Events](https://docs.alpaca.markets/docs/websocket-streaming\#common-events) These are the events that are the expected results of actions you may have taken by sending API requests. - `new`: Sent when an order has been routed to exchanges for execution. - `fill`: Sent when an order has been completely filled. - `timestamp`: The time at which the order was filled. - `price`: The price per share for the fill event. This may be different from the average fill price for the order if there were partial fills. - `qty`: The number of shares for the fill event. This will be different from the filled quantity for the order if there were partial fills. - `position_qty`: The total size of your position after this event, in shares. Positive for long positions, negative for short positions. - `partial_fill`: Sent when a number of shares less than the total remaining quantity on your order has been filled. - `timestamp`: The time at which the order was partially filled. - `price`: The price per share for the partial fill event. - `qty`: The number of shares for the partial fill event. - `position_qty`: The total size of your position after this event, in shares. Positive for long positions, negative for short positions. - `canceled`: Sent when your requested cancelation of an order is processed. - `timestamp`: The time at which the order was canceled. - `expired`: Sent when an order has reached the end of its lifespan, as determined by the order’s time in force value. - `timestamp`: The time at which the order was expired. - `done_for_day`: Sent when the order is done executing for the day, and will not receive further updates until the next trading day. - `replaced`: Sent when your requested replacement of an order is processed. - `timestamp`: The time at which the order was replaced. ## Less Common Events [Skip link to Less Common Events](https://docs.alpaca.markets/docs/websocket-streaming\#less-common-events) These are events that may rarely be sent due to uncommon circumstances on the exchanges. It is unlikely you will need to design your code around them, but you may still wish to account for the possibility that they can occur. - `rejected`: Sent when your order has been rejected. - `timestamp`: The time at which the order was rejected. - `pending_new`: Sent when the order has been received by Alpaca and routed to the exchanges, but has not yet been accepted for execution. - `stopped`: Sent when your order has been stopped, and a trade is guaranteed for the order, usually at a stated price or better, but has not yet occurred. - `pending_cancel`: Sent when the order is awaiting cancelation. Most cancelations will occur without the order entering this state. - `pending_replace`: Sent when the order is awaiting replacement. - `calculated`: Sent when the order has been completed for the day - it is either “filled” or “done\_for\_day” - but remaining settlement calculations are still pending. - `suspended`: Sent when the order has been suspended and is not eligible for trading. - `order_replace_rejected`: Sent when the order replace has been rejected. - `order_cancel_rejected`: Sent when the order cancel has been rejected. # Example [Skip link to Example](https://docs.alpaca.markets/docs/websocket-streaming\#example) An example of a message sent over the `trade_updates` stream looks like: JSON ```rdmd-code lang-json theme-light { "stream": "trade_updates", "data": { "event": "fill", "execution_id": "2f63ea93-423d-4169-b3f6-3fdafc10c418", "order": { "asset_class": "crypto", "asset_id": "1cf35270-99ee-44e2-a77f-6fab902c7f80", "cancel_requested_at": null, "canceled_at": null, "client_order_id": "4642fd68-d59a-47d7-a9ac-e22f536828d1", "created_at": "2022-04-19T13:45:04.981350886-04:00", "expired_at": null, "extended_hours": false, "failed_at": null, "filled_at": "2022-04-19T17:45:05.024916716Z", "filled_avg_price": "105.8988475", "filled_qty": "1790.86", "hwm": null, "id": "a5be8f5e-fdfa-41f5-a644-7a74fe947a8f", "legs": null, "limit_price": null, "notional": null, "order_class": "", "order_type": "market", "qty": "1790.86", "replaced_at": null, "replaced_by": null, "replaces": null, "side": "sell", "status": "filled", "stop_price": null, "submitted_at": "2022-04-19T13:45:04.980944666-04:00", "symbol": "SOLUSD", "time_in_force": "gtc", "trail_percent": null, "trail_price": null, "type": "market", "updated_at": "2022-04-19T13:45:05.027690731-04:00" }, "position_qty": "0", "price": "105.8988475", "qty": "1790.86", "timestamp": "2022-04-19T17:45:05.024916716Z" } } ``` An example message for MultilegOptionsOrder fill event: JSON ```rdmd-code lang-json theme-light { "stream": "trade_updates", "data": { "at": "2025-01-21T07:32:40.70095Z", "event_id": "01JJ3WE73W5PG672TC4XACXH5R", "event": "fill", "timestamp": "2025-01-21T07:32:40.695569506Z", "order": { "id": "31cd620f-3bd5-41b7-8bb2-6834524679d0", "client_order_id": "fe999618-6435-497b-9fdd-a63d3da3615f", "created_at": "2025-01-21T07:32:40.678963102Z", "updated_at": "2025-01-21T07:32:40.699359002Z", "submitted_at": "2025-01-21T07:32:40.691562346Z", "filled_at": "2025-01-21T07:32:40.695569506Z", "expired_at": null, "cancel_requested_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "00000000-0000-0000-0000-000000000000", "symbol": "", "asset_class": "", "notional": null, "qty": "1", "filled_qty": "1", "filled_avg_price": "1.62", "order_class": "mleg", "order_type": "limit", "type": "limit", "side": "buy", "time_in_force": "day", "limit_price": "2", "stop_price": null, "status": "filled", "extended_hours": false, "legs": [\ {\ "id": "3cbe69ef-241c-43ba-9d8c-09361930a1af",\ "client_order_id": "e868fb88-ce92-442b-91be-4b16defbc883",\ "created_at": "2025-01-21T07:32:40.678963102Z",\ "updated_at": "2025-01-21T07:32:40.697474882Z",\ "submitted_at": "2025-01-21T07:32:40.687356797Z",\ "filled_at": "2025-01-21T07:32:40.695564076Z",\ "expired_at": null,\ "cancel_requested_at": null,\ "canceled_at": null,\ "failed_at": null,\ "replaced_at": null,\ "replaced_by": null,\ "replaces": null,\ "asset_id": "925af3ed-5c00-4ef1-b89b-e4bd05f04486",\ "symbol": "AAPL250321P00200000",\ "asset_class": "us_option",\ "notional": null,\ "qty": "1",\ "filled_qty": "1",\ "filled_avg_price": "1.6",\ "order_class": "mleg",\ "order_type": "",\ "type": "",\ "side": "buy",\ "time_in_force": "day",\ "limit_price": null,\ "stop_price": null,\ "status": "filled",\ "extended_hours": false,\ "legs": null,\ "trail_percent": null,\ "trail_price": null,\ "hwm": null,\ "ratio_qty": "1"\ },\ {\ "id": "ec694de5-5028-4347-8f89-d8ea00c9341f",\ "client_order_id": "0a1bf1e1-6992-4c23-85a6-9469bbe05f1a",\ "created_at": "2025-01-21T07:32:40.678963102Z",\ "updated_at": "2025-01-21T07:32:40.699294952Z",\ "submitted_at": "2025-01-21T07:32:40.691562346Z",\ "filled_at": "2025-01-21T07:32:40.695569506Z",\ "expired_at": null,\ "cancel_requested_at": null,\ "canceled_at": null,\ "failed_at": null,\ "replaced_at": null,\ "replaced_by": null,\ "replaces": null,\ "asset_id": "9f8c3d65-f5f7-42cd-acbc-9636cc32d3b5",\ "symbol": "AAPL250321C00380000",\ "asset_class": "us_option",\ "notional": null,\ "qty": "1",\ "filled_qty": "1",\ "filled_avg_price": "0.02",\ "order_class": "mleg",\ "order_type": "",\ "type": "",\ "side": "buy",\ "time_in_force": "day",\ "limit_price": null,\ "stop_price": null,\ "status": "filled",\ "extended_hours": false,\ "legs": null,\ "trail_percent": null,\ "trail_price": null,\ "hwm": null,\ "ratio_qty": "1"\ }\ ], "trail_percent": null, "trail_price": null, "hwm": null }, "price": "1.62", "qty": "1", "position_qtys": { "AAPL250321P00200000": "1", "AAPL250321C00380000": "1" }, "legs": [\ {\ "execution_id": "69a70e98-f370-427d-bcd3-834dc4800aed",\ "qty": "1",\ "price": "1.6",\ "order_id": "3cbe69ef-241c-43ba-9d8c-09361930a1af",\ "symbol": "AAPL250321P00200000",\ "timestamp": "2025-01-21T07:32:40.695564076Z"\ },\ {\ "execution_id": "fb878d87-569e-49f3-b42e-a09ad06e3d3a",\ "qty": "1",\ "price": "0.02",\ "order_id": "ec694de5-5028-4347-8f89-d8ea00c9341f",\ "symbol": "AAPL250321C00380000",\ "timestamp": "2025-01-21T07:32:40.695569506Z"\ }\ ] } } ``` ## Error messages [Skip link to Error messages](https://docs.alpaca.markets/docs/websocket-streaming\#error-messages) In the case of in-stream errors, the server sends an `error` action before closing the connection. JSON ```rdmd-code lang-json theme-light { "action": "error", "data": { "error_message": "internal server error" } } ``` Updated3 months ago * * * Did this page help you? Yes No ## Alpaca Crypto Trading > ## 🚧 As of November 18, 2022, cryptocurrency trading is open to select international jurisdictions and some U.S. jurisdictions. > > To view the supported US regions for crypto trading, click [here](https://alpaca.markets/support/what-regions-support-cryptocurrency-trading). # Supported Coins [Skip link to Supported Coins](https://docs.alpaca.markets/docs/crypto-trading\#supported-coins) Alpaca supports over 20+ unique crypto assets across 56 trading pairs. Current trading pairs are based on BTC, USD, USDT and USDC) with more assets and trading pairs coming soon. To query all available crypto assets and pairs you can you use the following API call: cURL ```rdmd-code lang-curl theme-light curl --request GET 'https://api.alpaca.markets/v2/assets?asset_class=crypto' \ --header 'Apca-Api-Key-Id: ' \ --header 'Apca-Api-Secret-Key: ' ``` Below is a sample trading pair object composed of two assets, BTC and USD. JSON ```rdmd-code lang-json theme-light { "id": "276e2673-764b-4ab6-a611-caf665ca6340", "class": "crypto", "exchange": "ALPACA", "symbol": "BTC/USD", "name": "BTC/USD pair", "status": "active", "tradable": true, "marginable": false, "shortable": false, "easy_to_borrow": false, "fractionable": true, "min_order_size": "0.0001", "min_trade_increment": "0.0001", "price_increment": "1" } ``` Note that symbology for trading pairs has changed from our previous format, where `BTC/USD` was previously referred to as `BTCUSD`. Our API has made proper changes to support the legacy convention as well for backwards compatibility. For further reference see Assets API. **add link** # Supported Orders [Skip link to Supported Orders](https://docs.alpaca.markets/docs/crypto-trading\#supported-orders) When submitting crypto orders through the Orders API and the Alpaca web dashboard, Market, Limit and Stop Limit orders are supported while the supported `time_in_force` values are `gtc`, and `ioc`. We accept fractional orders as well with either `notional` or `qty` provided. You can submit crypto orders for any supported crypto pair via API, see the below cURL POST request. cURL ```rdmd-code lang-curl theme-light curl --request POST 'https://paper-api.alpaca.markets/v2/orders' \ --header 'Apca-Api-Key-Id: ' \ --header 'Apca-Api-Secret-Key: ' \ --header 'Content-Type: application/json' \ --data-raw '{ "symbol": "BTC/USD", "qty": "0.0001", "side": "buy", "type": "market", "time_in_force": "gtc" }' ``` The above request submits a market order via API to buy 0.0001 BTC with USD (BTC/USD pair) that is good till end of day. To learn more see **orders** and **fractional trading**. All cryptocurrency assets are fractionable but the supported decimal points vary depending on the cryptocurrency. See **Assets entity** for information on fractional precisions per asset. Note these values could change in the future. # Crypto Market Data [Skip link to Crypto Market Data](https://docs.alpaca.markets/docs/crypto-trading\#crypto-market-data) You can check out the [documentation](https://docs.alpaca.markets/docs/historical-crypto-data-1) and the [API reference](https://docs.alpaca.markets/reference/cryptobars-1) of our crypto market data. Here we provide an example to request the latest order book data (bids and asks) for the following three coin pairs: BTC/USD, ETH/BTC, and ETH/USD. cURL ```rdmd-code lang-curl theme-light curl 'https://data.alpaca.markets/v1beta3/crypto/us/latest/orderbooks?symbols=BTC/USD,ETH/BTC,ETH/USD' ``` JSON ```rdmd-code lang-json theme-light { "orderbooks": { "BTC/USD": { "a": [\ {\ "p": 66051.621,\ "s": 0.275033\ },\ ...\ ], "b": [\ {\ "p": 65986.962,\ "s": 0.27813\ },\ ...\ ], "t": "2024-07-24T07:31:01.373709495Z" }, "ETH/USD": { ... } }, "ETH/BTC": { ... } } } ``` Additionally, you can subscribe to real-time crypto data via Websockets. Example below leverages wscat to subscribe to BTC/USD order book. JSON ```rdmd-code lang-json theme-light $ wscat -c wss://stream.data.alpaca.markets/v1beta3/crypto/us Connected (press CTRL+C to quit) < [{"T":"success","msg":"connected"}] > {"action":"auth","key":"","secret":""} < [{"T":"success","msg":"authenticated"}] > {"action":"subscribe","quotes":["ETH/USD"]} < [{"T":"subscription","trades":[],"quotes":["ETH/USD"],"orderbooks":[],"bars":[],"updatedBars":[],"dailyBars":[]}] < [{"T":"q","S":"ETH/USD","bp":3445.34,"bs":4.339,"ap":3450.2,"as":4.3803,"t":"2024-07-24T07:38:06.88490478Z"}] < [{"T":"q","S":"ETH/USD","bp":3445.34,"bs":4.339,"ap":3451.1,"as":8.73823,"t":"2024-07-24T07:38:06.88493591Z"}] < [{"T":"q","S":"ETH/USD","bp":3445.34,"bs":4.339,"ap":3447.03,"as":4.36424,"t":"2024-07-24T07:38:06.88511154Z"}] < [{"T":"q","S":"ETH/USD","bp":3444.644,"bs":8.797,"ap":3447.03,"as":4.36424,"t":"2024-07-24T07:38:06.88512141Z"}] < [{"T":"q","S":"ETH/USD","bp":3444.51,"bs":4.33,"ap":3447.03,"as":4.36424,"t":"2024-07-24T07:38:06.88516355Z"}] ``` For further reference of real-time crypto pricing data see [its documentation](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data). # Transferring Crypto [Skip link to Transferring Crypto](https://docs.alpaca.markets/docs/crypto-trading\#transferring-crypto) Alpaca now offers native on-chain crypto transfers with wallets! If you have crypto trading enabled and reside in an eligible US state or international jurisdiction you can access wallets on the web dashboard via the Crypto Transfers tab. Alpaca wallets currently support transfers for Bitcoin, Ethereum, and all Ethereum (ERC20) based tokens. To learn more on transferring crypto with Alpaca, see **[Crypto Wallets FAQs](https://alpaca.markets/support/crypto-wallet-faq)** # Crypto Spot Trading Fees [Skip link to Crypto Spot Trading Fees](https://docs.alpaca.markets/docs/crypto-trading\#crypto-spot-trading-fees) While Alpaca stock trading remains commission-free, crypto trading includes a small fee per trade dependent on your executed volume and order type. Any market or exchange consists of two parties, buyers and sellers. When you place an order to buy crypto on the Alpaca Exchange, there is someone else on the other side of the trade selling what you want to buy. The seller's posted order on the order book is providing liquidity to the exchange and allows for the trade to take place. Note, that both buyers and sellers can be makers or takers depending on the order entered and current quote of the coin. **A maker is someone who adds liquidity, and the order gets placed on the order book. A Taker on the other hand removes the liquidity by placing a market or marketable limit order which executes against posted orders.** See the below table with volume-tiered fee pricing: | Tier | 30D Trading Volume (USD) | Maker | Taker | | --- | --- | --- | --- | | 1 | 0 - 100,000 | 15 bps | 25 bps | | 2 | 100,000 - 500,000 | 12 bps | 22 bps | | 3 | 500,000 - 1,000,000 | 10 bps | 20 bps | | 4 | 1,000,000 - 10,000,000 | 8 bps | 18 bps | | 5 | 10,000,000 - 25,000,000 | 5 bps | 15 bps | | 6 | 25,000,000 - 50,000,000 | 2 bps | 13 bps | | 7 | 50,000,000 - 100,000,000 | 2 bps | 12 bps | | 8 | 100,000,000+ | 0 bps | 10 bps | The crypto fee will be charged on the credited crypto asset/fiat (what you receive) per trade. Some examples, - Buy `ETH/BTC`, you receive `ETH`, the fee is denominated in `ETH` - Sell `ETH/BTC`, you receive `BTC`, the fee is denominated in `BTC` - Buy `ETH/USD`, you receive `ETH`, the fee is denominated in `ETH` - Sell `ETH/USD`, you receive `USD`, the fee is denominated in `USD` To get the fees incurred from crypto trading you can use Activities API to query `activity_type` by `CFEE` or `FEE`. See below example of CFEE object: JSON ```rdmd-code lang-json theme-light { "id": "20220812000000000::53be51ba-46f9-43de-b81f-576f241dc680", "activity_type": "CFEE", "date": "2022-08-12", "net_amount": "0", "description": "Coin Pair Transaction Fee (Non USD)", "symbol": "ETHUSD", "qty": "-0.000195", "price": "1884.5", "status": "executed" } ``` Fees are currently calculated and posted end of day. If you query on same day of trade you might not get results. We will be providing an update for fee posting to be real-time in the near future. # Margin and Short Selling [Skip link to Margin and Short Selling](https://docs.alpaca.markets/docs/crypto-trading\#margin-and-short-selling) Cryptocurrencies cannot be bought on margin. This means that you cannot use leverage to buy them and orders are evaluated against `non_marginable_buying_power`. Cryptocurrencies can not be sold short. # Trading Hours [Skip link to Trading Hours](https://docs.alpaca.markets/docs/crypto-trading\#trading-hours) Crypto trading is offered for 24 hours everyday and your orders will be executed throughout the day. # Trading Limits [Skip link to Trading Limits](https://docs.alpaca.markets/docs/crypto-trading\#trading-limits) Currently, an order (buy or sell) must not exceed $200k in notional. This is per an order. Updated5 months ago * * * Did this page help you? Yes No ## Historical Market Data API This RESTful API provides historical market data through the HTTP protocol. This allows you to query historical market information, which can be used for charting, backtesting and to power your trading strategies. Historical market data is available for the following types: - [Stocks](https://docs.alpaca.markets/docs/historical-stock-data-1) - [Crypto](https://docs.alpaca.markets/docs/historical-crypto-data-1) - [Options](https://docs.alpaca.markets/docs/historical-option-data) - [News](https://docs.alpaca.markets/docs/historical-news-data) # Base URL [Skip link to Base URL](https://docs.alpaca.markets/docs/historical-api\#base-url) The Base URL for the historical endpoints is ```rdmd-code lang- theme-light https://data.alpaca.markets/{version} ``` Sandbox URL (for broker partners): ```rdmd-code lang- theme-light https://data.sandbox.alpaca.markets/{version} ``` Updated12 months ago * * * Did this page help you? Yes No ## Alpaca Brokerage Accounts # Alpaca Brokerage Account (Live Trading) [Skip link to Alpaca Brokerage Account (Live Trading)](https://docs.alpaca.markets/docs/account-plans\#alpaca-brokerage-account-live-trading) After creating an Alpaca Paper Only Account, you can enable live trading by becoming an Alpaca Brokerage Account holder. This requires you to go through an account on-boarding process with Alpaca Securities LLC, a FINRA member and SEC registered broker-dealer. We now support brokerage accounts for individuals and business entities from around the world. With a brokerage account, you will be able to fully utilize Alpaca for your automated trading and investing needs. Using the Alpaca API, you’ll be able to buy and sell stocks in your brokerage account, and you’ll receive real-time consolidated market data. In addition, you will continue to be able to test your strategies and simulate your trades in our paper trading environment. And with the Alpaca web dashboard, it’s easy to monitor both your paper trading and your real money brokerage account. All accounts are opened as margin accounts. Accounts with $2,000 or more equity will have access to margin trading and short selling. ## Individuals [Skip link to Individuals](https://docs.alpaca.markets/docs/account-plans\#individuals) Alpaca Securities LLC supports individual taxable brokerage accounts. At this time, we do not support retirement accounts. ## Businesses/Incorporated Entities [Skip link to Businesses/Incorporated Entities](https://docs.alpaca.markets/docs/account-plans\#businessesincorporated-entities) You can open a business trading account to use Alpaca for trading purposes, but not for building apps/services. > ## 👀 Alpaca currently accepts entities that are _Corporations_, _LLCs_ and _Partnerships_ in the U.S., and around the world. There is a $50,000 minimum deposit required for opening a business account at Alpaca. # Markets Supported [Skip link to Markets Supported](https://docs.alpaca.markets/docs/account-plans\#markets-supported) Currently, Alpaca only supports trading of listed U.S. stocks and select cryptocurrencies. # The Account Object [Skip link to The Account Object](https://docs.alpaca.markets/docs/account-plans\#the-account-object) The account API serves important information related to an account, including account status, funds available for trade, funds available for withdrawal, and various flags relevant to an account’s ability to trade. An account maybe be blocked for just for trades ( `trading_blocked` flag) or for both trades and transfers ( `account_blocked` flag) if Alpaca identifies the account to be engaging in any suspicious activity. Also, in accordance with FINRA’s pattern day trading rule, an account may be flagged for pattern day trading ( `pattern_day_trader` flag), which would inhibit an account from placing any further day-trades. Please note that cryptocurrencies are not eligible assets to be used as collateral for margin accounts and will require the asset be traded using cash only. ## Sample Object [Skip link to Sample Object](https://docs.alpaca.markets/docs/account-plans\#sample-object) JSON ```rdmd-code lang-json theme-light { "account_blocked": false, "account_number": "010203ABCD", "buying_power": "262113.632", "cash": "-23140.2", "created_at": "2019-06-12T22:47:07.99658Z", "currency": "USD", "crypto_status": "ACTIVE", "non_marginable_buying_power": "7386.56", "accrued_fees": "0", "pending_transfer_in": "0", "pending_transfer_out": "0", "daytrade_count": "0", "daytrading_buying_power": "262113.632", "equity": "103820.56", "id": "e6fe16f3-64a4-4921-8928-cadf02f92f98", "initial_margin": "63480.38", "last_equity": "103529.24", "last_maintenance_margin": "38000.832", "long_market_value": "126960.76", "maintenance_margin": "38088.228", "multiplier": "4", "pattern_day_trader": false, "portfolio_value": "103820.56", "regt_buying_power": "80680.36", "short_market_value": "0", "shorting_enabled": true, "sma": "0", "status": "ACTIVE", "trade_suspended_by_user": false, "trading_blocked": false, "transfers_blocked": false } ``` ## Account Properties [Skip link to Account Properties](https://docs.alpaca.markets/docs/account-plans\#account-properties) | Attribute | Type | Description | | --- | --- | --- | | `id` | string | Account ID. | | `account_number` | string | Account number. | | `status` | string | See detailed account statuses below | | `crypto_status` | string | The current status of the crypto enablement. See detailed crypto statuses below. | | `currency` | string | "USD" | | `cash` | string | Cash balance | | `portfolio_value` | string | **\[Deprecated\]** Total value of cash + holding positions (Equivalent to the equity field) | | `non_marginable_buying_power` | string | Current available non-margin dollar buying power | | `accrued_fees` | string | The fees collected. | | `pending_transfer_in` | string | Cash pending transfer in. | | `pending_transfer_out` | string | Cash pending transfer out | | `pattern_day_trader` | boolean | Whether or not the account has been flagged as a pattern day trader | | `trade_suspended_by_user` | boolean | User setting. If `true`, the account is not allowed to place orders. | | `trading_blocked` | boolean | If `true`, the account is not allowed to place orders. | | `transfers_blocked` | boolean | If `true`, the account is not allowed to request money transfers. | | `account_blocked` | boolean | If `true`, the account activity by user is prohibited. | | `created_at` | string | Timestamp this account was created at | | `shorting_enabled` | boolean | Flag to denote whether or not the account is permitted to short | | `long_market_value` | string | Real-time MtM value of all long positions held in the account | | `short_market_value` | string | Real-time MtM value of all short positions held in the account | | `equity` | string | `cash` \+ `long_market_value` \+ `short_market_value` | | `last_equity` | string | Equity as of previous trading day at 16:00:00 ET | | `multiplier` | string | Buying power (BP) multiplier that represents account margin classification
Valid values:
\- **1** (standard limited margin account with 1x BP),
\- **2** (reg T margin account with 2x intraday and overnight BP; this is the default for all non-PDT accounts with $2,000 or more equity),
\- **4** (PDT account with 4x intraday BP and 2x reg T overnight BP) | | `buying_power` | string | Current available $ buying power; If multiplier = 4, this is your daytrade buying power which is calculated as (last _equity - (last) maintenance\_margin)_ 4; If multiplier = 2, buying _power = max(equity – initial\_margin,0)_ 2; If multiplier = 1, buying\_power = cash | | `initial_margin` | string | Reg T initial margin requirement (continuously updated value) | | `maintenance_margin` | string | Maintenance margin requirement (continuously updated value) | | `sma` | string | Value of special memorandum account (will be used at a later date to provide additional buying\_power) | | `daytrade_count` | int | The current number of daytrades that have been made in the last 5 trading days (inclusive of today) | | `last_maintenance_margin` | string | Your maintenance margin requirement on the previous trading day | | `daytrading_buying_power` | string | Your buying power for day trades (continuously updated value) | | `regt_buying_power` | string | Your buying power under Regulation T (your excess equity - equity minus margin value - times your margin multiplier) | # Account Status ENUMS [Skip link to Account Status ENUMS](https://docs.alpaca.markets/docs/account-plans\#account-status-enums) The following are the possible account status values. Most likely, the account status is `ACTIVE` unless there is an issue. The account status may get to `ACCOUNT_UPDATED` when personal information is being updated from the dashboard, in which case you may not be allowed trading for a short period of time until the change is approved. | status | description | | --- | --- | | `ONBOARDING` | The account is onboarding. | | `SUBMISSION_FAILED` | The account application submission failed for some reason. | | `SUBMITTED` | The account application has been submitted for review. | | `ACCOUNT_UPDATED` | The account information is being updated. | | `APPROVAL_PENDING` | The final account approval is pending. | | `ACTIVE` | The account is active for trading. | | `REJECTED` | The account application has been rejected. | Updatedover 1 year ago * * * Did this page help you? Yes No ## Funding Wallets Overview Funding Wallets for Broker API allows you to create a dedicated wallet with a distinct account number for each user to deposit funds into. # **Deposit Flow** [Skip link to [object Object]](https://docs.alpaca.markets/docs/funding-wallets\#deposit-flow) 1. If funding wallet has not yet been created, [create a funding wallet](https://docs.alpaca.markets/reference/createfundingwallet-1) 2. [Retrieve funding wallet details](https://docs.alpaca.markets/reference/getfundingwallet-1) 3. [Retrieve funding details for the funding wallet](https://docs.alpaca.markets/reference/listfundingdetails-1) 4. Create a deposit request 1. In sandbox, this can be simulated via this [endpoint](https://docs.alpaca.markets/reference/demodepositfunding-1) 2. In production, customer initiates a deposit from the external bank to the funding details from #3 5. [Check the status of transfers](https://docs.alpaca.markets/reference/getfundingwallettransfers-1) ![](https://files.readme.io/7dcb6ad-Funding_wallet_docs_explanation_Deposit2x.png) # **Withdrawal Flow** [Skip link to [object Object]](https://docs.alpaca.markets/docs/funding-wallets\#withdrawal-flow) 1. If recipient bank has not yet been created, [create a recipient bank](https://docs.alpaca.markets/reference/createfundingwalletrecipientbank-1) 1. Do note that depending on the country and beneficiary, the required fields might differ. 2. [Retrieve recipient bank details](https://docs.alpaca.markets/reference/getfundingwalletrecipientbank-1) 3. [Create a withdrawal request](https://docs.alpaca.markets/reference/createfundingwalletwithdrawal-1) 4. [Check the status of transfers](https://docs.alpaca.markets/reference/getfundingwallettransfers-1) ![](https://files.readme.io/2a7393d-Funding_Wallets2x_2.png) # **Statuses and Descriptions** [Skip link to [object Object]](https://docs.alpaca.markets/docs/funding-wallets\#statuses-and-descriptions) The table below details the possible statuses and their descriptions. Transfers cannot be canceled, and `complete`, `rejected`, `failed` are terminal statuses. | Status | Description | | --- | --- | | Pending | The transfer is pending to be processed. | | Executed | The transfer has been sent to the bank. | | Complete | The transfer has been settled and the balances have been updated for the accounts involved in the transaction. | | Rejected | The transfer has been rejected by the bank, this is usually due to invalid input. | | Failed | The transfer has failed, this is usually due to bank errors. | You can read more in this [blog post](https://alpaca.markets/learn/getting-started-with-funding-wallets-for-broker-api/) and our [FAQs](https://alpaca.markets/support/funding-wallets-for-broker-api-2). # **FAQ** [Skip link to [object Object]](https://docs.alpaca.markets/docs/funding-wallets\#faq) See full list of FAQs for Funding Wallets [here](https://alpaca.markets/support/funding-wallets-for-broker-api-2). 1. **What local currencies are supported?** The list can be found [here](https://alpaca.markets/support/funding-wallets-for-broker-api-2). For these local currencies, you can send a swift wire in that local currency for it to be converted to USD. You can also withdraw in these local currencies via a swift wire. 2. **What regions are supported for local rail deposits?** The list can be found [here](https://alpaca.markets/support/funding-wallets-for-broker-api-2). For these regions, local transfers can be converted to USD. 3. **What regions are supported for local rail withdrawals?** The list can be found [here](https://alpaca.markets/support/funding-wallets-for-broker-api-2). For these regions, USD can be converted to local currency and paid out locally. 4. **What regions are supported for deposits to Funding Wallets?** The list can be found [here](https://alpaca.markets/support/funding-wallets-for-broker-api-2). For these regions, we can support deposits via both local rails and swift wires. If a region is not listed here, that means that Currency Cloud (our partner) does not accept deposits from that region due to their own internal risk rating of that region. 5. **Can I test the flow in sandbox?** Yes the end to end flow can be tested in sandbox using the [demo deposit endpoint](https://docs.alpaca.markets/reference/demodepositfunding-1) to mock receiving a push deposit in the sandbox environment. The only exception to note though is that testing the end to end flow in sandbox using local rails in the US is not currently supported. This is due to a limitation with Currencycloud that prevents us from fetching the local rail deposit instructions on a per account basis. This issue is only limited to the sandbox environment and the end to end flow is functional in the limited live and production environments. Updated6 months ago * * * Did this page help you? Yes No ## Alpaca Paper Trading Paper trading is a real-time simulation environment where you can test your code. You can reset and test your algorithm as much as you want using free, real-time market data. Paper trading simulates crypto trading as well. Paper trading works the same way as live trading end to end - except the order is not routed a live exchange. Instead, the system simulates the order filling based on the real-time quotes. When you run your algorithm with the live market, there are many things that can happen that you may not see in backtesting. Orders may not be filled, prices may spike, or your network may get disconnected and retry may be needed. During the software development process, it is important to test your algorithm to catch these things in advance. > ## 🌍 Anyone globally can create an Alpaca **Paper Only Account**! All you need to do is sign up with your email address. An Alpaca **Paper Only Account** is for paper trading only. It allows you to fully utilize the Alpaca API and run your algorithm in our paper trading environment only. You won’t be trading real money, but you will be able to track your simulated activity and balance in the Alpaca web dashboard. As an Alpaca Paper Only Account holder, you are only entitled to receive and make use of IEX market data. For more information about our paper trading environment, please refer to Paper Trading Specification. # Paper vs Live [Skip link to Paper vs Live](https://docs.alpaca.markets/docs/paper-trading\#paper-vs-live) We are thrilled that many users have found paper trading useful, and we continue to work on improving our paper trading assumptions so that users may have a superior experience. However, please note that paper trading is only a simulation. It provides a good approximation for what one might expect in real trading, but it is not a substitute for real trading and performance may differ. Specifically, paper trading does not account for: - Market impact of your orders - Information leakage of your orders - Price slippage due to latency - Order queue position (for non-marketable limit orders) - Price improvement received - Regulatory fees - Dividends If you are interested to incorporate these issues into your testing, you may do so by trading a live brokerage account. Even small amounts of real money can often provide insight into issues not seen in a simulation environment. ## Paper vs Live [Skip link to Paper vs Live](https://docs.alpaca.markets/docs/paper-trading\#paper-vs-live-1) | Feature | Paper | Live | | --- | --- | --- | | Eligibility | ✅ | ✅ | | API Access | ✅ | ✅ | | Free IEX Real Time Data | ✅ | ✅ | | MFA | ✅ | ✅ | | Margin Trading | ✅ | ✅ | | Short Selling | ✅ | ✅ | | Premarket/After Hours Trading | ✅ | ✅ | | Borrow Fees | ⛔️ (Coming Soon!) | ✅ | # Comparing Other Simulators [Skip link to Comparing Other Simulators](https://docs.alpaca.markets/docs/paper-trading\#comparing-other-simulators) Users may be interested to compare their paper trading results on Alpaca with their paper trading results on other platforms such as Quantopian or Interactive Brokers. Please note there are several factors that may lead to performance differences. Paper trading platforms may have different: - Fill prices - Fill assumptions - Liquidity assumptions - Return calculation methodologies - Market data sources # Getting Started with Paper Trading [Skip link to Getting Started with Paper Trading](https://docs.alpaca.markets/docs/paper-trading\#getting-started-with-paper-trading) Your initial paper trading account is created with $100k balance as a default setting. You can reset the paper trading account at any time later with arbitrary amount as you configure. Your paper trading account will have a different API key from your live account, and all you need to do to start using your paper trading account is to replace your API key and API endpoint with ones for the paper trading. The API spec is the same between the paper trading and live accounts. The API endpoint (base URL) is displayed in your paper trading dashboard, and please follow the instruction about how to set it depending on the library you are using. In most cases, you need to set an environment variable `APCA_API_BASE_URL = https://paper-api.alpaca.markets` # Reset Your Paper Trading Account [Skip link to Reset Your Paper Trading Account](https://docs.alpaca.markets/docs/paper-trading\#reset-your-paper-trading-account) You can reset your paper trading account at any time from the dashboard. Go to the paper trading view and push the reset button. Once you reset the paper trading account, the trading history of the paper trading account is wiped out, and a new paper trading account is created based on your requested initial balance. Please make sure to re-generate the API key as the old key is associated with your old paper trading account and is not valid any longer after you reset it. # Rules and Assumptions [Skip link to Rules and Assumptions](https://docs.alpaca.markets/docs/paper-trading\#rules-and-assumptions) - Paper trading account simulates our Pattern Day Trader checks. Orders that would generate a 4th Day Trade within 5 business days will be rejected if the real-time net worth is below $25,000. Please read the [Pattern DayTrader Protection](https://docs.alpaca.markets/docs/user-protection#pattern-day-trader-pdt-protection-at-alpaca) page for more details. - Paper trading account **does NOT** simulate dividends. - Paper trading account **does NOT** send order fill emails. - Market Data API works identically. - You cannot change the account balance after it is created, unless you reset it. - Orders are filled only when they become marketable. This means that a non-marketable buy limit order will not be filled until its limit price is equal to or greater than the best ask price, and a non-marketable sell limit order will not be filled until its limit price is equal to or less than the best bid. - Your order quantity is not checked against the NBBO quantities. In other words, you can submit and receive a fill for an order that is much larger than the actual available liquidity. When orders are eligible to be filled, they will receive partial fills for a random size 10% of the time. If the order price is still marketable, the remaining quantity would be re-evaluated for a subsequent fill. - Regardless of whether you have a Paper Trading Only account or a real money brokerage account, all orders submitted in paper trading will be matched against the best available current market price (NBBO). Updatedover 1 year ago * * * Did this page help you? Yes No ## Funding Accounts Overview # Sandbox Funding [Skip link to Sandbox Funding](https://docs.alpaca.markets/docs/funding-accounts\#sandbox-funding) In the sandbox environment, Transfer API simulates deposits and withdrawals to/from an account. The target account is immediately credited or debited upon such a request. Once an account is credited, the account can start trading with the Orders API. # ACH (US Domestic) [Skip link to ACH (US Domestic)](https://docs.alpaca.markets/docs/funding-accounts\#ach-us-domestic) For US ACH, you will need to use Plaid to obtain the user’s bank account information. You then pass the information to Alpaca using [ACH API](https://docs.alpaca.markets/reference/createrecipientbank) to create a Bank Link object. Once a Bank Link between a user and their bank account is established, then you can initiate both deposit and withdrawal transactions using the [Transfers API](https://docs.alpaca.markets/reference/createtransferforaccount). # Wire [Skip link to Wire](https://docs.alpaca.markets/docs/funding-accounts\#wire) Beginning June 1, 2022, we will begin charging for outgoing wires, both domestic and international. To help you provide the optimal customer experience we support two different flows for handling the fees: 1. **The end user pays the fee for every outgoing wire transfer that they initiate.** The `fee_payment_method` field will be equal to user in this case. It’s important to note that the fee stated in your contract with Alpaca will automatically be deducted from the amount entered via the Transfers API so we strongly recommend adding a notice to your UI stating that the end user will incur a fee and they should incorporate that fee into their withdrawal request. 2. You will also have the option to **pay the fee on behalf of your user for any given transfer**. When creating the transfer, you will have to set the `fee_payment_method` field to invoice. The fee stated in your contract will not be deducted from the amount entered via the Transfers API but you will be charged this fee in your next monthly invoice. ## Wire (US Domestic) [Skip link to Wire (US Domestic)](https://docs.alpaca.markets/docs/funding-accounts\#wire-us-domestic) You can initiate a withdrawal transaction with wire transfer using the [Transfers API](https://docs.alpaca.markets/reference/createtransferforaccount). You need to create a bank object before that. For US domestic wire transactions, we will need ABA/routing number and the account number. You can supply additional text in each transaction. **In order for us to receive the deposits and book automatically, we need an “FFC” instruction in each incoming wire transaction.** Please contact us for more details. ## International Wire (SWIFT) [Skip link to International Wire (SWIFT)](https://docs.alpaca.markets/docs/funding-accounts\#international-wire-swift) Alpaca supports international wire transfers and the API endpoint is the same as the US domestic case. You need to provide the SWIFT code and account number of the beneficiary, as well as the address and name of the receiving bank. The FFC instructions above work for international wires too. # Cash Pooling [Skip link to Cash Pooling](https://docs.alpaca.markets/docs/funding-accounts\#cash-pooling) If you wish and are eligible, you can send customer deposits in a bulk to your firm account first and reconcile later using the [Journals API](https://docs.alpaca.markets/reference/createjournal). We need to review the entire flow first to allow you to do so, and also you may need a local license to implement this process. Please check your counsel for the local requirements. ## Travel Rule [Skip link to Travel Rule](https://docs.alpaca.markets/docs/funding-accounts\#travel-rule) In an effort to fight the criminal financial transactions, FinCEN enacted the [Travel Rule](https://www.fincen.gov/sites/default/files/advisory/advissu7.pdf), which mandates that financial institutions transmitting funds more than $3,000 must share specific information with the recipient institutions. FAFT further adopted this from FinCEN to set the global standard, to regulate financial institutions including virtual asset service providers (VASPs) and is being implemented by many countries. **However, Alpaca requires adherence to this policy for all incoming deposits, regardless of amount.** Under this rule, financial institutions that transmit the funds are required to submit the following information to the recipient financial institutions (financial institutions here include banks and nonbanks; essentially any party that initiates the transfers). When using the following APIs, you will need to ensure compliance with the Travel Rule by including breakdowns and transmitter information where applicable. - Journals API - [Create a Journal](https://docs.alpaca.markets/reference/createjournal) - Instant Funding API - There are two APIs under instant funding that accept transmitter information, the recommendation is to pass the information at the time of settlement creation. - [Create an intant funding request](https://docs.alpaca.markets/reference/post-v1-instant-funding) - [Create a new settlement](https://docs.alpaca.markets/reference/post-v1-instant-funding-settlements) The table given below gives an overview of the relevant fields for both the APIs along with the field descriptions. | Journals | Instant Funding | Field description | | --- | --- | --- | | `transmitter_name` | `originator_full_name` | The full name of the customer who is initiating the transaction. | | `transmitter_account_number` | `originator_bank_account_number` | The bank account number of the customer or the account number on broker partner's system that can be used to uniquely identify the customer. | | `transmitter_address` | `originator_street_address`
`originator_state`
`originator_city`
`originator_country` | The street, city, state and country of the financial institution responsible for transmitting the funds. | | `transmitter_financial_institution` | `originator_bank_name` | The name of the transmitter's financial institution | | | `other_identifying_information` | Recommended to be the originating bank's reference number for the transfer | **Please note that the purpose of this requirement is for the investigators to track the flow of funds in case they need to. Failure to do so could cause a civil enforcement.** Alpaca retains the collected information for at least five years. If the journal activities are used as part of the money transfer (other than cash movement within Alpaca), and if the journal requests don’t contain the transmitter information, we may contact you. # Instant Deposit (Beta) [Skip link to Instant Deposit (Beta)](https://docs.alpaca.markets/docs/funding-accounts\#instant-deposit-beta) As international money transfers can take days usually, under certain conditions, Alpaca supports instant deposit for better user experience. Please contact us for more details. # Post-trade Settlement [Skip link to Post-trade Settlement](https://docs.alpaca.markets/docs/funding-accounts\#post-trade-settlement) We support the post-trade settlement process (higher requirements and restrictions apply). Please contact us for more details. Updated6 months ago * * * ## Overnight Trading Overview **What is Overnight Trading?** Put simply, Overnight Trading is trading from 8 PM to 4 AM EST Sunday through Thursday. The overnight trading session allows us to provide trading 24/5 for all NMS securities. * * * **How does it work?** Overnight trade executions and market data are provided by [Blue Ocean Alternative Trading System (BOATS)](https://brokercheck.finra.org/firm/summary/306512). BOATS is an Alternative Trading System (ATS) which runs an overnight trading session on its own systems, outside traditional stock exchanges. * * * **What is the timing for the overnight session?** The overnight session bridges the gap between post-market and pre-market trading. The trading sessions are as follows: Monday- Friday Overnight: 8PM-4AM EST (Please note that the overnight session starts on the previous day) Pre-market: 4AM – 9:30AM EST Regular market: 9:30AM-4PM EST After-hours: 4PM-8PM EST Holidays The overnight session follows the NYSE calendar. When there is a market holiday there will not be an overnight session on the night of the same trade date. Example: On April 18th, 2025 there was a holiday, the overnight session didn't open between April 17 8PM to April 18 4AM session as that would be considered the trade date of the 18th. The overnight session does not follow half days when applicable to NYSE. On those occasions there will be a complete 8PM-4AM session." * * * **How do we access overnight trading?** Please contact your CSM for details on pricing and steps for enabling it for your correspondent. * * * **How do we display Market Data?** We have partnered with Blue Ocean for real time data, we provide a high accuracy indicative feed, please ask for further information from your CSM. * * * **Are there any restrictions?** 1. Only LIMIT orders are available. Other order types are not available in the overnight session. 2. TIF Day orders will remain open until the end of the trading day. If un-filled, the order will be automatically cancelled at 8PM EST. 3. TIF GTC orders are currently unavailable. 4. Margin usage is not available in the overnight session. If your order’s dollar amount exceeds your Cash Buying Power, the order will be rejected. * * * **What is the integration work required?** _Assets API_ 1. Two new attributes introduced: overnight\_tradable and overnight\_halted - overnight\_tradable - represents the asset that is eligible for overnight trading - overnight\_halted - represents the asset that could be tradable but halted from active trading (like in the case of corporate actions) _Market Data API_ 1. A new feed has been introduced named 'overnight * * * **How is day trading affected?** 1. Day trades will count within the overnight window. The following rules apply: - Trades placed in the overnight session between 8PM and 11:59PM are marked with a trade date of T+1. - Trades placed in the overnight session between 12AM and 4AM are marked with a trade date of T. Example: A trade executed at 9:00PM EST on Monday will have a trade date of Tuesday and will settle on Wednesday (T+1) Similary, a trade that executes at 2:00PM EST on Tuesday will have a trade date of Tuesday and will settle on T+1 which is Wednesday. 2. DTBP resets at 8pm 3. DTBP does not apply during the overnight trading session * * * **What is tradable in the overnight session?** All NMS securities are tradable on the overnight session. OTC securities are not part of NMS, and are therefore currently untradable. Assets that are tradable in the overnight session will exposed to you via the Assets API as Overnight\_tradable. * * * **Which order types are supported?** Only limit orders are currently supported in Extended Hours trading. * * * **Is fractional trading supported during the overnight session?** Yes, they work the same way as current Extended Hours orders. * * * **Are there any limitations on orders?** 1. Only limit orders are currently supported in Extended Hours trading. 2. Currently we only support ""Day"" for TIF (Time in Force) in Extended Hours trading, with plans to add support for GTC soon." * * * **Will Corporate Actions(CA) have any effect on overnight trading?** A pending CA may halt a security from trading whilst it is being processed. Important to note that due to the way trades are dated during the overnight session, purchasing a stock in overnight trading on the ex-dividend date will not entitle you to that stock’s dividend. * * * **Is there any change to the settlement of the asset?** The overnight session marks the beginning of a new trading day. Therefore, any trades executed between 8:00PM and 12:00AM EST are assigned a trade date corresponding to the next calendar day and will settle on a T+1 basis based on that trade date. Example: A trade executed at 9:00PM EST on Monday will have a trade date of Tuesday and will settle on Wednesday (T+1) Similary, a trade that executes at 2:00PM EST on Tuesday will have a trade date of Tuesday and will settle on T+1 which is Wednesday. * * * **What happens if my order is not filled overnight?** If your order is not filled overnight, it will continue into the pre-market session. This means your order remains active and eligible to be executed during both extended and regular trading hours for the same trade day. * * * **What are the new attributes introduced in the Assets API related to overnight trading?** 1. Overnight\_tradable: represents that an asset is tradable in the overnight session 2. Overnight\_halted: represents whether an asset has been halted from active trading in the overnight session * * * The content of this article is for general information only and is believed to be accurate as of the posting date, but may be subject to change. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein. Orders placed outside regular trading hours (9:30 a.m. – 4:00 p.m. ET) may experience price fluctuations, partial executions, or delays due to lower liquidity and higher volatility. Orders not designated for extended hours execution will be queued for the next trading session. Additionally, fractional trading may be limited during extended hours. For more details, please review [Alpaca’s Extended Hours Trading Risk Disclosure](https://files.alpaca.markets/disclosures/library/ExtHrsRisk.pdf). All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not ensure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC (""Alpaca Securities""), member [FINRA](https://www.finra.org/)/ [SIPC](https://www.sipc.org/), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC (""Alpaca Crypto""), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto, respectively, are not registered or licensed, as applicable." * * * Updatedabout 5 hours ago * * * Did this page help you? Yes No ## Crypto Orders API You can submit crypto orders through the traditional orders API endpoints ( `POST/orders`). - The following order types are supported: `market`, `limit` and `stop_limit` - The following `time_in_force` values are supported: `gtc`, and `ioc` - We accept fractional orders as well with either `notional` or `qty` provided You can submit crypto orders for a any supported crypto pair via API, see the below cURL POST request. cURL ```rdmd-code lang-curl theme-light curl --request POST 'https://paper-api.alpaca.markets/v2/orders' \ --header 'Apca-Api-Key-Id: ' \ --header 'Apca-Api-Secret-Key: ' \ --header 'Content-Type: application/json' \ --data-raw '{ "symbol": "BTC/USD", "qty": "0.0001", "side": "buy", "type": "market", "time_in_force": "gtc" }' ``` The above request submits a market order via API to buy 0.0001 BTC with USD (BTC/USD pair) that is good till end of day. Updatedover 1 year ago * * * ## Alpaca Trading API Overview # Fractional Shares [Skip link to Fractional Shares](https://docs.alpaca.markets/docs/brokerapi-trading\#fractional-shares) Under the correspondent authentication, Trading API is extended for fractional shares trading. ## Asset API [Skip link to Asset API](https://docs.alpaca.markets/docs/brokerapi-trading\#asset-api) Asset entity has an extra field named fractionable with type boolean, it is set to true if the asset is marked for fractional trading. Check out more about our Assets API [here](https://docs.alpaca.markets/reference/getassets). ## Order API [Skip link to Order API](https://docs.alpaca.markets/docs/brokerapi-trading\#order-api) The `POST` method (to submit order) has an extra parameter called `notional` to denote the dollar amount to buy. This parameter is mutually exclusive to the qty parameter. You can also specify the `qty` parameter with fractional quantity. Note that the fractional shares trading is currently supported only for market day orders and any other type of orders will result in API error. You can submit such fractional share orders in the night to execute at the next market open. The order entity includes the `notional` value if the order was submitted with the notional value. In this case, the order entity omits the `qty` field. Check out more about our Order API [here](https://docs.alpaca.markets/reference/createorderforaccount-1). ### Sample Order Object [Skip link to Sample Order Object](https://docs.alpaca.markets/docs/brokerapi-trading\#sample-order-object) JSON ```rdmd-code lang-json theme-light { "id": "39c489ad-fcb1-42b3-9f62-e14c11c62157", "client_order_id": "a49c3e74-3f74-468e-a31a-f7a15de17128", "created_at": "2024-05-20T09:56:41.449735Z", "updated_at": "2024-05-20T13:30:00.876162Z", "submitted_at": "2024-05-20T13:23:01.24795Z", "filled_at": "2024-05-20T13:30:00.865454Z", "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "7595a8d2-68a6-46d7-910c-6b1958491f5c", "symbol": "A", "asset_class": "us_equity", "notional": null, "qty": "0.1", "filled_qty": "0.1", "filled_avg_price": "154.03", "order_class": "", "order_type": "market", "type": "market", "side": "sell", "time_in_force": "day", "limit_price": null, "stop_price": null, "status": "filled", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "subtag": null, "source": "correspondent" }, ``` ### Order Properties [Skip link to Order Properties](https://docs.alpaca.markets/docs/brokerapi-trading\#order-properties) | Attribute | Type | Description | | --- | --- | --- | | id | string/UUID | Order ID generated by Alpaca | | client\_order\_id | string/UUID | Client unique order ID | | created\_at | string/timestamp | Time when order was entered | | updated\_at | string/timestamp | Time of most recent change to the order | | submitted\_at | string/timestamp | Time the order was submitted for execution or, if not yet submitted the `created_at` time. Because orders are submitted for execution asynchronous to database updates, at times this may be before the `created_at` time. | | filled\_at | string/timestamp | Time the order was filled. Can be null if not filled | | expired\_at | string/timestamp | Can be null | | cancelled\_at | string/timestamp | Can be null | | failed\_at | string/timestamp | Can be null | | replaced\_at | string/timestamp | Can be null | | replaced\_by | string/UUID | The order ID that this order was replaced by. (Can be null) | | replaces | string/UUID | The order ID that this order replaces. (Can be null) | | asset\_id | string/UUID | The asset ID | | symbol | string | The asset symbol | | asset\_class | string | The asset class | | notional | string/number | Ordered notional amount. If entered, qty will be null. Can take up to 2 decimal points. | | qty | string/number | Ordered quantity. If entered, notional will be null. Can take up to 9 decimal points. | | filled\_qty | string/number | Filled quantity. | | filled\_avg\_price | string/number | Filled average price. Can be 0 until order is processed in case order is passed outside of market hours. | | order\_class | string | Valid values: `simple`, `bracket`, `oco` or `oto`. | | order\_type | string/number | (Will be deprecated in favor of type field below) Valid values: market, limit, stop, stop\_limit, trailing\_stop | | type | string | Valid values: `market`, `limit`, `stop`, `stop_limit`, `trailing_stop`. | | side | string | Valid values: `buy` and `sell`. | | time\_in\_force | string | Please see the relevant section in [Time in Force](https://docs.alpaca.markets/docs/orders-at-alpaca#time-in-force) for more info on what values are possible for what kind of orders. | | limit\_price | string/number | Limit price. | | stop\_price | string/number | Stop price. | | status | string | Order status. See Order statuses [here](https://docs.alpaca.markets/docs/orders-at-alpaca#order-lifecycle). | | extended\_hours | boolean | If `true`, eligible for execution outside regular trading hours. | | legs | array | When querying non-simple order\_class orders in a nested style, an array of Order entities associated with this order. Otherwise, null. | | trail\_percent | string/number | The percent value away from the high water mark for trailing stop orders. | | trail\_price | string/number | The dollar value away from the high water mark for trailing stop orders. | | hwm | string/number | The highest (lowest) market price seen since the trailing stop order was submitted. | | commission | string/number | The commission you want to charge the end user. | | commission\_type | string | Select how to interpret the value provided in the commission field.
Available options: notional(default), qty, bps. | | subtag | string/number | An account identifier for Omnibus partners. (Can be null) | | source | string | Source of order. | ## Account Configuration API [Skip link to Account Configuration API](https://docs.alpaca.markets/docs/brokerapi-trading\#account-configuration-api) Account configuration API adds another configuration key called `fractional_trading` and defaults to `true`. If you want to disable fractional trading for a specific account for any reason, you can set this to `false`. # Commissions [Skip link to Commissions](https://docs.alpaca.markets/docs/brokerapi-trading\#commissions) You have the option to charge the commission for each order. You will need to contact Alpaca first to set up the commission structure, but once it’s set up, you can submit customer orders with a `commission` parameter indicating the dollar amount to charge. The respective field is attached in the order entity in the API response. To charge commissions, first select desired method with `commission_type`. Then specify the desired dollar amount or percentage in `commission` field. Please note: On orders to sell if the commission input will be more than the principal of the transaction then the principal amount of the transaction (net of SEC REG and FINRA TAF fees) will be charged as commission and not the amount specified in the order. On all orders (regardless of commission type), the commission charged will be prorated on each execution if the order has multiple executions. For instance, if 10% of the order is filled on one execution then the commission on that execution will be 10% of the total commission. - notional: Charge commission on a per order basis. When the `commission_type` field is omitted from the order request, this is used as the default. - qty: Charge commission on a per qty/contract basis, pro rated. - bps: The percent commission you want to charge the end user on the order (expressed in bps). Alpaca will convert the order to a notional amount for purposes of calculating commission. # Order Sub-tagging (Omnibus) [Skip link to Order Sub-tagging (Omnibus)](https://docs.alpaca.markets/docs/brokerapi-trading\#order-sub-tagging-omnibus) If you are an omnibus setup, we ask you to submit a “sub-tag” value in each order. This is for us to understand the order flow better from the trade surveillance requirements. In case you fail to attach proper sub-tags, we may need to reject all of the order flows coming from you as we may not be able to segregate particular malicious activities. # FAQ [Skip link to FAQ](https://docs.alpaca.markets/docs/brokerapi-trading\#faq) **What should I do if I receive a timeout message from Alpaca when submitting an order?** The order may have been sent to the market for execution. You should not attempt to resend the order or mark the timed-out order as canceled until confirmed by Alpaca Support or the trading team. Before taking any action on the timed-out order you should check the broker dashboard and contact Alpaca support. Please contact our Support Team at [support@alpaca.markets](mailto:support@alpaca.markets) to verify if the order was successfully submitted and routed to the market. Updated6 months ago * * * ## Crypto Trading Fees While Alpaca stock trading remains commission-free, crypto trading includes a small fee per trade dependent on your executed volume and order type. Any market or exchange consists of two parties, buyers and sellers. When you place an order to buy crypto on the Alpaca Exchange, there is someone else on the other side of the trade selling what you want to buy. The seller's posted order on the order book is providing liquidity to the exchange and allows for the trade to take place. Note, that both buyers and sellers can be makers or takers depending on the order entered and current quote of the coin. **A maker is someone who adds liquidity, and the order gets placed on the order book. A Taker on the other hand removes the liquidity by placing a market or marketable limit order which executes against posted orders.** See the below table with volume-tiered fee pricing: | Tier | 30D Crypto Volume (USD) | Maker | Take | | --- | --- | --- | --- | | 1 | 0 - 100,000 | 0.15% | 0.25% | | 2 | 100,000 - 500,000 | 0.12% | 0.22% | | 3 | 500,000 - 1,000,000 | 0.10% | 0.20% | | 4 | 1,000,000 - 10,000,000 | 0.08% | 0.18% | | 5 | 10,000,000- 25,000,000 | 0.05% | 0.15% | | 6 | 25,000,000 - 50,000,000 | 0.02% | 0.13% | | 7 | 50,000,000 - 100,000,000 | 0.02% | 0.12% | | 8 | 100,000,000+ | 0.00% | 0.10% | The crypto fee will be charged on the credited crypto asset/fiat (what you receive) per trade. Some examples: - Buy `ETH/BTC`, you receive `ETH`, the fee is denominated in `ETH` - Sell `ETH/BTC`, you receive `BTC`, the fee is denominated in `BTC` - Buy `ETH/USD`, you receive `ETH`, the fee is denominated in `ETH` - Sell `ETH/USD`, you receive `USD`, the fee is denominated in `USD` To get the fees incurred from crypto trading you can use Activities API to query `activity_type` by `CFEE` or `FEE`. See below example of CFEE object: JSON ```rdmd-code lang-json theme-light { "id": "20220812000000000::53be51ba-46f9-43de-b81f-576f241dc680", "activity_type": "CFEE", "date": "2022-08-12", "net_amount": "0", "description": "Coin Pair Transaction Fee (Non USD)", "symbol": "ETHUSD", "qty": "-0.000195", "price": "1884.5", "status": "executed" } ``` Fees are currently calculated and posted end of day. If you query on same day of trade you might not get results. We will be providing an update for fee posting to be real-time in the near future. > ## 📘 Check out our Crypto Trading FAQ [here](https://alpaca.markets/support/alpaca-crypto-coin-pair-faq) Updated5 months ago * * * ## Rebalancing API Overview [Rebalancing API](https://docs.alpaca.markets/reference/get-v1-rebalancing-portfolios) offers investment advisors a way to easily create investment portfolios that are automatically updated to the specified cash, stock symbol percentage weights, rebalance conditions, and triggers selected. Some helpful definitions before an overview of the rebalancing flow: - Portfolios: An allocation containing securities and/or cash with specific weights and conditions to be met - Subscriptions: Accounts can be subscribed to a created portfolio and follow rebalancing events to ensure the account if kept in sync with the target portfolio - Runs: A run is a set of orders that will be sent for execution to achieve a goal (liquidating a specified amount to set it aside for withdrawal or doing a full rebalance to the target allocation) > ## 📘 Rebalancing API Resource > > - [Postman Collection](https://www.postman.com/alpacamarkets/workspace/alpaca-public-workspace/folder/19455863-8fea51d0-40bf-4680-9da2-b0de1a7c8b18?ctx=documentation) > - [How to Get Started with Rebalancing API](https://alpaca.markets/learn/how-to-get-started-with-rebalancing-api/) > - [Rebalancing API Reference](https://docs.alpaca.markets/reference/get-v1-rebalancing-portfolios) # Types of Rebalancing [Skip link to Types of Rebalancing](https://docs.alpaca.markets/docs/portfolio-rebalancing\#types-of-rebalancing) Rebalancing API offers two types of rebalancing conditions: - **Drift Band**: When a portfolio breaches a certain threshold, irrespective of the time period elapsed, the portfolio is adjusted. For instance, if we put a +/- 10% band on a portfolio, we would automatically adjust the entire portfolio when we reach the threshold for one of the holdings - **Calendar**: At the desired period, the state of the portfolio is analyzed and the portfolio is rebalanced to the default portfolio. For example, on April 1st our 50:50 AAPL TLT portfolio is not 55:45, so we would need to liquidate TLT and buy more AAPL to return to the desired state of exposure of 50:50. # Create a Portfolio [Skip link to Create a Portfolio](https://docs.alpaca.markets/docs/portfolio-rebalancing\#create-a-portfolio) To create a portfolio use the [Create Portfolio](https://docs.alpaca.markets/reference/post-v1-rebalancing-portfolios) `POST` endpoint. See below see example payload to create a portfolio with a mix of cash and securities: JSON ```rdmd-code lang-json theme-light { "name": "Balanced", "description": "A balanced portfolio of stocks and bonds", "weights": [\ {\ "type": "cash",\ "percent": "5"\ },\ {\ "type": "asset",\ "symbol": "SPY",\ "percent": "60"\ },\ {\ "type": "asset",\ "symbol": "TLT",\ "percent": "35"\ }\ ], "cooldown_days": 7, "rebalance_conditions": [\ {\ "type": "drift_band",\ "sub_type": "absolute",\ "percent": "5"\ },\ {\ "type": "drift_band",\ "sub_type": "relative",\ "percent": "20"\ }\ ] } ``` Once exeuted, you can find the portfolio ID in the response payload similar to the one below. In our case our newly created portfolio ID is 2d49d00e-ab1c-4014-89d8-70c5f64df2fc. This will be needed to be able to subscribe an account to follow this new portfolio. JSON ```rdmd-code lang-json theme-light { "id": "2d49d00e-ab1c-4014-89d8-70c5f64df2fc", "name": "Balanced Two", "description": "A balanced portfolio of stocks and bonds", "status": "active", "cooldown_days": 7, "created_at": "2022-08-07T14:56:45.116867815-04:00", "updated_at": "2022-08-07T14:56:45.196857944-04:00", "weights": [\ {\ "type": "cash",\ "symbol": null,\ "percent": "5"\ },\ {\ "type": "asset",\ "symbol": "SPY",\ "percent": "60"\ },\ {\ "type": "asset",\ "symbol": "TLT",\ "percent": "35"\ }\ ], "rebalance_conditions": [\ {\ "type": "drift_band",\ "sub_type": "absolute",\ "percent": "5",\ "day": null\ },\ {\ "type": "drift_band",\ "sub_type": "relative",\ "percent": "20",\ "day": null\ }\ ] } ``` You can also list all your created portfolios with the List All Portfolios endpoint. # Subscribe Account to a Portfolio [Skip link to Subscribe Account to a Portfolio](https://docs.alpaca.markets/docs/portfolio-rebalancing\#subscribe-account-to-a-portfolio) Once you have a portfolio created, the next step is to subscribe a given account to follow a portfolio. This will ensure that when rebalancing conditions are found the accounts is subscribed to have the needed orders executed. To subscribe an account to our newly created portfolio and its rebalancing conditions we create a new subscription. For example, to subscribe account ID bf2b0f93-f296-4276-a9cf-288586cf4fb7 to our newly created portfolio from before, we use the Create Subscriptions endpoint with the following JSON payload, JSON ```rdmd-code lang-json theme-light { "account_id": "bf2b0f93-f296-4276-a9cf-288586cf4fb7", "portfolio_id": "57d4ec79-9658-4916-9eb1-7c672be97e3e" } ``` # Check Rebalancing Events [Skip link to Check Rebalancing Events](https://docs.alpaca.markets/docs/portfolio-rebalancing\#check-rebalancing-events) Once an account is subscribed to a portfolio, we need to wait for the first rebalancing event to happen. We can check completed rebalancing events for all our accounts by using the [List All Runs endpoint](https://docs.alpaca.markets/reference/get-v1-rebalancing-runs). cURL ```rdmd-code lang-curl theme-light curl --location --request GET '{{HOST}}/v1/beta/rebalancing/runs?status=COMPLETED_SUCCESS' \ --header 'Authorization: Basic ' \ --data-raw '' ``` See example payload of a succesful run, JSON ```rdmd-code lang-json theme-light { "runs": [\ {\ "id": "36699e7f-56a0-4b87-8e03-968363f4b6df",\ "type": "full_rebalance",\ "amount": null,\ "initiated_from": "system",\ "status": "COMPLETED_SUCCESS",\ "reason": null,\ "account_id": "b3130eeb-1219-46f3-8bfb-7715f00d736b",\ "portfolio_id": "4ad7d634-a60d-4e6e-955f-3c68ee24d285",\ "weights": [\ {\ "type": "cash",\ "symbol": null,\ "percent": "5"\ },\ {\ "type": "asset",\ "symbol": "SPY",\ "percent": "60"\ },\ {\ "type": "asset",\ "symbol": "TLT",\ "percent": "35"\ }\ ],\ "orders": [\ {\ "id": "c29dd94b-eaaf-4681-9d1f-4fd47571804b",\ "client_order_id": "cb2d1ff5-8355-4c92-84d7-dfff43f44cb2",\ "created_at": "2022-03-08T16:51:07.442125Z",\ "updated_at": "2022-03-08T16:51:07.525039Z",\ "submitted_at": "2022-03-08T16:51:07.438495Z",\ "filled_at": "2022-03-08T16:51:07.520169Z",\ "expired_at": null,\ "canceled_at": null,\ "failed_at": null,\ "replaced_at": null,\ "replaced_by": null,\ "replaces": null,\ "asset_id": "3b64361a-1960-421a-9464-a484544193df",\ "symbol": "SPY",\ "asset_class": "us_equity",\ "notional": "30443.177578017",\ "qty": null,\ "filled_qty": "72.865432211",\ "filled_avg_price": "417.8",\ "order_class": "",\ "order_type": "market",\ "type": "market",\ "side": "buy",\ "time_in_force": "day",\ "limit_price": null,\ "stop_price": null,\ "status": "filled",\ "extended_hours": false,\ "legs": null,\ "trail_percent": null,\ "trail_price": null,\ "hwm": null,\ "subtag": null,\ "source": null\ },\ {\ "id": "ab772dcb-b67c-4173-a5b5-e31b9ad236b5",\ "client_order_id": "d6278f6c-3010-45ce-aaee-6e64136deec0",\ "created_at": "2022-03-08T16:51:07.883352Z",\ "updated_at": "2022-03-08T16:51:07.934602Z",\ "submitted_at": "2022-03-08T16:51:07.877726Z",\ "filled_at": "2022-03-08T16:51:07.928907Z",\ "expired_at": null,\ "canceled_at": null,\ "failed_at": null,\ "replaced_at": null,\ "replaced_by": null,\ "replaces": null,\ "asset_id": "a106d0ef-e6f2-4736-8750-5dee1cadf75b",\ "symbol": "TLT",\ "asset_class": "us_equity",\ "notional": "17121.076868834",\ "qty": null,\ "filled_qty": "124.408348124",\ "filled_avg_price": "137.62",\ "order_class": "",\ "order_type": "market",\ "type": "market",\ "side": "buy",\ "time_in_force": "day",\ "limit_price": null,\ "stop_price": null,\ "status": "filled",\ "extended_hours": false,\ "legs": null,\ "trail_percent": null,\ "trail_price": null,\ "hwm": null,\ "subtag": null,\ "source": null\ }\ ],\ "completed_at": null,\ "canceled_at": null,\ "created_at": "2022-03-08T16:36:07.053482Z",\ "updated_at": "2022-03-08T16:51:08.53806Z"\ },\ ...\ ], "next_page_token": 100 } ``` > ## 📘 Note > > Cash inflows to the account (deposits, cash journals, etc.) will trigger buy trades to reduce drift. # Manually Trigger Rebalancing Event (Run) [Skip link to Manually Trigger Rebalancing Event (Run)](https://docs.alpaca.markets/docs/portfolio-rebalancing\#manually-trigger-rebalancing-event-run) Rebalancing API will automatically configure systems to watch for portfolio rebalancing conditions and execute necessary orders. However, if you need to execute a rebalancing run see reference of [Create Run endpoint](https://docs.alpaca.markets/reference/post-v1-rebalancing-runs). > ## 🚧 Manually executing a run is currently only allowed for accounts who do not have an active subscription. # Portfolio Rebalance Evaluation [Skip link to Portfolio Rebalance Evaluation](https://docs.alpaca.markets/docs/portfolio-rebalancing\#portfolio-rebalance-evaluation) Portfolios are evaluated for potential rebalancing based on specific conditions checked in a defined order. **Prerequisites:** - **Status:** - Only portfolios with an `active` status are considered for evaluation. - If an asset within a portfolio is found to be inactive, non-fractionable, or untradable during a rebalance, the portfolio's status automatically transitions to `needs_adjustment`. - **Change required:** Portfolios in `needs_adjustment` are excluded from evaluation. To re-enable evaluation for such portfolios, you must first update their status back to `active` using a `PATCH` request. - **Weights:** - portfolio weights are required to have a `percent` greater than zero. - If a weight of type cash has its percent set to zero, it will be automatically removed from the portfolio configuration **Evaluation Order and Conditions:** The system checks for the following conditions sequentially. The first condition met may trigger a rebalance (or place the portfolio in a state requiring rebalance): 1. **`in_cooldown`**: Checks if the portfolio is currently within a defined cooldown period following a previous rebalance. If true, evaluation may stop here for this cycle. 2. **`calendar`**: Checks for scheduled rebalancing based on predefined intervals: - Annually - Quarterly - Monthly - Weekly 3. **`drift_band`**: Checks if portfolio asset allocations have deviated beyond configured thresholds: - `absolute`: Deviation measured in absolute percentage points (e.g., target is 10%, drift triggers if allocation goes below 8% or above 12% for a 2% absolute threshold). - `relative`: Deviation measured relative to the target allocation percentage (e.g., target is 10%, drift triggers if allocation goes below 9% or above 11% for a 10% relative threshold). **Important Considerations:** - **Minimum Order Size:** Be aware that a minimum order value (often around $1 per asset) typically applies during rebalancing trades. This means sufficient cash balance is required to execute orders across potentially many assets. An estimated minimum cash need could be `(Number of Assets in Portfolio) * $1`. Plan account funding accordingly, especially for portfolios with many assets. **Daily Processing Runs** Portfolios are evaluated daily for one of two mutually exclusive processing runs: `full_rebalance` or `invest_cash`. Only one type of run can execute per portfolio per day. The system checks eligibility in the following order: 1. `full_rebalance`: To realign the portfolio's current holdings to match its target weights as closely as possible, it will execute both buy and sell orders. (Note: This run typically triggers based on portfolio drift or other rebalancing criteria). 2. `invest_cash`: If a `full_rebalance` is not executed, the system then checks if an `invest_cash` run can be performed. This requires the portfolio's account to have an available cash balance exceeding $10 USD. If triggered, `invest_cash` only executes buy orders, utilizing the available cash to shift the portfolio's allocation closer to its target weights. This can occur a maximum of once per day. # FAQ [Skip link to FAQ](https://docs.alpaca.markets/docs/portfolio-rebalancing\#faq) **Q: What is the minimum cash required for a rebalancing run?** For a rebalancing run to occur, there must be a minimum of $1 per asset in the portfolio. Example 1 - A portfolio that is 50% AAPL, 25% TSLA, 25% GOOGL Assuming all other rebalancing conditions and cooldown days are met, a rebalancing run would only occur with at least $1 per asset in the portfolio deposited. Anything less would not trigger a rebalance. Example 2 - A portfolio that is 50% AAPL, 25% TSLA, 25% CASH Assuming all other rebalancing conditions and cooldown days are met, a rebalancing run would only occur with at least $1 per asset in the portfolio deposited. Anything less would not trigger a rebalance. For an invest\_cash run to occur, a minimum of $10 must be deposited. **Q: Can rebalancing run partially for some assets where minimum notional is satisfied but not run for the assets where minimum notional is not satisfied?** Yes. If a portfolio has 11 assets, but only $10 is deposited, there will be a partial rebalancing where 10 assets will be invested in. **Q: When does a Rebalancing Job or invest\_cash job run at Alpaca?** When cash is first invested into a portfolio (assuming the minimum cash requirement is met), a rebalancing job of type full\_rebalance will occur. Thereafter, if a minimum of $10 is invested, an invest\_cash job will run regardless of the portfolio rebalancing conditions and the cooldown period. After the cooldown period, and if the rebalancing conditions are met, then a rebalancing job will run. Both the rebalance and invest\_cash jobs run between 930am -330pm EST . **Q: What are the steps for Cash Withdrawal if a user wants to close the positions and withdraw their cash?** The steps are as follows: 1. Unsubscribe the user using the [https://broker-api.sandbox.alpaca.markets/v1/rebalancing/subscriptions/{subscription\_id}](https://broker-api.sandbox.alpaca.markets/v1/rebalancing/subscriptions/%7Bsubscription_id%7D) DELETE request. 2. Execute a manual run with revised portfolio weights using the [https://broker-api.sandbox.alpaca.markets/v1/rebalancing/runs](https://broker-api.sandbox.alpaca.markets/v1/rebalancing/runs) POST request. 3. Wait for the desired amount to be available as withdrawable cash, and then make a GET request to [https://broker-api.sandbox.alpaca.markets/v1/trading/accounts/{account\_id}/account](https://broker-api.sandbox.alpaca.markets/v1/trading/accounts/%7Baccount_id%7D/account) and check if cash\_withdrawable has the desired amount. \*Note: The amount credited from the trade, will be available for withdrawal on the next trading day (T+1). 4. Journal the money from user account to firm account using the [https://broker-api.sandbox.alpaca.markets/v1/journals](https://broker-api.sandbox.alpaca.markets/v1/journals) POST request. 5. Subscribe the user back to their portfolio using the [https://broker-api.sandbox.alpaca.markets/v1/rebalancing/subscriptions](https://broker-api.sandbox.alpaca.markets/v1/rebalancing/subscriptions) POST request. **Q: Under what conditions might the rebalancer stop rebalancing my portfolio?** The rebalancer may cease operations if your account encounters certain restrictions that block trading activities. These include: - **Pattern Day Trading (PDT) Flag:** If your account is marked as a Pattern Day Trader, trading will be restricted. For more details, refer to our PDT rule explanation. - **ACH Return**: When an ACH deposit is returned by your bank, your account is automatically restricted and will lead to trading blocks on your account. - **Position to Equity Ratio Exceeded:** This is calculated as (position\_market\_value / equity). If this ratio exceeds the maximum allowed limit (6:1), the account will be restricted during buying power verification. - **Crypto Trading Restriction:** Set when account is restricted to liquidation for crypto trading - **Options Trading Restriction**: Set when account is restricted to liquidation for options trading - **Unspecified Restrictions:** Other unforeseen issues may also result in trading limitations. To ensure continuous rebalancing run functionality, it's crucial to monitor your account for these conditions and address any issues promptly. Updated19 days ago * * * ## Account Activities Overview # The TradeActivity Object [Skip link to The TradeActivity Object](https://docs.alpaca.markets/docs/account-activities\#the-tradeactivity-object) ## Sample TradeActivity [Skip link to Sample TradeActivity](https://docs.alpaca.markets/docs/account-activities\#sample-tradeactivity) JSON ```rdmd-code lang-json theme-light { "activity_type": "FILL", "cum_qty": "1", "id": "20190524113406977::8efc7b9a-8b2b-4000-9955-d36e7db0df74", "leaves_qty": "0", "price": "1.63", "qty": "1", "side": "buy", "symbol": "LPCN", "transaction_time": "2019-05-24T15:34:06.977Z", "order_id": "904837e3-3b76-47ec-b432-046db621571b", "type": "fill" } ``` ## Properties [Skip link to Properties](https://docs.alpaca.markets/docs/account-activities\#properties) | Attribute | Type | Description | | --- | --- | --- | | `activity_type` | string | For trade activities, this will always be `FILL` | | `cum_qty` | string | The cumulative quantity of shares involved in the execution. | | `id` | string | An ID for the activity. Always in `::` format. Can be sent as `page_token` in requests to facilitate the paging of results. | | `leaves_qty` | string | For `partially_filled` orders, the quantity of shares that are left to be filled. | | `price` | string | The per-share price that the trade was executed at. | | `qty` | string | The number of shares involved in the trade execution. | | `side` | string | `buy` or `sell` | | `symbol` | string | The symbol of the security being traded. | | `transaction_time` | string | The time at which the execution occurred. | | `order_id` | string | The id for the order that filled. | | `type` | string | `fill` or `partial_fill` | # The NonTradeActivity (NTA) Object [Skip link to The NonTradeActivity (NTA) Object](https://docs.alpaca.markets/docs/account-activities\#the-nontradeactivity-nta-object) ## Sample NTA [Skip link to Sample NTA](https://docs.alpaca.markets/docs/account-activities\#sample-nta) JSON ```rdmd-code lang-json theme-light { "activity_type": "DIV", "id": "20190801011955195::5f596936-6f23-4cef-bdf1-3806aae57dbf", "date": "2019-08-01", "net_amount": "1.02", "symbol": "T", "cusip": "C00206R102", "qty": "2", "per_share_amount": "0.51" } ``` ## Properties [Skip link to Properties](https://docs.alpaca.markets/docs/account-activities\#properties-1) | Attribute | Type | Description | | --- | --- | --- | | `activity_type` | string | See below for a list of possible values. | | `id` | string | An ID for the activity. Always in `::` format. Can be sent as `page_token` in requests to facilitate the paging of results. | | `date` | string | The date on which the activity occurred or on which the transaction associated with the activity settled. | | `net_amount` | string | The net amount of money (positive or negative) associated with the activity. | | `symbol` | string | The symbol of the security involved with the activity. Not present for all activity types. | | `cusip` | string | The CUSIP of the security involved with the activity. Not present for all activity types. | | `qty` | string | For dividend activities, the number of shares that contributed to the payment. Not present for other activity types. | | `per_share_amount` | string | For dividend activities, the average amount paid per share. Not present for other activity types. | # Pagination of Results [Skip link to Pagination of Results](https://docs.alpaca.markets/docs/account-activities\#pagination-of-results) Pagination is handled using the `page_token` and `page_size` parameters. `page_token` represents the ID of the end of your current page of results. If specified with a direction of desc, for example, the results will end before the activity with the specified ID. If specified with a direction of `asc`, results will begin with the activity immediately after the one specified. `page_size` is the maximum number of entries to return in the response. If `date` is not specified, the default and maximum value is 100. If `date` is specified, the default behavior is to return all results, and there is no maximum page size. # Activity Types [Skip link to Activity Types](https://docs.alpaca.markets/docs/account-activities\#activity-types) | `activity_type` | Description | | --- | --- | | `FILL` | Order fills (both partial and full fills) | | `TRANS` | Cash transactions (both CSD and CSW) | | `MISC` | Miscellaneous or rarely used activity types (All types except those in TRANS, DIV, or FILL) | | `ACATC` | ACATS IN/OUT (Cash) | | `ACATS` | ACATS IN/OUT (Securities) | | `CFEE` | Crypto fee | | `CSD` | Cash deposit(+) | | `CSW` | Cash withdrawal(-) | | `DIV` | Dividends | | `DIVCGL` | Dividend (capital gain long term) | | `DIVCGS` | Dividend (capital gain short term) | | `DIVFEE` | Dividend fee | | `DIVFT` | Dividend adjusted (Foreign Tax Withheld) | | `DIVNRA` | Dividend adjusted (NRA Withheld) | | `DIVROC` | Dividend return of capital | | `DIVTW` | Dividend adjusted (Tefra Withheld) | | `DIVTXEX` | Dividend (tax exempt) | | `FEE` | Fee denominated in USD | | `INT` | Interest (credit/margin) | | `INTNRA` | Interest adjusted (NRA Withheld) | | `INTTW` | Interest adjusted (Tefra Withheld) | | `JNL` | Journal entry | | `JNLC` | Journal entry (cash) | | `JNLS` | Journal entry (stock) | | `MA` | Merger/Acquisition | | `NC` | Name change | | `OPASN` | Option assignment | | `OPEXP` | Option expiration | | `OPXRC` | Option exercise | | `PTC` | Pass Thru Charge | | `PTR` | Pass Thru Rebate | | `REORG` | Reorg CA | | `SC` | Symbol change | | `SSO` | Stock spinoff | | `SSP` | Stock split | Updatedabout 2 months ago * * * ## Alpaca API Authentication # Live Trading [Skip link to Live Trading](https://docs.alpaca.markets/docs/authentication-1\#live-trading) Alpaca’s live API domain is `https://api.alpaca.markets`. Every private API call requires key-based authentication. API keys can be acquired in the developer web console. The client must provide a pair of API key ID and secret key in the HTTP request headers named `APCA-API-KEY-ID` and `APCA-API-SECRET-KEY`, respectively. Here is an example using curl showing how to authenticate with the API. cURL ```rdmd-code lang-curl theme-light curl -X GET \ -H "APCA-API-KEY-ID: {YOUR_API_KEY_ID}" -H "APCA-API-SECRET-KEY: {YOUR_API_SECRET_KEY}" https://{apiserver_domain}/v2/account ``` # Paper Trading [Skip link to Paper Trading](https://docs.alpaca.markets/docs/authentication-1\#paper-trading) Alpaca’s paper trading service uses a different domain and different credentials from the live API. You’ll need to connect to the right domain so that you don’t run your paper trading algo on your live account. To use the paper trading api, set `APCA-API-KEY-ID` and `APCA-API-SECRET-KEY` to your paper credentials, and set the domain to `https://paper-api.alpaca.markets`. After you have tested your algo in the paper environment and are ready to start running your algo in the live environment, you can switch the domain to the live domain, and the credentials to your live credentials. Your algo will then start trading with real money. To learn more about paper trading, visit the paper trading page. Updatedover 1 year ago * * * ## Options Orders Guide # Tier 1 Orders [Skip link to Tier 1 Orders](https://docs.alpaca.markets/docs/options-orders\#tier-1-orders) ## Sell a Covered Call [Skip link to Sell a Covered Call](https://docs.alpaca.markets/docs/options-orders\#sell-a-covered-call) ```rdmd-code lang- theme-light { "symbol": "AAPL231201C00195000", "qty": "2", "side": "sell", "type": "limit", "limit_price": "1.05", "time_in_force": "day" } ``` Note, the account must have an existing position of 200 shares of AAPL as the order is for 2 contracts, and each option contract is for 100 shares of underlying. ## Sell a Cash-Secured Put [Skip link to Sell a Cash-Secured Put](https://docs.alpaca.markets/docs/options-orders\#sell-a-cash-secured-put) ```rdmd-code lang- theme-light { "symbol": "AAPL231201P00175000", "qty": "1", "side": "sell", "type": "market", "time_in_force": "day" } ``` Note, the account must have sufficient buying power. The account must have ($175 strike) x (100 shares) x (1 contract) = $17,500 USD buying power available. # Tier 2 Orders [Skip link to Tier 2 Orders](https://docs.alpaca.markets/docs/options-orders\#tier-2-orders) ## Buy a Call [Skip link to Buy a Call](https://docs.alpaca.markets/docs/options-orders\#buy-a-call) ```rdmd-code lang- theme-light { "symbol": "AAPL240119C00190000", "qty": "1", "side": "buy", "type": "market", "time_in_force": "day" } ``` The account must have sufficient buying power to afford the call option. If the market order is executed at $5.10, the account must have ($5.10 execution price) x (100 shares) x (1 contract) = $510.00 USD buying power. ## Buy a Put [Skip link to Buy a Put](https://docs.alpaca.markets/docs/options-orders\#buy-a-put) ```rdmd-code lang- theme-light { "symbol": "AAPL240119P00170000", "qty": "1", "side": "buy", "type": "market", "time_in_force": "day" } ``` The account must have sufficient buying power to afford purchasing put option. If the market order is executed at $1.04, the account must have ($1.04 execution price) x (100 shares) x (1 contract) = $104.00 USD buying power. Updatedover 1 year ago * * * ## Alpaca Orders Overview This page contains examples of some of the things you can do with order objects through our API. For additional help understanding different types of orders and how they behave once they’re placed, please check out the Orders on Alpaca page. # Place New Orders [Skip link to Place New Orders](https://docs.alpaca.markets/docs/working-with-orders\#place-new-orders) Orders can be placed with a `POST` request to our `/v2/orders` endpoint. PythonJavaScriptC#Go ```rdmd-code lang-python theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import MarketOrderRequest from alpaca.trading.enums import OrderSide, TimeInForce trading_client = TradingClient('api-key', 'secret-key', paper=True) # preparing market order market_order_data = MarketOrderRequest( symbol="SPY", qty=0.023, side=OrderSide.BUY, time_in_force=TimeInForce.DAY ) # Market order market_order = trading_client.submit_order( order_data=market_order_data ) # preparing limit order limit_order_data = LimitOrderRequest( symbol="BTC/USD", limit_price=17000, notional=4000, side=OrderSide.SELL, time_in_force=TimeInForce.FOK ) # Limit order limit_order = trading_client.submit_order( order_data=limit_order_data ) ``` ```rdmd-code lang-javascript theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); // Submit a market order to buy 1 share of Apple at market price alpaca.createOrder({ symbol: "AAPL", qty: 1, side: "buy", type: "market", time_in_force: "day", }); // Submit a limit order to attempt to sell 1 share of AMD at a // particular price ($20.50) when the market opens alpaca.createOrder({ symbol: "AMD", qty: 1, side: "sell", type: "limit", time_in_force: "opg", limit_price: 20.5, }); ``` ```rdmd-code lang-csharp theme-light using Alpaca.Markets; using System; using System.Linq; using System.Threading.Tasks; namespace CodeExamples { internal static class Example { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; public static async Task Main(string[] args) { // First, open the API connection var client = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); // Submit a market order to buy 1 share of Apple at market price var order = await client.PostOrderAsync(MarketOrder.Buy("AAPL", 1)); // Submit a limit order to attempt to sell 1 share of AMD at a // particular price ($20.50) when the market opens order = await client.PostOrderAsync( LimitOrder.Sell("AMD", 1, 20.50M).WithDuration(TimeInForce.Opg)); Console.Read(); } } } ``` ```rdmd-code lang-go theme-light package main import ( "github.com/alpacahq/alpaca-trade-api-go/alpaca" "github.com/shopspring/decimal" ) func init() { alpaca.SetBaseUrl("https://paper-api.alpaca.markets") } func main() { // Submit a market order to buy 1 share of Apple at market price symbol := "AAPL" alpaca.PlaceOrder(alpaca.PlaceOrderRequest{ AssetKey: &symbol, Qty: decimal.NewFromFloat(1), Side: alpaca.Buy, Type: alpaca.Market, TimeInForce: alpaca.Day, }) // Submit a limit order to attempt to sell 1 share of AMD at a // particular price ($20.50) when the market opens symbol = "AMD" alpaca.PlaceOrder(alpaca.PlaceOrderRequest{ AssetKey: &symbol, Qty: decimal.NewFromFloat(1), Side: alpaca.Sell, Type: alpaca.Limit, TimeInForce: alpaca.OPG, LimitPrice: decimal.NewFromFloat(20.50), }) } ``` # Submit Shorts [Skip link to Submit Shorts](https://docs.alpaca.markets/docs/working-with-orders\#submit-shorts) Short orders can also be placed for securities which you do not hold an open long position in. PythonC# ```rdmd-code lang-python theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import MarketOrderRequest from alpaca.trading.enums import OrderSide, TimeInForce trading_client = TradingClient('api-key', 'secret-key', paper=True) # preparing orders market_order_data = MarketOrderRequest( symbol="SPY", qty=1, side=OrderSide.SELL, time_in_force=TimeInForce.GTC ) # Market order market_order = trading_client.submit_order( order_data=market_order_data ) ``` ```rdmd-code lang-csharp theme-light using Alpaca.Markets; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; // With the Alpaca API, you can open a short position by submitting a sell // order for a security that you have no open long position with. namespace ShortingExample { internal class ShortProgram { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; // The security we'll be shorting private static string symbol = "TSLA"; public static async Task Main(string[] args) { // First, open the API connection var tradingClient = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); var dataClient = Alpaca.Markets.Environments.Paper .GetAlpacaDataClient(new SecretKey(API_KEY, API_SECRET)); // Submit a market order to open a short position of one share var order = await tradingClient.PostOrderAsync(MarketOrder.Sell(symbol, 1)); Console.WriteLine("Market order submitted."); // Submit a limit order to attempt to grow our short position // First, get an up-to-date price for our security var snapshot = await dataClient.GetSnapshotAsync(symbol); var price = snapshot.MinuteBar.Close; // Submit another order for one share at that price order = await tradingClient.PostOrderAsync(LimitOrder.Sell(symbol, 1, price)); Console.WriteLine($"Limit order submitted. Limit price = {order.LimitPrice}"); // Wait a few seconds for our orders to fill... Thread.Sleep(2000); // Check on our position var position = await tradingClient.GetPositionAsync(symbol); if (position.Quantity < 0) { Console.WriteLine($"Short position open for {symbol}"); } } } } ``` # Using Client Order IDs [Skip link to Using Client Order IDs](https://docs.alpaca.markets/docs/working-with-orders\#using-client-order-ids) `client_order_id` can be used to organize and track specific orders in your client program. Unique `client_order_ids` for different strategies is a good way of running parallel algos across the same account. PythonJavaScriptC# ```rdmd-code lang-python theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import MarketOrderRequest from alpaca.trading.enums import OrderSide, TimeInForce trading_client = TradingClient('api-key', 'secret-key', paper=True) # preparing orders market_order_data = MarketOrderRequest( symbol="SPY", qty=0.023, side=OrderSide.BUY, time_in_force=TimeInForce.DAY, client_order_id='my_first_order', ) # Market order market_order = trading_client.submit_order( order_data=market_order_data ) # Get our order using its Client Order ID. my_order = trading_client.get_order_by_client_id('my_first_order') print('Got order #{}'.format(my_order.id)) ``` ```rdmd-code lang-javascript theme-light const Alpaca = require('@alpacahq/alpaca-trade-api') const alpaca = new Alpaca() // Submit a market order and assign it a Client Order ID. alpaca.createOrder({ symbol: 'AAPL', qty: 1, side: 'buy', type: 'market', time_in_force: 'day', client_order_id='my_first_order' }) // Get our order using its Client Order ID. alpaca.getOrderByClientOrderId('my_first_order') .then((myOrder) => { console.log(`Got order #${myOrder.id}.`) }) ``` ```rdmd-code lang-csharp theme-light using System; using System.Linq; using System.Threading.Tasks; namespace CodeExamples { internal static class Example { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; private static string CLIENT_ORDER_ID = "my_first_order"; public static async Task Main(string[] args) { // First, open the API connection var client = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); // Submit a market order and assign it a Client Order ID await client.PostOrderAsync( MarketOrder.Buy("AAPL", 1) .WithClientOrderId(CLIENT_ORDER_ID)); // Get our order using its Client Order ID var order = await client.GetOrderAsync(CLIENT_ORDER_ID); Console.WriteLine($"Got order #{order.ClientOrderId}"); Console.Read(); } } } ``` # Submitting Bracket Orders [Skip link to Submitting Bracket Orders](https://docs.alpaca.markets/docs/working-with-orders\#submitting-bracket-orders) Bracket orders allow you to create a chain of orders that react to execution and stock price. For more details, go to Bracket Order Overview. PythonJavaScriptC#Go ```rdmd-code lang-python theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import MarketOrderRequest, LimitOrderRequest, TakeProfitRequest, StopLossRequest from alpaca.trading.enums import OrderSide, TimeInForce, OrderClass trading_client = TradingClient('api-key', 'secret-key', paper=True) # preparing bracket order with both stop loss and take profit bracket__order_data = MarketOrderRequest( symbol="SPY", qty=5, side=OrderSide.BUY, time_in_force=TimeInForce.DAY, order_class=OrderClass.BRACKET, take_profit=TakeProfitRequest(limit_price=400), stop_loss=StopLossRequest(stop_price=300) ) bracket_order = trading_client.submit_order( order_data=bracket__order_data ) # preparing oto order with stop loss oto_order_data = LimitOrderRequest( symbol="SPY", qty=5, limit_price=350, side=OrderSide.BUY, time_in_force=TimeInForce.DAY, order_class=OrderClass.OTO, stop_loss=StopLossRequest(stop_price=300) ) # Market order oto_order = trading_client.submit_order( order_data=oto_order_data ) ``` ```rdmd-code lang-javascript theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); const symbol = "AAPL"; alpaca .getBars("minute", symbol, { limit: 5, }) .then((barset) => { const currentPrice = barset[symbol].slice(-1)[0].closePrice; // We could buy a position and add a stop-loss and a take-profit of 5 % alpaca.createOrder({ symbol: symbol, qty: 1, side: "buy", type: "limit", time_in_force: "gtc", limit_price: currentPrice, order_class: "bracket", stop_loss: { stop_price: currentPrice * 0.95, limit_price: currentPrice * 0.94, }, take_profit: { limit_price: currentPrice * 1.05, }, }); // We could buy a position and just add a stop loss of 5 % (OTO Orders) alpaca.createOrder({ symbol: symbol, qty: 1, side: "buy", type: "limit", time_in_force: "gtc", limit_price: currentPrice, order_class: "oto", stop_loss: { stop_price: currentPrice * 0.95, }, }); // We could split it to 2 orders. first buy a stock, // and then add the stop/profit prices (OCO Orders) alpaca.createOrder({ symbol: symbol, qty: 1, side: "buy", type: "limit", time_in_force: "gtc", limit_price: currentPrice, }); // wait for it to buy position and then alpaca.createOrder({ symbol: symbol, qty: 1, side: "sell", type: "limit", time_in_force: "gtc", limit_price: currentPrice, order_class: "oco", stop_loss: { stop_price: currentPrice * 0.95, }, take_profit: { limit_price: currentPrice * 1.05, }, }); }); ``` ```rdmd-code lang-csharp theme-light using Alpaca.Markets; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace ShortingExample { internal class ShortProgram { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; private static string symbol = "APPL"; public static async Task Main(string[] args) { // First, open the API connection var tradingClient = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); var dataClient = Alpaca.Markets.Environments.Paper .GetAlpacaDataClient(new SecretKey(API_KEY, API_SECRET)); var snapshot = await dataClient.GetSnapshotAsync(symbol); var price = snapshot.MinuteBar.Close; // We could buy a position and add a stop-loss and a take-profit of 5 % await tradingClient.PostOrderAsync( MarketOrder.Buy(symbol, 1) .WithDuration(TimeInForce.Gtc) .Bracket( stopLossStopPrice: price * 0.95M, takeProfitLimitPrice: price * 0.94M, stopLossLimitPrice: price * 1.05M)); // We could buy a position and just add a stop loss of 5 % (OTO Orders) await tradingClient.PostOrderAsync( MarketOrder.Buy(symbol, 1) .WithDuration(TimeInForce.Gtc) .StopLoss( stopLossStopPrice: price * 0.95M)); // We could split it to 2 orders. first buy a stock, // and then add the stop/profit prices (OCO Orders) await tradingClient.PostOrderAsync( LimitOrder.Buy(symbol, 1, price)); await tradingClient.PostOrderAsync( LimitOrder.Sell(symbol, 1, price) .WithDuration(TimeInForce.Gtc) .OneCancelsOther( stopLossStopPrice: price * 0.95M, stopLossLimitPrice: price * 1.05M)); } } } ``` ```rdmd-code lang-go theme-light package main import ( "github.com/alpacahq/alpaca-trade-api-go/alpaca" "github.com/alpacahq/alpaca-trade-api-go/common" "github.com/shopspring/decimal" ) func init() { API_KEY := "YOUR_API_KEY_HERE" API_SECRET := "YOUR_API_SECRET_HERE" BASE_URL := "https://paper-api.alpaca.markets" // Check for environment variables if common.Credentials().ID == "" { os.Setenv(common.EnvApiKeyID, API_KEY) } if common.Credentials().Secret == "" { os.Setenv(common.EnvApiSecretKey, API_SECRET) } alpaca.SetBaseUrl(BASE_URL) } func main() { // Submit a limit order to buy 1 share of Apple and add // StopLoss and TakeProfit orders. client := alpaca.NewClient(common.Credentials()) symbol := "AAPL" tpp := decimal.NewFromFloat(320.) spp := decimal.NewFromFloat(317.) limit := decimal.NewFromFloat(318.) tp := &alpaca.TakeProfit{LimitPrice: &tpp} sl := &alpaca.StopLoss{ LimitPrice: nil, StopPrice: &spp, } req := alpaca.PlaceOrderRequest{ AccountID: common.Credentials().ID, AssetKey: &symbol, Qty: decimal.New(1, 0), Side: alpaca.Buy, LimitPrice: &limit, TimeInForce: alpaca.GTC, Type: alpaca.Limit, OrderClass: alpaca.Bracket, TakeProfit: tp, StopLoss: sl, } order, err := client.PlaceOrder(req) fmt.Println(order) fmt.Println(err) // We could buy a position and just add a stop loss (OTO Orders) spp := decimal.NewFromFloat(317.) limit := decimal.NewFromFloat(318.) sl := &alpaca.StopLoss{ StopPrice: &spp, } req := alpaca.PlaceOrderRequest{ AccountID: common.Credentials().ID, AssetKey: &symbol, Qty: decimal.New(1, 0), Side: alpaca.Buy, LimitPrice: &limit, TimeInForce: alpaca.GTC, Type: alpaca.Limit, OrderClass: alpaca.Oto, StopLoss: sl, } order, err := client.PlaceOrder(req) fmt.Println(order) fmt.Println(err) // We could split it to 2 orders. first buy a stock, // and then add the stop/profit prices (OCO Orders) limit := decimal.NewFromFloat(318.) req := alpaca.PlaceOrderRequest{ AccountID: common.Credentials().ID, AssetKey: &symbol, Qty: decimal.New(1, 0), Side: alpaca.Buy, LimitPrice: &limit, TimeInForce: alpaca.GTC, Type: alpaca.Limit, OrderClass: alpaca.Simple, } order, err := client.PlaceOrder(req) fmt.Println(order) fmt.Println(err) // wait for it to complete and then tpp := decimal.NewFromFloat(320.) spp := decimal.NewFromFloat(317.) tp := &alpaca.TakeProfit{LimitPrice: &tpp} sl := &alpaca.StopLoss{ LimitPrice: nil, StopPrice: &spp, } req := alpaca.PlaceOrderRequest{ AccountID: common.Credentials().ID, AssetKey: &symbol, Qty: decimal.New(1, 0), Side: alpaca.Sell, TimeInForce: alpaca.GTC, Type: alpaca.Limit, OrderClass: alpaca.Oco, TakeProfit: tp, StopLoss: sl, } order, err := client.PlaceOrder(req) fmt.Println(order) fmt.Println(err) } ``` # Submitting Trailing Stop Orders [Skip link to Submitting Trailing Stop Orders](https://docs.alpaca.markets/docs/working-with-orders\#submitting-trailing-stop-orders) Trailing stop orders allow you to create a stop order that automatically changes the stop price allowing you to maximize your profits while still protecting your position with a stop price. For more details, go to Trailing Stop Order Overview. PythonJavaScriptC#Go ```rdmd-code lang-python theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import TrailingStopOrderRequest from alpaca.trading.enums import OrderSide, TimeInForce trading_client = TradingClient('api-key', 'secret-key', paper=True) trailing_percent_data = TrailingStopOrderRequest( symbol="SPY", qty=1, side=OrderSide.SELL, time_in_force=TimeInForce.GTC, trail_percent=1.00 # hwm * 0.99 ) trailing_percent_order = trading_client.submit_order( order_data=trailing_percent_data ) trailing_price_data = TrailingStopOrderRequest( symbol="SPY", qty=1, side=OrderSide.SELL, time_in_force=TimeInForce.GTC, trail_price=1.00 # hwm - $1.00 ) trailing_price_order = trading_client.submit_order( order_data=trailing_price_data ) ``` ```rdmd-code lang-javascript theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); // Submit a market order to buy 1 share of Apple at market price alpaca.createOrder({ symbol: "AAPL", qty: 1, side: "buy", type: "market", time_in_force: "day", }); // Submit a trailing stop order to sell 1 share of Apple at a // trailing stop of alpaca.createOrder({ symbol: "AAPL", qty: 1, side: "sell", type: "trailing_stop", trail_price: 1.0, // stop price will be hwm - 1.00$ time_in_force: "day", }); // Alternatively, you could use trail_percent: alpaca.createOrder({ symbol: "AAPL", qty: 1, side: "sell", type: "trailing_stop", trail_percent: 1.0, // stop price will be hwm*0.99 time_in_force: "day", }); ``` ```rdmd-code lang-csharp theme-light using Alpaca.Markets; using System; using System.Linq; using System.Threading.Tasks; namespace CodeExamples { internal static class Example { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; public static async Task Main(string[] args) { // First, open the API connection var client = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); // Submit a market order to buy 1 share of Apple at market price var order = await client.PostOrderAsync( new NewOrderRequest("AAPL", 1, OrderSide.Buy, OrderType.Market, TimeInForce.Day)); // Submit a trailing stop order to sell 1 share of Apple at a // trailing stop of order = await client.PostOrderAsync( TrailingStopOrder.Sell("AAPL", 1, TrailOffset.InDollars(1.00M))); // stop price will be hwm - 1.00$ /** // Alternatively, you could use trail_percent: order = await client.PostOrderAsync( TrailingStopOrder.Sell("AAPL", 1, TrailOffset.InPercent(0.99M))); // stop price will be hwm * 0.99 */ Console.Read(); } } } ``` ```rdmd-code lang-go theme-light package main import ( "github.com/alpacahq/alpaca-trade-api-go/alpaca" "github.com/shopspring/decimal" ) func init() { alpaca.SetBaseUrl("https://paper-api.alpaca.markets") } func main() { // Submit a market order to buy 1 share of Apple at market price symbol := "AAPL" alpaca.PlaceOrder(alpaca.PlaceOrderRequest{ AssetKey: &symbol, Qty: decimal.NewFromFloat(1), Side: alpaca.Buy, Type: alpaca.Market, TimeInForce: alpaca.Day, }) // Submit a trailing stop order to sell 1 share of Apple at a // trailing stop of symbol = "AAPL" alpaca.PlaceOrder(alpaca.PlaceOrderRequest{ AssetKey: &symbol, Qty: decimal.NewFromFloat(1), Side: alpaca.Sell, Type: alpaca.TrailingStop, StopPrice: decimal.NewFromFloat(1.00), // stop price will be hwm - 1.00$ TimeInForce: alpaca.Day, }) // Alternatively, you could use trail_percent: symbol = "AAPL" alpaca.PlaceOrder(alpaca.PlaceOrderRequest{ AssetKey: &symbol, Qty: decimal.NewFromFloat(1), Side: alpaca.Sell, Type: alpaca.TrailingStop, TrailPercent: decimal.NewFromFloat(1.0), // stop price will be hwm*0.99 TimeInForce: alpaca.Day, }) } ``` # Retrieve All Orders [Skip link to Retrieve All Orders](https://docs.alpaca.markets/docs/working-with-orders\#retrieve-all-orders) If you’d like to see a list of your existing orders, you can send a `GET` request to our `/v2/orders` endpoint. PythonJavaScriptC#Go ```rdmd-code lang-python theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import GetOrdersRequest from alpaca.trading.enums import QueryOrderStatus trading_client = TradingClient('api-key', 'secret-key', paper=True) # Get the last 100 closed orders get_orders_data = GetOrdersRequest( status=QueryOrderStatus.CLOSED, limit=100, nested=True # show nested multi-leg orders ) trading_client.get_orders(filter=get_orders_data) ``` ```rdmd-code lang-javascript theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); // Get the last 100 of our closed orders const closedOrders = alpaca .getOrders({ status: "closed", limit: 100, nested: true, // show nested multi-leg orders }) .then((closedOrders) => { // Get only the closed orders for a particular stock const closedAaplOrders = closedOrders.filter( (order) => order.symbol == "AAPL" ); console.log(closedAaplOrders); }); ``` ```rdmd-code lang-csharp theme-light using Alpaca.Markets; using System; using System.Linq; using System.Threading.Tasks; namespace CodeExamples { internal static class Example { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; public static async Task Main(string[] args) { // First, open the API connection var client = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); // Get the last 100 of our closed orders var closedOrders = await client.ListOrdersAsync( new ListOrdersRequest { LimitOrderNumber = 100, OrderStatusFilter = OrderStatusFilter.Closed }); // Get only the closed orders for a particular stock var aaplOrders = closedOrders.Where(order => order.Symbol.Equals("AAPL")); Console.Read(); } } } ``` ```rdmd-code lang-go theme-light package main import ( "github.com/alpacahq/alpaca-trade-api-go/alpaca" ) func init() { alpaca.SetBaseUrl("https://paper-api.alpaca.markets") } func main() { // Get the last 100 of our closed orders status := "closed" limit := 100 nested := true // show nested multi-leg orders closed_orders, err := alpaca.ListOrders(&status, nil, &limit, &nested) if err != nil { panic(err) } // Get only the closed orders for a particular stock var aaplOrders []alpaca.Order for _, order := range closed_orders { if order.Symbol == "AAPL" { aaplOrders = append(aaplOrders, order) } } } ``` # Listen for Updates to Orders [Skip link to Listen for Updates to Orders](https://docs.alpaca.markets/docs/working-with-orders\#listen-for-updates-to-orders) You can use Websockets to receive real-time updates about the status of your orders as they change. You can see the full documentation here. PythonJavaScriptC#Go ```rdmd-code lang-python theme-light from alpaca.trading.stream import TradingStream stream = TradingStream('api-key', 'secret-key', paper=True) @conn.on(client_order_id) async def on_msg(data): # Print the update to the console. print("Update for {}. Event: {}.".format(data.event)) stream.subscribe_trade_updates(on_msg) # Start listening for updates. stream.run() ``` ```rdmd-code lang-javascript theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); // Prepare the websocket connection and subscribe to trade_updates. alpaca.websocket.onConnect(function () { console.log("Connected"); client.subscribe(["trade_updates"]); setTimeout(() => { client.disconnect(); }, 30 * 1000); }); alpaca.websocket.onDisconnect(() => { console.log("Disconnected"); }); alpaca.websocket.onStateChange((newState) => { console.log(`State changed to ${newState}`); }); // Handle updates on an order you've given a Client Order ID. const client_order_id = "my_client_order_id"; alpaca.websocket.onOrderUpdate((orderData) => { const event = orderData["event"]; if (orderData["order"]["client_order_id"] == client_order_id) { console.log(`Update for ${client_order_id}. Event: ${event}.`); } }); // Start listening for updates. alpaca.websocket.connect(); ``` ```rdmd-code lang-csharp theme-light using Alpaca.Markets; using System; using System.Threading.Tasks; namespace CodeExamples { internal static class Example { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; // Print a message to the console when the account's status changes. public static async Task Main(string[] args) { // Prepare the websocket connection and subscribe to trade_updates. var alpacaStreamingClient = Environments.Paper .GetAlpacaStreamingClient(new SecretKey(API_KEY, API_SECRET)); await alpacaStreamingClient.ConnectAndAuthenticateAsync(); alpacaStreamingClient.OnTradeUpdate += HandleTradeUpdate; Console.Read(); } // Handle incoming trade updates. private static void HandleTradeUpdate(ITradeUpdate update) { if (update.Order.ClientOrderId.Equals("my_client_order_id")) { Console.WriteLine($"Update for {update.Order.ClientOrderId}. Event: {update.Event}"); } } } } ``` ```rdmd-code lang-go theme-light package main import ( "fmt" "github.com/alpacahq/alpaca-trade-api-go/alpaca" "github.com/alpacahq/alpaca-trade-api-go/stream" ) func init() { alpaca.SetBaseUrl("https://paper-api.alpaca.markets") } func main() { if err := stream.Register(alpaca.TradeUpdates, tradeHandler); err != nil { panic(err) } } func tradeHandler(msg interface{}) { tradeupdate := msg.(alpaca.TradeUpdate) if tradeupdate.Order.ClientOrderID == "my_client_order_id" { fmt.Printf("Update for {}. Event: {}.\n", tradeupdate.Order.ClientOrderID, tradeupdate.Event) } } ``` # FAQ [Skip link to FAQ](https://docs.alpaca.markets/docs/working-with-orders\#faq) **What should I do if I receive a timeout message from Alpaca when submitting an order?** The order may have been sent to the market for execution. You should not attempt to resend the order or mark the timed-out order as canceled until confirmed by Alpaca Support or the trading team. Before taking any action on the timed-out order you should check the broker dashboard and contact Alpaca support. Please contact our Support Team at [support@alpaca.markets](mailto:support@alpaca.markets) to verify if the order was successfully submitted and routed to the market. Updatedabout 1 month ago * * * ## Options Trading Overview # Initial Options Offering [Skip link to Initial Options Offering](https://docs.alpaca.markets/docs/options-trading-overview\#initial-options-offering) ## Supported [Skip link to Supported](https://docs.alpaca.markets/docs/options-trading-overview\#supported) - US listed equities options, all american style - Level 1+2 options trading - Fully Disclosed partner relationships - Automatic account approval process via the API along with SSE events - Ability for partners to downgrade/disable options trading - Ability to exercise options via the API - DNE (do not exercise) requests by email - New options specific activities - Access to options market data (at a cost) or referral to market data partner ## Not supported [Skip link to Not supported](https://docs.alpaca.markets/docs/options-trading-overview\#not-supported) - Level 3 + options strategies (multi-leg, spreads, naked, etc) - LCT (local currency trading) - Fractional options - Extended hours # Options Enablement [Skip link to Options Enablement](https://docs.alpaca.markets/docs/options-trading-overview\#options-enablement) ## Enabling Options Trading on a new Account [Skip link to Enabling Options Trading on a new Account](https://docs.alpaca.markets/docs/options-trading-overview\#enabling-options-trading-on-a-new-account) Per FINRA Rule 2360, each customer account has to be approved for options before the first options trade is made. Once options trading is enabled on a correspondent you can start requesting accounts to be approved for options trading. For existing accounts there will be a few new data points that need to be [patched](https://docs.alpaca.markets/reference/patchaccount-1) on the account along with a new options agreement that the customer will need to sign. Below are the new fields that will need to be provided specifically for options. - Annual Income - Net Worth - Liquid Net Worth - Liquidity Needs - Investment Experience - Investment Risk Tolerance - Investment Objective - Investment Time Horizon - Marital Status - Number of Dependents Below is an example of a request for opening a new account with options enabled. More details on creating an account can be found [here](https://docs.alpaca.markets/reference/createaccount-1) **.** JSON ```rdmd-code lang-json theme-light { "enabled_assets": [\ "us_equity",\ "crypto",\ "us_option"\ ], "contact": { "email_address": "joe+smith+options+25@alpaca.markets", "phone_number": "555-666-7788", "street_address": [\ "20 N San Mateo Dr"\ ], "unit": "Apt 1A", "city": "San Mateo", "state": "CA", "postal_code": "94401", "country": "USA" }, "identity": { "given_name": "John", "middle_name": "Smith", "family_name": "Doe", "date_of_birth": "1990-01-01", "tax_id": "124-55-4321", "tax_id_type": "USA_SSN", "country_of_citizenship": "USA", "country_of_birth": "USA", "country_of_tax_residence": "USA", "funding_source": [\ "employment_income"\ ], "annual_income_min": "10000", "annual_income_max": "10000", "total_net_worth_min": "10000", "total_net_worth_max": "10000", "liquid_net_worth_min": "10000", "liquid_net_worth_max": "10000", "liquidity_needs": "does_not_matter", "investment_experience_with_stocks": "over_5_years", "investment_experience_with_options": "over_5_years", "risk_tolerance": "conservative", "investment_objective": "market_speculation", "investment_time_horizon": "more_than_10_years", "marital_status":"MARRIED", "number_of_dependents":5 }, "disclosures": { "is_control_person": false, "is_affiliated_exchange_or_finra": true, "is_politically_exposed": false, "immediate_family_exposed": false, "context": [\ {\ "context_type": "AFFILIATE_FIRM",\ "company_name": "Finra",\ "company_street_address": [\ "1735 K Street, NW"\ ],\ "company_city": "Washington",\ "company_state": "DC",\ "company_country": "USA",\ "company_compliance_email": "compliance@finra.org"\ }\ ] }, "agreements": [\ {\ "agreement": "margin_agreement",\ "signed_at": "2020-09-11T18:09:33Z",\ "ip_address": "185.13.21.99",\ "revision": "16.2021.05"\ },\ {\ "agreement": "account_agreement",\ "signed_at": "2020-09-11T18:13:44Z",\ "ip_address": "185.13.21.99",\ "revision": "16.2021.05"\ },\ {\ "agreement": "customer_agreement",\ "signed_at": "2020-09-11T18:13:44Z",\ "ip_address": "185.13.21.99",\ "revision": "16.2021.05"\ },\ {\ "agreement": "crypto_agreement",\ "signed_at": "2020-09-11T18:13:44Z",\ "ip_address": "185.13.21.99",\ "revision": "04.2021.10"\ },\ {\ "agreement": "options_agreement",\ "signed_at": "2020-09-11T18:13:44Z",\ "ip_address": "185.13.21.99"\ }\ ], "documents": [\ {\ "document_type": "identity_verification",\ "document_sub_type": "passport",\ "content": "/9j/Cg==",\ "mime_type": "image/jpeg"\ }\ ], "trusted_contact": { "given_name": "Jane", "family_name": "Doe", "email_address": "jane.doe@example.com" } } ``` ## Enabling Options Trading on an existing Account [Skip link to Enabling Options Trading on an existing Account](https://docs.alpaca.markets/docs/options-trading-overview\#enabling-options-trading-on-an-existing-account) Below are sample requests and responses for enabling options trading on an existing account, using the approval [endpoint](https://docs.alpaca.markets/reference/requestoptionsforaccount). Example: Account with level 1 requirements requesting for level 1 options trading approval Request ```rdmd-code lang-json theme-light { "level": 1 } ``` Response ```rdmd-code lang-json theme-light { "id": "43c2f8a9-9e39-48b1-921c-e510dfeeff47", "account_id": "492b6297-45fc-4435-abc7-08ab15480b1c", "created_at": "2024-05-14T04:34:03.527165162-04:00", "updated_at": "2024-05-14T04:34:03.527165162-04:00", "requested_level": 1, "status": "APPROVED" } ``` Example: Account with level 1 requirements requesting for level 2 options trading approval Request ```rdmd-code lang-json theme-light { "level": 2 } ``` Response ```rdmd-code lang-json theme-light { "id": "43c2f8a9-9e39-48b1-921c-e510dfeeff47", "account_id": "492b6297-45fc-4435-abc7-08ab15480b1c", "created_at": "2024-05-14T04:34:03.527165162-04:00", "updated_at": "2024-05-14T04:34:03.527165162-04:00", "requested_level": 2, "status": "LOWER_LEVEL_APPROVED" } ``` ### Options Approval Statuses [Skip link to Options Approval Statuses](https://docs.alpaca.markets/docs/options-trading-overview\#options-approval-statuses) | Status | Description | | --- | --- | | `APPROVED` | User has been approved for requested options trading level. | | `LOWER_LEVEL_APPROVED` | User has been approved for a lower level than the requested options trading level. | | `PENDING` | Pending manual review | | `REJECTED` | User has been rejected for requested options trading level. | ### Approval fixtures [Skip link to Approval fixtures](https://docs.alpaca.markets/docs/options-trading-overview\#approval-fixtures) Options Approval API supports approval fixtures in the Sandbox environment. You can pass the desired approval level and approval status to test all different scenario of options approval flow (approved, lower\_level\_approved, rejected) to the same approval [endpoint](https://docs.alpaca.markets/reference/requestoptionsforaccount). Example use cases: 1. Requesting an `APPROVED` status for options trading level 1 JSON ```rdmd-code lang-json theme-light { "level": 1, "fixtures": { "status":"APPROVED" } } ``` 2. Requesting an `REJECTED` status for options trading level 2 JSON ```rdmd-code lang-json theme-light { "level": 2, "fixtures": { "status":"REJECTED" } } ``` 3. Requesting a `LOWER_LEVEL_APPROVED` status (simulating a flow where level 2 was requested but user is approved for level 2 instead) JSON ```rdmd-code lang-json theme-light { "level": 2, "fixtures": { "status":"LOWER_LEVEL_APPROVED", "level":1 } } ``` ## Downgrading/disabling Options [Skip link to Downgrading/disabling Options](https://docs.alpaca.markets/docs/options-trading-overview\#downgradingdisabling-options) Once an account is approved for options trading the customer has the ability to downgrade the options level or disable it altogether. This is done by setting the max\_options\_trading\_level via the trading account configuration [endpoint.](https://docs.alpaca.markets/reference/patch-patch-v1-trading-accounts-account_id-account-configurations-1) Once the max options trading level is set the options trading level on the trading account endpoint will get upgraded to the value set by the user. Note the options trading level will always be the same or lower than the options approved level. Below is an example of a user being approved for level 2 but downgrading to level 1. JSON ```rdmd-code lang-json theme-light { ... "options_approved_level": 2, "options_trading_level": 1, ... } ``` # Trading [Skip link to Trading](https://docs.alpaca.markets/docs/options-trading-overview\#trading) ## Trading Overview [Skip link to Trading Overview](https://docs.alpaca.markets/docs/options-trading-overview\#trading-overview) When placing orders via the [orders api](https://docs.alpaca.markets/reference/createorderforaccount-1) for options below is what is supported and what is not supported ### Supported [Skip link to Supported](https://docs.alpaca.markets/docs/options-trading-overview\#supported-1) - Options symbol - Time in force of day - Market and limit order types - Ability to replace and cancel orders - Level 1 + 2 option strategies ### Not supported [Skip link to Not supported](https://docs.alpaca.markets/docs/options-trading-overview\#not-supported-1) - Extended hours - Fractional or notional order support ## Trading Levels [Skip link to Trading Levels](https://docs.alpaca.markets/docs/options-trading-overview\#trading-levels) Alpaca supports the below options trading levels. | Level | Supported Trades | Validation | | --- | --- | --- | | 0 | \- Options trading is disabled | \- NA | | 1 | \- Sell a covered call
\- Sell cash-secured put | \- User must own sufficient underlying shares
\- User must have sufficient options buying power | | 2 | \- Level 1
\- Buy a call
\- Buy a put | \- User must have sufficient options buying power | ### Trading Level Validation [Skip link to Trading Level Validation](https://docs.alpaca.markets/docs/options-trading-overview\#trading-level-validation) If a user tries to trade a strategy above their level this will result in an error message. Below is an example of a user who is approved for level 1 trying to place a level 2 options trade. JSON ```rdmd-code lang-json theme-light { "code": 40310000, "message": "account not eligible for level2 options trading" } ``` ## Asset Master [Skip link to Asset Master](https://docs.alpaca.markets/docs/options-trading-overview\#asset-master) Similar to the asset master for securities and crypto there is an options contract [endpoint](https://docs.alpaca.markets/reference/get-options-contracts-1) which will return all the options contract for an underlying symbol. Below is a sample JSON ```rdmd-code lang-json theme-light { "id": "1fb904df-961a-4a07-a924-53a437626db2", "symbol": "AAPL240223C00095000", "name": "AAPL Feb 23 2024 95 Call", "status": "active", "tradable": true, "expiration_date": "2024-02-23", "root_symbol": "AAPL", "underlying_symbol": "AAPL", "underlying_asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "type": "call", "style": "american", "strike_price": "95", "size": "100", "open_interest": "12", "open_interest_date": "2024-02-22", "close_price": "89.35", "close_price_date": "2024-02-22" } ``` ## Order Examples [Skip link to Order Examples](https://docs.alpaca.markets/docs/options-trading-overview\#order-examples) **Buying a call** JSON ```rdmd-code lang-json theme-light { "symbol": "PTON240126C00000500", "qty": "1", "side":"buy", "type": "market", "time_in_force": "day" } ``` **Buying a put** JSON ```rdmd-code lang-json theme-light { "symbol": "TSLA240126P00210000", "qty": "1", "side": "buy", "type": "market", "time_in_force": "day" } ``` **Selling a covered call** JSON ```rdmd-code lang-json theme-light { "symbol": "AAPL240126C00050000", "qty": "1", "side": "sell", "type": "market", "time_in_force": "day" } ``` **Selling a cash secured put** JSON ```rdmd-code lang-json theme-light { "symbol": "QS240126P00006500", "qty": "1", "side": "sell", "type": "market", "time_in_force": "day" } ``` ## Buying Power Checks [Skip link to Buying Power Checks](https://docs.alpaca.markets/docs/options-trading-overview\#buying-power-checks) With options we introduce a new field on the [trading account endpoint](https://docs.alpaca.markets/reference/gettradingaccount-1) called options\_buying\_power which is evaluated when trying to open new options positions. For both **buying a call** or **buying a put** sufficient buying power is necessary to pay for the premium of the contract otherwise an error will occur as shown below. JSON ```rdmd-code lang-json theme-light { "options_buying_power": "7267.84", "code": 40310000, "cost_basis": "38000", "message": "insufficient options buying power" } ``` For **Selling Covered Call** you need to have enough stocks as collateral otherwise the order will error out as shown below. JSON ```rdmd-code lang-json theme-light { "available_qty": "0", "code": 40310000, "message": "insufficient underlying qty available for covered call (required: 100, available: 0)", "required_qty": "100", "symbol": "AAPL240126C00050000", "underlying_asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415" } ``` For **selling cash secured put** you will need enough buying power to pay for the underlying stock minus the premium that would be received otherwise the order will error out as shown below JSON ```rdmd-code lang-json theme-light { "buying_power": "9395", "code": 40310000, "message": "insufficient options buying power for cash-secured put (required: 20310, available: 9395)", "required_options_buying_power": "20310" } ``` # Positions [Skip link to Positions](https://docs.alpaca.markets/docs/options-trading-overview\#positions) Option positions will show up like any other position in the positions endpoint. Below is an example of an options position. JSON ```rdmd-code lang-json theme-light { "asset_id": "fe4f43e5-60a4-4269-ba4c-3d304444d58b", "symbol": "PTON240126C00000500", "exchange": "", "asset_class": "us_option", "asset_marginable": true, "qty": "2", "avg_entry_price": "6.05", "side": "long", "market_value": "1068", "cost_basis": "1210", "unrealized_pl": "-142", "unrealized_plpc": "-0.1173553719008264", "unrealized_intraday_pl": "-142", "unrealized_intraday_plpc": "-0.1173553719008264", "current_price": "5.34", "lastday_price": "5.34", "change_today": "0", "qty_available": "2" } ``` # Post Trade [Skip link to Post Trade](https://docs.alpaca.markets/docs/options-trading-overview\#post-trade) ## Exercising [Skip link to Exercising](https://docs.alpaca.markets/docs/options-trading-overview\#exercising) As the buyer of an option (call or put), the holder has the right, but not the obligation, to buy or sell the option's underlying security at a specified price on or before a specified date in the future. If the holder decides to act on those rights they are choosing to exercise. An option can be exercised via the exercise [endpoint](https://docs.alpaca.markets/reference/optionexercise-1) and Alpaca will accept DNE(do not exercise) instructions via email to avoid exercising at expiration. Note exercise requests will be processed instantly and requests sent outside of market hours will be rejected. When exercising there will be 2 new activities per exercise which are: - **OPEXC** \- removes the options position as a result of exercising - **OPTRD** \- trading activity that is paired with the exercising ### Exercising Call [Skip link to Exercising Call](https://docs.alpaca.markets/docs/options-trading-overview\#exercising-call) A long call exercise results in **buying the underlying stock** at the strike price. Below is an example of this. JSON ```rdmd-code lang-json theme-light { "id": "20240227000000000::197118f0-afd8-4adb-b154-167f4a87b1f5", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPEXC", "date": "2024-02-27", "net_amount": "0", "description": "Option Exercise", "symbol": "QS240301C00006500", "qty": "-1", "status": "executed" }, { "id": "20240227000000000::aa97cbc4-5163-49ab-b832-682a3a3e85bb", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPTRD", "date": "2024-02-27", "net_amount": "-650", "description": "Option Trade", "symbol": "QS", "qty": "100", "price": "6.5", "status": "executed" } ``` ### Exercising Put [Skip link to Exercising Put](https://docs.alpaca.markets/docs/options-trading-overview\#exercising-put) A long put exercise results in **selling the underlying stock** at the strike price. Below is an example of this. JSON ```rdmd-code lang-json theme-light { "id": "20240227000000000::f62ee8f5-0279-4e81-9bd1-4ef197c7b2f3", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPEXC", "date": "2024-02-27", "net_amount": "0", "description": "Option Exercise", "symbol": "QS240301P00006500", "qty": "-1", "status": "executed" }, { "id": "20240227000000000::74e1db8e-9316-4dcf-b69c-50f51427b7c1", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPTRD", "date": "2024-02-27", "net_amount": "650", "description": "Option Trade", "symbol": "QS", "qty": "-100", "price": "6.5", "status": "executed" } ``` ## Assignment [Skip link to Assignment](https://docs.alpaca.markets/docs/options-trading-overview\#assignment) When selling an options contract (call or put) the user collects a premium but in turn takes on the obligation to buy or sell the stock at the agreed upon strike price if assigned. It is important to note that the OCC assigns a random account and sellers of contracts can be assigned overnight. When assigned there will be 2 new activities per assignment which are: - **OPASN** \- removes the options position as a result of assignment - **OPTRD** \- trading activity that is paired with the assignment ### Call Assignment [Skip link to Call Assignment](https://docs.alpaca.markets/docs/options-trading-overview\#call-assignment) For call options, the seller takes on the **obligation to sell** the stock at the agreed upon strike price. Below is an example of activities that result as a result of a call assignment JSON ```rdmd-code lang-json theme-light { "id": "20240301000000000::001140db-3947-456b-aefc-253861fb65df", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPASN", "date": "2024-03-01", "net_amount": "0", "description": "", "symbol": "QS240301C00004500", "qty": "1", "status": "executed" } { "id": "20240301000000000::a88c089f-a8c3-4672-9b68-2f6f2d05e914", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPTRD", "date": "2024-03-01", "net_amount": "450", "description": "Option Trade", "symbol": "QS", "qty": "-100", "price": "4.5", "status": "executed" } ``` ### Put Assignment [Skip link to Put Assignment](https://docs.alpaca.markets/docs/options-trading-overview\#put-assignment) For put options, the seller takes on the **obligation to buy** the stock at the agreed upon strike price. Below is an example of activities that result as a result of a put assignment JSON ```rdmd-code lang-json theme-light { "id": "20240301000000000::fcd92e5c-46e4-4c6e-8866-d56cd7d2bde2", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPASN", "date": "2024-03-01", "net_amount": "0", "description": "", "symbol": "QS240301P00009000", "qty": "1", "status": "executed" } { "id": "20240301000000000::1e1c2804-ce68-4516-9fa4-62d49b14c334", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPTRD", "date": "2024-03-01", "net_amount": "-900", "description": "Option Trade", "symbol": "QS", "qty": "100", "price": "9", "status": "executed" } ``` ## Expiration [Skip link to Expiration](https://docs.alpaca.markets/docs/options-trading-overview\#expiration) Unlike stocks, option contracts have an expiration date. If the user does not close out their position or exercise their options (if they have the buying power to support the exercise), Alpaca will need to potentially take action on it for risk management purposes based on the criteria described below. - Starting at 3:30 pm EST on the date of expiration, Alpaca continuously evaluates any open positions that expire that day and stops accepting new orders to open/extend any positions. - If the position for a long call or put **is ITM (in the money)** by .01 or more, Alpaca checks if the account has enough buying power to exercise in the case of a call or enough shares in the case of a put - If there is **enough buying power or shares** Alpaca will not liquidate the options and will let the option auto-exercise. - If there is **not enough buying power or shares**, then Alpaca will liquidate while it’s still ITM - If the position **is for a covered call or cash secured put and ITM** by .01 or more **Alpaca will automatically assign after close on date of expiry** - If the position **is not ITM** in other words it’s **ATM (at the money)** or **OTM (out of the money)**, Alpaca may skip it and it will expire after close as shown in the examples below. (Note that positions slightly OTM may also be liquidated depending on market and underlying conditions. Alpaca will take into consideration fast moving markets and/or fast stocks that may be moving from ITM and OTM throughout the day. There may be instances where OTM positions are also closed out.) ### Call Expiration [Skip link to Call Expiration](https://docs.alpaca.markets/docs/options-trading-overview\#call-expiration) JSON ```rdmd-code lang-json theme-light { "id": "20240301000000000::31ff5d4c-a608-43bb-8e59-678a96a4a42c", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPEXP", "date": "2024-03-01", "net_amount": "0", "description": "Option Expiry", "symbol": "QS240301C00010500", "qty": "-1", "status": "executed" } ``` ### Put Expiration [Skip link to Put Expiration](https://docs.alpaca.markets/docs/options-trading-overview\#put-expiration) JSON ```rdmd-code lang-json theme-light { "id": "20240301000000000::4bd8c683-0b2c-489f-9df9-1243ff621648", "account_id": "21c36b57-2304-4e5b-8364-8effbcba853e", "activity_type": "OPEXP", "date": "2024-03-01", "net_amount": "0", "description": "Option Expiry", "symbol": "QS240301P00000500", "qty": "-1", "status": "executed" } ``` # Market Data [Skip link to Market Data](https://docs.alpaca.markets/docs/options-trading-overview\#market-data) Alpaca provides access to options market data (at a cost) in the same user-friendly format it does for stocks and crypto. Additionally, we can refer partners to external data vendors with whom Alpaca has a close relationship if necessary. | Endpoint | Noteste | | --- | --- | | [Latest Quotes](https://docs.alpaca.markets/reference/optionlatestquotes) | Latest quotes. Supports multiple symbols | | [Latest Trades](https://docs.alpaca.markets/reference/optionlatesttrades) | Latest trades. Supports multiple symbols | | [Historical Trades](https://docs.alpaca.markets/reference/optiontrades) | Historical trades. Supports multiple symbols | | [Snapshots](https://docs.alpaca.markets/reference/optionsnapshots) | Combine quotes and trades for multiple symbols | | [Option chain](https://docs.alpaca.markets/reference/optionchain) | Query option chain by the underlying (stock) symbols | | [Historical bars](https://docs.alpaca.markets/reference/optionbars) | Historical bars.Supports multiple symbol | Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read [Characteristics and Risks of Standardized Options](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document) before investing in options. Updatedabout 2 months ago * * * ## Alpaca SDKs Overview # Official Client SDKs [Skip link to Official Client SDKs](https://docs.alpaca.markets/docs/sdks-and-tools\#official-client-sdks) Alpaca provides and supports the following open-source SDKs in a number of languages. You can leverage these libraries to easily access our API in your own application code or your trading scripts. - **Python**: [alpaca-py](https://alpaca.markets/sdks/python/) / [PyPI](https://pypi.org/project/alpaca-py/) - **.NET/C#**: [alpaca-trade-api-csharp](https://github.com/alpacahq/alpaca-trade-api-csharp/) / [NuGet](https://www.nuget.org/packages/Alpaca.Markets/) - **Node**: [alpaca-trade-api-js](https://github.com/alpacahq/alpaca-trade-api-js/) / [npm](https://www.npmjs.com/package/@alpacahq/alpaca-trade-api) - **Go**: [alpaca-trade-api-go](https://github.com/alpacahq/alpaca-trade-api-go/) - **Python (legacy)**: [alpaca-trade-api-python](https://github.com/alpacahq/alpaca-trade-api-python/) / [PyPI](https://pypi.org/project/alpaca-trade-api/) # Alpaca-py (Python SDK) [Skip link to Alpaca-py (Python SDK)](https://docs.alpaca.markets/docs/sdks-and-tools\#alpaca-py-python-sdk) [**Alpaca-py**](https://alpaca.markets/sdks/python/getting_started.html) provides an interface for interacting with the API products Alpaca offers. These API products are provided as various REST, WebSocket and SSE endpoints that allow you to do everything from streaming market data to creating your own trading apps. Here are some things you can do with Alpaca-py: - [**Market Data API**](https://alpaca.markets/sdks/python/api_reference/data_api.html): Access live and historical market data for 5000+ stocks and 20+ crypto. - [**Trading API**](https://alpaca.markets/sdks/python/api_reference/trading_api.html): Trade stock and crypto with lightning fast execution speeds. - [**Broker API & Connect**](https://alpaca.markets/sdks/python/api_reference/broker_api.html): Build investment apps - from robo-advisors to brokerages. # Community-Made SDKs [Skip link to Community-Made SDKs](https://docs.alpaca.markets/docs/sdks-and-tools\#community-made-sdks) In addition to the SDKs directly supported by Alpaca, individual members of our community have created and contributed their own wrappers for these other languages. We are providing these links as a courtesy to the community and to our users who are looking for the API wrapper in other languages or variants. Please be sure to carefully review any code you use to access our financial trading API and/or trust your account credentials to. Made your own wrapper for a language not listed? Join our community Slack and let us know about it! - **C++**: [alpaca-trade-api-cpp](https://github.com/marpaia/alpaca-trade-api-cpp) - **Java**: [alpaca-java](https://github.com/Petersoj/alpaca-java) - **Node.js** (TypeScript): [alpaca-ts](https://github.com/alpacahq/alpaca-ts) - **R**: [alpaca-for-r](https://github.com/yogat3ch/AlpacaforR) - **Rust**: [apca](https://github.com/d-e-s-o/apca) (SDK) & [apcacli](https://github.com/d-e-s-o/apcacli) (CLI) - **Scala**: [Alpaca Scala](https://github.com/cynance/alpaca-scala) - **Ruby**: [alpaca-trade-api](https://github.com/ccjr/alpaca-trade-api) - **Elixir**: [alpaca\_elixir](https://github.com/jrusso1020/alpaca_elixir) Updated10 months ago * * * ## Historical Options Data This API provides historical market data for options. Check the [API Reference](https://docs.alpaca.markets/reference/optionbars) for the detailed descriptions of all the endpoints. > ## 🚧 Data availability > > Currently we only offer historical option data since February 2024. # Data sources [Skip link to Data sources](https://docs.alpaca.markets/docs/historical-option-data\#data-sources) Similarly to stocks, Alpaca offers two different data sources for options: | Source | Description | | --- | --- | | **Indicative** | Indicative Pricing Feed is a free derivative of the original OPRA feed: the quotes are not actual OPRA quotes, they’re just indicative derivatives. The trades are also derivatives and they’re delayed by 15 minutes. | | **OPRA (Options Price Reporting Authority)** | OPRA is the consolidated BBO feed of OPRA. [OPRA Plan](https://www.opraplan.com/document-library) defines the BBO as the highest bid and lowest offer for a series of options available in one or more of the options markets maintained by the parties. OPRA feed is only available to subscribed users. | Updated12 months ago * * * ## FDIC Sweep Program ### What is an FDIC Sweep program? [Skip link to What is an FDIC Sweep program?](https://docs.alpaca.markets/docs/fdic-sweep-program\#what-is-an-fdic-sweep-program) An FDIC Bank Sweep Program, is an insured deposit program that allows customers who opt-in to earn interest on eligible cash balances and offers expanded FDIC insurance coverage on those cash balances\*. ### How does FDIC sweep work? [Skip link to How does FDIC sweep work?](https://docs.alpaca.markets/docs/fdic-sweep-program\#how-does-fdic-sweep-work) Through the Alpaca FDIC Bank Sweep Program, eligible uninvested cash in a customer brokerage account can be swept to one or more of the participating [FDIC Sweep Program Banks](https://alpaca.markets/deposit-bank-list), where the swept cash becomes eligible for FDIC insurance up to a total maximum of $1,000,000 (FDIC insurance coverage is limited to $250,000 at each program bank)\*. ### How much is insured? [Skip link to How much is insured?](https://docs.alpaca.markets/docs/fdic-sweep-program\#how-much-is-insured) Currently FDIC insurance up to a total maximum of $1,000,000 (FDIC insurance coverage is limited to $250,000 at each program bank)\*. ### What are the eligibility requirements? [Skip link to What are the eligibility requirements?](https://docs.alpaca.markets/docs/fdic-sweep-program\#what-are-the-eligibility-requirements) 1. Partners must be using a fully disclosed structure (not available to Partners with an omnibus structure at launch). 2. A customer must elect to opt-in their account into the program: _Existing:_ Customers with an existing Alpaca account that have signed a Customer Agreement before August 21, 2024 (prior to revision 22.2024.08) must provide opt-in consent by signing the updated Customer Agreement and be presented the [Alpaca FDIC Bank Sweep Program Terms and Conditions](https://files.alpaca.markets/disclosures/Alpaca+FDIC+Bank+Sweep+Program+Terms+and+Conditions.pdf) on your front-end. Our Tech Integration team will help walk you through that process and the requirements. _New:_ Those who signed the Customer Agreement on or after August 21, 2024 (revision 22.2024.08 or newer) are automatically eligible to be enrolled. 3. The customer account is not flagged as a pattern day trader (PDT). If an account is flagged as a PDT while enrolled in the FDIC Bank Sweep Program, it will be unenrolled from the program, and its sweep balance will be swept back from the program. Any accrued interest due will be paid, but no additional interest will be accrued unless the PDT flag is removed and the account is re-enrolled in the program by assigning an APR Tier. 4. The customer account has a base currency of USD. 5. The customer account is pre-funded (i.e., non-JIT). ### How does a user enroll? [Skip link to How does a user enroll?](https://docs.alpaca.markets/docs/fdic-sweep-program\#how-does-a-user-enroll) Please see our blog article [Getting Started with High-Yield Cash for Broker API](https://alpaca.markets/learn/getting-started-with-high-yield-cash-for-broker-api) ### How can a user opt-out of the FDIC Sweep Program? [Skip link to How can a user opt-out of the FDIC Sweep Program?](https://docs.alpaca.markets/docs/fdic-sweep-program\#how-can-a-user-opt-out-of-the-fdic-sweep-program) To opt-out a user from the Alpaca FDIC Bank Sweep Program, please email [support@alpaca.markets](mailto:support@alpaca.markets). ### What account types are supported? [Skip link to What account types are supported?](https://docs.alpaca.markets/docs/fdic-sweep-program\#what-account-types-are-supported) We are currently supporting Individual Taxable and Custodial accounts at this time. ### What are the benefits of a user enrolling? [Skip link to What are the benefits of a user enrolling?](https://docs.alpaca.markets/docs/fdic-sweep-program\#what-are-the-benefits-of-a-user-enrolling) _Income:_ Earn interest on eligible cash balances _Security:_ Up to $1m FDIC insurance\* per customer via FDIC Bank Sweep _Liquidity:_ Daily liquid, and available for use as buying power for trading activities [https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) ### How does a user withdraw funds from the program? [Skip link to How does a user withdraw funds from the program?](https://docs.alpaca.markets/docs/fdic-sweep-program\#how-does-a-user-withdraw-funds-from-the-program) Customers are unable to withdraw directly from the program banks. Customers must therefore, request a withdrawal or transfer on the partner’s front-end the same way it’s implemented today, for which the corresponding cash will be swept out of the program to cover the request. ### How can a user opt out of a specific bank in the program? [Skip link to How can a user opt out of a specific bank in the program?](https://docs.alpaca.markets/docs/fdic-sweep-program\#how-can-a-user-opt-out-of-a-specific-bank-in-the-program) Currently, clients must opt out of the entire program by unenrolling. In an upcoming release, we aim to offer the ability to opt-out at the individual program bank level. ### How frequently does interest accrue? [Skip link to How frequently does interest accrue?](https://docs.alpaca.markets/docs/fdic-sweep-program\#how-frequently-does-interest-accrue) Daily ### How often is interest compounded? [Skip link to How often is interest compounded?](https://docs.alpaca.markets/docs/fdic-sweep-program\#how-often-is-interest-compounded) Monthly ### When is interest available? [Skip link to When is interest available?](https://docs.alpaca.markets/docs/fdic-sweep-program\#when-is-interest-available) Last business day of the month. The accrued interest is booked to the customer account, but remains within the program to compound into yield. ### What decimal is interest rounded to? [Skip link to What decimal is interest rounded to?](https://docs.alpaca.markets/docs/fdic-sweep-program\#what-decimal-is-interest-rounded-to) Daily accrued interest is rounded to 4 decimals, while month-end realized interest is rounded to 2 decimals ### When can cash be swept into and out of the program? [Skip link to When can cash be swept into and out of the program?](https://docs.alpaca.markets/docs/fdic-sweep-program\#when-can-cash-be-swept-into-and-out-of-the-program) Daily, excluding US weekends and holidays ### Is the APR/APY fixed or variable? [Skip link to Is the APR/APY fixed or variable?](https://docs.alpaca.markets/docs/fdic-sweep-program\#is-the-aprapy-fixed-or-variable) The Program Rate is variable and subject to change without notice. ### How can I access the FDIC Bank Sweep Program Deposit Bank List? [Skip link to How can I access the FDIC Bank Sweep Program Deposit Bank List?](https://docs.alpaca.markets/docs/fdic-sweep-program\#how-can-i-access-the-fdic-bank-sweep-program-deposit-bank-list) [Deposit Bank List](https://alpaca.markets/deposit-bank-list) ### Is there more detailed information available?\*\* [Skip link to Is there more detailed information available?**](https://docs.alpaca.markets/docs/fdic-sweep-program\#is-there-more-detailed-information-available) [Alpaca Securities LLC FDIC Bank Sweep Program Terms and Conditions](https://files.alpaca.markets/disclosures/Alpaca+FDIC+Bank+Sweep+Program+Terms+and+Conditions.pdf) ### What are the key timing considerations to be mindful of? [Skip link to What are the key timing considerations to be mindful of?](https://docs.alpaca.markets/docs/fdic-sweep-program\#what-are-the-key-timing-considerations-to-be-mindful-of) _11:45 am ET_ -The cutoff for when a deposit can be settled and swept into the program same-day for accounts with cash\_interest.status = ACTIVE. -The cutoff for when a partial withdrawal request can be facilitated out of the program. -The cutoff for when an Assignment API request will process the same-day. -The cutoff for when a Reassignment API request will process the same-day. -The cutoff for when an Unenroll API request will process the same-day. _12:15 pm - 2:00 pm ET_ When cash\_interest.status updates cycle from PENDING\_CHANGE to ACTIVE or INACTIVE. _6:00 pm ET_ When the [Account Activities endpoint](https://docs.alpaca.markets/reference/getaccountactivitiesbytype-1) is updated to reflect realized interest credited to accounts on the last business day of the month. The qty will be reflected within that day’s cash\_interest value from the EOD Cash Interest Details response. _8:00 pm ET_ When the [EOD Cash Interest Details endpoint](https://docs.alpaca.markets/reference/get-v1-get-eod-cash-interest-report) is updated to reflect that day’s ending state. \*Alpaca Securities customers that enroll in the FDIC Bank Sweep are potentially eligible for enhanced FDIC pass-through insurance coverage. Neither Alpaca nor Alpaca Securities are FDIC-insured. FDIC pass-through insurance coverage is subject to various conditions. The Program’s enhanced FDIC insurance coverage is limited to the aggregate number of participating program banks, multiplied by the FDIC insurance limit (i.e., $250,000). The total number of program banks is subject to change and Alpaca Securities may not utilize all program banks at all times which will affect the Program’s enhanced FDIC insurance coverage amount. In addition, if a customer has a direct banking relationship with a program bank this may affect the amount of funds that are potentially eligible for FDIC-pass through insurance coverage. There is no guarantee that customer funds will be held in such a manner as to maximize possible FDIC pass-through insurance coverage. Neither Alpaca, nor any of its affiliates or subsidiaries is a bank. Alpaca Securities offers a cash management program pursuant to the FDIC Bank Sweep. Customer funds are treated differently and are subject to separate regulatory regimes depending on whether customer funds are held in their brokerage account or within the FDIC Bank Sweep. Specifically, Alpaca Securities is a member of the Securities Investor Protection Corporation (SIPC), which protects securities customers of its members up to $500,000 (including $250,000 for claims for cash). The Federal Deposit Insurance Corporation (FDIC) insures up to $250,000 per deposit against the failure of an FDIC member bank. Customer funds held in brokerage accounts are SIPC insured, but are not eligible for FDIC insurance coverage. Funds maintained in the FDIC Bank Sweep are intended to be eligible for pass-through FDIC insurance coverage, but are not subject to SIPC coverage. FDIC insurance coverage does not protect against the failure of Alpaca, Alpaca Securities, or any of its or their affiliates and/or malfeasance by any Alpaca or Alpaca Securities employee. Program banks that participate in the FDIC Bank Sweep are not members of SIPC and therefore funds held in the Program are not SIPC protected. Please see alpaca.markets/disclosures for important additional disclosures regarding Alpaca Securities brokerage offering as well as FDIC Bank Sweep terms and conditions. Updatedabout 2 months ago * * * ## Corporate Actions Overview # Mandatory Corporate Actions [Skip link to Mandatory Corporate Actions](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#mandatory-corporate-actions) ### What are the most common corporate actions Alpaca handles, and what are they? [Skip link to What are the most common corporate actions Alpaca handles, and what are they?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#what-are-the-most-common-corporate-actions-alpaca-handles-and-what-are-they) - **Dividends** \- Dividends are payments made by companies to shareholders to account for their share of profits made by the company. The usual timeline for dividend payments is quarterly payments, but this is fully dependent on the companies themselves. There are 3 main types of dividends; a brief overview of each is added below: - **Cash** \- Cash dividends are when companies pay out cash to their shareholders to account for their profits. - **Stock** \- Stock dividends are when companies pay out stock to their shareholders to account for their profits. - **SPLITs** \- Splits are events in which a company changes its number of shares, either by splitting a share into multiple shares, or combining multiple shares into 1. In both events, the quantity that a user owns in a stock will be affected and updated according to the SPLIT ratio. - **Forward** \- A forward split is when the company splits 1 share into multiple shares, resulting in a lower price per share. - **Reverse** \- A reverse split is when the company combines multiple shares into 1 share, resulting in a higher price per share. - **SPIN** \- Spinoffs occur when a company provides its shareholders shares in a subsidiary or business division. Clients will continue to hold original shares and cost basis may be adjusted due to the new spin off security. - **Mergers** \- A merger is when 2 companies join to become 1 new company. For the explanations below, assume company A and company B are participants in a merger, with company B being the larger of the 2 companies. Company A is being merged into company B. - **Stock Merger** \- This is when a shareholder of a company receives shares in another company due to the participation in a merger. For example, company B allocates 2 shares of B to a shareholder in company A after the merger is done. - **Cash Merger** \- This is when the shareholders of a company receive cash due to participation in a merger. For example, company B pays 100$ to a shareholder in company A after the merger is done. - **Stock and Cash Merger** \- This is when the shareholders of a company receive both stock & cash due to participation in a merger. For example, company B allocates 2 shares of B & pays 100$ to a shareholder in company A after the merger is done. - **Full Call** \- This is when the shareholders of a company receive cash due to the company exercising their right to purchase shares from shareholders. This is usually done on preferred shares. - **Final Liquidation** \- This is when the shareholders of a company receive cash and the underlying shares are removed. This is usually done on SPACs or securities such as CVRs and escrow shares. - **Partial Liquidation** \- This is when the shareholders of a company receive cash, but the underlying shares continue to be held in anticipation of potential future distributions. This is usually done on securities such as CVRs and escrow shares. - **NC** \- A name change occurs when a company changes its legal name, regardless of the reason behind the change. When this happens, the underlying asset might be affected in multiple ways: - **Symbol change** \- This is when the symbol of the underlying asset changes as part of the name change event. - **CUSIP change** \- This is when the CUSIP of the underlying asset changes as part of the name change event. - **Symbol & CUSIP change** \- This is when both the symbol & CUSIP of the underlying asset change as part of the name change event. Note: There might also be no change in either CUSIP or symbol, in which case the update to the asset will occur without triggering an NC event. **Examples** of each type of Mandatory Event above are available in the docs [here](https://docs.alpaca.markets/docs/draft-sse-events#non-trade-activities-events). * * * ### Which of all the dates in the response body should we use in each transaction detail? [Skip link to Which of all the dates in the response body should we use in each transaction detail?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#which-of-all-the-dates-in-the-response-body-should-we-use-in-each-transaction-detail) Settle date. * * * ### How does Alpaca handle stock-and-cash mergers? [Skip link to How does Alpaca handle stock-and-cash mergers?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#how-does-alpaca-handle-stock-and-cash-mergers) Stock and cash mergers are mandatory events, so they are handled like all other mandatory events. * * * ### For stock and cash mergers, what would we receive as NTAs? [Skip link to For stock and cash mergers, what would we receive as NTAs?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#for-stock-and-cash-mergers-what-would-we-receive-as-ntas) You should receive 3 NTA events: - 1 for the removal of the original security - 1 for the allocation of new shares - 1 for the allocation of cash A sample is added below. This was a stock-and-cash merger with 5 shares of `384CVR015` and `$9.95` allocated for every `1 share` of `GRCL`: **Removal of original security:** json ```rdmd-code lang-Text theme-light { "id": "", "qty": -284.678660686, "price": 6.04, "status": "correct", "symbol": "GRCL", "entry_type": "MA", "net_amount": 0, "description": "Stock Merger 5 384CVR015 for 1 GRCL", "settle_date": "2024-02-29", "system_date": "2024-02-29", "per_share_amount": null } ``` **Allocation of new shares:** json ```rdmd-code lang-Text theme-light { "id": "", "qty": 1423.39330343, "price": 1.21, "status": "correct", "symbol": "384CVR015", "entry_type": "MA", "net_amount": 0, "description": "Stock Merger 5 384CVR015 for 1 GRCL", "settle_date": "2024-02-29", "system_date": "2024-02-29", "per_share_amount": null } ``` In the removal & allocation of shares events, the quantity field represents the number of shares removed or allocated. **Allocation of cash:** json ```rdmd-code lang-Text theme-light { "id": "", "qty": 0, "price": null, "status": "executed", "symbol": "GRCL", "entry_type": "MA", "net_amount": 2832.55, "description": "Stock Cash Merger 5 384CVR015 and $9.95 for 1 GRCL", "settle_date": "2024-02-29", "system_date": "2024-02-29", "per_share_amount": null } ``` In the cash events, `net_amount` will reflect the cash amount allocated. * * * ### At a user level, are cash mergers always for 100% of the position, or are there cases where a user might keep 50% of their position and receive cash for the remaining 50%? [Skip link to At a user level, are cash mergers always for 100% of the position, or are there cases where a user might keep 50% of their position and receive cash for the remaining 50%?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#at-a-user-level-are-cash-mergers-always-for-100-of-the-position-or-are-there-cases-where-a-user-might-keep-50-of-their-position-and-receive-cash-for-the-remaining-50) On a stock and cash merger, all shares of the old security are removed. The new stock and cash allocation are based on a ratio determined by the company based on current market conditions. * * * ### Does Alpaca handle recapitalization? [Skip link to Does Alpaca handle recapitalization?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#does-alpaca-handle-recapitalization) Alpaca does not currently handle debt instruments. Recapitalization events deal with debt instruments and, accordingly, are not available on Alpaca. * * * ### How does Alpaca handle tax withholding? [Skip link to How does Alpaca handle tax withholding?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#how-does-alpaca-handle-tax-withholding) We receive a net rate per share from DTC based on the country of the company. 1. If it is a foreign company, then there may be a foreign dividend withholding tax that is withheld from the payment we receive from DTC. This payment would represent the `DIV` NTA entry. 2. With a foreign partner, there may be an additional withholding (the `DIVNRA` entry) based on their country and the withholding percentage for that country. If the company that paid the dividend has a tax exempt foreign status, then the `DIVNRA` entry may not apply. In summary, you would receive a `DIV` event (the dividend) and a `DIVNRA` (the tax withholding) event. Noting that if a `DIVNRA` value is `< 0.01`, however, you will not receive a `DIVNRA` activity. * * * ### Are there any cases where Alpaca does not withhold taxes on dividends? [Skip link to Are there any cases where Alpaca does not withhold taxes on dividends?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#are-there-any-cases-where-alpaca-does-not-withhold-taxes-on-dividends) If the company is a foreign company, then there may not be any `DIVNRA` withholdings * * * ### Does the amount sent in the DIV event include the tax? In other words, to calculate the final amount, the amount in the DIVNRA event needs to be deducted from the amount on DIV event. [Skip link to Does the amount sent in the DIV event include the tax? In other words, to calculate the final amount, the amount in the DIVNRA event needs to be deducted from the amount on DIV event.](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#does-the-amount-sent-in-the-div-event-include-the-tax-in-other-words-to-calculate-the-final-amount-the-amount-in-the-divnra-event-needs-to-be-deducted-from-the-amount-on-div-event) Yes, the amount sent in the `DIV` event is without the tax `DIVNRA`, so you need to determine the net amount after the `DIVNRA` by taking the `DIV` and reducing it by the `DIVNRA`. * * * ### Are symbol changes notified via the SSE Events? [Skip link to Are symbol changes notified via the SSE Events?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#are-symbol-changes-notified-via-the-sse-events) No, as of now the symbol changes need to be seen via the [Assets API](https://docs.alpaca.markets/reference/getassets "https://docs.alpaca.markets/reference/getassets"). Syncing at regular intervals is what is recommended to make sure you are up-to-date with the symbol changes. * * * ### Do we have a new asset object, if there is a symbol change? [Skip link to Do we have a new asset object, if there is a symbol change?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#do-we-have-a-new-asset-object-if-there-is-a-symbol-change) The answer is a YES and a NO. The reason for that is, if there is simply a symbol change without the CUSIP being updated, in that case, we just update the existing asset by updating the Symbol. If there is a CUSIP change, the current asset becomes INACTIVE and a new Asset Object is added the the response of the [Assets API](https://docs.alpaca.markets/reference/getassets "https://docs.alpaca.markets/reference/getassets"). * * * ### What happens when a stock split occurs? [Skip link to What happens when a stock split occurs?](https://docs.alpaca.markets/docs/mandatory-corporate-actions\#what-happens-when-a-stock-split-occurs) For reverse splits all GTC orders will be canceled that were in the market with a trade date prior to the effective date of the reverse split. For forward splits, GTC buy limits and sell stops are adjusted. The price and quantity will be adjusted. Other orders will not be adjusted. Please note that this piece is for general informational purposes only. The examples above are for illustrative purposes only. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein. Updated4 months ago * * * ## Statements and Confirmations # Requirements [Skip link to Requirements](https://docs.alpaca.markets/docs/statements-and-confirms\#requirements) Under the FINRA and SEC rules, Alpaca is required to ensure the customer statements and trade confirms are delivered correctly in time to the end customers. That being said, the actual communication and delivery do not have to be done by Alpaca directly. Very often, you want to own the full user experiences and to be responsible for these communications, which is totally possible. # Document API Integration [Skip link to Document API Integration](https://docs.alpaca.markets/docs/statements-and-confirms\#document-api-integration) You can retrieve the generated reports in PDF format through the [Documents API](https://docs.alpaca.markets/reference/downloaddocfromaccount-1). You can store the files on your storage if it is required for your regulation purpose, or you can let your customers download the files using the URL returned in the API response. If you are a fully-disclosed broker-dealer, you can insert your firm logo, name and address in the PDF template. Please send those data to Alpaca. If you need even more customization on the template, we are currently working on the new API endpoint which will return only the data points so that you can build fully-customized documents with your own template. Alpaca still needs to review your final version of customized documents before delivering to the end customers for the first time. Updated9 months ago * * * ## Portfolio Positions API You can view the positions in your portfolio by making a `GET` request to the `/v2/positions` endpoint. If you specify a symbol, you’ll see only your position for the associated stock. PythonJavaScriptC#Go ```rdmd-code lang-python theme-light from alpaca.trading.client import TradingClient trading_client = TradingClient('api-key', 'secret-key') # Get our position in AAPL. aapl_position = trading_client.get_open_position('AAPL') # Get a list of all of our positions. portfolio = trading_client.get_all_positions() # Print the quantity of shares for each position. for position in portfolio: print("{} shares of {}".format(position.qty, position.symbol)) ``` ```rdmd-code lang-javascript theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); // Get our position in AAPL. aaplPosition = alpaca.getPosition("AAPL"); // Get a list of all of our positions. alpaca.getPositions().then((portfolio) => { // Print the quantity of shares for each position. portfolio.forEach(function (position) { console.log(`${position.qty} shares of ${position.symbol}`); }); }); ``` ```rdmd-code lang-csharp theme-light using Alpaca.Markets; using System; using System.Linq; using System.Threading.Tasks; namespace CodeExamples { internal static class Example { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; public static async Task Main(string[] args) { // First, open the API connection var client = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); // Get our position in AAPL. var aaplPosition = await client.GetPositionAsync("AAPL"); // Get a list of all of our positions. var positions = await client.ListPositionsAsync(); // Print the quantity of shares for each position. foreach (var position in positions) { Console.WriteLine($"{position.Quantity} shares of {position.Symbol}."); } Console.Read(); } } } ``` ```rdmd-code lang-go theme-light package main import ( "fmt" "github.com/alpacahq/alpaca-trade-api-go/alpaca" ) func init() { alpaca.SetBaseUrl("https://paper-api.alpaca.markets") } func main() { // Get our position in AAPL. aapl_position, err := alpaca.GetPosition("AAPL") if err != nil { fmt.Println("No AAPL position.") } else { fmt.Printf("AAPL position: %v shares.\n", aapl_position.Qty) } // Get a list of all of our positions. positions, err := alpaca.ListPositions() if err != nil { fmt.Println("No positions found.") } else { // Print the quantity of shares for each position. for _, position := range positions { fmt.Printf("%v shares in %s", position.Qty, position.Symbol) } } } ``` The current price reflected will be based on the following: **4:00 am ET - 9:30 am ET**\- Last trade based on the premarket **9:30 am ET - 4pm ET**\- Last trade **4:00 pm ET - 10:00 pm ET** \- Last trade based on after-hours trading **10 pm ET - 4:00 am ET next trading day** \- Official closing price from the primary exchange at 4 pm ET. Updatedover 1 year ago * * * Did this page help you? Yes No ## Market Data FAQ # General [Skip link to General](https://docs.alpaca.markets/docs/market-data-faq\#general) ## Why am I getting HTTP 403 (Forbidden)? [Skip link to Why am I getting HTTP 403 (Forbidden)?](https://docs.alpaca.markets/docs/market-data-faq\#why-am-i-getting-http-403-forbidden) The market data endpoints return HTTP 403 if any of the following conditions are true: - the request was not authenticated - the provided credentials were incorrect - the authenticated user has insufficient permissions To fix these issues, there are two checklists, one for regular users and one for broker partners. If you're unsure which refers to you, check this [FAQ](https://docs.alpaca.markets/docs/broker-api-faq#what-is-the-difference-between-trading-api-and-broker-api). If you're still unsure, then check your access key. If it starts with the letter `C`, then you're a broker partner, otherwise you're a regular user. If you don't have an access key yet, generate it on the right-hand side of the Alpaca [dashboard](https://app.alpaca.markets/brokerage/dashboard/overview). ### Checklist for regular users [Skip link to Checklist for regular users](https://docs.alpaca.markets/docs/market-data-faq\#checklist-for-regular-users) - make sure you provide your credentials in the following HTTP headers: - `APCA-API-KEY-ID` - `APCA-API-SECRET-KEY` - make sure your credentials are valid: - check the key on the [web UI](https://app.alpaca.markets/brokerage/dashboard/overview) - when you reset your paper account, you need to regenerate your credentials - make sure the host is `data.alpaca.markets` [for historical](https://docs.alpaca.markets/docs/historical-api#base-url) or `stream.data.alpaca.markets` [for live](https://docs.alpaca.markets/docs/streaming-market-data#connection) - if you get a message like `subscription does not permit querying recent SIP data` in the HTTP response body, make sure you have the proper [subscription](https://docs.alpaca.markets/docs/about-market-data-api#subscription-plans) - for example to query any SIP trades or quotes in the last 15 minutes, you need the Algo Trader Plus subscription ### Checklist for broker partners [Skip link to Checklist for broker partners](https://docs.alpaca.markets/docs/market-data-faq\#checklist-for-broker-partners) - make sure you provide your credentials in [HTTP basic authentication](https://docs.alpaca.markets/docs/about-market-data-api#subscription-plans) - make sure your credentials are valid - make sure you're using the right host based on your environment: - the production host is `data.alpaca.markets` [for historical](https://docs.alpaca.markets/docs/historical-api#base-url) and `stream.data.alpaca.markets` [for live](https://docs.alpaca.markets/docs/streaming-market-data#connection) - the sandbox host (for testing) is `data.sandbox.alpaca.markets` [for historical](https://docs.alpaca.markets/docs/historical-api#base-url) and `stream.data.sandbox.alpaca.markets` [for live](https://docs.alpaca.markets/docs/streaming-market-data#connection) - if you get a message like `subscription does not permit querying recent SIP data` in the HTTP response body, make sure you have the proper [subscription](https://docs.alpaca.markets/docs/about-market-data-api#broker-partners) - for example, to query any SIP trades or quotes in the last 15 minutes, you need a special subscription ## How do I subscribe to AlgoTrader Plus? [Skip link to How do I subscribe to AlgoTrader Plus?](https://docs.alpaca.markets/docs/market-data-faq\#how-do-i-subscribe-to-algotrader-plus) You can subscribe to AlgoTrader Plus on the [Alpaca UI](https://app.alpaca.markets/account/plans-and-features): on the left sidebar of the main page click on "Plans & Features" and on that page click on "Upgrade to AlgoTrader Plus" inside the Market Data box. # Stocks [Skip link to Stocks](https://docs.alpaca.markets/docs/market-data-faq\#stocks) ## What's the difference between IEX and SIP data? [Skip link to What's the difference between IEX and SIP data?](https://docs.alpaca.markets/docs/market-data-faq\#whats-the-difference-between-iex-and-sip-data) SIP is short for [Securities Information Processor](https://en.wikipedia.org/wiki/Securities_information_processor). All US exchanges are mandated by the regulators to report their activities (trades and quotes) to the consolidated tape. This is what we call SIP data. IEX ( [Investors Exchange](https://en.wikipedia.org/wiki/IEX)) is a single stock exchange. #### [Websocket stream](https://docs.alpaca.markets/docs/real-time-stock-pricing-data) [Skip link to [object Object]](https://docs.alpaca.markets/docs/market-data-faq\#websocket-stream) Our free market data offering includes live data only from the IEX exchange: ```rdmd-code lang- theme-light wss://stream.data.alpaca.markets/v2/iex ``` The Algo Trader Plus subscription on the other hand offers SIP data: ```rdmd-code lang- theme-light wss://stream.data.alpaca.markets/v2/sip ``` #### [Historical data](https://docs.alpaca.markets/reference/stockbars) [Skip link to [object Object]](https://docs.alpaca.markets/docs/market-data-faq\#historical-data) On the historical endpoints, use the `feed` parameter to switch between the two data feeds: JSON ```rdmd-code lang-json theme-light $ curl -s -H "APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H "APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" \ "https://data.alpaca.markets/v2/stocks/AAPL/bars?feed=sip&timeframe=1Day&start=2023-09-29&limit=1" | jq . { "bars": [\ {\ "t": "2023-09-29T04:00:00Z",\ "o": 172.02,\ "h": 173.07,\ "l": 170.341,\ "c": 171.21,\ "v": 51861083,\ "n": 535134,\ "vw": 171.599691\ }\ ], "symbol": "AAPL", "next_page_token": "QUFQTHxEfDIwMjMtMDktMjlUMDQ6MDA6MDAuMDAwMDAwMDAwWg==" } $ curl -s -H "APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H "APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" \ "https://data.alpaca.markets/v2/stocks/AAPL/bars?feed=iex&timeframe=1Day&start=2023-09-29&limit=1" | jq . { "bars": [\ {\ "t": "2023-09-29T04:00:00Z",\ "o": 172.015,\ "h": 173.06,\ "l": 170.36,\ "c": 171.29,\ "v": 923134,\ "n": 12630,\ "vw": 171.716432\ }\ ], "symbol": "AAPL", "next_page_token": null } ``` In this example (2023-09-29 Apple daily bar), you can clearly see the difference between the two feeds: there were **12 630** eligible trades on the IEX exchange that day and more than **535 136** trades in total across all exchanges (naturally including IEX). Similar differences can be seen between their volumes. All the latest endpoints (including the [snapshot](https://docs.alpaca.markets/reference/stocksnapshotsingle) endpoint), require a subscription to be used with the SIP feed. For historical queries, the `end` parameter must be at least 15 minutes old to query SIP data without a subscription. The default value for `feed` is always the "best" available feed based on the user's subscription. JSON ```rdmd-code lang-json theme-light $ curl -s -H "APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H "APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" \ "https://data.alpaca.markets/v2/stocks/AAPL/trades/latest" | jq . { "symbol": "AAPL", "trade": { "t": "2023-09-29T19:59:59.246196362Z", "x": "V", // << IEX exchange code "p": 171.29, "s": 172, "c": [\ "@"\ ], "i": 12727, "z": "C" } } $ curl -H "APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H "APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" \ "https://data.alpaca.markets/v2/stocks/AAPL/trades/latest?feed=sip" {"code":42210000,"message":"subscription does not permit querying recent SIP data"} ``` In this example, we're querying the latest AAPL trade without a subscription. The default `feed` in this case is `iex`. If we were to try to query the SIP feed, we would get an error. To fix that error, we need to subscribe to [Algo Trader Plus](https://docs.alpaca.markets/docs/about-market-data-api#subscription-plans). ## Why can't I find market data for a particular symbol (e.g. CGRNQ)? [Skip link to Why can't I find market data for a particular symbol (e.g. CGRNQ)?](https://docs.alpaca.markets/docs/market-data-faq\#why-cant-i-find-market-data-for-a-particular-symbol-eg-cgrnq) ### OTC [Skip link to OTC](https://docs.alpaca.markets/docs/market-data-faq\#otc) Make sure the symbol is not traded in OTC using the [assets endpoint](https://docs.alpaca.markets/reference/get-v2-assets-symbol_or_asset_id). `https://api.alpaca.markets/v2/assets/CGRNQ` returns JSON ```rdmd-code lang-json theme-light { "id": "dc2d8be9-33b5-4a32-8f57-5b7d209d2c82", "class": "us_equity", "exchange": "OTC", // << This symbol is traded in OTC "symbol": "CGRNQ", "name": "CAPSTONE GREEN ENERGY CORP COM PAR $.001", "status": "active", "tradable": false, "marginable": false, "maintenance_margin_requirement": 100, "shortable": true, "easy_to_borrow": true, "fractionable": true, "attributes": [] } ``` Market data for OTC symbols can only be queried with a special subscription currently available only for broker partners. If you do have the subscription, you can use `feed=otc` to query the data. ### Inactive [Skip link to Inactive](https://docs.alpaca.markets/docs/market-data-faq\#inactive) Make sure the asset is active. Check the `status` field of the [same endpoint](https://docs.alpaca.markets/reference/get-v2-assets-symbol_or_asset_id). ### Halt [Skip link to Halt](https://docs.alpaca.markets/docs/market-data-faq\#halt) Make sure the symbol isn't or wasn't halted at the time you're querying. You can check the [current halts](https://www.nasdaqtrader.com/trader.aspx?id=TradeHalts) or the [historical halts](https://www.nasdaqtrader.com/Trader.aspx?id=TradingHaltSearch) on the Nasdaq website. For example, the symbol SVA has been halted since 2019-02-22. ## What happens when a ticker symbol of a company changes? [Skip link to What happens when a ticker symbol of a company changes?](https://docs.alpaca.markets/docs/market-data-faq\#what-happens-when-a-ticker-symbol-of-a-company-changes) Perhaps the most famous example for this was when Facebook decided to [rename itself](https://about.fb.com/news/2021/10/facebook-company-is-now-meta/) to Meta and to change its ticker symbol from FB to META. This transition happened on 2022-06-09. ### Latest endpoints [Skip link to Latest endpoints](https://docs.alpaca.markets/docs/market-data-faq\#latest-endpoints) On the latest endpoints ( [latest trades](https://docs.alpaca.markets/reference/stocklatesttrades-1), [latest quotes](https://docs.alpaca.markets/reference/stocklatestquotes-1), [latest bars](https://docs.alpaca.markets/reference/stocklatestbars-1) and [snapshots](https://docs.alpaca.markets/reference/stocksnapshots-1)), the data is never manipulated in any way. These endpoints always return the data as it was received at the time (this is also why there is no `adjustment` parameter on the [latest bars](https://docs.alpaca.markets/reference/stocklatestbars-1)). So, in this case, the latest FB trade returns the last trade when the company was still called FB: JSON ```rdmd-code lang-json theme-light $ curl -s -H "APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H "APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" "${APCA_API_DATA_URL}/v2/stocks/trades/latest?symbols=FB" | jq . { "trades": { "FB": { "c": [\ "@",\ "T"\ ], "i": 31118, "p": 196.29, "s": 121, "t": "2022-06-08T23:59:55.103033856Z", "x": "P", "z": "C" } } } ``` Note the timestamp in the response is 2022-06-08, the night before the name change. ### Stream endpoints [Skip link to Stream endpoints](https://docs.alpaca.markets/docs/market-data-faq\#stream-endpoints) The symbols always reflect the ones used by the companies at the time of the transmission on the [streaming endpoints](https://docs.alpaca.markets/edit/real-time-stock-pricing-data) as well. In practice this means that a stream client must resubscribe to the new symbol after a name change to continue receiving data. The resubscribe requires no reconnection, in the Facebook example you could simply send a [subscribe message](https://docs.alpaca.markets/docs/streaming-market-data#subscription) to META. ### Historical endpoints [Skip link to Historical endpoints](https://docs.alpaca.markets/docs/market-data-faq\#historical-endpoints) On the historical endpoints we introduced the `asof` parameter to link together the data before and after the rename. By default, this parameter is "enabled", so even if you don't specify it, you will get the data for both the old and new symbol when querying the new symbol after the rename. For the example of the FB - META rename, we can simply query the daily bars for META for the whole week (the rename happened on Thursday), yet we see the bars for Monday, Tuesday and Wednesday as well, even though on those days, the company was still called FB. Shell ```rdmd-code lang-shell theme-light $ curl -s -H "APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H "APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" \ "${APCA_API_DATA_URL}/v2/stocks/bars?timeframe=1Day&symbols=META&start=2022-06-06&end=2022-06-11" | \ jq -r '.bars.META[] | [.t, .o, .h, .l, .c] | @tsv' 2022-06-06T04:00:00Z 193.99 196.92 188.4 194.25 2022-06-07T04:00:00Z 191.93 196.53 191.49 195.65 2022-06-08T04:00:00Z 194.67 202.03 194.41 196.64 2022-06-09T04:00:00Z 194.28 199.45 183.68 184 2022-06-10T04:00:00Z 183.04 183.1 175.02 175.57 ``` If you disable the `asof` parameter, you won't get the FB bars: Shell ```rdmd-code lang-shell theme-light $ curl -s -H "APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H "APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" \ "${APCA_API_DATA_URL}/v2/stocks/bars?timeframe=1Day&symbols=META&start=2022-06-06&end=2022-06-11&asof=-" | \ jq -r '.bars.META[] | [.t, .o, .h, .l, .c] | @tsv' 2022-06-09T04:00:00Z 194.28 199.45 183.68 184 2022-06-10T04:00:00Z 183.04 183.1 175.02 175.57 ``` If you set `asof` to a date before the rename, you can query by the old ticker: Shell ```rdmd-code lang-shell theme-light $ curl -s -H "APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H "APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" \ "${APCA_API_DATA_URL}/v2/stocks/bars?timeframe=1Day&symbols=FB&start=2022-06-06&end=2022-06-11&asof=2022-06-06" | \ jq -r '.bars.FB[] | [.t, .o, .h, .l, .c] | @tsv' 2022-06-06T04:00:00Z 193.99 196.92 188.4 194.25 2022-06-07T04:00:00Z 191.93 196.53 191.49 195.65 2022-06-08T04:00:00Z 194.67 202.03 194.41 196.64 2022-06-09T04:00:00Z 194.28 199.45 183.68 184 2022-06-10T04:00:00Z 183.04 183.1 175.02 175.57 ``` Unfortunately, the `asof` mapping is only available on our historical endpoints the day after the rename. In the FB-META example, it was available since 2022-06-10, so running the same queries on the day of the rename (2022-06-09) didn't return the FB bars. This is because of a limitation of one of our data sources. We're actively working on improving this and doing the mapping before the market opens with the new symbol. ## How are bars aggregated? [Skip link to How are bars aggregated?](https://docs.alpaca.markets/docs/market-data-faq\#how-are-bars-aggregated) Minute and daily bars are aggregated from trades. The (SIP) timestamp of the trade is truncated to the minute for minute bars and to the day (in New York) for daily bars. For example, a trade at 14:52:28 belongs to the 14:52:00 minute bar, which contains all the trades between 14:52:00 (inclusive) and 14:53:00 (exclusive). The timestamp of the bar is the left side of the interval (14:52:00 in this example). There are three parts of the bar that a trade can potentially update: - open / close price - high / low price - volume The rules of these updates depend on - the tape of the trade ( `A`, `B`: NYSE, `C`: Nasdaq, `O`: OTC) - the conditions of the trade - the type of the bar ( `M`: minute, `D`: daily) - Some rules are different for minute and daily bars. For example `P` (Prior Reference Price) relates to an obligation to trade at an earlier point in the trading day. This will update the high / low price of a daily bar but will not update the high / low price of a minute bar, because that price possibly happened in another minute. The rules are based on the guidelines of the SIPs: - the [CTS specification](https://www.ctaplan.com/publicdocs/ctaplan/CTS_Pillar_Output_Specification.pdf) for NYSE (tape `A` and `B`) - the [UTP specification](https://utpplan.com/DOC/UtpBinaryOutputSpec.pdf) for Nasdaq (tape `C`) - the [TDDS specification](https://www.finra.org/sites/default/files/2022-05/TDDS-2.1-MOLD.pdf) for OTC (tape `O`) The following table contains all the updating rules: | Tape | Bar type | Condition code | Condition description | Update open / close | Update high / low | Update volume | | --- | --- | --- | --- | --- | --- | --- | | AB | MD | ` ` | Regular Sale | 🟢 | 🟢 | 🟢 | | CO | MD | `@` | Regular Sale | 🟢 | 🟢 | 🟢 | | C | MD | `A` | Acquisition | 🟢 | 🟢 | 🟢 | | AB | MD | `B` | Average Price Trade | 🔴 | 🔴 | 🟢 | | C | MD | `B` | Bunched Trade | 🟢 | 🟢 | 🟢 | | ABCO | MD | `C` | Cash Sale | 🔴 | 🔴 | 🟢 | | C | MD | `D` | Distribution | 🟢 | 🟢 | 🟢 | | AB | MD | `E` | Automatic Execution | 🟢 | 🟢 | 🟢 | | ABC | MD | `F` | Intermarket Sweep | 🟢 | 🟢 | 🟢 | | C | M | `G` | Bunched Sold Trade | 🔴 | 🔴 | 🟢 | | C | D | `G` | Bunched Sold Trade | 🟡 | 🟢 | 🟢 | | ABC | MD | `H` | Price Variation Trade | 🔴 | 🔴 | 🟢 | | ABCO | MD | `I` | Odd Lot Trade | 🔴 | 🔴 | 🟢 | | ABC | MD | `K` | Rule 127 or Rule 155 | 🟢 | 🟢 | 🟢 | | ABC | MD | `L` | Sold Last | 🟢 | 🟢 | 🟢 | | ABC | MD | `M` | Market Center Official Close | 🔴 | 🔴 | 🔴 | | ABCO | MD | `N` | Next Day | 🔴 | 🔴 | 🟢 | | ABC | MD | `O` | Market Center Opening Trade | 🟢 | 🟢 | 🟢 | | ABCO | M | `P` | Prior Reference Price | 🔴 | 🔴 | 🟢 | | ABCO | D | `P` | Prior Reference Price | 🟡 | 🟢 | 🟢 | | ABC | MD | `Q` | Market Center Official Open | 🔴 | 🔴 | 🔴 | | ABCO | MD | `R` | Seller | 🔴 | 🔴 | 🟢 | | ABCO | M | `T` | Extended Hours Trade | 🟢 | 🟢 | 🟢 | | ABCO | D | `T` | Extended Hours Trade | 🔴 | 🔴 | 🟢 | | ABCO | MD | `U` | Extended Trading Hours | 🔴 | 🔴 | 🟢 | | ABC | MD | `V` | Contingent Trade | 🔴 | 🔴 | 🟢 | | CO | MD | `W` | Average Price Trade | 🔴 | 🔴 | 🟢 | | ABC | MD | `X` | Cross Trade | 🟢 | 🟢 | 🟢 | | C | MD | `Y` | Yellow Flag Regular Trade | 🟢 | 🟢 | 🟢 | | ABC | M | `Z` | Sold Out Of Sequence | 🔴 | 🔴 | 🟢 | | ABC | D | `Z` | Sold Out Of Sequence | 🟡 | 🟢 | 🟢 | | ABC | M | `4` | Derivatively Priced | 🔴 | 🔴 | 🟢 | | ABC | D | `4` | Derivatively Priced | 🟡 | 🟢 | 🟢 | | ABC | MD | `5` | Market Center Reopening Trade | 🟢 | 🟢 | 🟢 | | ABC | MD | `6` | Market Center Closing Trade | 🟢 | 🟢 | 🟢 | | ABC | MD | `7` | Qualified Contingent Trade | 🔴 | 🔴 | 🟢 | | ABC | M | `9` | Corrected Consolidated Close | 🔴 | 🔴 | 🔴 | | ABC | D | `9` | Corrected Consolidated Close | 🟢 | 🟢 | 🔴 | - 🟢 means that the given condition updates the value - 🟡 means that the given condition updates the open / close price only if the trade is the first trade of the bar - 🔴 means that the given condition does not update the value In the original [CTS](https://www.ctaplan.com/publicdocs/ctaplan/CTS_Pillar_Output_Specification.pdf) / [UTP](https://utpplan.com/DOC/UtpBinaryOutputSpec.pdf) specifications, there are some more complicated update rules (see the footnotes in the linked specifications), but we don't use any of these. In most of the cases, we simply use 🟡 (or 🟢) instead. A trade can have more than one condition. In this case the strictest rule is applied. For example, if a Nasdaq trade has these conditions: `@`, `4`, `I` and a daily bar is being generated, none of the prices of the bar are going to be updated (both open / close and high / low is 🔴 because it's an odd lot trade), only the volume 🟢 is going to be updated. If the trade had no `I` condition ( `@` and `4` only), then the open / close price would only be updated if this is the first trade of the bar 🟡 , and both the high / low price 🟢 and the volume 🟢 would be updated. If it was a regular trade ( `@`), then all of its values would be updated. Once the combined updating rule of the trade has been calculated, the bar's fields are updated: - Open is set if it hasn't been set yet and the update open / close rule is 🟢 or 🟡 - High is set if it hasn't been set yet or if the price of the trade is higher than the previous high and the update high / low is 🟢 - Low is set if it hasn't been set yet or if the price of the trade is lower than the previous low and the update high / low rule is 🟢 - Close is set if the update open / close rule is 🟢 or if it's 🟡 and the close price hasn't been set yet - Volume is increased by the size of the trade if the update volume rule is 🟢 - The trade count is increased by one if the update volume rule is 🟢 - [VWAP](https://en.wikipedia.org/wiki/Volume-weighted_average_price) is the ratio of these two internal variables: - The volume-weighted total price is increased by the product of the trade's price and volume if both the update high / low rule and the update volume rule is 🟢 - The total volume is increased by the size of the trade if both the update high / low rule and the update volume rule is 🟢. This means that this volume can be different from the "normal" volume field of the bar if there are trades in the bar that update the volume but not the high / low price (for example condition `R`) Finally, the bar is only emitted if none of its fields (open, high, low, close, volume) are 0. So if there are no trades in the bar's interval, or if there's only a single `I` trade (which only updates the volume, but none of the prices), then no bar is generated. All the other non-minute and non-daily bars are aggregated from the minute and daily bars. For example, an hour ( `1Hour`) bar is aggregated from all the minute bars in the given hour and a weekly bar ( `1Week`) is aggregated from all the daily bars in the given week. This aggregation no longer considers the actual trades that happened in the given interval, but instead the bars are aggregated using these rules: - Open is the open of the first bar - High is the maximum of the bars' high prices - Low is the minimum of the bars' low prices - Close is the close of the last bar - Volume is the sum of the bars' volumes - Trade count is the sum of the bars' trade counts - VWAP is the volume-weighted average of the bars' VWAPs # Crypto [Skip link to Crypto](https://docs.alpaca.markets/docs/market-data-faq\#crypto) ## Why are there crypto bars with 0 volume / trade count? [Skip link to Why are there crypto bars with 0 volume / trade count?](https://docs.alpaca.markets/docs/market-data-faq\#why-are-there-crypto-bars-with-0-volume--trade-count) Our crypto market data reflects trades and quotes from our own Alpaca exchange. Due to the volatility of some cryptocurrencies, including lack of trade volume at any given time, we include the quote midpoint prices to offer a better data experience. If within a bar no trade happens, the volume will be 0, but the prices will be determined by the quote prices. Updated3 months ago * * * ## Instant Funding Overview Instant Funding for Broker API, allows broker partners to offer their customers instant access to funds by creating an instant funding transfer i.e. extending buying power at the customer account level. This enables customers to begin trading immediately without the need for funds to arrive and settle at Alpaca. ## Key Features [Skip link to Key Features](https://docs.alpaca.markets/docs/draft-instant-funding\#key-features) Customers can access instant buying power allowing them to trade immediately. Partners do not have to pre-fund or settle funds with Alpaca on T+0 for stock trading The ability for a partner to set specific limits on end-user accounts for instant funding (by default USD 1000) Partners have the option to create an additional revenue stream by configuring a flexible fee mark-up for customers ## Cutoffs & Interest Requirements [Skip link to Cutoffs & Interest Requirements](https://docs.alpaca.markets/docs/draft-instant-funding\#cutoffs--interest-requirements) ### Batching for Settlement: [Skip link to Batching for Settlement:](https://docs.alpaca.markets/docs/draft-instant-funding\#batching-for-settlement) All instant funding transfers within a 24-hour window (from 8 PM ET the previous day to 8 PM ET the current day) are grouped for settlement in the next cycle. The settlement of these instant transfers must be completed before 1 PM on T+1. Each settlement cycle has a report associated with it which can be obtained from the instant funding reports endpoint described here. ### Late Payment & Interest Charges: [Skip link to Late Payment & Interest Charges:](https://docs.alpaca.markets/docs/draft-instant-funding\#late-payment--interest-charges) Instant funding transfers not settled by 1 PM ET on T+1 will incur late payment interest which is invoiced monthly to the partner. Penalty interest on late payments is calculated at FED UB + 8% (based on FRED Economic Data) and it is charged to the partner Unreconciled instant funding transfers are automatically canceled at 8 PM ET on T+1 (date of settlement). The account may incur a margin interest rate (documented here) and end up in a debit balance if the user has already spent the instant funding credit. ### How it Works [Skip link to How it Works](https://docs.alpaca.markets/docs/draft-instant-funding\#how-it-works) Broker partners will collect funds from your customers and upon receipt of each payment you'll then call the Instant Funding API to create an instant funding transfer. This will extend the buying power to each end user. The instant funding reports endpoint can be used to get the detail and summary report for the amount owed. The detailed view will give the breakdown of the amount owed for the instant funding transfer and the summary view will give the cumulative value. You will then send one wire payment to Alpaca to settle the outstanding instant funding transfer by T+1 (the next business day) by 1 pm ET. This will be followed by using the settlement API to trigger the settlement which will check for funds in the SI account and perform the settlement. Given below is a detailed overview of the process along with the working of the relevant APIs. ![This flow is illustrated in the diagram above](https://files.readme.io/bec23dfc4ade2879ab99ec6c3a0cc6a3149d78ec0845dc2877bc8d30af461290-if_process.png) This flow is illustrated in the diagram above ## How to Create an Instant Funding Transfer [Skip link to How to Create an Instant Funding Transfer](https://docs.alpaca.markets/docs/draft-instant-funding\#how-to-create-an-instant-funding-transfer) ### Step 1: [Create an Instant Funding Transfer](https://docs.alpaca.markets/reference/post-v1-instant-funding-settlements) [Skip link to Step 1: ](https://docs.alpaca.markets/docs/draft-instant-funding\#step-1-create-an-instant-funding-transfer) You must specify the account you would like to credit with an instant funding transfer, the firm account the buying power will be borrowed from, and the amount to credit. ![](https://files.readme.io/dac3fbd145d1bcee7a7b4c4768c8a909825a5a92fba5d8d297c5785c50e1e1e4-ifguide.png) **Request** `POST v1/instant_funding` JSON ```rdmd-code lang-json theme-light { "account_no": "{ACCOUNT_NO}", "source_account_no": "{ACCOUNT_NO}", "amount": "20", } ``` **Response** JSON ```rdmd-code lang-json theme-light { "account_no": "{ACCOUNT_NO}", "amount": "20", "created_at": "2024-11-11T08:20:10.726356556-05:00", "deadline": "2024-11-13", "fees": [], "id": "fcc6d9fc-ce36-484a-bd86-a27b98c2d1ab", "interests": [], "remaining_payable": "20", "source_account_no": "{ACCOUNT_NO}", "status": "PENDING", "system_date": "2024-11-12", "total_interest": "0" } ``` Instant funding transfer executed (before settlement) JSON ```rdmd-code lang-json theme-light { "id": "20241111000000000::6b784928-f314-47bc-905f-0a49ebc9e413", "account_id": "{ACCOUNT_ID}", "activity_type": "MEM", "date": "2024-11-11", "net_amount": "0", "description": "type: instant_funding_memopost, transfer_id: fcc6d9fc-ce36-484a-bd86-a27b98c2d1ab", "symbol": "INSTANTUSD", "qty": "20", "status": "executed" } ``` Instant funding transfer canceled (after settlement or after failed reconciliation) JSON ```rdmd-code lang-json theme-light { "id": "20241111000000000::6b784928-f314-47bc-905f-0a49ebc9e413", "account_id": "{ACCOUNT_ID}", "activity_type": "MEM", "date": "2024-11-11", "net_amount": "0", "description": "type: instant_funding_memopost, transfer_id: fcc6d9fc-ce36-484a-bd86-a27b98c2d1ab", "symbol": "INSTANTUSD", "qty": "20", "status": "canceled" } ``` CSD executed (after settlement) JSON ```rdmd-code lang-json theme-light { "id": "20241111000000000::daa5e4e9-7974-4273-a926-7ab0647d8850", "account_id": "{ACCOUNT_ID}", "activity_type": "CSD", "date": "2024-11-11", "net_amount": "20", "description": "type: instant_funding_deposit, transfer_id: fcc6d9fc-ce36-484a-bd86-a27b98c2d1ab, settlement_id: 28f27c76-ea14-4d4c-8a04-8f666b14a224", "status": "executed" } ``` ### Step 1.1: [Check status of an Instant Funding Transfer](https://docs.alpaca.markets/reference/get-v1-instant-funding-single) [Skip link to Step 1.1: ](https://docs.alpaca.markets/docs/draft-instant-funding\#step-11-check-status-of-an-instant-funding-transfer) Fetch a specific instant funding transfer to check the current status of the transfer. **Request** `GET v1/instant_funding/:instant_funding_id` **Response** JSON ```rdmd-code lang-json theme-light { "account_no": "{ACCOUNT_NO}", "amount": "20", "created_at": "2024-09-10T09:12:36.88272Z", "deadline": "2024-09-11", "fees": [], "id": "d96bdc91-6d1c-49b5-a3c3-03f16c70321b", "interests": [], "remaining_payable": "20", "source_account_no": "{ACCOUNT_NO}", "status": "EXECUTED", "system_date": "2024-09-10", "total_interest": "0" } ``` Additionally, all instant funding transfers can be listed using the following API **Request** `GET v1/instant_funding?sort_by=created_at&sort_order=DESC` **Response** JSON ```rdmd-code lang-json theme-light { "account_no": "{ACCOUNT_NO}", "amount": "20", "created_at": "2024-09-10T09:12:36.88272Z", "deadline": "2024-09-11", "fees": [], "id": "d96bdc91-6d1c-49b5-a3c3-03f16c70321b", "interests": [], "remaining_payable": "20", "source_account_no": "{ACCOUNT_NO}", "status": "EXECUTED", "system_date": "2024-09-10", "total_interest": "0" } ``` ### Step 1.2: [Display Increase in Buying Power](https://docs.alpaca.markets/reference/gettradingaccount-1) [Skip link to Step 1.2: ](https://docs.alpaca.markets/docs/draft-instant-funding\#step-12-display-increase-in-buying-power) Once the instant funding transfer is moved to a COMPLETED status you can fetch the user’s buying power via the GET trading account endpoint and guide your user to begin trading with their immediate funds. **Request** `GET /v1/trading/accounts/fc304c4d-5c2c-41f2-b357-99bbbed9ec90/account` **Response** JSON ```rdmd-code lang-json theme-light { "id": "{ACCOUNT_ID}", "admin_configurations": { "allow_instant_ach": true, "disable_shorting": true, "max_margin_multiplier": "1" }, "user_configurations": null, "account_number": "{ACCOUNT_NO}", "status": "ACTIVE", "crypto_status": "INACTIVE", "currency": "USD", "buying_power": "100", "regt_buying_power": "100", "daytrading_buying_power": "0", "effective_buying_power": "100", "non_marginable_buying_power": "0", "bod_dtbp": "0", "cash": "100", "cash_withdrawable": "0", "cash_transferable": "0", "accrued_fees": "0", "pending_transfer_out": "0", "pending_transfer_in": "0", "portfolio_value": "0", "pattern_day_trader": false, "trading_blocked": false, "transfers_blocked": false, "account_blocked": false, "created_at": "2024-07-10T17:23:51.655324Z", "trade_suspended_by_user": false, "multiplier": "1", "shorting_enabled": false, "equity": "0", "last_equity": "0", "long_market_value": "0", "short_market_value": "0", "position_market_value": "0", "initial_margin": "0", "maintenance_margin": "0", "last_maintenance_margin": "0", "sma": "0", "daytrade_count": 0, "balance_asof": "2024-07-09", "previous_close": "2024-07-09T20:00:00-04:00", "last_long_market_value": "0", "last_short_market_value": "0", "last_cash": "0", "last_initial_margin": "0", "last_regt_buying_power": "0", "last_daytrading_buying_power": "0", "last_buying_power": "0", "last_daytrade_count": 0, "clearing_broker": "ALPACA_APCA", "memoposts": "100", "intraday_adjustments": "0", "pending_reg_taf_fees": "0" } ``` ### Step 2: Manage Limits (optional) [Skip link to Step 2: Manage Limits (optional)](https://docs.alpaca.markets/docs/draft-instant-funding\#step-2-manage-limits-optional) The total amount of buying power you can extend to all of your end users combined will be limited. This limit will be determined based on your business needs in production. In sandbox, this will be $100,000 USD by default but can be updated as needed. The amount you can credit to each end user will also be limited to $1,000 USD by default. If you anticipate needing a higher limit per account this can also be updated on request. As you create instant funding transfers for multiple users throughout the day, you will want to keep an eye on how much of your total instant funding limit you’ve used up or how much buying power you are still able to extend to a specific account. Both of these limits can be monitored via API as shown below. ### Step 2.1: [View Instant Funding Limits at correspondent level](https://docs.alpaca.markets/reference/get-v1-instant-funding-correspondent-limits) [Skip link to Step 2.1: ](https://docs.alpaca.markets/docs/draft-instant-funding\#step-21-view-instant-funding-limits-at-correspondent-level) View the instant funding limit available for you to use across all your end users. **Request** `GET v1/instant_funding/limits` **Response** JSON ```rdmd-code lang-json theme-light { "amount_available": "99900", "amount_in_use": "100", "amount_limit": "100000" } ``` ### Step 2.2: [View Account Level Instant Funding Limits](https://docs.alpaca.markets/reference/get-v1-instant-funding-account-limits) [Skip link to Step 2.2: ](https://docs.alpaca.markets/docs/draft-instant-funding\#step-22-view-account-level-instant-funding-limits) View the instant funding limit available for a specific account or multiple accounts at once. **Request** `GET v1/instant_funding/limits/accounts?account_numbers={ACCOUNT_NO}` **Response** JSON ```rdmd-code lang-json theme-light [\ {\ "account_no": "{ACCOUNT_NO}",\ "amount_available": "900",\ "amount_in_use": "100",\ "amount_limit": "1000"\ }\ ] ``` ## How to Settle an Instant Funding Transfer [Skip link to How to Settle an Instant Funding Transfer](https://docs.alpaca.markets/docs/draft-instant-funding\#how-to-settle-an-instant-funding-transfer) All instant funding transfers are expected to be settled on T+1 by 1 pm ET, meaning that you will have one business day to convert the instant funding credit from an extension of buying power to actual settled cash. Alpaca makes this easy and convenient by providing two reports that you can rely on to determine exactly how much is owed for settlement and by when. Once the funds have been sent to Alpaca you will have to explicitly trigger settlement via API. When a settlement is triggered, Alpaca will perform balance checks to determine if the amount sent is sufficient to complete settlement or if there is an insufficient balance then settlement will not be executed. Excess funds will also be swept to a separate dedicated firm account, denoted by the FW suffix, as the expectation is that the SI firm account is meant to complete instant funding settlement and should be zeroed out after each settlement is completed. ![This flow is illustrated in the diagram above](https://files.readme.io/4a3564339ab7f12c348ddcbe5fc84165e5b1e66b5e299314f7f2392c3f9e9a51-IF_settlement.png) This flow is illustrated in the diagram above ### Step 1: [Fetch a Settlement Report](https://docs.alpaca.markets/reference/get-v1-instant-funding-reports) [Skip link to Step 1: ](https://docs.alpaca.markets/docs/draft-instant-funding\#step-1-fetch-a-settlement-report) Alpaca provides a high level summary report which shows the total amount due for settlement and a detailed report that is broken down to show each of the associated instant funding transfers that are due. These reports are meant to help you quickly understand how much you are expected to send to settle all instant funding transfers created on T+0 or to look back historically and know how much was owed for any given day. Two kinds of reports can be obtained using this API: Summary report - This presents an aggregated view of the balance owed to Alpaca Detail report - This returns both the aggregate and amount at a per instant transfer level owed to Alpaca. **Getting the summary settlement report :** **Request** `GET v1/instant_funding/reports?report_type=summary&system_date=2024-05-15` **Response** JSON ```rdmd-code lang-json theme-light [\ {\ "account_no": "{ACCOUNT_NO}",\ "deadline": "2024-05-16",\ "system_date": "2024-05-15",\ "total_amount_owed": "900",\ "total_interest_penalty": "0.7"\ }\ ] ``` **Getting the detail settlement report :** **Request** `GET /v1/instant_funding/reports?report_type=detail&system_date=2024-09-09` **Response** JSON ```rdmd-code lang-json theme-light [\ {\ "account_no": "{ACCOUNT_NO}",\ "deadline": "2024-09-10",\ "instant_funding_transfers": [\ {\ "account_no": "{ACCOUNT_NO}",\ "amount": "10",\ "created_at": "2024-09-09T13:20:13.175309Z",\ "deadline": "2024-09-10",\ "fees": [],\ "id": "fade4447-b6ca-4ddf-b87b-3a475861cfeb",\ "interests": [],\ "remaining_payable": "10",\ "source_account_no": "{ACCOUNT_NO}",\ "status": "EXECUTED",\ "system_date": "2024-09-09",\ "total_interest": "0"\ },\ {\ "account_no": "{ACCOUNT_NO}",\ "amount": "20",\ "created_at": "2024-09-09T13:21:48.050636Z",\ "deadline": "2024-09-10",\ "fees": [],\ "id": "f1544394-a6f2-42a8-8758-408e8e0d5099",\ "interests": [],\ "remaining_payable": "20",\ "source_account_no": "{ACCOUNT_NO}",\ "status": "EXECUTED",\ "system_date": "2024-09-09",\ "total_interest": "0"\ }\ ],\ "system_date": "2024-09-09",\ "total_amount_owed": "30",\ "total_interest_penalty": "0.11"\ }\ ] ``` ### Step 2: Submit Payment to Alpaca [Skip link to Step 2: Submit Payment to Alpaca](https://docs.alpaca.markets/docs/draft-instant-funding\#step-2-submit-payment-to-alpaca) Once you are confident that you know exactly how much is owed for settlement, you can initiate a wire payment from your external bank account to Alpaca to be credited to your firm account denoted with the SI suffix. You can monitor the [non trade events stream](https://docs.alpaca.markets/reference/get-v1-events-nta) to know exactly when the funds are credited to your account. ### Step 3: [Trigger Settlement](https://docs.alpaca.markets/reference/post-v1-instant-funding-settlements) [Skip link to Step 3: ](https://docs.alpaca.markets/docs/draft-instant-funding\#step-3-trigger-settlement) You will trigger settlement via API and submit the list of instant funding transfers that you wish to settle with the funds credited to your SI firm account. At this stage, you will also include the travel rule details which Alpaca is required to collect. For more information on the travel rule requirements please refer to the FinCEN Advisory as needed. Please note that only one settlement can be in progress at a time i.e. in pending or awaiting\_additional\_funds status at a time. Details of fields required to be sent as part of the transmitter information - | field | description | | --- | --- | | originator\_full\_name | Full name of the customer | | originator\_street\_address | Street address of the entity transmitting funds | | originator\_city | City of the entity transmitting funds | | originator\_postal\_code | Postal code of the entity transmitting funds | | originator\_country | Country of the entity transmitting funds | | originator\_bank\_account\_number | Customer’s account number on the platform | | originator\_bank\_name | Legal entity that is transmitting the fu | **Request** `POST v1/instant_funding/settlements` JSON ```rdmd-code lang-json theme-light { "transfers": [\ {\ "instant_transfer_id": "29d8afd1-b7b1-4b47-830d-263244c4d28b",\ "transmitter_info": {\ "originator_full_name": "John Doe",\ "originator_street_address": "123 Alpaca Way",\ "originator_city": "San Mateo",\ "originator_postal_code": "12345",\ "originator_country": "USA",\ "originator_bank_account_number": "123456789",\ "originator_bank_name": "Citibank"\ }\ }\ ], "additional_info": "bulk wire sent to account {ACCOUNT_NO} from Citibank account number 191919191" } ``` **Response** JSON ```rdmd-code lang-json theme-light { "created_at": "2024-05-24T08:56:01.440771581-04:00", "id": "53d63f11-e844-4867-ab72-364bb1ac9258", "interest_amount": "0", "source_account_number": "{ACCOUNT_NO}", "status": "PENDING", "total_amount": "100", "updated_at": "2024-05-24T08:56:01.440771581-04:00" } ``` ### Step 4: [Check settlement status](https://docs.alpaca.markets/reference/get-v1-instant-funding-settlements-single) [Skip link to Step 4: ](https://docs.alpaca.markets/docs/draft-instant-funding\#step-4-check-settlement-status) After triggering the settlement, it’s important to check the status of the settlement to make sure that the reconciliation has been completed. **Request** `GET /v1/instant_funding/settlements/c9a89b1b-94fe-4852-8ba1-140b67aa7280` **Response** JSON ```rdmd-code lang-json theme-light { "completed_at": "2024-10-29T14:50:46.337084Z", "created_at": "2024-10-29T14:50:15.926307Z", "id": "a0f41a2c-60f3-49f2-90cd-e4ec2560c819", "interest_amount": "0", "source_account_number": "{ACCOUNT_NO}", "status": "COMPLETED", "total_amount": "20", "updated_at": "2024-10-29T14:50:46.337131Z" } ``` ### Step 4.1: Successful reconciliation [Skip link to Step 4.1: Successful reconciliation](https://docs.alpaca.markets/docs/draft-instant-funding\#step-41-successful-reconciliation) When a settlement is successful, the instant funding credit is canceled and the respective amount is debited from the SI account. In account activities, this is represented as a canceled MEM activity followed by an executed CSD activity for an amount equivalent to the instant funding transfer amount that was settled. Given below is a sample response for a successful reconciliation. **Response** JSON ```rdmd-code lang-json theme-light { "completed_at": "2024-08-26T15:10:03.337899Z", "created_at": "2024-08-26T15:09:18.077505Z", "id": "133cef1d-0300-41cc-9ac4-9c75cd1518b1", "interest_amount": "0", "source_account_number": "{ACCOUNT_NO}", "status": "COMPLETED", "total_amount": "20", "updated_at": "2024-08-26T15:10:03.337921Z" } ``` ### Step 4.2: Handling failed reconciliation [Skip link to Step 4.2: Handling failed reconciliation](https://docs.alpaca.markets/docs/draft-instant-funding\#step-42-handling-failed-reconciliation) If the settlement fails with the reason "reason": "insufficient balance, available: 0, required: 40", it implies that when the settlement was triggered, the source account did not have enough funds required for the reconciliation. In that case, additional funds can be added to the SI account by journaling money from RF to SI account or sending more funds to the SI account. Once the funds have been loaded, the settlement can be triggered again. Here’s a sample response for a failed settlement - **Response** JSON ```rdmd-code lang-json theme-light { "created_at": "2024-08-27T08:30:24.517942Z", "id": "c9a89b1b-94fe-4852-8ba1-140b67aa7280", "interest_amount": "0", "reason": "insufficient balance, available: 0, required: 40", "source_account_number": "{ACCOUNT_NO}", "status": "FAILED", "total_amount": "40", "updated_at": "2024-08-27T09:36:01.026356Z" } ``` ### Step 4.3: [Late instant funding transfers and Accounts in debit balances](https://docs.alpaca.markets/reference/gettradingaccount-1a) [Skip link to Step 4.3: ](https://docs.alpaca.markets/docs/draft-instant-funding\#step-43-late-instant-funding-transfers-and-accounts-in-debit-balances) If an instant funding transfer is late i.e if it is not reconciled by 1 PM on T+1 and henceforth canceled by 8pm T+1, then one of the following scenarios would take place - 1. Account has sufficient funds - The cash balance in the customer account would be used to offset the outstanding amount of the instant funding transfer 2. Account has insufficient funds - Customer account would then fall into a debit balance and margin interest will be charged on this until the balance is no longer negative or Alpaca actions on the account to settle the negative balance. When an account is in debit balance, the cash value for that account will be negative. The debit balance can be settled by the partners by journaling funds from the RF account to the customer’s account directly. The partner can also collect the needed funds locally from their customer before initiating this journal. The debit balance of an account can be monitored as follows: **Request** `GET v1/trading/accounts/:account_id/account` **Response** JSON ```rdmd-code lang-json theme-light { "id": "{ACCOUNT_ID}", "admin_configurations": { "allow_instant_ach": true, "disable_shorting": true, "max_margin_multiplier": "1" }, "user_configurations": null, "account_number": "574631172", "status": "ACTIVE", "crypto_status": "ACTIVE", "currency": "USD", "buying_power": "0", "regt_buying_power": "0", "daytrading_buying_power": "0", "effective_buying_power": "0", "non_marginable_buying_power": "0", "bod_dtbp": "0", "cash": "-15.26", "cash_withdrawable": "0", "cash_transferable": "0", "accrued_fees": "0.113961944444418396", "pending_transfer_out": "0", "portfolio_value": "-2.31", "pattern_day_trader": false, "trading_blocked": false, "transfers_blocked": false, "account_blocked": false, "created_at": "2024-08-05T14:19:45.334013Z", "trade_suspended_by_user": false, "multiplier": "1", "shorting_enabled": false, "equity": "-2.31", "last_equity": "-1.54", "long_market_value": "62.95", "short_market_value": "0", "position_market_value": "62.95", "initial_margin": "62.95", "maintenance_margin": "18.88", "last_maintenance_margin": "63.61", "sma": "0", "daytrade_count": 0, "balance_asof": "2024-09-09", "previous_close": "2024-09-09T20:00:00-04:00", "last_long_market_value": "63.61", "last_short_market_value": "0", "last_cash": "-65.15", "last_initial_margin": "63.61", "last_regt_buying_power": "0", "last_daytrading_buying_power": "0", "last_buying_power": "0", "last_daytrade_count": 0, "clearing_broker": "ALPACA_APCA", "memoposts": "50", "intraday_adjustments": "0", "pending_reg_taf_fees": "0" } ``` ## [How to Delete an Instant Funding Transfer](https://docs.alpaca.markets/reference/delete-v1-instant-funding-single) [Skip link to [object Object]](https://docs.alpaca.markets/docs/draft-instant-funding\#how-to-delete-an-instant-funding-transfer) In case an existing instant funding transfer needs to be reversed, the below request can be made to delete the transfer **Request** `DELETE v1/instant_funding/{instant_funding_id}` **Response** JSON ```rdmd-code lang-text theme-light HTTP 200 OK ``` ## Other Resources [Skip link to Other Resources](https://docs.alpaca.markets/docs/draft-instant-funding\#other-resources) [Instant Funding Blog Post](https://alpaca.markets/learn/getting-started-with-instant-funding-for-broker-api/) ## Frequently Asked Questions [Skip link to Frequently Asked Questions](https://docs.alpaca.markets/docs/draft-instant-funding\#frequently-asked-questions) [See our FAQs here.](https://alpaca.markets/support/instant-funding-faq-who-is-it-for-broker-api-prospects-or-existing-partners-servicing-international-clients-interested-in-learning-more-about-instant-funding-for-broker-api-what-is-the?ref=alpaca.markets) The content article is for general information only and is believed to be accurate as of posting date but may be subject to change. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein. All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable. Updated2 months ago * * * ## Crypto Trading Guide > ## 🌍 To view the supported US regions for crypto trading, click [here](https://alpaca.markets/support/what-regions-support-cryptocurrency-trading). # Enabling Crypto for an Account [Skip link to Enabling Crypto for an Account](https://docs.alpaca.markets/docs/crypto-trading-1\#enabling-crypto-for-an-account) To enable crypto trading for an account, the crypto agreements must be signed by the user. All account balances will represent the crypto trading activities. In the case of new users, the crypto agreement can be submitted via the Accounts API where `crypto_agreement` is part of the agreements attribute. _Part of the request_ JSON ```rdmd-code lang-json theme-light { "agreements": [\ {\ "agreement": "crypto_agreement",\ "signed_at": "2023-01-01T18:09:33Z"\ }\ ] } ``` In the case of existing users the account has to be updated with the `crypto_agreement` which can be submitted on the `PATCH /v1/accounts/{account_id}` endpoint. _Part of the request_ JSON ```rdmd-code lang-json theme-light { "agreements": [\ {\ "agreement": "crypto_agreement",\ "signed_at": "2023-01-01T18:13:44Z",\ "ip_address": "185.13.21.99"\ }\ ] } ``` Once the crypto agreement is added to the user account no further edits can be made to the agreements. To determine whether the account is all set to start trading crypto, use the `crypto_status` attribute from the Account API endpoint response object. _Sample Response_ JSON ```rdmd-code lang-json theme-light { "id": "9feee08f-22d2-4804-89c1-bf01166aad52", "account_number": "943690069", "status": "ACTIVE", "crypto_status": "ACTIVE" } ``` | Attribute | Description | | --- | --- | | INACTIVE | Account not enabled to trade crypto live | | ACTIVE | Crypto account is active and can start trading | | SUBMISSION\_FAILED | Account submissions has failed | # Supported Assets [Skip link to Supported Assets](https://docs.alpaca.markets/docs/crypto-trading-1\#supported-assets) We have over 20 coins available to trade via our APIs. We constantly evaluate the list and aim to to grow the number of supported currencies. Tradable cryptocurrencies can be identified through the [Assets API](https://docs.alpaca.markets/reference/getassets) where the asset entity has `class = crypto` and `tradable = true`. JSON ```rdmd-code lang-json theme-light { "id": "64bbff51-59d6-4b3c-9351-13ad85e3c752", "class": "crypto", "exchange": "CRXL", "symbol": "BTC/USD", "name": "Bitcoin", "status": "active", "tradable": true, "marginable": false, "shortable": false, "easy_to_borrow": false, "fractionable": true } ``` Please note that the symbol appears with `USD`, such as `BTC/USD` instead of `BTC`. > ## 🚧 Crypto Fee Revenue Notice > > If you enable non-USD crypto trading you will receive fees in the quote currency. Currently, non-USD quote crypto assets are BTC, USDC and USDT. As a broker business you would need to be ready to handle collecting crypto fees plus taking care of the necessary conversions if needed. ## Minimum Order Size [Skip link to Minimum Order Size](https://docs.alpaca.markets/docs/crypto-trading-1\#minimum-order-size) The minimum quantity value that is accepted in an order. This value is calculated dynamically based on the selected notional equivalent minimum, based on the last close price of the relevant asset(s). The maximum decimal places accepted is 9 i.e 0.000000001 for all crypto assets. For `USD` pairs, the minimum order size calculation is: 1/USD asset price. For `BTC`, `ETH` and `USDT` pairs, the minimum order size is `0.000000002`. ## Min Trade Increment [Skip link to Min Trade Increment](https://docs.alpaca.markets/docs/crypto-trading-1\#min-trade-increment) The minimum quantity allowed to be added to the `min_order_size`. E.g. if 0.1 we accept an order for 1.1 but we won’t accept 0.9 because it’s under the `min_order_size`. The maximum decimal places accepted are 9 i.e 0.000000001 for all crypto assets. Price Increment: The minimum notional value that is accepted in an order. Similar to Min Order Size but for notional orders. The maximum decimal places accepted are 9 i.e 0.000000001 for all crypto assets. All cryptocurrency assets are fractionable but the supported decimal points vary depending on the cryptocurrency. # Supported Orders [Skip link to Supported Orders](https://docs.alpaca.markets/docs/crypto-trading-1\#supported-orders) When submitting crypto orders through the Orders API, Market, Limit and Stop Limit orders are supported while the supported `time_in_force` values are `gtc`, and `ioc`. We accept fractional orders as well with either `notional` or `qty` provided. ## Required Disclosures [Skip link to Required Disclosures](https://docs.alpaca.markets/docs/crypto-trading-1\#required-disclosures) Below you will find required disclosure templates to safely support crypto in your applications as a broker with Alpaca. ### Onboarding Disclosures [Skip link to Onboarding Disclosures](https://docs.alpaca.markets/docs/crypto-trading-1\#onboarding-disclosures) When onboarding your users as a broker offering crypto the following disclosure is required. During your onboarding flow make sure the user is able to read and affirmatively acknowledge, such as through a separate checkbox, the following text: I have read, understood, and agree to be bound by Alpaca Crypto LLC and \[your legal entity\] account terms, and all other terms, disclosures and disclaimers applicable to me, as referenced in the Alpaca Crypto Agreement. I also acknowledge that the Alpaca Crypto Agreement contains a pre-dispute arbitration clause in Section 26. ### Buy/Sell Order Screen Disclosures [Skip link to Buy/Sell Order Screen Disclosures](https://docs.alpaca.markets/docs/crypto-trading-1\#buysell-order-screen-disclosures) As a broker enabling the placement of cryptocurrency orders, the following disclosures should appear on the user’s order entry screen, on the app or website, immediately prior to the user submitting the buy or sell order. #### Buy Order Disclosure [Skip link to Buy Order Disclosure](https://docs.alpaca.markets/docs/crypto-trading-1\#buy-order-disclosure) By placing an order to buy \[$ amount of / number of \] \[cryptocurrency\], you are directing and authorizing Alpaca Securities LLC to transfer funds necessary to cover the purchase costs from your Alpaca Securities LLC account into your Alpaca Crypto LLC account. Cryptocurrency services are facilitated by Alpaca Crypto LLC. Cryptocurrencies are not securities and are not FDIC insured or protected by SIPC. [Disclosures](https://docs.alpaca.markets/docs/crypto-trading-1). #### Sell Order Disclosure [Skip link to Sell Order Disclosure](https://docs.alpaca.markets/docs/crypto-trading-1\#sell-order-disclosure) By placing an order to sell \[$ amount of / number of \] \[cryptocurrency\], you are directing and authorizing Alpaca Crypto LLC to transfer settled funds from the sale into your Alpaca Securities LLC account. Cryptocurrency services are facilitated by Alpaca Crypto LLC. Cryptocurrencies are not securities and are not FDIC insured or protected by SIPC. Disclosures. #### Crypto Pairs Order Disclosure [Skip link to Crypto Pairs Order Disclosure](https://docs.alpaca.markets/docs/crypto-trading-1\#crypto-pairs-order-disclosure) By placing an order, you are directing and authorizing Alpaca Crypto LLC to exchange \[X amount of Cryptocurrency\] for \[Y amount of cryptocurrency\]. Cryptocurrency services are facilitated by Alpaca Crypto LLC. Cryptocurrencies are not securities and are not FDIC insured or protected by SIPC. # Margin and Short Selling [Skip link to Margin and Short Selling](https://docs.alpaca.markets/docs/crypto-trading-1\#margin-and-short-selling) Cryptocurrencies are non-marginable. This means that you cannot use leverage to buy them and orders are evaluated against `non_marginable_buying_power`. Cryptocurrencies are not shortable. # Trading Hours [Skip link to Trading Hours](https://docs.alpaca.markets/docs/crypto-trading-1\#trading-hours) Crypto trading is offered for 24 hours everyday and your orders will be executed throughout the day. # Trading Limits [Skip link to Trading Limits](https://docs.alpaca.markets/docs/crypto-trading-1\#trading-limits) Currently, an order (buy or sell) must not exceed $200k in notional. This is per an order. # Market Data [Skip link to Market Data](https://docs.alpaca.markets/docs/crypto-trading-1\#market-data) Alpaca provides crypto data from multiple venues. Crypto data providers utilized by Alpaca: | Exchange | Exchange Code | | --- | --- | | `CBSE` | Coinbase | | `CRXL` | Alpaca Crypto Exchange | | `FLCX` | Falcon X | # Features [Skip link to Features](https://docs.alpaca.markets/docs/crypto-trading-1\#features) ## Price Band Protection [Skip link to Price Band Protection](https://docs.alpaca.markets/docs/crypto-trading-1\#price-band-protection) The price band validation in Alpaca will prevent trades from executing outside a predefined percentage range around an external reference price. Ensures market stability and prevents extreme price fluctuations due to erroneous trades. External reference prices are derived as a weighted average from `Coinbase`, `FalconX`, and `StillmanDigital`. Orders that would execute at an invalid price will be automatically canceled with following reasons. 1. canceled due to reference price stale – Order was canceled because the reference price used for price band validation was outdated. 2. canceled due to price band protection. Index price: `` Price band: ``%, Rejected price: `` – Order was about to execute at a price exceeding the allowed range Updated2 months ago * * * ## IRA Accounts Overview ## Account Opening [Skip link to Account Opening](https://docs.alpaca.markets/docs/ira-accounts-overview\#account-opening) The existing [account creation request](https://docs.alpaca.markets/reference/createaccount) will be used to create an IRA account but with the addition of a few new fields such as the `account_type` and `account_sub_type` fields. There will also be some additional onboarding questions that customers must answer to create their IRA account. Please reach out to your dedicated Customer Success Manager for the complete onboarding steps you'll need to guide your customers through. **Sample Request Body** ```rdmd-code lang- theme-light { "account_type": "ira", "account_sub_type": "roth", "enabled_assets": ["us_equity"], "contact": { "email_address": "IRA_test1@example.com", "phone_number": "555-666-7788", "street_address": ["20 N San Mateo Dr"], "unit": "6G", "city": "San Mateo", "state": "CA", "postal_code": "12345" }, "identity": { "given_name": "John", "family_name": "Smith", "date_of_birth": "1940-01-01", "tax_id": "119119119", "tax_id_type": "USA_SSN", "country_of_citizenship": "USA", "country_of_tax_residence": "USA", "funding_source": ["employment_income"], "annual_income_min": "30000", "annual_income_max": "50000", "liquid_net_worth_min": "100000", "liquid_net_worth_max": "150000", "marital_status": "MARRIED" }, "disclosures": { "is_control_person": false, "is_affiliated_exchange_or_finra": false, "is_politically_exposed": false, "immediate_family_exposed": false, "employment_status": "retired" }, "agreements": [\ {\ "agreement": "customer_agreement",\ "signed_at": "2020-09-11T18:13:44Z",\ "ip_address": "185.13.21.99",\ "revision": "19.2022.02"\ }\ ], "beneficiaries": [\ {\ "given_name": "Jane",\ "middle_name": "middle",\ "family_name": "Smith",\ "date_of_birth": "1940-01-01",\ "tax_id": "119119119",\ "tax_id_type": "USA_SSN",\ "relationship": "spouse",\ "type": "primary",\ "share_pct": "33.34"\ },\ {\ "given_name": "John",\ "family_name": "Smith",\ "date_of_birth": "2000-01-01",\ "tax_id": "119119119",\ "tax_id_type": "USA_SSN",\ "relationship": "other",\ "type": "primary",\ "share_pct": "33.33"\ },\ {\ "given_name": "Sally",\ "family_name": "Smith",\ "date_of_birth": "2000-01-01",\ "tax_id": "119119119",\ "tax_id_type": "USA_SSN",\ "relationship": "other",\ "type": "primary",\ "share_pct": "33.33"\ }\ ] } ``` ### Same user opening a taxable brokerage account and an IRA account [Skip link to Same user opening a taxable brokerage account and an IRA account](https://docs.alpaca.markets/docs/ira-accounts-overview\#same-user-opening-a-taxable-brokerage-account-and-an-ira-account) If the accounts are opened within 60 days of each other and Alpaca is performing KYC on each customer then we will reuse the KYC results tied to the account opened first provided that the original account was already approved. This means that you will only be charged for one KYC run from an invoicing perspective if these conditions are met. Please note this functionality has to be explicitly enabled for you so please reach out to Alpaca support to enable this feature to begin testing. Regardless of the time that has passed since the user opened their first account, the user does not have to go through the full onboarding flow again. You can pre-populate the onboarding questions with their original answers, prompt the user to confirm information is still correct and allow them to modify any fields that need to be corrected, and present the user with the relevant account agreement and disclosure language to finish opening their second account. ## Modifying Beneficiaries After Account Creation [Skip link to Modifying Beneficiaries After Account Creation](https://docs.alpaca.markets/docs/ira-accounts-overview\#modifying-beneficiaries-after-account-creation) Beneficiaries are especially important for IRA accounts since they are meant to be used to generate savings over a long period of time. However, to ensure a smooth onboarding experience, specifying beneficiaries at the time of account opening is not required. Beneficiaries can be set or updated anytime after account creation. This function would be managed via the existing [account update endpoint](https://docs.alpaca.markets/reference/patchaccount). > ## 🚧 Important note: updating beneficiaries via this endpoint will replace ALL existing beneficiaries associated with the IRA account. **Sample Request Body** ```rdmd-code lang- theme-light { "beneficiaries": [\ {\ "given_name": "Jane",\ "middle_name": "middle",\ "family_name": "Smith",\ "date_of_birth": "1940-01-01",\ "tax_id": "119119119",\ "tax_id_type": "USA_SSN",\ "relationship": "spouse",\ "type": "primary",\ "share_pct": "50"\ },\ {\ "given_name": "Sally",\ "family_name": "Smith",\ "date_of_birth": "2000-01-01",\ "tax_id": "119119119",\ "tax_id_type": "USA_SSN",\ "relationship": "other",\ "type": "primary",\ "share_pct": "50"\ }\ ] } ``` ### Spousal Consent in Community States [Skip link to Spousal Consent in Community States](https://docs.alpaca.markets/docs/ira-accounts-overview\#spousal-consent-in-community-states) Please note that Alpaca is required to collect spousal consent in the event that a user has an IRA account, is married, does not list their spouse as a beneficiary, and resides in a community property state. The community property states as of October 2024 are Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington, and Wisconsin. Alpaca will reach out to you with a list of accounts we are required to collect spousal consent on a manual basis as needed. ## How to Process a Contribution (IRA Deposits) [Skip link to How to Process a Contribution (IRA Deposits)](https://docs.alpaca.markets/docs/ira-accounts-overview\#how-to-process-a-contribution-ira-deposits) Deposits to IRA accounts are considered contributions from the IRS’ perspective and Alpaca needs to collect additional data that isn't required for typical taxable brokerage accounts. The IRS sets specific contribution limits for how much a customer can deposit into their IRA account per tax year and allows contributions to the previous tax year up until the official deadline of April 15th. Given this, Alpaca will require "tax\_year" as an input parameter when depositing via ACH using our existing [request transfer endpoint](https://docs.alpaca.markets/reference/createtransferforaccount). If a deposit is made via a push transaction, (i.e. a wire deposit or an ACH push transaction), the system will automatically default to classify the contribution for the current tax year. **Sample Request Body** ```rdmd-code lang- theme-light { "transfer_type": "ach", "relationship_id": "99eeed85-dcca-4d4b-b3ed-42d597a2f96d", "amount": "7000", "direction": "INCOMING", "ira": { "tax_year": "2024" } } ``` ### Handling Excess Contributions [Skip link to Handling Excess Contributions](https://docs.alpaca.markets/docs/ira-accounts-overview\#handling-excess-contributions) As mentioned above, the IRS imposes specific limits on how much a customer can contribute to their IRA in a given tax year. If a customer exceeds this limit, they may incur penalties during tax season. It’s advisable to monitor whether your customers are adhering to these IRS limits and, if not, send them a courtesy notice, guiding them to withdraw the excess funds to avoid penalties. Alpaca simplifies this process by providing a [new endpoint](https://docs.alpaca.markets/reference/listiraexcesscontritbutions) that allows you to pull the list of accounts that have over contributed on demand. It’s important to note that the exact limit the IRS enforces for each individual will change depending on their income bracket, tax filing status, and age – Alpaca only monitors against the maximum allowed limit by age. Since the contribution limit applies to all IRAs, including those held at other brokerages, customers are ultimately responsible for monitoring their own limits. Providing a notification to your customers as a courtesy is recommended but not required. ## How to Process a Distribution (IRA Withdrawals) [Skip link to How to Process a Distribution (IRA Withdrawals)](https://docs.alpaca.markets/docs/ira-accounts-overview\#how-to-process-a-distribution-ira-withdrawals) Withdrawals from IRA accounts are considered distributions from the IRS’ perspective. Since these are designed for long term savings and retirement, there are several IRS rules that disincentivize individuals from withdrawing from an IRA account before they reach retirement age but there are limited exceptions that allow users to withdraw penalty free. Because of this, the IRS requires we provide a reason for each distribution which must be collected from your end customer. There are also federal and state tax withholding elections that the customer must specify when requesting a distribution. As a guideline, the IRS requires 10% federal tax withholding unless the customer explicitly opts out. US state withholding requirements vary, so state-specific guidelines should be followed. Alpaca will withhold the elected amount (by deducting from the requested withdrawal amount) and remit payment to the IRS. Distributions will be processed via the existing [withdrawal request endpoint.](https://docs.alpaca.markets/reference/createtransferforaccount) **Sample Request Body** ```rdmd-code lang- theme-light { "transfer_type": "ach", "relationship_id": "1b6bb433-3ce3-40fa-8e08-15164a408c6b", "amount": "143", "direction": "OUTGOING", "ira": { "distribution_reason": "normal_roth", "tax_withholding": { "fed_pct": "10", "state_pct": "5.5" } } } ``` ### DistributionReason ENUMs [Skip link to DistributionReason ENUMs](https://docs.alpaca.markets/docs/ira-accounts-overview\#distributionreason-enums) We highly recommend researching when each tax code would be used for a given scenario and designing your frontend flow in a way that helps the user easily identify the correct reason to use. A brief description of each distribution reason Alpaca will support is provided below but the IRS guidelines should be considered the source of truth on this. Please also note that Alpaca will not support all IRA distribution types. If there is another distribution reason the user is eligible for (i.e. a disability distribution) the user would have to take an early distribution from Alpaca and work directly with the IRS to be reimbursed for any penalties that they may have incurred during tax season. | Attribute | Description | Applicable for Traditional IRAs | Applicable for Roth IRAs | IRS Tax Code | | --- | --- | --- | --- | --- | | `normal` | Normal Distribution | X | | 7 | | `normal_roth` | Qualified distribution from a Roth IRA (IRA 5-year holding period has been reached and customer is over 59½, or is dead, or is disabled) | | X | Q | | `early_no_exception` | Early distribution, no known exception | X | | 1 | | `excess_removal_current_year` | Excess contributions plus earnings/excess deferrals (and/or earnings) taxable in current year | X | | 8 | | `excess_removal_current_year_under_59.5` | Removal of Excess Plus Earning/Excess Deferrals Taxable in current yr - < 59.5 | X | | 81 | | `excess_removal_roth` | Removal of Excess from a Roth IRA | | X | 8J | | `excess_removal_1_year_prior_roth` | Excess contributions plus earnings in prior year - Roth IRA | | X | PJ | | `excess_removal_1_year_prior_over_59.5` | Removal of Excess Plus Earning/Excess Deferrals Taxable in prior year - >59½ | X | | P | | `excess_removal_1_year_prior_under_59.5` | Removal of Excess Plus Earning/Excess Deferrals Taxable in prior year - <59½ | X | | P1 | | `early_roth_no_exception` | Early distribution from a Roth IRA, no known exception (when Code T or Code Q do not apply) | | X | J | ## Other Important Considerations [Skip link to Other Important Considerations](https://docs.alpaca.markets/docs/ira-accounts-overview\#other-important-considerations) 1. Tax Documents & Required Minimum Distribution (RMD) Notices 1. For IRA accounts, the primary documents provided will be tax statements and RMD notices for customers who are of RMD age. These documents will be attached to the account as an account document and available for download via the [existing Broker API endpoint](https://docs.alpaca.markets/reference/downloaddocfromaccount-1?ref=alpaca.markets). 2. Updating Contributions and Distributions 1. There may be instances where a customer needs to make a correction on a contribution or distribution from time to time. For example, if a customer made a wire deposit and could not specify the tax year for the contribution – as a result, they might want to apply it to the prior tax year vs current. For these types of cases, it’s recommended that you reach out to [brokersupport@alpaca.markets](mailto:brokersupport@alpaca.markets) to handle each correction on a case by case basis. 3. Pricing 1. Please reach out to your sales representative to inquire about IRA pricing for your use case. You will need to sign a pricing amendment if the pricing is not outlined in your initial contract with Alpaca before the product can be enabled for you in production. ## Notable Product Limitations [Skip link to Notable Product Limitations](https://docs.alpaca.markets/docs/ira-accounts-overview\#notable-product-limitations) - RMD amount calculations will not be offered by Alpaca - There is currently a limitation of 1 unique email address per user - IRA accounts are by default setup with limited margin (1x margin) - Crypto is not be supported for IRAs at this time - Options (up to level 2) is supported for IRAs - IRA transfers and rollovers and not yet supported at Alpaca ## Resources [Skip link to Resources](https://docs.alpaca.markets/docs/ira-accounts-overview\#resources) - [IRA Blog Post](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) - [IRA FAQs](https://alpaca.markets/support/tag/ira) - [IRA Learn Article](https://alpaca.markets/learn/getting-started-with-ira-accounts-for-broker-api/) Updated7 months ago * * * ## Crypto Pricing Data To request trading pairs data via REST API, see [Crypto Pricing Data REST API](https://docs.alpaca.markets/reference/v1beta2cryptobars) Reference. The example below requests the latest order book data (bid and asks) for the following three crypto trading pairs: BTC/USD, ETH/BTC and ETH/USD. cURL ```rdmd-code lang-curl theme-light curl --request GET 'https://data.alpaca.markets/v1beta3/crypto/us/latest/orderbooks?symbols=BTC/USD,ETH/BTC,ETH/USD,SOL/USDT' \ --header 'Apca-Api-Key-Id: ' \ --header 'Apca-Api-Secret-Key: ' ``` ```rdmd-code lang- theme-light { "orderbooks": { "BTC/USD": { "a": [\ {\ "p": 27539.494,\ "s": 0.2632414\ },\ ...\ ], "b": [\ {\ "p": 27511.78083,\ "s": 0.26265668\ },\ ...\ ], "t": "2023-03-18T13:31:44.932988033Z" }, "ETH/USD": { ... }, "ETH/BTC": { ... }, "SOL/USDT": { ... } } } ``` # Real-Time Crypto Market Data [Skip link to Real-Time Crypto Market Data](https://docs.alpaca.markets/docs/crypto-pricing-data\#real-time-crypto-market-data) Additionally, you can subscribe to real-time crypto data via Websockets. Example below leverages wscat to subscribe to: - BTC/USD trades. - ETH/USDT and ETH/USD quotes. - BTC/USD order books ```rdmd-code lang- theme-light $ wscat -c wss://stream.data.alpaca.markets/v1beta3/crypto/us Connected (press CTRL+C to quit) < [{"T":"success","msg":"connected"}] > {"action": "auth", "key": "", "secret": ""} < [{"T":"success","msg":"authenticated"}] > {"action":"subscribe", "trades":["BTC/USD"], "quotes":["ETH/USDT","ETH/USD"], "orderbooks":["BTC/USD"]} < [{"T":"subscription","trades":["BTC/USD"],"quotes":["ETH/USDT","ETH/USD"],"orderbooks":["BTC/USD"],"updatedBars":[],"dailyBars":[]}] < [{"T":"o","S":"BTC/USD","t":"2023-03-18T13:51:29.754747009Z","b":[{"p":27485.3445,"s":0.25893365},{"p":27466.92727,"s":0.52351568},...],"a":[{"p":27512.92,"s":0.26137249},{"p":27547.9425,"s":0.52011956},...],"r":true}] < [{"T":"q","S":"ETH/USDT","bp":1815.55510989,"bs":8.24941727,"ap":1818.4,"as":4.15121428,"t":"2023-03-18T13:51:33.256826818Z"}] < ... ``` Updatedover 1 year ago * * * ## Market Data Streaming This API provides a [WebSocket](https://en.wikipedia.org/wiki/WebSocket) stream for real-time market data. This allows you to receive the most up-to-date market information, which can be used to power your trading strategies. The WebSocket stream provides real-time updates of the following market data: - [Stocks](https://docs.alpaca.markets/docs/real-time-stock-pricing-data) - [Crypto](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data) - [Options](https://docs.alpaca.markets/docs/real-time-option-data) - [News](https://docs.alpaca.markets/docs/streaming-real-time-news) # Steps to use the stream [Skip link to Steps to use the stream](https://docs.alpaca.markets/docs/streaming-market-data\#steps-to-use-the-stream) To use the WebSocket stream follow these steps: ## Connection [Skip link to Connection](https://docs.alpaca.markets/docs/streaming-market-data\#connection) To establish a connection use the stream URL depending on the data you'd like to consume. The general schema of the URL is ```rdmd-code lang- theme-light wss://stream.data.alpaca.markets/{version}/{feed} ``` Sandbox URL: ```rdmd-code lang- theme-light wss://stream.data.sandbox.alpaca.markets/{version}/{feed} ``` Any attempt to access a data feed not available for your subscription will result in an error during authentication. > ## 📘 Test stream > > We provide a test stream that is available all the time, even outside market hours, on this URL: > > ```rdmd-code lang- theme-light > wss://stream.data.alpaca.markets/v2/test > > ``` > > Use the symbol "FAKEPACA" when trying out this test stream. Upon successfully connecting, you will receive the welcome message: JSON ```rdmd-code lang-json theme-light [{"T":"success","msg":"connected"}] ``` > ## 🚧 Connection limit > > The number of connections to a single endpoint from a user is limited based on the user's subscription, but in most subscriptions (including Algo Trader Plus) this limit is 1. If you try to open a second connection, you'll get this error: > > JSON > > ```rdmd-code lang-json theme-light > [{"T":"error","code":406,"msg":"connection limit exceeded"}] > > ``` ## Authentication [Skip link to Authentication](https://docs.alpaca.markets/docs/streaming-market-data\#authentication) You need to authenticate yourself using your credentials. This can be done multiple ways ### For the Trading API, Authenticate with HTTP headers [Skip link to For the Trading API, Authenticate with HTTP headers](https://docs.alpaca.markets/docs/streaming-market-data\#for-the-trading-api-authenticate-with-http-headers) You can set the same headers used for the historical market data and trading endpoints: - `APCA-API-KEY-ID` - `APCA-API-SECRET-KEY` Here's an example using a WebSocket client called [websocat](https://github.com/vi/websocat): ```rdmd-code lang- theme-light $ websocat wss://stream.data.alpaca.markets/v2/test \ -H="APCA-API-KEY-ID: {KEY_ID}" -H="APCA-API-SECRET-KEY: {SECRET}" ``` ### For the Broker API, Authenticate with Basic Authentication [Skip link to For the Broker API, Authenticate with Basic Authentication](https://docs.alpaca.markets/docs/streaming-market-data\#for-the-broker-api-authenticate-with-basic-authentication) You can use the same Basic Authentication header used for the historical market data and trading endpoints: - `Authorization` = `base64encode({KEY}:{SECRET})` **Note:** `base64encode({KEY_ID}:{SECRET})` is the base64 encoding of the `{KEY}:{SECRET}` string. ### For both Trading & Broker API, Authenticate with a message [Skip link to For both Trading & Broker API, Authenticate with a message](https://docs.alpaca.markets/docs/streaming-market-data\#for-both-trading--broker-api-authenticate-with-a-message) Alternatively, for both the trading & broker API, you can authenticate with a message after connection: JSON ```rdmd-code lang-json theme-light {"action": "auth", "key": "{KEY_ID}", "secret": "{SECRET}"} ``` Keep in mind though, that you only have 10 seconds to do so after connecting. If you provided correct credentials you will receive another success message: JSON ```rdmd-code lang-json theme-light [{"T":"success","msg":"authenticated"}] ``` ## Subscription [Skip link to Subscription](https://docs.alpaca.markets/docs/streaming-market-data\#subscription) Congratulations, you are ready to receive real-time market data! You can send one or more subscription messages. The general format of the subscribe message is this: JSON ```rdmd-code lang-json theme-light { "action": "subscribe", "": [""], "": ["",""], "": ["*"] } ``` You can subscribe to a particular symbol or to every symbol using the `*` wildcard. A subscribe message should contain what subscription you want to add to your current subscriptions in your session so you don’t have to send what you’re already subscribed to. For example in the test stream, you can send this message: JSON ```rdmd-code lang-json theme-light {"action":"subscribe","trades":["FAKEPACA"]} ``` The available channels are described for each streaming endpoints separately. Much like subscribe you can also send an unsubscribe message that subtracts the list of subscriptions specified from your current set of subscriptions. JSON ```rdmd-code lang-json theme-light {"action":"unsubscribe","quotes":["FAKEPACA"]} ``` After subscribing or unsubscribing you will receive a message that describes your current list of subscriptions. JSON ```rdmd-code lang-json theme-light [{"T":"subscription","trades":["AAPL"],"quotes":["AMD","CLDR"],"bars":["*"],"updatedBars":[],"dailyBars":["VOO"],"statuses":["*"],"lulds":[],"corrections":["AAPL"],"cancelErrors":["AAPL"]}] ``` You will always receive your entire list of subscriptions, as illustrated by the sample communication excerpt below: JSON ```rdmd-code lang-json theme-light > {"action": "subscribe", "trades": ["AAPL"], "quotes": ["AMD", "CLDR"], "bars": ["*"]} < [{"T":"subscription","trades":["AAPL"],"quotes":["AMD","CLDR"],"bars":["*"],"updatedBars":[],"dailyBars":[],"statuses":[],"lulds":[],"corrections":["AAPL"],"cancelErrors":["AAPL"]}] ... > {"action": "unsubscribe", "bars": ["*"]} < [{"T":"subscription","trades":["AAPL"],"quotes":["AMD","CLDR"],"bars":[],"updatedBars":[],"dailyBars":[],"statuses":[],"lulds":[],"corrections":["AAPL"],"cancelErrors":["AAPL"]}] ``` # Messages [Skip link to Messages](https://docs.alpaca.markets/docs/streaming-market-data\#messages) ## Format [Skip link to Format](https://docs.alpaca.markets/docs/streaming-market-data\#format) Every message you receive from the server will be in the format: json ```rdmd-code lang-json theme-light [{"T": "{message_type}", {contents}},...] ``` Control messages (i.e. where `T` is `error`, `success` or `subscription`) always arrive in arrays of size one to make their processing easier. Data points however may arrive in arrays that have a length that is greater than one. This is to facilitate clients whose connection is not fast enough to handle data points sent one by one. Our server buffers the outgoing messages but slow clients may get disconnected if their buffer becomes full. ## Content type [Skip link to Content type](https://docs.alpaca.markets/docs/streaming-market-data\#content-type) You can use the `Content-Type` header to switch between text and binary message [data frame](https://datatracker.ietf.org/doc/html/rfc6455#section-5.6): - `Content-Type: application/json` - `Content-Type: application/msgpack` ## Encoding and Compression [Skip link to Encoding and Compression](https://docs.alpaca.markets/docs/streaming-market-data\#encoding-and-compression) Messages over the websocket are in encoded as clear text. To reduce bandwidth requirements we have implemented compression as per [RFC-7692](https://datatracker.ietf.org/doc/html/rfc7692). [Our SDKs](https://docs.alpaca.markets/docs/sdks-and-tools) handle this for you so in most cases you won’t have to implement anything yourself. ## Errors [Skip link to Errors](https://docs.alpaca.markets/docs/streaming-market-data\#errors) You may receive an error during your session. Below are the general errors you may run into. | Code | Message | Description | | --- | --- | --- | | 400 | invalid syntax | The message you sent to the server did not follow the specification.
⚠️ This can also be sent if the symbol in your subscription message is in invalid format. | | 401 | not authenticated | You have attempted to subscribe or unsubscribe before [authentication](https://docs.alpaca.markets/docs/streaming-market-data#authentication). | | 402 | auth failed | You have provided invalid authentication credentials. | | 403 | already authenticated | You have already successfully authenticated during your current session. | | 404 | auth timeout | You failed to successfully authenticate after connecting. You only have a few seconds to authenticate after connecting. | | 405 | symbol limit exceeded | The symbol subscription request you sent would put you over the limit set by your subscription package. If this happens your symbol subscriptions are the same as they were before you sent the request that failed. | | 406 | connection limit exceeded | You already have the number of sessions allowed by your subscription. | | 407 | slow client | You may receive this if you are too slow to process the messages sent by the server. Please note that this is not guaranteed to arrive before you are disconnected to avoid keeping slow connections active forever. | | 409 | insufficient subscription | You have attempted to access a data source not available in your subscription package. | | 410 | invalid subscribe action for this feed | You tried to subscribe to channels not available in the stream, for example to `bars` in the [option stream](https://docs.alpaca.markets/docs/real-time-option-data) or to `trades` in the [news stream](https://docs.alpaca.markets/docs/streaming-real-time-news). | | 500 | internal error | An unexpected error occurred on our end. Please let us know if this happens. | Beside these there can be some endpoint specific errors, for example in the [option stream](https://docs.alpaca.markets/docs/real-time-option-data#errors). # Example [Skip link to Example](https://docs.alpaca.markets/docs/streaming-market-data\#example) Here's a complete example of the test stream using the [wscat](https://github.com/websockets/wscat) cli tool: JSON ```rdmd-code lang-json theme-light $ wscat -c wss://stream.data.alpaca.markets/v2/test Connected (press CTRL+C to quit) < [{"T":"success","msg":"connected"}] > {"action":"auth","key":"","secret":""} < [{"T":"success","msg":"authenticated"}] > {"action":"subscribe","bars":["FAKEPACA"],"quotes":["FAKEPACA"]} < [{"T":"subscription","trades":[],"quotes":["FAKEPACA"],"bars":["FAKEPACA"]}] < [{"T":"q","S":"FAKEPACA","bx":"O","bp":133.85,"bs":4,"ax":"R","ap":135.77,"as":5,"c":["R"],"z":"A","t":"2024-07-24T07:56:53.639713735Z"}] < [{"T":"q","S":"FAKEPACA","bx":"O","bp":133.85,"bs":4,"ax":"R","ap":135.77,"as":5,"c":["R"],"z":"A","t":"2024-07-24T07:56:58.641207127Z"}] < [{"T":"b","S":"FAKEPACA","o":132.65,"h":136,"l":132.12,"c":134.65,"v":205,"t":"2024-07-24T07:56:00Z","n":16,"vw":133.7}] ``` Updated7 months ago * * * ## Register Alpaca App Before integrating with Alpaca, you’ll first need to create a new OAuth app under your OAuth Apps page. The OAuth Apps page is accessible from the dashboard, which requires you to login to your Alpaca brokerage account to visit. ### 1\. Visit Alpaca Connect on Dashboard [Skip link to 1. Visit Alpaca Connect on Dashboard](https://docs.alpaca.markets/docs/registering-your-app\#1-visit-alpaca-connect-on-dashboard) ![Alpaca Connect](https://files.readme.io/224a3dc-20230627_connect.png) ### 2\. Click on Submit and Fill in the Details [Skip link to 2. Click on Submit and Fill in the Details](https://docs.alpaca.markets/docs/registering-your-app\#2-click-on-submit-and-fill-in-the-details) ![](https://files.readme.io/824cdd8-Screenshot_2023-05-09_at_13.41.56.png) ### 3\. Obtain (and store) Your Credentials [Skip link to 3. Obtain (and store) Your Credentials](https://docs.alpaca.markets/docs/registering-your-app\#3-obtain-and-store-your-credentials) Once you add your relevant information and create the app, you will receive your Client ID and Client Secret. ![](https://files.readme.io/7db8c14-Screenshot_2023-05-09_at_13.45.51.png) Updatedover 1 year ago * * * Did this page help you? Yes No ## Broker API Overview # Broker API vs. Trading API [Skip link to Broker API vs. Trading API](https://docs.alpaca.markets/docs/broker-api-faq\#broker-api-vs-trading-api) ### What is the Difference Between Trading API and Broker API? [Skip link to What is the Difference Between Trading API and Broker API?](https://docs.alpaca.markets/docs/broker-api-faq\#what-is-the-difference-between-trading-api-and-broker-api) The Broker API is meant to support different use cases for Broker-Dealers, RIAs, and Trading/Investing applications, [see more here](https://docs.alpaca.markets/docs/use-cases). Instead, the Trading API is meant for Retail users and algotraders to communicate with Alpaca’s brokerage service, [see more here](https://alpaca.markets/docs/api-references/trading-api/). ### Is the Authentication Different Between Trading API and Broker API? [Skip link to Is the Authentication Different Between Trading API and Broker API?](https://docs.alpaca.markets/docs/broker-api-faq\#is-the-authentication-different-between-trading-api-and-broker-api) Yes, the way a client authenticates with the Broker API is different than the Trading API. With the Broker API, you’ll need to encode the keys and pass an authentication header that looks like this: `Authorization: Basic ` [see more here](https://alpaca.markets/docs/api-references/broker-api/#authentication-and-rate-limit). The same Broker API credentials with HTTP basic authentication can be used to access Market Data API, as described [here](https://docs.alpaca.markets/docs/about-market-data-api#broker-api). # Accounts [Skip link to Accounts](https://docs.alpaca.markets/docs/broker-api-faq\#accounts) ### When Do the Values on the Accounts Trading Get Updated? [Skip link to When Do the Values on the Accounts Trading Get Updated?](https://docs.alpaca.markets/docs/broker-api-faq\#when-do-the-values-on-the-accounts-trading-get-updated) All the values that **do not** have the prefix - “last\_“ are updated Real-Time post trade executions and Corp Action activities. Might update outside market hours as well, post-trade settlements and FEE calculations like REG/TAF fee. # Assets [Skip link to Assets](https://docs.alpaca.markets/docs/broker-api-faq\#assets) ### What is the difference between Tradable and Status Boolean in the Assets API? [Skip link to What is the difference between Tradable and Status Boolean in the Assets API?](https://docs.alpaca.markets/docs/broker-api-faq\#what-is-the-difference-between-tradable-and-status-boolean-in-the-assets-api) ### [Assets](https://alpaca.markets/docs/api-references/broker-api/assets/\#asset-states) [Skip link to [object Object]](https://docs.alpaca.markets/docs/broker-api-faq\#assets-1) There are some scenarios to consider here: #### `tradable=true` and `status=active` [Skip link to [object Object]](https://docs.alpaca.markets/docs/broker-api-faq\#tradabletrue-and-statusactive) This is the scenario for most of the stocks listed. For example Apple Inc. This means it's tradable - both BUY and SELL are possible on this stock. #### `tradable=false` and `status=active` [Skip link to [object Object]](https://docs.alpaca.markets/docs/broker-api-faq\#tradablefalse-and-statusactive) This is one of the rare conditions where we don't allow new opening transactions and only allow closing transactions. This usually happens when an asset is delisted from a US stock exchange and trades over the counter. #### `tradable=false` and `status=inactive` [Skip link to [object Object]](https://docs.alpaca.markets/docs/broker-api-faq\#tradablefalse-and-statusinactive) This is a scenario which can be achieved during the delisting of a company. If a stock is delisted, it is not tradable, which means we neither allow a `BUY` nor a `SELL` order for that particular stock. A delisted stock is either auto-liquidated or users are informed to close the positions within a specific amount of time. ### Can OTC tickers be traded? [Skip link to Can OTC tickers be traded?](https://docs.alpaca.markets/docs/broker-api-faq\#can-otc-tickers-be-traded) Yes, you can always close any open positions. ### Are OTC symbols available in the Market Data? [Skip link to Are OTC symbols available in the Market Data?](https://docs.alpaca.markets/docs/broker-api-faq\#are-otc-symbols-available-in-the-market-data) No. OTC Market Data requires partners to directly have an agreement with OTC Markets. Once that is done, we can enable the same for our partners. ### Is there a way to differentiate between Stocks and ETFs in the Assets API? [Skip link to Is there a way to differentiate between Stocks and ETFs in the Assets API?](https://docs.alpaca.markets/docs/broker-api-faq\#is-there-a-way-to-differentiate-between-stocks-and-etfs-in-the-assets-api) Alpaca at this point in time does not support any categorization of Stocks and ETFs. Partner needs to categorize them personally using the names and symbols. ### How often does Alpaca refresh the assets master? [Skip link to How often does Alpaca refresh the assets master?](https://docs.alpaca.markets/docs/broker-api-faq\#how-often-does-alpaca-refresh-the-assets-master) Alpaca refreshes the assets master 3 times per day. The 3 refresh times are outside of market hours, with the last refresh scheduled at 8:20 AM ET. If you are storing the list of assets locally, we recommend refreshing it from Alpaca at least once per day, preferably after 8:20 AM ET but before 9:30 AM ET. # Events [Skip link to Events](https://docs.alpaca.markets/docs/broker-api-faq\#events) ### How Many SSE Connections Can be Alive Concurrently? [Skip link to How Many SSE Connections Can be Alive Concurrently?](https://docs.alpaca.markets/docs/broker-api-faq\#how-many-sse-connections-can-be-alive-concurrently) A maximum of **25** connection requests are allowed. Post that you will receive _“Too many requests“_ error. ### After How Long Will the SSE Connection Close? [Skip link to After How Long Will the SSE Connection Close?](https://docs.alpaca.markets/docs/broker-api-faq\#after-how-long-will-the-sse-connection-close) There is no such time. Alpaca would never stop responding, hence we also send “ _heartbeat_“ to let partners know that the connection is alive. Sometimes the connections are un-knowingly closed by client-networks or network error happens. Nonetheless, you can always re-open and request data after a particular event using `since_id` or `since`. ### What is the Use-case for SSE? [Skip link to What is the Use-case for SSE?](https://docs.alpaca.markets/docs/broker-api-faq\#what-is-the-use-case-for-sse) Server-sent events can be useful when you want updates on the status of a certain transaction, without making multiple HTTP requests. Events endpoints will return multiple responses when you open a connection, and can also be used in a restful way to make sure you didn’t miss any event. 1. Account Status Updates - [Subscribe to Account Status Events (SSE)](https://docs.alpaca.markets/reference/suscribetoaccountstatussse) 2. Trade Updates - [Subscribe to Trade Events (SSE)](https://docs.alpaca.markets/reference/subscribetotradesse) 3. Journal Updates - [Subscribe to Journal Events (SSE)](https://docs.alpaca.markets/reference/subscribetojournalstatussse) 4. Any Transfer Event - [Subscribe to Transfer Events (SSE)](https://docs.alpaca.markets/reference/subscribetotransferstatussse) 5. Any relevant Non-Trading Activity - [Subscribe to Non-Trading Activities Events (SSE)](https://docs.alpaca.markets/reference/get-v1-events-nta) # Market Data [Skip link to Market Data](https://docs.alpaca.markets/docs/broker-api-faq\#market-data) ### Does the Market Data API support corporate actions adjustments? [Skip link to Does the Market Data API support corporate actions adjustments?](https://docs.alpaca.markets/docs/broker-api-faq\#does-the-market-data-api-support-corporate-actions-adjustments) Yes, price adjustments are visible on the Market Data, you'll just need to make sure the adjustment parameter is set to all. The available query parameters for bars are available here - [Historical bars](https://docs.alpaca.markets/reference/stockbars#:~:text=adjustment,for%20the%20stocks.) ### Does the Market Data API support local currencies? [Skip link to Does the Market Data API support local currencies?](https://docs.alpaca.markets/docs/broker-api-faq\#does-the-market-data-api-support-local-currencies) Yes. You can retrieve historical market data in the supported local currencies. # Documents [Skip link to Documents](https://docs.alpaca.markets/docs/broker-api-faq\#documents) ### How are trade confirmations and account statements handled by Alpaca and its partners? [Skip link to How are trade confirmations and account statements handled by Alpaca and its partners?](https://docs.alpaca.markets/docs/broker-api-faq\#how-are-trade-confirmations-and-account-statements-handled-by-alpaca-and-its-partners) 1. Both of them need to be mailed to users with [auto-archive-bd@mailer.alpaca.markets](mailto:auto-archive-bd@mailer.alpaca.markets) in BCC. 2. The email should contain the truncated alpaca account number and language as mentioned in the Statement and Confirms Document. 3. If sharing a customized statement or confirmation, in that case, the partner must allow users to have access to the original statements and confirms generated by Alpaca. ### When are these documents available? [Skip link to When are these documents available?](https://docs.alpaca.markets/docs/broker-api-faq\#when-are-these-documents-available) Daily Trade Confirmations are available on the next day after the BOD job is finished(02:15 AM-02:30 AM EST). Monthly statements are available after the 1st weekend of the next month. ### How can I retrieve these documents? [Skip link to How can I retrieve these documents?](https://docs.alpaca.markets/docs/broker-api-faq\#how-can-i-retrieve-these-documents) [Documents \| Alpaca Docs](https://alpaca.markets/docs/api-references/broker-api/documents/#retrieving-documents-for-one-account) Query the above-mentioned endpoint with `type` as `account_statement` or `trade_confirmation`. ### Can I find a sample W-8 Ben Form and what details are needed to be filled in? [Skip link to Can I find a sample W-8 Ben Form and what details are needed to be filled in?](https://docs.alpaca.markets/docs/broker-api-faq\#can-i-find-a-sample-w-8-ben-form-and-what-details-are-needed-to-be-filled-in) Can be found here - [https://github.com/alpacahq/bkdocs/files/7756721/W-8Ben\_Example\_Broker\_Docs.pdf](https://github.com/alpacahq/bkdocs/files/7756721/W-8Ben_Example_Broker_Docs.pdf "https://github.com/alpacahq/bkdocs/files/7756721/W-8Ben_Example_Broker_Docs.pdf") ### I’m getting a 400 error (request body format is invalid: JSON: cannot unmarshal object into Go value of type entities.BrokerAccountDocumentUploads) when uploading a W8-Ben. Is this expected? [Skip link to I’m getting a 400 error (request body format is invalid: JSON: cannot unmarshal object into Go value of type entities.BrokerAccountDocumentUploads) when uploading a W8-Ben. Is this expected?](https://docs.alpaca.markets/docs/broker-api-faq\#im-getting-a-400-error-request-body-format-is-invalid-json-cannot-unmarshal-object-into-go-value-of-type-entitiesbrokeraccountdocumentuploads-when-uploading-a-w8-ben-is-this-expected) Yes, the body of the request is an array of documents, make sure you’re using square brackets like in the sample response [Documents \| Alpaca Docs](https://alpaca.markets/docs/api-references/broker-api/documents/#sample-request). # Journals [Skip link to Journals](https://docs.alpaca.markets/docs/broker-api-faq\#journals) ### How much time does JNLC’s or Journal usually take? [Skip link to How much time does JNLC’s or Journal usually take?](https://docs.alpaca.markets/docs/broker-api-faq\#how-much-time-does-jnlcs-or-journal-usually-take) Most of the time, JNLCs are pretty fast and mostly instantaneous, with a sub-second average delay before the execution is complete. There can be a delay of a few hours when exceeding the limits mentioned below. ### JNLC with larger amounts are executed the next day. Is this expected? [Skip link to JNLC with larger amounts are executed the next day. Is this expected?](https://docs.alpaca.markets/docs/broker-api-faq\#jnlc-with-larger-amounts-are-executed-the-next-day-is-this-expected) Yes. We have a limit called the JNLC Transaction Limit. This is the maximum amount of journaling you can do instantaneously. Any amount of journal greater than this would be executed as a part of the BOD job of the next day. The default value is $50. This is a safeguard mechanism to prevent LARGE withdrawals for any user to prevent partners from the same. This is a “Configurable“ value that can be set to anything on the Sandbox but would require a discussion for the PROD. There is also a JNLC Daily Limit, which is the summation of all the JNLC done in a day. If the limit is $1000(Default Limit), you can do 10 transactions of $100 each, but the 11th one would not pass. This is a “Configurable“ value that can be set to anything on the Sandbox but would require a discussion for the PROD. ### Can I subscribe to a journal status streaming without having to check it again and again? [Skip link to Can I subscribe to a journal status streaming without having to check it again and again?](https://docs.alpaca.markets/docs/broker-api-faq\#can-i-subscribe-to-a-journal-status-streaming-without-having-to-check-it-again-and-again) Absolutely yes. You can listen to the journal server-sent events. - [Events \| Alpaca Docs](https://alpaca.markets/docs/api-references/broker-api/events/#journal-status) ## What are the use cases for the JNLS? [Skip link to What are the use cases for the JNLS?](https://docs.alpaca.markets/docs/broker-api-faq\#what-are-the-use-cases-for-the-jnls) JNLS are usually used to Reward users for signing up on the platform by our partners. ## What is the direction and flow of JNLS? [Skip link to What is the direction and flow of JNLS?](https://docs.alpaca.markets/docs/broker-api-faq\#what-is-the-direction-and-flow-of-jnls) JNLS can ONLY be done from the SWEEP ACCOUNT to the USER ACCOUNT and not vice-versa. Once, done, it can’t be sent back. ## Is the JNLS transactional limit per account configurable? [Skip link to Is the JNLS transactional limit per account configurable?](https://docs.alpaca.markets/docs/broker-api-faq\#is-the-jnls-transactional-limit-per-account-configurable) Yes, they are configurable. ## Are JNLS transactional limits per account USD or Stocks based? [Skip link to Are JNLS transactional limits per account USD or Stocks based?](https://docs.alpaca.markets/docs/broker-api-faq\#are-jnls-transactional-limits-per-account-usd-or-stocks-based) They are USD-based. # Trading [Skip link to Trading](https://docs.alpaca.markets/docs/broker-api-faq\#trading) ## Orders [Skip link to Orders](https://docs.alpaca.markets/docs/broker-api-faq\#orders) ### What is the minimum order value? [Skip link to What is the minimum order value?](https://docs.alpaca.markets/docs/broker-api-faq\#what-is-the-minimum-order-value) All buy orders must have a minimum market value of 1$ or the request will be rejected with a 422. Sell orders do not have this validation, so you can close any open position. ### What is the precision for notional and qty in the order request body? [Skip link to What is the precision for notional and qty in the order request body?](https://docs.alpaca.markets/docs/broker-api-faq\#what-is-the-precision-for-notional-and-qty-in-the-order-request-body) A maximum of **2 decimal places** for _notional_ and **9 decimal places** for _qty_ should be used to send orders. ### Only limit is allowed as the order type for OCO. Does this rule apply to OTO? [Skip link to Only limit is allowed as the order type for OCO. Does this rule apply to OTO?](https://docs.alpaca.markets/docs/broker-api-faq\#only-limit-is-allowed-as-the-order-type-for-oco-does-this-rule-apply-to-oto) No. OCO implements an order cancellation and hence it might be very difficult to cancel a market order. Whereas in the case of OTO, that isn't an issue and hence _market_ and _limit_ both orders are allowed! ### Order replacement is supported for OCO to update limit\_price and stop\_price. [Skip link to Order replacement is supported for OCO to update limit_price and stop_price.](https://docs.alpaca.markets/docs/broker-api-faq\#order-replacement-is-supported-for-oco-to-update-limit_price-and-stop_price) Can we update the quantity as well? And can we use a notional amount instead of quantity? Yes, you can update the quantity while patching the order using this API - [Orders \| Alpaca Docs](https://alpaca.markets/docs/api-references/broker-api/trading/orders/#patching-an-order) . No, you can't use the notional amount. The reason for this is, that Alpaca at this point of time **doesn't** support _LIMIT_ orders for _notional_ orders and since OCO orders can only be a _LIMIT_ order, it makes it compulsory to use the **quantity**. ### What orders can be cancelled? [Skip link to What orders can be cancelled?](https://docs.alpaca.markets/docs/broker-api-faq\#what-orders-can-be-cancelled) We check that the order is in an "open" status before attempting to cancel it. The [statuses](https://alpaca.markets/docs/trading/orders/#order-lifecycle "https://alpaca.markets/docs/trading/orders/#order-lifecycle") that we consider open are: - Accepted - New - Partially Filled - Calculated - Pending New - Pending Cancel - Pending Replace - Accepted for Bidding If the order is in one of these statuses you should receive a 204 (unless there was a server error) while if it isn't you're going to receive a 422, as mentioned in the docs. To check if the order was actually canceled, I suggest you check its status on the trades SSE or through the REST endpoints. ## Trade Settlement [Skip link to Trade Settlement](https://docs.alpaca.markets/docs/broker-api-faq\#trade-settlement) ### Why is there no cash\_withdrawable and cash\_transferable increase after selling a stock? [Skip link to Why is there no cash_withdrawable and cash_transferable increase after selling a stock?](https://docs.alpaca.markets/docs/broker-api-faq\#why-is-there-no-cash_withdrawable-and-cash_transferable-increase-after-selling-a-stock) Settlement occurs one business day after the day the order executes, or T+1 (trade date plus one business day). For example, if you were to execute an order on Monday, it would typically settle on Tuesday. The `cash` is updated post the SELL trade is filled, but the `cash_withdrawable` and `cash_transferable` are updated post T+1. ### What are some fees, that can be expected while trading stocks? [Skip link to What are some fees, that can be expected while trading stocks?](https://docs.alpaca.markets/docs/broker-api-faq\#what-are-some-fees-that-can-be-expected-while-trading-stocks) #### REG and TAF Fees [Skip link to REG and TAF Fees](https://docs.alpaca.markets/docs/broker-api-faq\#reg-and-taf-fees) This is charged(REG and TAF individually) to a User Account, every time a SELL Order is executed. This is charged by Alpaca but, is a pass thru fee from the FINRA and SEC itself that is levied to Alpaca on sell orders. The REG and TAF fees change rates periodically. More about this can be read in the blog from our co-founder - [REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/reg-taf-fees/) #### ADR Fees [Skip link to ADR Fees](https://docs.alpaca.markets/docs/broker-api-faq\#adr-fees) Most ADRs charge a fee of $0.01 to $0.03 per share once or twice a year in order to cover the administrative costs associated with running the ADR program. ADR fees may be charged less frequently depending on how the depository bank runs the ADR program. ADR fees are charged to clients typically once a month after we are charged by our depository. The record date on the charge is usually the month before the actual date of the charge. Even if the client has since liquidated their shares, they will still be charged an ADR fee if they held shares on the record date. #### Rounding rules [Skip link to Rounding rules](https://docs.alpaca.markets/docs/broker-api-faq\#rounding-rules) We will not charge the ADR fee if the calculated fee is less than a penny. However, if the amount is over a penny we will always round up to the next highest penny. For example, if the charge is .02 cents a share and the client owns 10.1 shares we would charge the client .21 for the ADR fee. # Rebalancing [Skip link to Rebalancing](https://docs.alpaca.markets/docs/broker-api-faq\#rebalancing) ### Can I enter manual trades while using the Rebalancing API? [Skip link to Can I enter manual trades while using the Rebalancing API?](https://docs.alpaca.markets/docs/broker-api-faq\#can-i-enter-manual-trades-while-using-the-rebalancing-api) If the account is subscribed to a portfolio, it cannot execute manual trades or [manual rebalance runs](https://alpaca.markets/docs/api-references/broker-api/rebalancing/#create-run-manual-rebalancing-event "https://alpaca.markets/docs/api-references/broker-api/rebalancing/#create-run-manual-rebalancing-event"). Still, you can [delete the subscription](https://alpaca.markets/docs/api-references/broker-api/rebalancing/#unsubscribe-account-delete-subscription "https://alpaca.markets/docs/api-references/broker-api/rebalancing/#unsubscribe-account-delete-subscription") to execute manual trades or rebalance runs. ### How can I see the orders triggered by a rebalancing event? [Skip link to How can I see the orders triggered by a rebalancing event?](https://docs.alpaca.markets/docs/broker-api-faq\#how-can-i-see-the-orders-triggered-by-a-rebalancing-event) You can easily retrieve [all the runs with this endpoint](https://alpaca.markets/docs/api-references/broker-api/rebalancing/#list-all-runs "https://alpaca.markets/docs/api-references/broker-api/rebalancing/#list-all-runs") or [a particular run by its ID](https://alpaca.markets/docs/api-references/broker-api/rebalancing/#get-run-by-id "https://alpaca.markets/docs/api-references/broker-api/rebalancing/#get-run-by-id"), where each run will have an array with all the orders that were executed and the ones that failed or were skipped. # Important Links and Reads [Skip link to Important Links and Reads](https://docs.alpaca.markets/docs/broker-api-faq\#important-links-and-reads) 1. Alpaca Daily Processes and Reconciliations - [Daily Processes and Reconcilations](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations) 2. PDT - [User Protection](https://docs.alpaca.markets/docs/user-protection#pattern-day-trader-pdt-protection-at-alpaca) 3. Margins - [Margin and Short Selling](https://docs.alpaca.markets/docs/margin-and-short-selling) 4. Understanding Orders and Time in Force - [Orders at Alpaca](https://docs.alpaca.markets/docs/orders-at-alpaca) * * * ##### Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/)/ [SIPC](https://www.sipc.org/), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. [Skip link to Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member ](https://docs.alpaca.markets/docs/broker-api-faq\#securities-brokerage-services-are-provided-by-alpaca-securities-llc-alpaca-securities-member-finrasipc-a-wholly-owned-subsidiary-of-alpacadb-inc-technology-and-services-are-offered-by-alpacadb-inc) ##### This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities is not registered (Alpaca Securities is registered only in the United States). [Skip link to This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities is not registered (Alpaca Securities is registered only in the United States).](https://docs.alpaca.markets/docs/broker-api-faq\#this-is-not-an-offer-solicitation-of-an-offer-or-advice-to-buy-or-sell-securities-or-open-a-brokerage-account-in-any-jurisdiction-where-alpaca-securities-is-not-registered-alpaca-securities-is-registered-only-in-the-united-states) Updated2 months ago * * * ## Broker API Use Cases # Broker API Use Cases [Skip link to Broker API Use Cases](https://docs.alpaca.markets/docs/about-broker-api\#broker-api-use-cases) There are several different use cases for Broker API integration. Below are some common ones, but please do not hesitate to reach out to our sales team if you have a different case in mind. We want our platform to encourage a broad range of use cases. - Broker dealer (fully-disclosed, omnibus) - Registered Investment Advisor (RIA) _We support most use cases internationally._ Depending on the case, the API methods you want to use could vary. For example, the omnibus broker-dealer case never uses API to open a customer account since the trading accounts are created upfront and you will submit orders to them, and manage your end customer accounting on your end. More details on each use case are described in the following sections. Updatedabout 1 month ago * * * ## Account Information Overview # View Account Information [Skip link to View Account Information](https://docs.alpaca.markets/docs/working-with-account\#view-account-information) By sending a `GET` request to our `/v2/account` endpoint, you can see various information about your account, such as the amount of buying power available or whether or not it has a PDT flag. PythonJavaScriptC#Go ```rdmd-code lang-Text theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import GetAssetsRequest trading_client = TradingClient('api-key', 'secret-key') # Get our account information. account = trading_client.get_account() # Check if our account is restricted from trading. if account.trading_blocked: print('Account is currently restricted from trading.') # Check how much money we can use to open new positions. print('${} is available as buying power.'.format(account.buying_power)) ``` ```rdmd-code lang-Text theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); // Get our account information. alpaca.getAccount().then((account) => { // Check if our account is restricted from trading. if (account.trading_blocked) { console.log("Account is currently restricted from trading."); } // Check how much money we can use to open new positions. console.log(`$${account.buying_power} is available as buying power.`); }); ``` ```rdmd-code lang-Text theme-light using Alpaca.Markets; using System; using System.Threading.Tasks; namespace CodeExamples { internal static class Example { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; public static async Task Main(string[] args) { // First, open the API connection var client = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); // Get our account information. var account = await client.GetAccountAsync(); // Check if our account is restricted from trading. if (account.IsTradingBlocked) { Console.WriteLine("Account is currently restricted from trading."); } Console.WriteLine(account.BuyingPower + " is available as buying power."); Console.Read(); } } } ``` ```rdmd-code lang-Text theme-light package main import ( "fmt" "github.com/alpacahq/alpaca-trade-api-go/alpaca" ) func init() { alpaca.SetBaseUrl("https://paper-api.alpaca.markets") } func main() { // Get our account information. account, err := alpaca.GetAccount() if err != nil { panic(err) } // Check if our account is restricted from trading. if account.TradingBlocked { fmt.Println("Account is currently restricted from trading.") } // Check how much money we can use to open new positions. fmt.Printf("%v is available as buying power.\n", account.BuyingPower) } ``` # View Gain/Loss of Portfolio [Skip link to View Gain/Loss of Portfolio](https://docs.alpaca.markets/docs/working-with-account\#view-gainloss-of-portfolio) You can use the information from the account endpoint to do things like calculating the daily profit or loss of your account. PythonJavaScriptC#Go ```rdmd-code lang-Text theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import GetAssetsRequest trading_client = TradingClient('api-key', 'secret-key') # Get our account information. account = trading_client.get_account() # Check our current balance vs. our balance at the last market close balance_change = float(account.equity) - float(account.last_equity) print(f'Today\'s portfolio balance change: ${balance_change}') ``` ```rdmd-code lang-Text theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); // Get account information. alpaca.getAccount().then((account) => { // Calculate the difference between current balance and balance at the last market close. const balanceChange = account.equity - account.last_equity; console.log("Today's portfolio balance change:", balanceChange); }); ``` ```rdmd-code lang-Text theme-light using Alpaca.Markets; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; // With the Alpaca API, you can check on your daily profit or loss by // comparing your current balance to yesterday's balance. namespace GetPnLExample { internal class GetPnL { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; public static async Task Main(string[] args) { // First, open the API connection var client = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); // Get account info var account = await client.GetAccountAsync(); // Check our current balance vs. our balance at the last market close var balance_change = account.Equity - account.LastEquity; Console.WriteLine($"Today's portfolio balance change: ${balance_change}"); } } } ``` ```rdmd-code lang-Text theme-light package main import ( "fmt" "log" "github.com/alpacahq/alpaca-trade-api-go/alpaca" ) func main() { alpaca.SetBaseUrl("https://paper-api.alpaca.markets") // Get account information. account, err := alpaca.GetAccount() if err != nil { log.Fatalln(err) } // Calculate the difference between current balance and balance at the last market close. balanceChange := account.Equity.Sub(account.LastEquity) fmt.Println("Today's portfolio balance change:", balanceChange) } ``` Updated11 months ago * * * ## Alpaca API Overview # Why API? [Skip link to Why API?](https://docs.alpaca.markets/docs/alpaca-api-platform\#why-api) Alpaca’s features to access financial markets are provided primarily via API. We believe API is the means to interact with services such as ours and innovate your business. Our API is designed to fit your needs and we continue to build what you need. # REST, SSE and Websockets [Skip link to REST, SSE and Websockets](https://docs.alpaca.markets/docs/alpaca-api-platform\#rest-sse-and-websockets) Our API is primarily built in the REST style. It is a simple and powerful way to integrate with our services. In addition to the REST API which replies via synchronous communication, our API includes an asynchronous event API which is based on WebSocket and SSE, or [Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html). As many types of events occur in the financial markets (orders fill based on the market movement, cash settles after some time, etc), this event-based API helps you get updates instantly and provide the best user experiences to your customers. # Architecture [Skip link to Architecture](https://docs.alpaca.markets/docs/alpaca-api-platform\#architecture) Alpaca’s platform consists of APIs, Web dashboards, trade simulator, sandbox environment, authentication services, order management system, trading routing, back office accounting and clearing system, and all of these components are built in-house from the ground up with modern architecture. The Alpaca platform is currently hosted on the Google Cloud Platform in the us-east4 region. The site is connected with dedicated fiber lines to a data center in Secaucus, NJ, to cross-connect with various market venues. Under the hood, Alpaca works with various third parties. As we are self clearing for equities trade clearing and settlement on DTCC, we work with Velox Clearing for options trade clearing and settlement with the OCC. Cash transfers and custody are primarily provided by BMO Harris and Silicon Valley Bank and we use Currency Cloud and Airwallex for funding wallets and international transfers. Citadel Securities, Virtu America, Jane Street, Ion Group, and other execution providers provide execution services for our customer orders. We integrate with ICE Data Services for various kinds of market data. Alpaca Crypto executes customer trades on our internal central limit order book, self-clears all trades and does not custody customer cash but has banking relationships with Cross River Bank, Choice Financial and FVBank. To provide live market data, Alpaca Crypto works with Coinbase, Kraken, FalconX and Stillman Digital. # API Updates & Upgrades [Skip link to API Updates & Upgrades](https://docs.alpaca.markets/docs/alpaca-api-platform\#api-updates--upgrades) In an effort to continuously provide value to our developers, Alpaca frequently performs updates and upgrades to our API. We’ve added the following sections to our docs in order to help make sure that as a developer you know what to expect, when to expect, and how to properly handle certain scenarios . ## Backwards Compatible Changes [Skip link to Backwards Compatible Changes](https://docs.alpaca.markets/docs/alpaca-api-platform\#backwards-compatible-changes) You should expect any of the following kind of changes that we make to our API to be considered a backwards compatible change: - Adding new or similarly named APIs - Adding new fields to already defined models and objects such as API return objects, nested objects, etc. (Example: adding a new code field to error payloads) - Adding new items to defined sets or enumerations such as statuses, supported assets, etc. (Example: adding new account status to a set of all ) - Enhancing ordering on how certain lists get returned - Supporting new HTTP versions (HTTP2, QUIC) - Adding new HTTP method(s) for an existing endpoint - Expecting new HTTP request headers (eg. new authentication) - Sending new HTTP headers (eg. HTTP caching headers, gzip encoding, etc.) - Increasing HTTP limits (eg. Nginx large-client-header-buffers) - Increasing rate limits - Supporting additional SSL/TLS versions Generally, as a rule of thumb, any append or addition operation is considered a backwards compatible update and does not need an upfront communication. These updates should be backwards compatible with existing interfaces and not cause any disruption to any clients calling our APIs. ## Breaking Changes [Skip link to Breaking Changes](https://docs.alpaca.markets/docs/alpaca-api-platform\#breaking-changes) When and if Alpaca decides to perform breaking changes to our APIs the following should be expected: - Upfront communication with sufficient time to allow developers to be able to react to new upcoming changes - Our APIs are versioned, if breaking changes are intended we will generally bump the API version. For example, a route might go from being `/v1/accounts/{account_id}` to `/v2/accounts/{account_id}` if we had to make a breaking change to either the parameters it can take or its return structure Updated25 days ago * * * Did this page help you? Yes No ## Real-time Event Streaming Alpaca Broker API provides replayable and real-time event streams via Server-Sent Event (SSE). The SSE protocol is a simple yet powerful protocol to satisfy a lot of your needs to build flawless user experience. Each endpoint can be queried by the event timestamp or monotonically incremental integer ID to seamlessly subscribe from the past point-in-time event to the real-time pushes with a simple HTTP request. While all SSE endpoints follow the same JSON object model as other REST endpoints, SSE protocol is a lightweight addition on top of the basic HTTP protocol which is a bit different from REST protocol. Please make sure your client program handles the SSE protocol correctly. # Why Use SSE? [Skip link to Why Use SSE?](https://docs.alpaca.markets/docs/draft-sse-events\#why-use-sse) - Low Latency: Receive updates in real-time for timely decisions about your customers - Resource Efficiency: A single connection serves multiple updates and streamlines where you receive updates about your customers - Simplicity: Integration requires fewer lines of code compared to WebSockets. ## Best Practices [Skip link to Best Practices](https://docs.alpaca.markets/docs/draft-sse-events\#best-practices) - Connection Health: Implement heartbeat checks. - Error Recovery: Code for auto-reconnection. - Selective Listening: Subscribe to specific event types relevant to your use case. > ## 🛠️ Note about /v1 and /v2beta1 > > We are in the process of switching from integer IDs to ULIDs for our Events Streaming. ULIDs are designed to be lexicographically sortable, thanks to their structure that encodes a timestamp. This allows you to better sort and filter records based on when they occured. While they are more complex to read than integer IDs, they contain more information. > > Currently only Admin Action Events and Trade Events leverage ULIDs, and over the next months we will be migrating the rest. Check back here to know which SSEs are on the new endpoint. > > ### What Should You Do? [Skip link to What Should You Do?](https://docs.alpaca.markets/docs/draft-sse-events\#what-should-you-do) > > Legacy Events that still use an integer ID and have now an additional field called since\_ulid and until\_ulid. We highly recommend that you use those today so that you don't face any issues when we will eventually migrate the remaining events (account status, journal status, transfer status, trade status and non-trade-activity notifications) and deprecate the old ones. # Types of SSE Events [Skip link to Types of SSE Events](https://docs.alpaca.markets/docs/draft-sse-events\#types-of-sse-events) ## Account Status Events [Skip link to Account Status Events](https://docs.alpaca.markets/docs/draft-sse-events\#account-status-events) Stay abreast of changes to account statuses. [Learn more here](https://docs.alpaca.markets/reference/suscribetoaccountstatussse). You can find some sample responses below: Equity & Crypto AccountEquity Only Account ```rdmd-code lang-json theme-light { "account_blocked": false, "account_id": "9ab15e44-569c-4c32-952c-b83ab7076549", "account_number": "", "admin_configurations": { "allow_instant_ach": true, "disable_shorting": true }, "at": "2023-10-13T13:34:28.30629Z", "crypto_status_from": "", "crypto_status_to": "APPROVED", "event_id": 12627517, "event_ulid": "01HCMKXQYJ3ZBV66Q21KCT1CRR", "pattern_day_trader": false, "status_from": "", "status_to": "APPROVED", "trading_blocked": false } { "account_id": "50333df9-66f0-46b9-a083-4212b152f749", "account_number": "307137914", "at": "2023-10-13T13:34:29.668043Z", "event_id": 12627518, "event_ulid": "01HCMKXS94ST351NFGEZR57EHV", "status_from": "APPROVED", "status_to": "ACTIVE" } :heartbeat { "account_id": "9ab15e44-569c-4c32-952c-b83ab7076549", "account_number": "307645030", "at": "2023-10-13T13:35:18.145917Z", "crypto_status_from": "APPROVED", "crypto_status_to": "ACTIVE", "event_id": 12627519, "event_ulid": "01HCMKZ8M2XPNC9Y8HE159P2WK", "status_from": "APPROVED", "status_to": "APPROVED" } :heartbeat { "account_id": "9ab15e44-569c-4c32-952c-b83ab7076549", "account_number": "307645030", "at": "2023-10-13T13:40:17.417798Z", "event_id": 12627521, "event_ulid": "01HCMM8CWAQETWNM75VJKA0YX2", "status_from": "APPROVED", "status_to": "ACTIVE" } ``` ```rdmd-code lang-json theme-light { "account_blocked": false, "account_id": "d16f0c84-2bcc-4caf-bd68-a97889986d74", "account_number": "", "admin_configurations": { "allow_instant_ach": true, "disable_shorting": true }, "at": "2023-10-13T13:18:16.936397Z", "crypto_status_from": "", "crypto_status_to": "INACTIVE", "event_id": 12627496, "event_ulid": "01HCMK03B8JV4YDB8W2HZ0K6V2", "pattern_day_trader": false, "status_from": "", "status_to": "APPROVED", "trading_blocked": false } { "account_id": "d16f0c84-2bcc-4caf-bd68-a97889986d74", "account_number": "307781498", "at": "2023-10-13T13:18:18.472537Z", "event_id": 12627497, "event_ulid": "01HCMK04V979EMCGB96Z6T0H00", "status_from": "APPROVED", "status_to": "ACTIVE" } ``` ## Journal Events [Skip link to Journal Events](https://docs.alpaca.markets/docs/draft-sse-events\#journal-events) Stay notified on the status of journal transactions to make sure they have been executed and the cash has been moved from one account to another. [More details here](https://docs.alpaca.markets/edit/funding-via-journals). You can find a sample response below: JSON ```rdmd-code lang-json theme-light { "at": "2023-10-13T13:11:10.57913Z", "entry_type": "JNLC", "event_id": 11751531, "event_ulid": "01HCMJK2ZKCPTYXMJYS66T0QJJ", "journal_id": "ddd26344-86af-4ba7-ae6a-bcec63129808", "status_from": "", "status_to": "queued" } { "at": "2023-10-13T13:11:10.634443Z", "entry_type": "JNLC", "event_id": 11751532, "event_ulid": "01HCMJK31AVBME4WNSH3C8E4HJ", "journal_id": "ddd26344-86af-4ba7-ae6a-bcec63129808", "status_from": "queued", "status_to": "sent_to_clearing" } { "at": "2023-10-13T13:11:10.67241Z", "entry_type": "JNLC", "event_id": 11751533, "event_ulid": "01HCMJK32GSBH2QG92TKZKDRRV", "journal_id": "ddd26344-86af-4ba7-ae6a-bcec63129808", "status_from": "sent_to_clearing", "status_to": "executed" } ``` ## Transfer Events [Skip link to Transfer Events](https://docs.alpaca.markets/docs/draft-sse-events\#transfer-events) Be notified instantly when the statuses of deposits and withdrawals are updated. [Read further here](https://docs.alpaca.markets/reference/subscribetotransferstatussse). You can find a sample response below: JSON ```rdmd-code lang-json theme-light { "account_id":"8e00606a-c9ac-409a-ba45-f55e8f77984a", "at":"2021-06-10T19:49:12.579109Z", "event_id":15960, "status_from":"", "status_to":"queued", "transfer_id":"c4ed4206-697b-4859-ab71-b9de6649859d" } { "account_id":"8e00606a-c9ac-409a-ba45-f55e8f77984a", "at":"2021-06-10T19:52:24.066998Z", "event_id":15961, "status_from":"queued", "status_to":"sent_to_clearing", "transfer_id":"c4ed4206-697b-4859-ab71-b9de6649859d" } { "account_id":"8e00606a-c9ac-409a-ba45-f55e8f77984a", "at":"2021-06-10T20:02:24.280178Z", "event_id":15962, "status_from":"sent_to_clearing", "status_to":"executed", "transfer_id":"c4ed4206-697b-4859-ab71-b9de6649859d" } ``` ## Trade Events [Skip link to Trade Events](https://docs.alpaca.markets/docs/draft-sse-events\#trade-events) Keep tabs on the status of orders, trades, and executions in real-time. [Documentation here](https://docs.alpaca.markets/reference/subscribetotradev2sse). v2beta1v1 ```rdmd-code lang-json theme-light { "account_id": "aa4439c3-cf7d-4251-8689-a575a169d6d3", "at": "2023-10-13T13:28:58.387652Z", "event_id": "01HCMKKNRK7S5C1JYP50QGDECQ", "event": "new", "timestamp": "2023-10-13T13:28:58.37957033Z", "order": { "id": "bb2403bc-88ec-430b-b41c-f9ee80c8f0e1", "client_order_id": "508789e5-cea3-4235-b546-6c62ff92bd79", "created_at": "2023-10-13T13:28:58.361530031Z", "updated_at": "2023-10-13T13:28:58.386058029Z", "submitted_at": "2023-10-13T13:28:58.360070731Z", "filled_at": null, "expired_at": null, "cancel_requested_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": "10", "qty": null, "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "market", "type": "market", "side": "buy", "time_in_force": "day", "limit_price": null, "stop_price": null, "status": "new", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0" }, "execution_id": "7922ab44-5b33-4049-ab9a-0cfd805ba989" } :heartbeat { "account_id": "aa4439c3-cf7d-4251-8689-a575a169d6d3", "at": "2023-10-13T13:30:00.664778Z", "event_id": "01HCMKNJJRJ4E3RNFA1XR8CX7R", "event": "fill", "timestamp": "2023-10-13T13:30:00.658443088Z", "order": { "id": "db04069d-2e5a-48d4-a42f-6a0dea8ea0b8", "client_order_id": "be139e2d-8153-4ae8-83ee-7b98b4e17419", "created_at": "2023-10-13T13:22:21.887914Z", "updated_at": "2023-10-13T13:30:00.661902331Z", "submitted_at": "2023-10-13T13:23:05.411141Z", "filled_at": "2023-10-13T13:30:00.658443088Z", "expired_at": null, "cancel_requested_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": "10", "qty": null, "filled_qty": "0.05513895", "filled_avg_price": "181.36", "order_class": "", "order_type": "market", "type": "market", "side": "buy", "time_in_force": "day", "limit_price": null, "stop_price": null, "status": "filled", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0" }, "price": "181.36", "qty": "0.05513895", "position_qty": "0.05513895", "execution_id": "a958bb42-b034-4d17-bf07-805cf0820ffe" } { "account_id": "aa4439c3-cf7d-4251-8689-a575a169d6d3", "at": "2023-10-13T13:30:00.673857Z", "event_id": "01HCMKNJK1Y0R7VF6Q6CAC3SH7", "event": "fill", "timestamp": "2023-10-13T13:30:00.658388668Z", "order": { "id": "bb2403bc-88ec-430b-b41c-f9ee80c8f0e1", "client_order_id": "508789e5-cea3-4235-b546-6c62ff92bd79", "created_at": "2023-10-13T13:28:58.361530031Z", "updated_at": "2023-10-13T13:30:00.665807961Z", "submitted_at": "2023-10-13T13:28:58.360070731Z", "filled_at": "2023-10-13T13:30:00.658388668Z", "expired_at": null, "cancel_requested_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": "10", "qty": null, "filled_qty": "0.05513895", "filled_avg_price": "181.36", "order_class": "", "order_type": "market", "type": "market", "side": "buy", "time_in_force": "day", "limit_price": null, "stop_price": null, "status": "filled", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0" }, "price": "181.36", "qty": "0.05513895", "position_qty": "0.1102779", "execution_id": "33cbb614-bfc0-468b-b4d0-ccf08588ef77" } :heartbeat { "account_id": "aa4439c3-cf7d-4251-8689-a575a169d6d3", "at": "2024-09-23T13:30:00.673857Z", "event_id": "01HCMQR4S73L9G6EHI0JKL2M3N", "event": "trade_bust", "timestamp": "2024-09-23T15:30:48.601741737Z", "order": { "id": "c86e4d6c-2cdf-4b81-b658-5728bdc8310b", "client_order_id": "10671b99-2cb3-43c3-92a0-96054edd59a8", "created_at": "2024-09-23T15:30:48.599363562Z", "updated_at": "2024-09-23T16:09:21.642880502Z", "submitted_at": "2024-09-23T15:30:48.601741737Z", "filled_at": "2024-09-23T20:09:21.635Z", "expired_at": null, "cancel_requested_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "a153fd9c-fd4e-4416-9adc-f9040aa2e125", "symbol": "JTAI", "asset_class": "us_equity", "notional": null, "qty": "2", "filled_qty": "0", "filled_avg_price": "0.107703", "order_class": "", "order_type": "market", "type": "market", "side": "buy", "time_in_force": "day", "limit_price": null, "stop_price": null, "status": "filled", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null }, "price": "0.107703", "qty": "-2", "position_qty": "0", "execution_id": "df61d6ec-511f-4cc1-ae61-20456b0cb7a5", "previous_execution_id": "aeb60660-412f-4537-8d1f-1101b3fc8f64" } { "account_id": "aa4439c3-cf7d-4251-8689-a575a169d6d3", "at": "2024-10-18T13:30:00.673857Z", "event_id": "01HCMQR4S73L9G6EHI0JKL2M3N", "event": "trade_correct", "timestamp": "2024-10-18T22:26:32.988Z", "order": { "id": "390cd7d0-07fa-4ab0-8b99-7ffb8d7408ff", "client_order_id": "21975666-5eae-4149-b86f-3682f4fd8c69", "created_at": "2024-10-18T09:10:13.311667892Z", "updated_at": "2024-10-18T18:26:32.996327532Z", "submitted_at": "2024-10-18T09:10:13.31490803Z", "filled_at": "2024-10-18T22:26:32.988Z", "expired_at": null, "cancel_requested_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "6b0137a2-4efb-4fba-aa39-9f64f6afe5f4", "symbol": "BSRR", "asset_class": "us_equity", "notional": null, "qty": "1", "filled_qty": "1", "filled_avg_price": "25", "order_class": "", "order_type": "limit", "type": "limit", "side": "buy", "time_in_force": "day", "limit_price": "28.93", "stop_price": null, "status": "filled", "extended_hours": true, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null }, "price": "25", "qty": "1", "position_qty": "1", "execution_id": "2ff98545-9082-469a-8aa8-7f6c09ac258f", "previous_execution_id": "f116d6c7-fc4a-49b1-a649-317aace34783" } ``` ```rdmd-code lang-json theme-light { "account_id": "aa4439c3-cf7d-4251-8689-a575a169d6d3", "at": "2023-10-13T13:22:21.927554Z", "event": "accepted", "event_id": 10676063, "event_ulid": "01HCMK7JJ3EJD9P4JSM1M0HTZ0", "order": { "asset_class": "us_equity", "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "cancel_requested_at": null, "canceled_at": null, "client_order_id": "be139e2d-8153-4ae8-83ee-7b98b4e17419", "commission": "0", "created_at": "2023-10-13T09:22:21.887913787-04:00", "expired_at": null, "extended_hours": false, "failed_at": null, "filled_at": null, "filled_avg_price": null, "filled_qty": "0", "hwm": null, "id": "db04069d-2e5a-48d4-a42f-6a0dea8ea0b8", "legs": null, "limit_price": null, "notional": "10", "order_class": "", "order_type": "market", "qty": null, "replaced_at": null, "replaced_by": null, "replaces": null, "side": "buy", "status": "accepted", "stop_price": null, "submitted_at": "2023-10-13T09:22:21.886066537-04:00", "symbol": "AAPL", "time_in_force": "day", "trail_percent": null, "trail_price": null, "type": "market", "updated_at": "2023-10-13T09:22:21.887913787-04:00" }, "timestamp": "2023-10-13T09:22:21.888053477-04:00" } :heartbeat { "account_id": "aa4439c3-cf7d-4251-8689-a575a169d6d3", "at": "2023-10-13T13:30:01.118487Z", "event": "fill", "event_id": 10676567, "event_ulid": "01HCMKNJJRJ4E3RNFA1XR8CX7R", "execution_id": "a958bb42-b034-4d17-bf07-805cf0820ffe", "order": { "asset_class": "us_equity", "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "cancel_requested_at": null, "canceled_at": null, "client_order_id": "be139e2d-8153-4ae8-83ee-7b98b4e17419", "commission": "0", "created_at": "2023-10-13T13:22:21.887914Z", "expired_at": null, "extended_hours": false, "failed_at": null, "filled_at": "2023-10-13T13:30:00.658443088Z", "filled_avg_price": "181.36", "filled_qty": "0.05513895", "hwm": null, "id": "db04069d-2e5a-48d4-a42f-6a0dea8ea0b8", "legs": null, "limit_price": null, "notional": "10", "order_class": "", "order_type": "market", "qty": null, "replaced_at": null, "replaced_by": null, "replaces": null, "side": "buy", "status": "filled", "stop_price": null, "submitted_at": "2023-10-13T13:23:05.411141Z", "symbol": "AAPL", "time_in_force": "day", "trail_percent": null, "trail_price": null, "type": "market", "updated_at": "2023-10-13T09:30:00.661902331-04:00" }, "position_qty": "0.05513895", "price": "181.36", "qty": "0.05513895", "timestamp": "2023-10-13T13:30:00.658443088Z" } { "account_id": "aa4439c3-cf7d-4251-8689-a575a169d6d3", "at": "2023-10-13T13:30:02.667443Z", "event": "fill", "event_id": 10676601, "event_ulid": "01HCMKNJK1Y0R7VF6Q6CAC3SH7", "execution_id": "33cbb614-bfc0-468b-b4d0-ccf08588ef77", "order": { "asset_class": "us_equity", "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "cancel_requested_at": null, "canceled_at": null, "client_order_id": "508789e5-cea3-4235-b546-6c62ff92bd79", "commission": "0", "created_at": "2023-10-13T09:28:58.361530031-04:00", "expired_at": null, "extended_hours": false, "failed_at": null, "filled_at": "2023-10-13T13:30:00.658388668Z", "filled_avg_price": "181.36", "filled_qty": "0.05513895", "hwm": null, "id": "bb2403bc-88ec-430b-b41c-f9ee80c8f0e1", "legs": null, "limit_price": null, "notional": "10", "order_class": "", "order_type": "market", "qty": null, "replaced_at": null, "replaced_by": null, "replaces": null, "side": "buy", "status": "filled", "stop_price": null, "submitted_at": "2023-10-13T09:28:58.360070731-04:00", "symbol": "AAPL", "time_in_force": "day", "trail_percent": null, "trail_price": null, "type": "market", "updated_at": "2023-10-13T09:30:00.665807961-04:00" }, "position_qty": "0.1102779", "price": "181.36", "qty": "0.05513895", "timestamp": "2023-10-13T13:30:00.658388668Z" } ``` ### Message Ordering [Skip link to Message Ordering](https://docs.alpaca.markets/docs/draft-sse-events\#message-ordering) For the messages received on the SSE stream we guarantee that the order of the received events is the same as the order they were happening on a per account basis. Example: if event E1 has been received earlier then another event E2 for the same account, then E1 happened before E2 according to our bookkeeping. We do not have this guarantee across accounts: if two events for different accounts are received it is the consumer’s responsibility to decide which event happened first based on the timestamp/ulid fields of the event. Example: E1 happened for account A1 before E2 which was affecting A2. The streaming endpoint might return the events in E1, E2 or E2, E1 ordering. Both responses should be considered valid. Note: since ULIDs contain a random part other events might have arrived in the same millisecond as the last event received being lexiographicly less than the previous event. If the stream is used for recon purposes, we recommend to restart the stream from a since that is a few mintues before the time of latest event received. This approach means that the consumer will receive some events twice when restarting a stream: it is the consumer’s responsibility to process the recevied messages in an idempotent manner so that duplicate messages get ignored on the consumer side. Note: since and until parameters are parsing as RFC3339 where timezone can be specified (e.g 2006-01-02T15:04:05+07:00), however plus sign character (+) is a special character in HTTP, so use the URL encoded version instead, e.g. ...events/trades?since=2006-01-02T15:04:05%2B07:00 ### Comment messages [Skip link to Comment messages](https://docs.alpaca.markets/docs/draft-sse-events\#comment-messages) According to the SSE specification, any line that starts with a colon is a comment which does not contain data. It is typically a free text that does not follow any data schema. A few examples mentioned below for comment messages. ##### Slow client [Skip link to Slow client](https://docs.alpaca.markets/docs/draft-sse-events\#slow-client) The server sends a comment when the client is not consuming messages fast enough. Example: `: you are reading too slowly, dropped 10000 messages` ##### Internal server error [Skip link to Internal server error](https://docs.alpaca.markets/docs/draft-sse-events\#internal-server-error) An error message is sent as a comment when the server closes the connection on an internal server error (only sent by the v2 and v2beta1 endpoints). Example: `: internal server error` ## Admin Action Events [Skip link to Admin Action Events](https://docs.alpaca.markets/docs/draft-sse-events\#admin-action-events) These events pertain to administrative actions like account suspensions and liquidations performed by Alpaca Administrators. [See more here](https://docs.alpaca.markets/reference/subscribetoadminactionsse). Account status change ```rdmd-code lang-json theme-light [\ {\ "event_id": "01GTVS4FVS2KJDTPYH2WM6NAXF",\ "at": "2023-09-21T10:52:38.429059991Z",\ "note": "Status changed to REJECTED.",\ "type": "legacy_note_admin_event",\ "context": {},\ "category": "other",\ "event_id": "03HBVNXKMWYGFTKTGNVR5R41F2",\ "correspondent": "ABCD",\ "belongs_to_kind": "account",\ "created_by_kind": "admin",\ "belongs_to_id_reference": "b4fe44b0-e51c-48f4-b674-990bea6cf8d7",\ "created_by_id_reference": "f0e150df-94ad-48f9-8b0f-05433a3b53c3"\ }\ ] ``` ## Non-Trade Activities Events [Skip link to Non-Trade Activities Events](https://docs.alpaca.markets/docs/draft-sse-events\#non-trade-activities-events) Covering non-trade activities like dividends, stock splits, and other corporate actions. [Read more here](https://docs.alpaca.markets/reference/get-v1-events-nta). You can find some sample responses below: Cash DIVStock DIVDIVNRASPLITSPINCash MAStock MASCMAREORGREG FEETAF FEEORF FEEOCC FEENRV FEENRC FEELCT FEECSDCSWNCVOFJNLCJNLSOPTRDOPEXPOPASNOPEXCINTACATCACATSMGN INTQII INTSWP INTDIV.CDIV (options)NC.SNC (options)SPLIT.RSPLIT (options)SPLIT.FSPLIT (options)MA.SMA (options)SPIN (options) ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "MMS", "cusip": "577933104", "entry_type": "DIV", "net_amount": 0.78, "description": "Cash DIV @ 0.3, Pos QTY: 2.607144585, Rec Date: 2024-11-15", "settle_date": "2024-11-29", "system_date": "2024-12-02", "entry_sub_type": "CDIV", "per_share_amount": 0.3, "account_id": "{ACCID}", "at": "2024-12-02T05:09:50.214Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0.12, "price": null, "status": "executed", "symbol": "ICNP", "cusip": "450958202", "entry_type": "DIV", "net_amount": 0, "description": "Stock DIV @ 1.12, Pos QTY: 1, Rec Date: 2024-08-26", "settle_date": "2024-08-26", "system_date": "2024-11-22", "entry_sub_type": "SDIV", "per_share_amount": 1.12, "account_id": "{ACCID}", "at": "2024-11-22T07:43:57.279Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "ALE", "cusip": "018522300", "entry_type": "DIVNRA", "net_amount": -0.3, "description": "DIV tax withholding on $1.2 at 25% for tax country IND; w8w9: w8", "settle_date": "2024-11-29", "system_date": "2024-12-02", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-02T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light # Reverse SPLIT { "id": "{GUID}", "qty": -0.29194239, "price": 5.138, "status": "executed", "symbol": "FTCI", "cusip": "30320C103", "entry_type": "SPLIT", "net_amount": 0, "description": "REMOVE, From QTY:-0.29194239, To QTY:0.029194239, Position Value:1.5", "settle_date": "2024-12-02", "system_date": "2024-12-02", "entry_sub_type": "RSPLIT", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-01T22:30:42.997Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 0.029194239, "price": 51.38, "status": "executed", "symbol": "FTCI", "cusip": "30320C301", "entry_type": "SPLIT", "net_amount": 0, "description": "ADD, From QTY:-0.29194239, To QTY:0.029194239, Position Value:1.5", "settle_date": "2024-12-02", "system_date": "2024-12-02", "entry_sub_type": "RSPLIT", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-01T22:33:41.647Z", "event_ulid": "{ULID}" } # Forward SPLIT { "id": "{GUID}", "qty": -0.000807009, "price": 102.428, "status": "executed", "symbol": "ANET", "cusip": "040413106", "entry_type": "SPLIT", "net_amount": 0, "description": "REMOVE, From QTY:-0.000807009, To QTY:0.003228036, Position Value:0.08", "settle_date": "2024-12-04", "system_date": "2024-12-04", "entry_sub_type": "FSPLIT", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-03T23:27:03.971Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 0.003228036, "price": 25.607, "status": "executed", "symbol": "ANET", "cusip": "040413205", "entry_type": "SPLIT", "net_amount": 0, "description": "ADD, From QTY:-0.000807009, To QTY:0.003228036, Position Value:0.08", "settle_date": "2024-12-04", "system_date": "2024-12-04", "entry_sub_type": "FSPLIT", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-03T23:36:20.775Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0.054339042, "price": 12.8328, "status": "executed", "symbol": "CON", "cusip": "20603L102", "entry_type": "SPIN", "net_amount": 0, "description": "Target Symbol: CON, Initiating Symbol: SEM, 0.806971 CON for each 1 SEM", "settle_date": "2024-11-26", "system_date": "2024-11-26", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-26T00:31:04.184Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 0.067337044, "price": 11.9203, "status": "executed", "symbol": "SEM", "cusip": "81619Q105", "entry_type": "SPIN", "net_amount": 0, "description": "ADD, Cost basis adjustment for source company", "settle_date": "2024-11-26", "system_date": "2024-11-26", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-26T08:01:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": -0.067337044, "price": 22.276, "status": "executed", "symbol": "SEM", "cusip": "81619Q105", "entry_type": "SPIN", "net_amount": 0, "description": "REMOVE, Cost basis adjustment for source company", "settle_date": "2024-11-26", "system_date": "2024-11-26", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-26T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -2, "price": 5.88, "status": "executed", "symbol": "HIE", "cusip": "600379101", "entry_type": "MA", "net_amount": 0, "description": "Cash Merger $12.6341694 per share", "settle_date": "2024-11-25", "system_date": "2024-11-25", "entry_sub_type": "CMA", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-25T10:59:08.776Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "HIE", "cusip": "600379101", "entry_type": "MA", "net_amount": 25.27, "description": "Cash Merger $12.6341694 per share", "settle_date": "2024-11-25", "system_date": "2024-11-25", "entry_sub_type": "CMA", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-25T10:59:08.776Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -0.716836558, "price": 24.1617, "status": "executed", "symbol": "MRO", "cusip": "718507106", "entry_type": "MA", "net_amount": 0, "description": "Stock Merger 0.255 COP for 1 MRO", "settle_date": "2024-11-22", "system_date": "2024-11-22", "entry_sub_type": "SMA", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-21T23:16:27.145Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 0.182793322, "price": 94.7518, "status": "executed", "symbol": "COP", "cusip": "912656105", "entry_type": "MA", "net_amount": 0, "description": "Stock Merger 0.255 COP for 1 MRO", "settle_date": "2024-11-22", "system_date": "2024-11-22", "entry_sub_type": "SMA", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-21T23:17:07.588Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light # Removal of old shares { "id": "{GUID}", "qty": -6.522449746, "price": 9.4663, "status": "executed", "symbol": "PSTX", "cusip": "73730P108", "entry_type": "MA", "net_amount": 0, "description": "Stock Cash Merger 1 737CVR019 and $9 for 1 PSTX", "settle_date": "2025-01-13", "system_date": "2025-01-13", "entry_sub_type": "SCMA", "per_share_amount": null, "account_id": "{ACCID}", "at": "2025-01-13T23:01:06.529338Z", "event_ulid": "{ULID}" } # Allocation of new shares { "id": "{GUID}", "qty": 6.522449746, "price": 0.4663, "status": "executed", "symbol": "737CVR019", "cusip": "737CVR019", "entry_type": "MA", "net_amount": 0, "description": "Stock Cash Merger 1 737CVR019 and $9 for 1 PSTX", "settle_date": "2025-01-13", "system_date": "2025-01-13", "entry_sub_type": "SCMA", "per_share_amount": null, "account_id": "{ACCID}", "at": "2025-01-13T23:01:06.529338Z", "event_ulid": "{ULID}" } # Allocation of cash { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "PSTX", "cusip": "73730P108", "entry_type": "MA", "net_amount": 58.7, "description": "Stock Cash Merger 1 737CVR019 and $9 for 1 PSTX", "settle_date": "2025-01-13", "system_date": "2025-01-13", "entry_sub_type": "SCMA", "per_share_amount": null, "account_id": "{ACCID}", "at": "2025-01-13T23:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -8, "price": null, "status": "executed", "symbol": "SRV.RT", "cusip": "231631128", "entry_type": "REORG", "net_amount": 0, "description": "Worthless Removal - SRV.RT", "settle_date": "2024-11-27", "system_date": "2024-11-27", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-26T23:13:33.604Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": -0.01, "description": "REG fee for proceed of $15.37 on 2024-12-10 by {ACCOUNT_NUMBER}", "settle_date": "2024-12-11", "system_date": "2024-12-10", "entry_sub_type": "REG", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-10T17:19:17.525338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": -0.01, "description": "TAF fee for proceed of 1.371115174 shares (2 trades) on 2024-12-10 by {ACCOUNT_NUMBER}", "settle_date": "2024-12-11", "system_date": "2024-12-10", "entry_sub_type": "TAF", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-10T17:19:17.525338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": -0.17, "description": "ORF fee for proceed of 6 contracts on 2024-06-18 by 399748018", "settle_date": "2024-06-18", "system_date": "2024-06-18", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-06-18T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": -0.02, "description": "OCC Clearing Fee", "settle_date": "2024-06-18", "system_date": "2024-06-18", "execution_id": "{EXID}", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-06-18T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": 0.05, "description": "2024-11-27 Non-Retail - Exchange Fees/Rebates", "settle_date": "2024-11-29", "system_date": "2024-11-29", "entry_sub_type": "NRV", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-29T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 1341, "price": 0.0025, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": -3.35, "description": "2024-11-27 Non-Retail - Alpaca Trading Fee", "settle_date": "2024-11-29", "system_date": "2024-11-29", "entry_sub_type": "NRC", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-29T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "swap_rate": 143.6265, "entry_type": "FEE", "net_amount": -1, "description": "Swap Fee Gross Income", "settle_date": "2024-10-02", "system_date": "2024-10-01", "execution_id": "{EXEC ID}", "entry_sub_type": "LCT", "per_share_amount": null, "account_id": "{ACCID}", "at": "2023-08-01T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "CSD", "net_amount": 100, "description": "", "settle_date": "2024-03-11", "system_date": "2024-03-11", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-03-11T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "CSW", "net_amount": -32.97, "description": "type: ach, subtype: none, statement_id: 4f0cfc49-0395-475c-b8ca-3586e394d256, direction: OUTGOING", "settle_date": "2024-09-20", "system_date": "2024-09-20", "account_id": "{ACCID}", "event_ulid": "{ULID}", "at": "2024-09-20T08:01:06.529338Z", "per_share_amount": null } ``` ```rdmd-code lang-json theme-light # Symbol Name Change (SNC) { "id": "{GUID}", "qty": -1.25, "price": 9.99, "status": "executed", "symbol": "YTEN", "cusip": "591018809", "entry_type": "NC", "net_amount": 0, "description": "Name Change from YTEN to YTENQ", "settle_date": "2024-12-10", "system_date": "2024-12-10", "entry_sub_type": "SNC", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-09T23:01:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 1.25, "price": 9.99, "status": "executed", "symbol": "YTENQ", "cusip": "591018809", "entry_type": "NC", "net_amount": 0, "description": "Name Change from YTEN to YTENQ", "settle_date": "2024-12-10", "system_date": "2024-12-10", "entry_sub_type": "SNC", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-09T23:01:06.529338Z", "event_ulid": "{ULID}" } # CUSIP Name Change (CNC) { "id": "{GUID}", "qty": -150, "price": 0.045, "status": "executed", "symbol": "RMSGW", "cusip": "591018809", "entry_type": "NC", "net_amount": 0, "description": "Name Change from RMSGW to RMSGW", "settle_date": "2024-11-21", "system_date": "2024-11-21", "entry_sub_type": "CNC", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-21T00:22:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 150, "price": 0.045, "status": "executed", "symbol": "RMSGW", "cusip": "591018809", "entry_type": "NC", "net_amount": 0, "description": "Name Change from RMSGW to RMSGW", "settle_date": "2024-11-21", "system_date": "2024-11-21", "entry_sub_type": "CNC", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-11-21T00:22:06.529338Z", "event_ulid": "{ULID}" } # Symbol & CUSIP Name Change (SCNC) { "id": "{GUID}", "qty": -29, "price": 0.3166, "status": "executed", "symbol": "DXFFY", "cusip": "591018809", "entry_type": "NC", "net_amount": 0, "description": "Name Change from DXFFY to DXFFD", "settle_date": "2024-12-04", "system_date": "2024-12-04", "entry_sub_type": "SCNC", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-03T23:11:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 29, "price": 0.3166, "status": "executed", "symbol": "DXFFD", "cusip": "591018809", "entry_type": "NC", "net_amount": 0, "description": "Name Change from DXFFY to DXFFD", "settle_date": "2024-12-04", "system_date": "2024-12-04", "entry_sub_type": "SCNC", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-03T23:12:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 2650, "price": null, "status": "executed", "symbol": "067RGT019", "cusip": "067RGT019", "entry_type": "VOF", "net_amount": 0, "description": "BNED rights distribution", "settle_date": "2024-05-17", "system_date": "2024-05-17", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": -2500, "price": null, "status": "executed", "symbol": "067RGT019", "cusip": "067RGT019", "entry_type": "VOF", "net_amount": 0, "description": "Rights Exercise (symbol BNED; expiration 06/05/24)", "settle_date": "2024-06-05", "system_date": "2024-06-05", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-06-05T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "pending", "symbol": "", "entry_type": "JNLC", "net_amount": -0.29, "description": "Journal ID: {Journal ID}", "settle_date": "2024-05-17", "system_date": "2024-05-17", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -0.008611, "price": 993, "status": "executed", "symbol": "TSLA", "cusip": "88160R101", "entry_type": "JNLS", "net_amount": 0, "description": "ID: {ACCID} - {ACCID}", "settle_date": "2023-07-18", "system_date": "2023-07-18", "per_share_amount": null, "account_id": "{ACCID}", "at": "2023-07-18T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -300, "price": 21.5, "status": "executed", "symbol": "HOOD", "entry_type": "OPTRD", "net_amount": 6450, "description": "Options Trade", "settle_date": "2024-06-17", "system_date": "2024-06-17", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-06-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 1, "price": null, "status": "executed", "symbol": "HOOD240614P00021500", "entry_type": "OPEXP", "net_amount": 0, "description": "Options Expiry", "settle_date": "2024-06-17", "system_date": "2024-06-17", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-06-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 3, "price": null, "status": "executed", "symbol": "HOOD240614C00021500", "entry_type": "OPASN", "net_amount": 0, "description": "", "settle_date": "2024-06-17", "system_date": "2024-06-17", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-06-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -1, "price": null, "status": "executed", "symbol": "AAPL240614C00202500", "entry_type": "OPEXC", "net_amount": 0, "description": "Options Exercise", "settle_date": "2024-05-17", "system_date": "2024-05-17", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "INT", "net_amount": -0.02, "description": "Monthly Int - {Month} {Year}", "settle_date": "2023-07-31", "system_date": "2023-08-01", "per_share_amount": null, "account_id": "{ACCID}", "at": "2023-08-01T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "swap_rate": 1, "entry_type": "ACATC", "net_amount": 5, "description": "", "settle_date": "2024-05-17", "system_date": "2024-05-17", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 6, "price": 135.34, "status": "executed", "symbol": "NVDA", "cusip": "67066G104", "entry_type": "ACATS", "net_amount": 0, "description": "DTC TRANSFER", "settle_date": "2024-12-02", "system_date": "2024-12-02", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-12-02T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "INT", "net_amount": -54.14, "description": "Monthly Int - SEPTEMBER 2024", "settle_date": "2024-09-30", "system_date": "2024-10-01", "entry_sub_type": "MGN", "per_share_amount": null, "account_id": "{ACCID}", "at": "2023-08-01T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 0, "price": null, "status": "executed", "symbol": "TLT", "cusip": "464287432", "entry_type": "INT", "net_amount": 0.2, "description": "Qualified interest income reallocation for 2024", "settle_date": "2024-12-06", "system_date": "2024-12-06", "entry_sub_type": "QII", "per_share_amount": null, "account_id": "{ACCID}", "at": "2023-08-01T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 9.25, "price": null, "status": "executed", "symbol": "SWEEPFDIC", "cusip": "SWEEPFDIC", "entry_type": "INT", "net_amount": 0, "description": "September 2024 Sweep", "settle_date": "2024-09-30", "system_date": "2024-09-30", "entry_sub_type": "SWP", "per_share_amount": null, "account_id": "{ACCID}", "at": "2023-08-01T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 5, "price": 0.49, "status": "executed", "symbol": "F250228P00010000", "entry_type": "OPCA", "net_amount": -245, "description": "REMOVE old contract symbol", "settle_date": "2025-02-18", "system_date": "2025-02-18", "entry_sub_type": "DIV.CDIV", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": -5, "price": 0.49, "status": "executed", "symbol": "F250228P00009850", "entry_type": "OPCA", "net_amount": 245, "description": "ADD new contract symbol", "settle_date": "2025-02-18", "system_date": "2025-02-18", "entry_sub_type": "DIV.CDIV", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -2, "price": 1.13, "status": "executed", "symbol": "NKLA270115C00000500", "entry_type": "OPCA", "net_amount": 226, "description": "REMOVE old contract symbol", "settle_date": "2025-02-26", "system_date": "2025-02-26", "entry_sub_type": "NC.SNC", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 2, "price": 1.13, "status": "executed", "symbol": "NKLAQ270115C00000500", "entry_type": "OPCA", "net_amount": -226, "description": "ADD new contract symbol", "settle_date": "2025-02-26", "system_date": "2025-02-26", "entry_sub_type": "NC.SNC", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -15, "price": 0.08, "status": "executed", "symbol": "WKHS250417C00002000", "entry_type": "OPCA", "net_amount": 120, "description": "REMOVE old contract symbol", "settle_date": "2025-03-17", "system_date": "2025-03-17", "entry_sub_type": "SPLIT.RSPLIT", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 15, "price": 0.08, "status": "executed", "symbol": "WKHS2250417C00002000", "entry_type": "OPCA", "net_amount": -120, "description": "ADD new contract symbol", "settle_date": "2025-03-17", "system_date": "2025-03-17", "entry_sub_type": "SPLIT.RSPLIT", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -1, "price": 10.5, "status": "executed", "symbol": "LRCX241115C00950000", "entry_type": "OPCA", "net_amount": 1050, "description": "REMOVE old contract symbol", "settle_date": "2024-10-03", "system_date": "2024-10-03", "entry_sub_type": "SPLIT.FSPLIT", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 10, "price": 1.05, "status": "executed", "symbol": "LRCX241115C00095000", "entry_type": "OPCA", "net_amount": -1050, "description": "ADD new contract symbol", "settle_date": "2024-10-03", "system_date": "2024-10-03", "entry_sub_type": "SPLIT.FSPLIT", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": 2, "price": 0.65, "status": "executed", "symbol": "CEIX250117P00095000", "entry_type": "OPCA", "net_amount": -130, "description": "REMOVE old contract symbol", "settle_date": "2025-01-15", "system_date": "2025-01-15", "entry_sub_type": "MA.SMA", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": -2, "price": 0.65, "status": "executed", "symbol": "CNR1250117P00095000", "entry_type": "OPCA", "net_amount": 130, "description": "ADD new contract symbol", "settle_date": "2025-01-15", "system_date": "2025-01-15", "entry_sub_type": "MA.SMA", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` ```rdmd-code lang-json theme-light { "id": "{GUID}", "qty": -1, "price": 0.24, "status": "executed", "symbol": "CMPO250417C00020000", "entry_type": "OPCA", "net_amount": 24, "description": "REMOVE old contract symbol", "settle_date": "2025-02-28", "system_date": "2025-02-28", "entry_sub_type": "SPIN", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } { "id": "{GUID}", "qty": 1, "price": 0.24, "status": "executed", "symbol": "CMPO1250417C00020000", "entry_type": "OPCA", "net_amount": -24, "description": "ADD new contract symbol", "settle_date": "2025-02-28", "system_date": "2025-02-28", "entry_sub_type": "SPIN", "per_share_amount": null, "account_id": "{ACCID}", "at": "2024-05-17T08:01:06.529338Z", "event_ulid": "{ULID}" } ``` Updated1 day ago * * * ## Alpaca Asset Management # Get a List of Assets [Skip link to Get a List of Assets](https://docs.alpaca.markets/docs/working-with-assets\#get-a-list-of-assets) If you send a `GET` request to our `/v2/assets` endpoint, you’ll receive a list of US equities. PythonJavaScriptC#Go ```rdmd-code lang-python theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import GetAssetsRequest from alpaca.trading.enums import AssetClass trading_client = TradingClient('api-key', 'secret-key') # search for US equities search_params = GetAssetsRequest(asset_class=AssetClass.US_EQUITY) assets = trading_client.get_all_assets(search_params) ``` ```rdmd-code lang-javascript theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); // Get a list of all active assets. const activeAssets = alpaca .getAssets({ status: "active", }) .then((activeAssets) => { // Filter the assets down to just those on NASDAQ. const nasdaqAssets = activeAssets.filter( (asset) => asset.exchange == "NASDAQ" ); console.log(nasdaqAssets); }); ``` ```rdmd-code lang-csharp theme-light using Alpaca.Markets; using System; using System.Linq; using System.Threading.Tasks; namespace CodeExamples { internal static class Example { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; public static async Task Main(string[] args) { // First, open the API connection var client = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); // Get a list of all active assets. var assets = await client.ListAssetsAsync( new AssetsRequest { AssetStatus = AssetStatus.Active }); // Filter the assets down to just those on NASDAQ. var nasdaqAssets = assets.Where(asset => asset.Exchange == Exchange.NyseMkt); Console.Read(); } } } ``` ```rdmd-code lang-go theme-light package main import ( "github.com/alpacahq/alpaca-trade-api-go/alpaca" ) func init() { alpaca.SetBaseUrl("https://paper-api.alpaca.markets") } func main() { // Get a list of all active assets. status := "active" assets, err := alpaca.ListAssets(&status) if err != nil { panic(err) } // Filter the assets down to just those on NASDAQ. nasdaq_assets := []alpaca.Asset{} for _, asset := range assets { if asset.Exchange == "NASDAQ" { nasdaq_assets = append(nasdaq_assets, asset) } } } ``` # See If a Particular Asset is Tradable on Alpaca [Skip link to See If a Particular Asset is Tradable on Alpaca](https://docs.alpaca.markets/docs/working-with-assets\#see-if-a-particular-asset-is-tradable-on-alpaca) By sending a symbol along with our request, we can get the information about just one asset. This is useful if we just want to make sure that a particular asset is tradable before we attempt to buy it. PythonJavaScriptC#Go ```rdmd-code lang-python theme-light from alpaca.trading.client import TradingClient from alpaca.trading.requests import GetAssetsRequest trading_client = TradingClient('api-key', 'secret-key') # search for AAPL aapl_asset = trading_client.get_asset('AAPL') if aapl_asset.tradable: print('We can trade AAPL.') ``` ```rdmd-code lang-javascript theme-light const Alpaca = require("@alpacahq/alpaca-trade-api"); const alpaca = new Alpaca(); // Check if AAPL is tradable on the Alpaca platform. alpaca.getAsset("AAPL").then((aaplAsset) => { if (aaplAsset.tradable) { console.log("We can trade AAPL."); } }); ``` ```rdmd-code lang-csharp theme-light using Alpaca.Markets; using System; using System.Threading.Tasks; namespace CodeExamples { internal static class Example { private static string API_KEY = "your_api_key"; private static string API_SECRET = "your_secret_key"; public static async Task Main(string[] args) { // First, open the API connection var client = Alpaca.Markets.Environments.Paper .GetAlpacaTradingClient(new SecretKey(API_KEY, API_SECRET)); // Check if AAPL is tradable on the Alpaca platform. try { var asset = await client.GetAssetAsync("AAPL"); if (asset.IsTradable) { Console.WriteLine("We can trade AAPL"); } } catch (Exception) { Console.WriteLine("Asset not found for AAPL."); } Console.Read(); } } } ``` ```rdmd-code lang-go theme-light package main import ( "fmt" "github.com/alpacahq/alpaca-trade-api-go/alpaca" ) func init() { alpaca.SetBaseUrl("https://paper-api.alpaca.markets") } func main() { // Check if AAPL is tradable on the Alpaca platform. asset, err := alpaca.GetAsset("AAPL") if err != nil { fmt.Println("Asset not found for AAPL.") } else if asset.Tradable { fmt.Println("We can trade AAPL.") } } ``` Updatedover 1 year ago * * * ## Voluntary Corporate Actions # Voluntary Corporate Actions [Skip link to Voluntary Corporate Actions](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#voluntary-corporate-actions) ### How are voluntary corporate actions communicated to customers? [Skip link to How are voluntary corporate actions communicated to customers?](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#how-are-voluntary-corporate-actions-communicated-to-customers) Alpaca works with a third party vendor to communicate voluntary corporate actions. Emails are sent to each customer when there is a voluntary corporate action with details and instructions on how to take action. These emails will have the broker partner name on them with an option to add a logo. * * * ### Can we block all voluntary actions such as rights distribution? [Skip link to Can we block all voluntary actions such as rights distribution?](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#can-we-block-all-voluntary-actions-such-as-rights-distribution) No, those have to be sent to customers. There is a cost associated with these, which usually deters customers from acting on them. The cost is $100 per client per voluntary corporate action, which is stated in the email. Alpaca can reject a customer's decision to act if there is no cash in the account, which would be the case here. * * * ### Why is there a field ‘qty’ that is != 0 in change name response body? [Skip link to Why is there a field ‘qty’ that is != 0 in change name response body?](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#why-is-there-a-field-qty-that-is--0-in-change-name-response-body) CUSIP change, symbol change, or a combination of both lead to this happening. Basically, there are two NC event the qty will be negative to remove the old symbol and positive when adding the new one. * * * ### What are the possible voluntary actions? [Skip link to What are the possible voluntary actions?](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#what-are-the-possible-voluntary-actions) - **Dutch Auction/Purchase/Tender Offer:** This is when a company wants to purchase your shares at a specific price or when they ask you to choose the price at which you would be willing to sell your shares. - **Conversion/Exchange Offer:** This is when a company offers to exchange your shares for a new type of in-kind share like bonds or fixed income securities. - **Election Merger:** This is when a company offers to pay cash, new shares, or a combination of both for your currently held shares. - **Consent Request:** This is when a company usually asks for your permission, as a bondholder, to change the bond agreement. - **Rights Offer:** This is when a company offers to sell you new shares (typically below the market price) before they offer these shares publicly. - **Warrant Exercise:** This is when a company offers to sell you new shares at a specific exercise price. Expirations can be up to 5 years in the future. * * * ### What are unit splits, and how does Alpaca handle them? [Skip link to What are unit splits, and how does Alpaca handle them?](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#what-are-unit-splits-and-how-does-alpaca-handle-them) - Units are a type of security that usually contain a combination of common shares and warrants. Rights may also be included, but this is less common. - Unit Splits can be either a mandatory event or a voluntary event - For a mandatory event - Clients will receive a combination of common shares and warrants based on the unit split ratio; no action is needed by the client - The REORG entry type will be used for this event - For a voluntary event - Clients can choose whether or not to split their units as long as the agent window is open to perform the unit split. - We don't usually have a lot of clients trading units, but as long as the window is open for a unit split, a Partner can request one at any time. This will have the $100.00 voluntary submission fee attached to it. - The VOF entry type will be used for this event * * * ### How are voluntary corporate actions processed at Alpaca? [Skip link to How are voluntary corporate actions processed at Alpaca?](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#how-are-voluntary-corporate-actions-processed-at-alpaca) On Alpaca's end, voluntary corporate actions use 3 main NTA activity types: VOF, REORG, and FEE: - `VOF` is used when there is a change in shares. - `REORG` is used when there is a change in cash. - `FEE` is used to book the fee associated with a VCA. The general process at Alpaca to handle voluntary corporate actions is as follows: 1. The client's underlying shares are moved to a contra/placeholder security; this way, they don't liquidate the shares that were elected - This would be done with 2 `VOF` entries (1 to remove underlying shares and 1 to allocate contra) 2. Once we receive the allocation from DTC (which is normally a week or two after the client's election is submitted), we will then remove the contra security and allocate the voluntary payment (cash or new shares usually) - If they are receiving cash; there would be 1 `VOF` entry to remove the contra shares and 1 `REORG` entry to allocate the cash - If they are receiving new shares; there would be 2 `VOF` entries to remove the contra shares and allocate the new shares Below are the different offer types and the standard Alpaca NTAs that would be created for them, noting that there might be slight differences on a case by case scenario: - **Purchase/Tender offer** \- explained [here](https://www.investopedia.com/terms/t/tenderoffer.asp), would be a combination of: - 3 `VOF` - Remove the underlying shares - Allocate contra shares - Remove the contra shares when we receive payment from DTC - `REORG` to allocate the cash to the client when we receive payment from DTC - `FEE` Entry - **Exchange offer** \- explained here, would be a combination of: - 4 `VOF` - Remove the underlying shares - Allocate contra shares - Remove the contra shares when we receive payment from DTC - Allocate the new shares when we receive payment from DTC - `FEE` Entry - **Rights/Warrant offer** \- explained here, would be a combination of: - Either 2 `VOF` - Distribution of the rights - Exercise the rights - OR 4 `VOF` (if there is a move to Contra needed similar to the previous cases) - 2 `FEE` Entries. - There might also be an additional `REORG` (for mandatory events like a worthless removal). - **Consent request** \- Doesn't apply ## Sample NTAs [Skip link to Sample NTAs](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#sample-ntas) Some sample NTAs that you would receive for the offer types mentioned above are added for reference: ### Sample Purchase/Tender Offer [Skip link to Sample Purchase/Tender Offer](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#sample-purchasetender-offer) `MNST` shares removed with a `VOF` entry json ```rdmd-code lang-Text theme-light { "id": "f2ad14c5-f46b-47bd-b6cc-422dd535f086", "qty": -97, "price": null, "status": "executed", "symbol": "MNST", "entry_type": "VOF", "net_amount": 0, "description": "Monster Beverage voluntary submission (expiration 06/05/24)", "settle_date": "2024-06-05", "system_date": "2024-06-05", "per_share_amount": null } ``` `611NSP014` (the contra security) was allocated with a `VOF` entry json ```rdmd-code lang-Text theme-light { "id": "221e1a62-5e43-4288-b320-0921c6bc56cb", "qty": 97, "price": null, "status": "executed", "symbol": "611NSP014", "entry_type": "VOF", "net_amount": 0, "description": "Monster Beverage voluntary submission (expiration 06/05/24)", "settle_date": "2024-06-05", "system_date": "2024-06-05", "per_share_amount": null } ``` `611NSP014` was removed with a `VOF` entry after allocation was received from DTC json ```rdmd-code lang-Text theme-light { "id": "aeb0dc92-1197-4c33-96f6-2545b43d37c6", "qty": -97, "price": null, "status": "executed", "symbol": "611NSP014", "entry_type": "VOF", "net_amount": 0, "description": "Monster Beverage voluntary allocation (expiration 06/05/24)", "settle_date": "2024-06-12", "system_date": "2024-06-12", "per_share_amount": null } ``` Cash was allocated to the client using a `REORG` entry json ```rdmd-code lang-Text theme-light { "id": "6c452d1f-bcec-4300-b857-faae17f8624e", "qty": 0, "price": null, "status": "executed", "symbol": "611NSP014", "entry_type": "REORG", "net_amount": 5141, "description": "Monster Beverage voluntary allocation (expiration 06/05/24)", "settle_date": "2024-06-12", "system_date": "2024-06-12", "per_share_amount": null } ``` Fee was booked using a `Fee` entry ```rdmd-code lang- theme-light { "id": "2af9d6d2-c1bd-49f1-a9df-6d14a13f4af5", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": -100, "description": "Monster Beverage Voluntary Submission Fee (expiration 06/05/24)", "settle_date": "2024-06-12", "system_date": "2024-06-12", "per_share_amount": null } ``` ### Sample Exchange Offer [Skip link to Sample Exchange Offer](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#sample-exchange-offer) `CMI` Shares were removed using a `REORG` entry ```rdmd-code lang- theme-light { "id": "7642d450-69d0-4d7e-87e0-62b0b94a3097", "qty": -99, "price": null, "status": "executed", "symbol": "CMI", "entry_type": "REORG", "net_amount": 0, "description": "Voluntary Tender Election for Cummins, Inc. (CMI)", "settle_date": "2024-03-12", "system_date": "2024-03-12", "per_share_amount": null } ``` `231992017` (the contra security) was allocated with a `REORG` entry json ```rdmd-code lang-Text theme-light { "id": "c163bd41-c9d7-4204-816e-1b8bd98091df", "qty": 99, "price": null, "status": "executed", "symbol": "231992017", "entry_type": "REORG", "net_amount": 0, "description": "Voluntary Tender Election for Cummins, Inc. (CMI)", "settle_date": "2024-03-12", "system_date": "2024-03-12", "per_share_amount": null } ``` Fee was booked using a `Fee` entry json ```rdmd-code lang-Text theme-light { "id": "d9a91441-558a-41f9-8926-bd9446308c58", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": -100, "description": "Voluntary Tender Election for Cummins, Inc. (CMI) Fees", "settle_date": "2024-03-12", "system_date": "2024-03-12", "per_share_amount": null } ``` `231992017` (the contra security) shares were removed using a `VOF` entry ```rdmd-code lang- theme-light { "id": "58259fb2-973b-407d-8e18-e7080ae65bdc", "qty": -99, "price": null, "status": "executed", "symbol": "231992017", "entry_type": "VOF", "net_amount": 0, "description": "Voluntary Tender Payment for Cummins, Inc. (CMI)", "settle_date": "2024-03-20", "system_date": "2024-03-20", "per_share_amount": null } ``` `ATMU` shares were allocated with a `VOF` entry json ```rdmd-code lang-Text theme-light { "id": "04226589-e3a5-43fd-a69e-dbda35546b3e", "qty": 1190, "price": 22.33, "status": "executed", "symbol": "ATMU", "entry_type": "VOF", "net_amount": 0, "description": "Voluntary Tender Payment for Cummins, Inc. (CMI)", "settle_date": "2024-03-20", "system_date": "2024-03-20", "per_share_amount": null } ``` ### Sample Rights Offer [Skip link to Sample Rights Offer](https://docs.alpaca.markets/docs/voluntary-corporate-actions\#sample-rights-offer) `FEE` for the new shares: json ```rdmd-code lang-Text theme-light { "id": "f71b410e-b9c4-4071-b627-f5ea92633e89", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": -2125, "description": "Barnes & Noble Rights Exercise Cost (067RGT019)", "settle_date": "2024-06-05", "system_date": "2024-06-05", "per_share_amount": null } ``` DTC Fee json ```rdmd-code lang-Text theme-light { "id": "8c82a56a-7602-4a83-977b-aafd1cea3db8", "qty": 0, "price": null, "status": "executed", "symbol": "", "entry_type": "FEE", "net_amount": -100, "description": "Barnes & Noble Rights Exercise Submission Fee (067RGT019)", "settle_date": "2024-06-05", "system_date": "2024-06-05", "per_share_amount": null } ``` `VOF` to remove underlying security json ```rdmd-code lang-Text theme-light { "id": "47007871-2f92-4adf-b7dc-efc6b1550fe7", "qty": -2500, "price": null, "status": "executed", "symbol": "067RGT019", "entry_type": "VOF", "net_amount": 0, "description": "Rights Exercise (symbol BNED; expiration 06/05/24)", "settle_date": "2024-06-05", "system_date": "2024-06-05", "per_share_amount": null } ``` `VOF` to allocate contra security json ```rdmd-code lang-Text theme-light { "id": "01233557-9f6b-403f-8832-6b70f057d85c", "qty": 2500, "price": null, "status": "executed", "symbol": "067BAS012", "entry_type": "VOF", "net_amount": 0, "description": "Rights Exercise (symbol BNED; expiration 06/05/24)", "settle_date": "2024-06-05", "system_date": "2024-06-05", "per_share_amount": null } ``` `VOF` to remove contra security json ```rdmd-code lang-Text theme-light { "id": "42830cc1-2dfb-4d6f-959b-463c148774ac", "qty": -2500, "price": null, "status": "executed", "symbol": "067BAS012", "entry_type": "VOF", "net_amount": 0, "description": "Rights Payment (symbol BNED; expiration 06/05/24)", "settle_date": "2024-06-11", "system_date": "2024-06-11", "per_share_amount": null } ``` `VOF` to allocate new shares json ```rdmd-code lang-Text theme-light { "id": "43eb77dd-1b8c-4b3d-81b1-647a00436aa3", "qty": 42500, "price": 0.09, "status": "executed", "symbol": "BNED", "entry_type": "VOF", "net_amount": 0, "description": "Rights Payment (symbol BNED; expiration 06/05/24)", "settle_date": "2024-06-11", "system_date": "2024-06-11", "per_share_amount": null } ``` In this case, there was also an extra `REORG` due to a mandatory event (worthless removal) json ```rdmd-code lang-Text theme-light { "id": "89f26a95-2624-43ab-a95c-a17db20dc361", "qty": -150, "price": null, "status": "correct", "symbol": "067RGT019", "entry_type": "REORG", "net_amount": 0, "description": "Worthless Removal - 067RGT019", "settle_date": "2024-06-13", "system_date": "2024-06-13", "per_share_amount": null } ``` Please note that this piece is for general informational purposes only. The examples above are for illustrative purposes only. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein. Updated4 months ago * * * Did this page help you? Yes No ## Wallets API Testing Guide # Wallets API Sandbox Testing Guide [Skip link to Wallets API Sandbox Testing Guide](https://docs.alpaca.markets/docs/crypto-wallets-api\#wallets-api-sandbox-testing-guide) _Please note you have to reach out to Alpaca to enable Crypto Wallets API access. Please reach out to your Customer Success Manager or your Sales Representative to enable this feature for you._ In order to test Wallets API in sandbox you’ll need to have access to a testnet wallet so that you can move coins between wallets on the blockchain without touching any real money. This tutorial walks through how to deposit GoerliETH into your external wallet which can be used for testing with Alpaca’s Wallet API. ## Step 1: Create a Goerli Wallet [Skip link to Step 1: Create a Goerli Wallet](https://docs.alpaca.markets/docs/crypto-wallets-api\#step-1-create-a-goerli-wallet) We recommend creating this via Metamask. If you don’t already have a Metamask account see the tutorial on how to create one [here](https://www.howtogeek.com/800641/how-to-add-a-metamask-wallet-to-iphone-or-android/). Once you have a Metamask account, the Goerli Test Network should be available within your list of networks by default. ![](https://files.readme.io/62daee5b67f381765f6352f74cb44f1b26ac860ddb5f96f5bddfb874872d67b6-goerli_wallet.png)![](https://files.readme.io/11ad1581505f03f64fa854641885a6415fefc14275e645627eb8f8d7123333c0-select_goerli.png) If it doesn’t show up as an option, you can add it by clicking “Add a network” and adding the following configurations: `Network Name: Goerli Test Network RPC Url: https://api.infura.io/v1/jsonrpc/goerli Chain ID: 5 Symbol: ETH Block Explorer URL: https://goerli.etherscan.io` ## Step 2: Fund your Goerli Wallet [Skip link to Step 2: Fund your Goerli Wallet](https://docs.alpaca.markets/docs/crypto-wallets-api\#step-2-fund-your-goerli-wallet) You’ll have to use a faucet like Goerli Faucet to receive GoerliETH. These faucets typically have a limit as to how much you can receive per day so keep that in mind when testing. Clicking on your address in Metamask will copy it to your clipboard so you can paste it into the Goerli Faucet and click “Send Me ETH”. This will initiate a transfer of 0.2 ETH to your wallet. You can then check your Metamask account to confirm the funds have been received. ![](https://files.readme.io/cf7cf984924484591576e9d6b523d944d60607aa07376727f2bb58199d373dbc-address.png)![](https://files.readme.io/44d093e5282d6de204a8859787c3708f20f2634440eb44c00ba03e25b4f86d8c-GOERLI_FAUCET.png) ## Step 3: Deposit Funds to your Alpaca Wallet [Skip link to Step 3: Deposit Funds to your Alpaca Wallet](https://docs.alpaca.markets/docs/crypto-wallets-api\#step-3-deposit-funds-to-your-alpaca-wallet) If you haven’t already created an ETH wallet with Alpaca’s Wallet API then you can call the `[GET /v1/accounts/:account_id/wallets?asset=ETH](https://docs.alpaca.markets/reference/listcryptofundingwallets-1)` request to create one. Once your address has been created then you can initiate the transfer of GoerliETH from your external wallet to your Alpaca wallet. You can do this in Metamask by clicking “Send” and entering your Alpaca wallet address in the “To” field. > ## 🚧 Confirm that you are sending funds from your Goerli wallet and not a real ETH wallet. Depositing real funds to the sandbox environment could result in the permanent loss of those funds. ![](https://files.readme.io/2d46991a5e7f79099df64562ea16089f341a529bf184a99f000269f8e0e541eb-send.png) ![](https://files.readme.io/1828501dc787cea90074bd989df37ecb0d6581534d8f23feca5e03edde09998a-send_to.png) Follow the steps in Metamask to finish executing the transfer. Once completed, you can confirm that the funds have been sent to your Alpaca wallet by calling the `[GET /v1/accounts/:account_id/wallets/transfers](https://docs.alpaca.markets/reference/getcryptofundingtransfer-1)` request which will show the incoming transfer. Once the status of the transfer is COMPLETE then the funds have landed in your wallet and you have deposited your first transfer to your Alpaca wallet! Updated8 months ago * * * Did this page help you? Yes No ## Alpaca OAuth Integration Develop applications on Alpaca’s platform using OAuth2. Alpaca’s OAuth allows you to seamlessly integrate financial markets into your application and expand your audience to the over 100K brokerage accounts on Alpaca’s platform. Read Register Your App to learn how you can register your app. In addition, you can visit OAuth Integration Guide to learn more about using OAuth to connect your applications with Alpaca. # Broker Partners [Skip link to Broker Partners](https://docs.alpaca.markets/docs/about-connect-api\#broker-partners) Broker partners are able to create their own OAuth service. Allow your end users to use OAuth apps like TradingView through your Broker API application. Learn more about OAuth with Broker API in the Broker API reference # Terms of Access and Use [Skip link to Terms of Access and Use](https://docs.alpaca.markets/docs/about-connect-api\#terms-of-access-and-use) - You must read the terms and register in order to connect and use Alpaca’s APIs - All API clients must authenticate with OAuth 2.0 - You may not imply that the app was developed by Alpaca. - If you are building a commercial application that makes money (including ads, in-app purchases, etc), you must disclose it in the registration form and receive written approval. - To allow live trading for other users, the app needs to be approved by Alpaca. Please contact [partnership@alpaca.markets](mailto:partnership@alpaca.markets). - Live trading is allowed for the app developer user without approval. > ## ❗️ This is not an offer, solicitation of an offer, or advice to open a brokerage account. > > Disclosure can be found [here](https://alpaca.markets/#disclosures) # FAQs [Skip link to FAQs](https://docs.alpaca.markets/docs/about-connect-api\#faqs) ### Q: What can an OAuth app do? [Skip link to Q: What can an OAuth app do?](https://docs.alpaca.markets/docs/about-connect-api\#q-what-can-an-oauth-app-do) A: OAuth allows you to manage your end-user’s Alpaca brokerage account on their behalf. This means you can create many types of financial services including automated investing, portfolio analytics and much more. ### Q: Should I use OAuth or Broker API? [Skip link to Q: Should I use OAuth or Broker API?](https://docs.alpaca.markets/docs/about-connect-api\#q-should-i-use-oauth-or-broker-api) A: OAuth allows you to expand your audience to users with Alpaca brokerage accounts. On the otherhand, Broker API allows you to build an application fully within your environment. Users sign up for a brokerage account under your application. If you want to create your own brokerage, automated investment app, or any app where you want to own your users, use the Broker API. If you want to build your trading service on Alpaca’s platform, use OAuth. ### Q: How secure is OAuth? [Skip link to Q: How secure is OAuth?](https://docs.alpaca.markets/docs/about-connect-api\#q-how-secure-is-oauth) A: OAuth2 itself is very secure. However you must make sure to follow good practices in how you handle tokens. Make sure to never publicly expose your client secret and access tokens. ### Q: How to get OAuth App live? [Skip link to Q: How to get OAuth App live?](https://docs.alpaca.markets/docs/about-connect-api\#q-how-to-get-oauth-app-live) A: You will need to register your app in the OAuth apps section of the dashboard. Learn more about Register Your App. ### Q: I’m developing an app/service targeting non-US users. Can we integrate with Alpaca’s OAuth API? [Skip link to Q: I’m developing an app/service targeting non-US users. Can we integrate with Alpaca’s OAuth API?](https://docs.alpaca.markets/docs/about-connect-api\#q-im-developing-an-appservice-targeting-non-us-users-can-we-integrate-with-alpacas-oauth-api) A: Alpaca’s platform supports brokerage accounts for international users. When you build an app on OAuth, all users on Alpaca’s platform will be able to use your service, including international users. Updatedover 1 year ago * * * ## State Validation Guidelines ## State Validation [Skip link to State Validation](https://docs.alpaca.markets/docs/domestic-usa-accounts\#state-validation) When [creating](https://docs.alpaca.markets/reference/createaccount) or [updating](https://docs.alpaca.markets/reference/patchaccount) accounts with `country_of_tax_residence = USA` we will accept either the 2 letter abbreviation code for the state or the complete name of the state (case insensitive) as defined below: | State Abbreviation | State Name | | --- | --- | | AA | Armed Forces of the Americas | | AE | Armed Forces of Europe | | AK | Alaska | | AL | Alabama | | AP | Armed Forces of the Pacific | | AR | Arkansas | | AZ | Arizona | | CA | California | | CO | Colorado | | CT | Connecticut | | DC | District of Columbia | | DE | Delaware | | FL | Florida | | GA | Georgia | | HI | Hawaii | | IA | Iowa | | ID | Idaho | | IL | Illinois | | IN | Indiana | | KS | Kansas | | KY | Kentucky | | LA | Louisiana | | MA | Massachusetts | | MD | Maryland | | ME | Maine | | MI | Michigan | | MN | Minnesota | | MO | Missouri | | MS | Mississippi | | MT | Montana | | NC | North Carolina | | ND | North Dakota | | NE | Nebraska | | NH | New Hampshire | | NJ | New Jersey | | NM | New Mexico | | NV | Nevada | | NY | New York | | OH | Ohio | | OK | Oklahoma | | OR | Oregon | | PA | Pennsylvania | | RI | Rhode Island | | SC | South Carolina | | SD | South Dakota | | TN | Tennessee | | TX | Texas | | UT | Utah | | VA | Virginia | | VT | Vermont | | WA | Washington | | WI | Wisconsin | | WV | West Virginia | | WY | Wyoming | Updatedabout 1 year ago * * * ## Historical News Data API This API provides historical news data dating back to 2015. You can expect to receive an average of 130+ news articles per day. All news data is currently provided directly by [Benzinga](https://www.benzinga.com/). With a single endpoint, you can request news for both stocks and cryptocurrency tickers. Check the [API Reference](https://docs.alpaca.markets/reference/news-3) for the detailed descriptions the endpoint. # Use Cases [Skip link to Use Cases](https://docs.alpaca.markets/docs/historical-news-data\#use-cases) News API is a versatile tool that can be used to support a variety of use cases, such as building an app with the Broker API or Algorithmic Trading using Sentiment Analysis on News with the Trading API. 1. **News Widgets** News API can be used to create visual news widgets for web and mobile apps. These widgets can be used to display the latest news for any stock or crypto symbol, and they include different sized images to give your app a visual appeal. 2. **News Sentiment Analysis** News API can be used to train models that can determine the sentiment of a given headline or news content. This can be done by using historical data from News API to train the model on a variety of different sentiment labels. 3. **Realtime Trading on News** [Real-time news over WebSockets](https://docs.alpaca.markets/edit/streaming-real-time-news) can be used to enable your trading algorithms to react to the latest news across any stock or cryptocurrency. Updated12 months ago * * * ## Journals API Overview Journals API allows you to move cash or securities from one account to another. For more on creating and retrieving journals please check out our [API reference section on journals](https://docs.alpaca.markets/reference/createjournal). The most common use case is [cash pooling](https://docs.alpaca.markets/docs/funding-accounts#cash-pooling), a funding model where you can send bulk wires into your firm account and then move the money into each individual user account. ![Cash pooling funds flow](https://files.readme.io/c5b61f3-image.png) Cash pooling funds flow There are two types of journals: **JNLC** Journal cash between accounts. You can simulate instant funding in both sandbox and production by journaling funds between your pre-funded sweep accounts and a user’s account. You can only journal cash from a firm account to a user account and vice-versa but not from customer to customer. **JNLS** Journal securities between accounts. Reward your users upon signing up or referring others by journaling small quantities of shares into their portfolios. You can only journal securities from a firm account to a user account and not vice-versa or customer-to-customer. ## Journals Status [Skip link to Journals Status](https://docs.alpaca.markets/docs/funding-via-journals\#journals-status) The most common status flow for journals is quite simple: 1. Upon creation, the journal will be created in a `queued` state. 2. Then, the journal will be `sent_to_clearing` meaning that the request has been submitted to our books and records system. 3. Lastly, if there are no issues the journal will be `executed`, meaning that the cash or securities have been successfully moved into the receiving account. Still, there are other cases in which the journal is `rejected`, `refused` or requires manual intervention from Alpaca's cashiering team. | Status | Description | | --- | --- | | `queued` | This is the initial status when the journal is still in the queue to be processed. | | `sent_to_clearing` | The journal has been sent to be processed by Alpaca’s booking system. | | `executed` | The journal has been completed and the balances have been updated for the accounts involved in the transaction. In some rare cases, journals can be reversed from this status by Alpaca's cashiering team if the transaction is not permitted. | | `pending` | The journal is pending to be processed as it requires manual approval from Alpaca operations, for example, this can be caused by hitting the [journal limits](https://docs.alpaca.markets/edit/broker-api-faq). | | `rejected` | The journal has been manually rejected. | | `canceled` | The journal has been canceled, either via an API request or by Alpaca's operations team. | | `refused` | The journal was never posted in Alpaca's ledger, probably because some of the preliminary checks failed. A common example would be a replayed request in close succession, where the first request is executed and the second request fails the balance check. | | `correct` | The journal has been manually corrected. The previously executed journal is cancelled and a new journal with the correct amount is created. | | `deleted` | The journal has been deleted from our ledger system. | ![Journal statuses flowchart](https://files.readme.io/8b024b3-image.png) Journal statuses flowchart Updatedover 1 year ago * * * ## Alpaca Order Management Using Alpaca Trade API, a user can monitor, place and cancel their orders with Alpaca. Each order has a unique identifier provided by the client. This client-side unique order ID will be automatically generated by the system if not provided by the client, and will be returned as part of the order object along with the rest of the fields described below. Once an order is placed, it can be queried using the client-side order ID or system-assigned unique ID to check the status. Updates on open orders at Alpaca will also be sent over the streaming interface, which is the recommended method of maintaining order state. # Buying Power [Skip link to Buying Power](https://docs.alpaca.markets/docs/orders-at-alpaca\#buying-power) In order to accept your orders that would open new positions or add to existing ones, your account must have sufficient buying power. Alpaca applies a “buying” power check to both buy long and sell short positions. The calculated value of an opening sell short order is MAX(order’s limit price, 3% above the current ask price) multiplied by the order’s quantity. In the case of market short orders, the value is simply 3% above the current ask price \* order quantity. The order’s calculated value is then checked against your available buying power to determine if it can be accepted. Please note that your available buying power is reduced by your existing open buy long and sell short orders, whereas your sell long and buy to cover orders do not replenish your available buying power until they have executed. For example, if your buying power is $10,000 and you submit a limit buy order with an order value of $3,000, your order will be accepted and your remaining available buying power will be $7,000. Even if this order is unfilled, as long as it is open and has not been cancelled, it will count against your available buying power. If you then submitted another order with an order value of $8,000, it would be rejected. **Initial buying power checks on orders:** When the core session is open: Far side of the NBBO (using Bid & Ask Price) If the order is entered while the extended hours session is open: Midpoint of the inside market If the order is entered when the core session and extended hours session are closed (pre-market hours): the latest trade from market cache # Equities Trading [Skip link to Equities Trading](https://docs.alpaca.markets/docs/orders-at-alpaca\#equities-trading) The following section deals with equity trading ## Orders Submitted Outside of Eligible Trading Hours [Skip link to Orders Submitted Outside of Eligible Trading Hours](https://docs.alpaca.markets/docs/orders-at-alpaca\#orders-submitted-outside-of-eligible-trading-hours) Orders not eligible for extended hours submitted after 4:00pm ET will be queued up for release the next trading day. Orders eligible for extended hours submitted outside of 4:00am - 8:00pm ET are handled as described in the section below. Fractional shares and orders with notional sizes are not available during extended hours trading. ## Extended Hours Trading [Skip link to Extended Hours Trading](https://docs.alpaca.markets/docs/orders-at-alpaca\#extended-hours-trading) Using API v2, you can submit and fill orders during pre-market and after-hours. Extended hours trading has specific risks due to the less liquidity. Please read through [Alpaca’s Extended Hours Trading Risk Disclosure](https://files.alpaca.markets/disclosures/library/ExtHrsRisk.pdf) for more details. Currently, we support full extended hours: - Pre-market: 4:00am - 9:30am ET, Monday to Friday - After-hours: 4:00pm - 8:00pm ET, Monday to Friday ### Submitting an Extended Hours Eligible Order [Skip link to Submitting an Extended Hours Eligible Order](https://docs.alpaca.markets/docs/orders-at-alpaca\#submitting-an-extended-hours-eligible-order) To indicate an order is eligible for extended hours trading, you need to supply a boolean parameter named `extended_hours` to your order request. By setting this parameter to `true`, the order is will be eligible to execute in the pre-market or after-hours. Only market, limit, stop & stop limit orders with a time in force = day orders will be accepted as extended hours eligible. All other order types and TIFs will be rejected with an error. You must adhere to these settings in order to participate in extended hours: 1. The order type must be set to `limit` (with a limit price). Any other type of orders will be rejected with an error. 2. Time-in-force must be set to be `day`. Any other `time_in_force` will be rejected with an error. For Fractional Orders, starting on October 27, 2021, customers will not be able to send the following sequence of orders outside of market hours for the same security. This is so customers will not have a net short position. Examples of the order sequences that will be rejected are shown below. | Summary | Order 1 | Order 2 | Second Order Handling Accept/Reject | | --- | --- | --- | --- | | 2x Sell | Notional Sell | Quantity Sell | Reject | | 2x Sell | Notional Sell | Notional Sell | Reject | | 2x Sell | Quantity Sell | Notional Sell | Reject | | 2 x Sell \[with Correct Quantity\] | Quantity Sell | Quantity Sell | Accept | | 2 x Sell \[with Correct Quantity\] | Quantity Sell | Quantity Sell | Reject | For more information - please see our [Blog Post](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) on this topic. If this is done you will see the following error message: `"unable to open new notional orders while having open closing position orders"`. All symbols supported during regular market hours are also supported during extended hours. Short selling is also treated the same. ## IPO Symbols [Skip link to IPO Symbols](https://docs.alpaca.markets/docs/orders-at-alpaca\#ipo-symbols) Alpaca supports trading symbols which have recently begun trading publicly on major exchanges such as the NYSE and NASDAQ. This process is known as a company going public, or an IPO. As a registered broker/dealer, Alpaca must follow FINRA [regulations](https://www.finra.org/rules-guidance/guidance/faqs/finra-rule-5131-frequently-asked-questions) regarding order types for IPO symbols: - Alpaca is only able to accept `limit` orders prior to the security’s first trade on the exchange - Once an IPO begins trading on an exchange, `market` orders are accepted To assist our customers, Alpaca will expose an `attribute` called `ipo` on the [Assets](https://docs.alpaca.markets/reference/getassets) model. The `ipo` attribute will flag to customers that this particular symbol has an IPO coming up, or is just about to begin trading on an exchange, and therefore a `limit` order must be used. # Order Types [Skip link to Order Types](https://docs.alpaca.markets/docs/orders-at-alpaca\#order-types) When you submit an order, you can choose one of supported order types. Currently, Alpaca supports four different types of orders. ## Market Order [Skip link to Market Order](https://docs.alpaca.markets/docs/orders-at-alpaca\#market-order) A market order is a request to buy or sell a security at the currently available market price. It provides the most likely method of filling an order. Market orders fill nearly instantaneously. As a trade-off, your fill price may slip depending on the available liquidity at each price level as well as any price moves that may occur while your order is being routed to its execution venue. There is also the risk with market orders that they may get filled at unexpected prices due to short-term price spikes. ## Limit Order [Skip link to Limit Order](https://docs.alpaca.markets/docs/orders-at-alpaca\#limit-order) A limit order is an order to buy or sell at a specified price or better. A buy limit order (a limit order to buy) is executed at the specified limit price or lower (i.e., better). Conversely, a sell limit order (a limit order to sell) is executed at the specified limit price or higher (better). Unlike a market order, you have to specify the limit price parameter when submitting your order. While a limit order can prevent slippage, it may not be filled for a quite a bit of time, if at all. For a buy limit order, if the market price is within your specified limit price, you can expect the order to be filled. If the market price is equivalent to your limit price, your order may or may not be filled; if the order cannot immediately execute against resting liquidity, then it is deemed non-marketable and will only be filled once a marketable order interacts with it. You could miss a trading opportunity if price moves away from the limit price before your order can be filled. ### Sub-penny increments for limit orders [Skip link to Sub-penny increments for limit orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#sub-penny-increments-for-limit-orders) The minimum price variance exists for limit orders. Orders received in excess of the minimum price variance will be rejected. - Limit price >=$1.00: Max Decimals= 2 - Limit price <$1.00: Max Decimals = 4 ```rdmd-code lang- theme-light { "code": 42210000, "message": "invalid limit_price 290.123. sub-penny increment does not fulfill minimum pricing criteria" } ``` ## Stop Orders [Skip link to Stop Orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#stop-orders) A stop (market) order is an order to buy or sell a security when its price moves past a particular point, ensuring a higher probability of achieving a predetermined entry or exit price. Once the order is elected, the stop order becomes a market order. Alpaca converts buy stop orders into stop limit orders with a limit price that is 4% higher than a stop price < $50 (or 2.5% higher than a stop price >= $50). Sell stop orders are not converted into stop limit orders. A stop order does not guarantee the order will be filled at a certain price after it is converted to a market order. In order to submit a stop order, you will need to specify the stop price parameter in the API. **Example:** - Let's say you want to buy 100 shares of TSLA only if it goes up to $210 (assuming current trading price at $200). - You place a **buy stop order at $210.** - In Alpaca, this buy stop order is converted into a **stop-limit order** with a **limit price 2.5%** higher than $210 ( **i.e., $215.25**). - If TSLA reaches **$210**, the order is activated and turns into a **limit order at $215.25**. This means the order will not execute above **$215.25**. ### Sub-penny increments for stop orders [Skip link to Sub-penny increments for stop orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#sub-penny-increments-for-stop-orders) The minimum price variance exists for stop orders. Orders received in excess of the minimum price variance will be rejected. - Stop price >=$1.00: Max Decimals= 2 - Stop price <$1.00: Max Decimals = 4 ```rdmd-code lang- theme-light { "code": 42210000, "message": "invalid stop_price 290.123. sub-penny increment does not fulfill minimum pricing criteria" } ``` ## Stop Limit Order [Skip link to Stop Limit Order](https://docs.alpaca.markets/docs/orders-at-alpaca\#stop-limit-order) A stop-limit order is a conditional trade over a set time frame that combines the features of a stop order with those of a limit order and is used to mitigate risk. The stop-limit order will be executed at a specified limit price, or better, after a given stop price has been reached. Once the stop price is reached, the stop-limit order becomes a limit order to buy or sell at the limit price or better. In the case of a gap down in the market that causes the election of your order, but not the execution, your order will remain active as a limit order until it is executable or cancelled. In order to submit a stop limit order, you will need to specify both the limit and stop price parameters in the API. **Example:** - You want to buy 50 shares of TSLA, currently trading at $200. - You want to buy only if it breaks above **$210**, but not higher than **$215.** - You place a buy stop-limit order with: - **Stop price: $210** → The order is activated when TSLA reaches this price. - **Limit price: $215** → The order will only execute at $215 or better. - If TSLA moves to **$210**, the order is triggered and converted into a **limit order at $215.** ## Opening and Closing Auction Orders [Skip link to Opening and Closing Auction Orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#opening-and-closing-auction-orders) Market on open and limit on open orders are only eligible to execute in the opening auction. Market on close and limit on close orders are only eligible to execute in the closing auction. Please see the [Time in Force](https://docs.alpaca.markets/docs/orders-at-alpaca#time-in-force) section for more details. ## Bracket Orders [Skip link to Bracket Orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#bracket-orders) A bracket order is a chain of three orders that can be used to manage your position entry and exit. It is a common use case of an OTOCO (One Triggers OCO {One Cancels Other}) order. The first order is used to enter a new long or short position, and once it is completely filled, two conditional exit orders are activated. One of the two closing orders is called a take-profit order, which is a limit order, and the other is called a stop-loss order, which is either a stop or stop-limit order. Importantly, only one of the two exit orders can be executed. Once one of the exit orders is filled, the other is canceled. Please note, however, that in extremely volatile and fast market conditions, both orders may fill before the cancellation occurs. Without a bracket order, you would not be able to submit both entry and exit orders simultaneously since Alpaca’s system only accepts exit orders for existing positions. Additionally, even if you had an open position, you would not be able to submit two conditional closing orders since Alpaca’s system would view one of the two orders as exceeding the available position quantity. Bracket orders address both of these issues, as Alpaca’s system recognizes the entry and exit orders as a group and queues them for execution appropriately. In order to submit a bracket order, you need to supply additional parameters to the API. First, add a parameter `order_class` as “bracket”. Second, give two additional fields `take_profit` and stop\_loss both of which are nested JSON objects. The `take_profit` object needs `limit_price` as a field value that specifies limit price of the take-profit order, and the `stop_loss` object needs a mandatory `stop_price` field and optional `limit_price` field. If `limit_price` is specified in `stop_loss`, the stop-loss order is queued as a stop-limit order, but otherwise it is queued as a stop order. An example JSON body parameter to submit a bracket order is as follows. JSON ```rdmd-code lang-json theme-light { "side": "buy", "symbol": "SPY", "type": "market", "qty": "100", "time_in_force": "gtc", "order_class": "bracket", "take_profit": { "limit_price": "301" }, "stop_loss": { "stop_price": "299", "limit_price": "298.5" } } ``` This creates three orders. - A buy market order for 100 SPY with GTC - A sell limit order for the same 100 SPY, with limit price = 301 - A sell stop-limit order, with stop price = 299 and limit price = 298.5 The second and third orders won’t be active until the first order is completely filled. Additional bracket order details include: - If any one of the orders is canceled, any remaining open order in the group is canceled. - `take_profit.limit_price` must be higher than `stop_loss.stop_price` for a buy bracket order, and vice versa for a sell. - Both `take_profit.limit_price` and `stop_loss.stop_price` must be present. - Extended hours are not supported. `extended_hours` must be “false” or omitted. - `time_in_force` must be `day` or `gtc`. - Each order in the group is always sent with a DNR/DNC (Do Not Reduce/Do Not Cancel) instruction. Therefore, the order price will not be adjusted and the order will not be canceled in the event of a dividend or other corporate action. - If the take-profit order is partially filled, the stop-loss order will be adjusted to the remaining quantity. - Order replacement ( `PATCH /v2/orders`) is supported to update `limit_price` and `stop_price`. Each order of the group is reported as an independent order in GET /v2/orders endpoint. But if you specify additional parameter nested=true, the order response will nest the result to include child orders under the parent order with an array field legs in the order entity. ## OCO Orders [Skip link to OCO Orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#oco-orders) OCO (One-Cancels-Other) is another type of advanced order type. This is a set of two orders with the same side (buy/buy or sell/sell) and currently only exit order is supported. In other words, this is the second part of the bracket orders where the entry order is already filled, and you can submit the take-profit and stop-loss in one order submission. With OCO orders, you can add take-profit and stop-loss after you open the position, without thinking about those two legs upfront. In order to submit an OCO order, specify “oco” for the order\_class parameter. SELLBUY ```rdmd-code lang-json theme-light { "side": "sell", "symbol": "SPY", "type": "limit", "qty": "100", "time_in_force": "gtc", "order_class": "oco", "take_profit": { "limit_price": "301" }, "stop_loss": { "stop_price": "299", "limit_price": "298.5" } } ``` ```rdmd-code lang-json theme-light { "side": "buy", "symbol": "SPY", "type": "limit", "qty": "100", "time_in_force": "gtc", "order_class": "oco", "take_profit":{ "limit_price": "298" }, "stop_loss": { "stop_price": "299", "limit_price": "300" } } ``` The type parameter must always be “limit”, indicating the take-profit order type is a limit order. The stop-loss order is a stop order if only `stop_price` is specified, and is a stop-limit order if both `limit_price` and `stop_price` are specified (i.e. `stop_price` must be present in any case). Those two orders work exactly the same way as the two legs of the bracket orders. Note that when you retrieve the list of orders with the `nested` parameter true, the take-profit order shows up as the parent order while the stop-loss order appears as a child order. Like bracket orders, order replacement is supported to update limit\_price and stop\_price. ## OTO Orders [Skip link to OTO Orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#oto-orders) OTO (One-Triggers-Other) is a variant of bracket order. It takes one of the take-profit or stop-loss order in addition to the entry order. For example, if you want to set only a stop-loss order attached to the position, without a take-profit, you may want to consider OTO orders. The order submission is done with the `order_class` parameter be “oto”. JSON ```rdmd-code lang-json theme-light { "side": "buy", "symbol": "SPY", "type": "market", "qty": "100", "time_in_force": "gtc", "order_class": "oto", "stop_loss": { "stop_price": "299", "limit_price": "298.5" } } ``` Either of `take_profit` or `stop_loss` must be present (the above example is for take-profit case), and the rest of requirements are the same as the bracket orders. Like bracket orders, order replacement is not supported yet. ### Threshold on stop price of stop-loss orders [Skip link to Threshold on stop price of stop-loss orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#threshold-on-stop-price-of-stop-loss-orders) For the stop-loss order leg of advanced orders, please be aware the order request can be rejected because of the restriction of the stop\_price parameter value. The stop price input has to be at least $0.01 below (for stop-loss sell, above for buy) than the “base price”. The base price is determined as follows. - It is the limit price of the take-profit, for OCO orders. - It is the limit price of the entry order, for bracket or OTO orders if the entry type is limit. - It is also the current market price for any, of OCO, OTO and bracket. This restriction is to avoid potential race-conditions in the order handling, but as we improve our system capability, this may be loosened in the future. ## Trailing Stop Orders [Skip link to Trailing Stop Orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#trailing-stop-orders) Trailing stop orders allow you to continuously and automatically keep updating the stop price threshold based on the stock price movement. You request a single order with a dollar offset value or percentage value as the trail and the actual stop price for this order changes as the stock price moves in your favorable way, or stay at the last level otherwise. This way, you don’t need to monitor the price movement and keep sending replace requests to update the stop price close to the latest market movement. Trailing stop orders keep track of the highest (for sell, lowest for buy) prices (called high water mark, or hwm) since the order was submitted, and the user-specified trail parameters determine the actual stop price to trigger relative to high water mark. Once the stop price is triggered, the order turns into a market order, and it may fill above or below the stop trigger price. To submit a trailing stop order, you will set the type parameter to “trailing\_stop”. There are two order submission parameters related to trailing stop, one of which is required when type is “trailing\_stop”. | field | type | description | | --- | --- | --- | | trail\_price | string | a dollar value away from the highest water mark. If you set this to 2.00 for a sell trailing stop, the stop price is always `hwm - 2.00`. | | trail\_percent | string | a percent value away from the highest water mark. If you set this to 1.0 for a sell trailing stop, the stop price is always `hwm \* 0.99`. | One of these values must be set for trailing stop orders. The following is an example of trailing order submission JSON parameter. JSON ```rdmd-code lang-json theme-light { "side": "sell", "symbol": "SPY", "type": "trailing_stop", "qty": "100", "time_in_force": "day", "trail_price": "6.15" } ``` The Order entity returned from the `GET` method has a few fields related to trailing stop orders. | field | type | description | | --- | --- | --- | | `trail_price` | string | This is the same value as specified when the order was submitted. It will be null if this was not specified. | | `trail_percent` | string | This is the same value as specified when the order was submitted. It will be null if this was not specified. | | `hwm` | string | The high water mark value. This continuously changes as the market moves towards your favorable way. | | `stop_price` | string | This is the same as stop price in the regular stop/stop limit orders, but this is derived from `hwm` and trail parameter, and continuously updates as hwm ` ` changes. | If a trailing stop order is accepted, the order status becomes “new”. While the order is pending stop price trigger, you can update the trail parameter by the PATCH method. | field | type | description | | --- | --- | --- | | `trail` | string | The new value of the `trail_price` or `trail_percent` value. Such a replace request is effective only for the order type is “trailing\_stop” before the stop price is hit. Note, you cannot change the price trailing to the percent trailing or vice versa. | Some notes on trailing stop orders - Trailing stop will not trigger outside of the regular market hours. - Valid time-in-force values for trailing stop are “day” and “gtc”. - Trailing stop orders are currently supported only with single orders. However, we plan to support trailing stop as the stop loss leg of bracket/OCO orders in the future. Proper use of Trailing Stop orders requires understanding the purpose and how they operate. The primary point to keep in mind with Trailing Stop orders is to ensure the difference between the trailing stop and the price is big enough that typical price fluctuations do not trigger a premature execution. In fast moving markets, the execution price may be less favorable than the stop price. The potential for such vulnerability increases for GTC orders across trading sessions or stocks experiencing trading halts. The stop price triggers a market order and therefore, it is not necessarily the case that the stop price will be the same as the execution price. With regard to stock splits, Alpaca reserves the right to cancel or adjust pricing and/or share quantities of trailing stop orders based upon its own discretion. Since Alpaca relies on third parties for market data, corporate actions or incorrect price data may cause a trailing stop to be triggered prematurely. # Time in Force [Skip link to Time in Force](https://docs.alpaca.markets/docs/orders-at-alpaca\#time-in-force) > ## 🚧 Crypto Time in Force > > For Crypto Trading, Alpaca only supports `gtc`, and `ioc`. > > `OPG`, `fok`, `day`, and `CLS` are not supported. Alpaca supports the following Time-In-Force designations: | time\_in\_force | description | | --- | --- | | `day` | A day order is eligible for execution only on the day it is live. By default, the order is only valid during Regular Trading Hours (9:30am - 4:00pm ET). If unfilled after the closing auction, it is automatically canceled. If submitted after the close, it is queued and submitted the following trading day. However, if marked as eligible for extended hours, the order can also execute during supported extended hours. | | `gtc` | The order is good until canceled. Non-marketable GTC limit orders are subject to price adjustments to offset corporate actions affecting the issue. We do not currently support Do Not Reduce(DNR) orders to opt out of such price adjustments. | | `opg` | Use this TIF with a market/limit order type to submit “market on open” (MOO) and “limit on open” (LOO) orders. This order is eligible to execute only in the market opening auction. Any unfilled orders after the open will be cancelled. OPG orders submitted after 9:28am but before 7:00pm ET will be rejected. OPG orders submitted after 7:00pm will be queued and routed to the following day’s opening auction. On open/on close orders are routed to the primary exchange. Such orders do not necessarily execute exactly at 9:30am / 4:00pm ET but execute per the exchange’s auction rules. | | `cls` | Use this TIF with a market/limit order type to submit “market on close” (MOC) and “limit on close” (LOC) orders. This order is eligible to execute only in the market closing auction. Any unfilled orders after the close will be cancelled. CLS orders submitted after 3:50pm but before 7:00pm ET will be rejected. CLS orders submitted after 7:00pm will be queued and routed to the following day’s closing auction. Only available with API v2. | | `ioc` | An Immediate Or Cancel (IOC) order requires all or part of the order to be executed immediately. Any unfilled portion of the order is canceled. Only available with API v2. Most market makers who receive IOC orders will attempt to fill the order on a principal basis only, and cancel any unfilled balance. On occasion, this can result in the entire order being cancelled if the market maker does not have any existing inventory of the security in question. | | `fok` | A Fill or Kill (FOK) order is only executed if the entire order quantity can be filled, otherwise the order is canceled. Only available with API v2. | ## Aged order policy [Skip link to Aged order policy](https://docs.alpaca.markets/docs/orders-at-alpaca\#aged-order-policy) Alpaca implements an aged order policy that will automatically cancel GTC orders 90 days after creation to manage risk, reduce errors, and help achieve operational efficiency. The `List/Get` Orders API endpoint has a field titled `expires_at`, which provides information on the expiration. On the `expires_at` date there will be a job that will submit a cancel request to cancel the GTC orders. This will take place on the `expires_at` date at 4:15 pm ET. The orders will remain in pending\_cancel until canceled by the execution venue that Alpaca routed the order to for execution. ## Order Types vs Supported Time in Force [Skip link to Order Types vs Supported Time in Force](https://docs.alpaca.markets/docs/orders-at-alpaca\#order-types-vs-supported-time-in-force) This section contains the tables showing time-in-force options for various order types. _**Note**: Please contact the sales team for any TIF marked with a \*_. ### Whole qty orders (USD) [Skip link to Whole qty orders (USD)](https://docs.alpaca.markets/docs/orders-at-alpaca\#whole-qty-orders-usd) | Time in Force | Market Order | Limit Order | Stop Order | Stop Limit Order | | --- | --- | --- | --- | --- | | **GTC** | Yes | Yes | Yes | Yes | | **DAY** | Yes | Yes | Yes | Yes | | **IOC** | Yes\* | Yes\* | No | No | | **FOK** | Yes\* | Yes\* | No | No | | **OPG** | Yes\* | Yes\* | No | No | | **CLS** | Yes\* | Yes\* | No | No | ### Fractional orders (USD) [Skip link to Fractional orders (USD)](https://docs.alpaca.markets/docs/orders-at-alpaca\#fractional-orders-usd) | Time in Force | Market Order | Limit Order | Stop Order | Stop Limit Order | | --- | --- | --- | --- | --- | | **GTC** | No | No | No | No | | **DAY** | Yes | Yes | Yes | Yes | | **IOC** | No | No | No | No | | **FOK** | No | No | No | No | | **OPG** | No | No | No | No | | **CLS** | No | No | No | No | ### LCT (Whole qty or Fractional) [Skip link to LCT (Whole qty or Fractional)](https://docs.alpaca.markets/docs/orders-at-alpaca\#lct-whole-qty-or-fractional) | Time in Force | Market Order | Limit Order | Stop Order | Stop Limit Order | | --- | --- | --- | --- | --- | | **GTC** | No | No | No | No | | **DAY** | Yes | Yes | Yes | Yes | | **IOC** | No | No | No | No | | **FOK** | No | No | No | No | | **OPG** | No | No | No | No | | **CLS** | No | No | No | No | ### Extended Hours orders [Skip link to Extended Hours orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#extended-hours-orders) | Time in Force | Market Order | Limit Order | Stop Order | Stop Limit Order | | --- | --- | --- | --- | --- | | **GTC** | No | No | No | No | | **DAY** | No | Yes | No | No | | **IOC** | No | No | No | No | | **FOK** | No | No | No | No | | **OPG** | No | No | No | No | | **CLS** | No | No | No | No | ### Crypto orders [Skip link to Crypto orders](https://docs.alpaca.markets/docs/orders-at-alpaca\#crypto-orders) | Time in Force | Market Order | Limit Order | Stop Order | Stop Limit Order | | --- | --- | --- | --- | --- | | **GTC** | Yes | Yes | Yes | Yes | | **DAY** | No | Yes | No | No | | **IOC** | Yes | Yes | No | No | | **FOK** | No | No | No | No | | **OPG** | No | No | No | No | | **CLS** | No | No | No | No | ### OTC Assets [Skip link to OTC Assets](https://docs.alpaca.markets/docs/orders-at-alpaca\#otc-assets) | Time in Force | Market Order | Limit Order | Stop Order | Stop Limit Order | | --- | --- | --- | --- | --- | | **GTC** | Yes | Yes | Yes | Yes | | **DAY** | Yes | Yes | Yes | Yes | | **IOC** | No | No | No | No | | **FOK** | No | No | No | No | | **OPG** | No | No | No | No | | **CLS** | No | No | No | No | # Order Lifecycle [Skip link to Order Lifecycle](https://docs.alpaca.markets/docs/orders-at-alpaca\#order-lifecycle) An order executed through Alpaca can experience several status changes during its lifecycle. ![](https://files.readme.io/d7ec892-Order_status_flow.png) The most common statuses are described in detail below: | status | description | | --- | --- | | `new` | The order has been received by Alpaca, and routed to exchanges for execution. This is the usual initial state of an order. | | `partially_filled` | The order has been partially filled. | | `filled` | The order has been filled, and no further updates will occur for the order. | | `done_for_day` | The order is done executing for the day, and will not receive further updates until the next trading day. | | `canceled` | The order has been canceled, and no further updates will occur for the order. This can be either due to a cancel request by the user, or the order has been canceled by the exchanges due to its time-in-force. | | `expired` | The order has expired, and no further updates will occur for the order. | | `replaced` | The order was replaced by another order, or was updated due to a market event such as corporate action. | | `pending_cancel` | The order is waiting to be canceled. | | `pending_replace` | The order is waiting to be replaced by another order. The order will reject cancel request while in this state. | Less common states are described below. Note that these states only occur on very rare occasions, and most users will likely never see their orders reach these states: | status | description | | --- | --- | | `accepted` | The order has been received by Alpaca, but hasn’t yet been routed to the execution venue. This could be seen often out side of trading session hours. | | `pending_new` | The order has been received by Alpaca, and routed to the exchanges, but has not yet been accepted for execution. This state only occurs on rare occasions. | | `accepted_for_bidding` | The order has been received by exchanges, and is evaluated for pricing. This state only occurs on rare occasions. | | `stopped` | The order has been stopped, and a trade is guaranteed for the order, usually at a stated price or better, but has not yet occurred. This state only occurs on rare occasions. | | `rejected` | The order has been rejected, and no further updates will occur for the order. This state occurs on rare occasions and may occur based on various conditions decided by the exchanges. | | `suspended` | The order has been suspended, and is not eligible for trading. This state only occurs on rare occasions. | | `calculated` | The order has been completed for the day (either filled or done for day), but remaining settlement calculations are still pending. This state only occurs on rare occasions. | An order may be canceled through the API up until the point it reaches a state of either `filled`, `canceled`, or `expired`. # Odd Lots and Block Trades [Skip link to Odd Lots and Block Trades](https://docs.alpaca.markets/docs/orders-at-alpaca\#odd-lots-and-block-trades) When trading stocks, a round lot is typically defined as 100 shares, or a larger number that can be evenly divided by 100. An odd lot is anything that cannot be evenly divided by 100 shares (e.g. 48, 160, etc.). A block trade is typically defined as a trade that involves 10,000 shares or more. For trading purposes, odd lots are typically treated like round lots. However, regulatory trading rules allow odd lots to be treated differently. Similarly, block trades are usually broken up for execution and may take longer to execute due to the market having to absorb the block of shares over time rather than in one large execution. When combined with a thinly traded stock, it’s quite possible that odd lots and block trades may not get filled or execute in a timely manner, and sometimes, not at all, depending on other factors like order types used. # Short Sales [Skip link to Short Sales](https://docs.alpaca.markets/docs/orders-at-alpaca\#short-sales) A short sale is the sale of a stock that a seller does not own. In general, a short seller sells borrowed stock in anticipation of a price decline. The short seller later closes out the position by purchasing the stock. # Order Handling Standards at Alpaca Securities LLC [Skip link to Order Handling Standards at Alpaca Securities LLC](https://docs.alpaca.markets/docs/orders-at-alpaca\#order-handling-standards-at-alpaca-securities-llc) Market and limit order orders are protected on the primary exchange opening print. We do not necessarily route retail orders to the exchange, but will route orders to market makers who will route orders on your behalf to the primary market opening auction. This protection is subject to exchange time cutoff for each exchange’s opening process. For instance, if you enter a market order between 9:28:01 and 9:29:59 on a Nasdaq security you would not receive the Nasdaq Official Opening Price (NOOP) since Nasdaq has a cutoff of 9:28 for market orders to be sent to the cross. Any market orders received before 9:28 will be filled at the Nasdaq Official Opening Price. Stop orders and trailing stops are elected on the consolidated print. Your sell stop order will only elect if there is a trade on the consolidated tape at or lower than your stop price and provided the electing trade is not outside of the NBBO. Your buy stop order will only elect if there is a trade on the consolidated tape that is at or above your stop price that is not outside of the NBBO. Limit Orders are generally subject to limit order display and protection. Protection implies that you should not see the stock trade better than your limit without you receiving an execution. Limit Order Display is bound by REG NMS Rule 611. Your orders will be displayed if they are the National Best Bid or Best Offer excluding exceptions outlined REG NMS Rule 611. Some examples are listed below: - An odd lot order (under a unit of trade). Most NMS securities have a unit of trade of 100 shares. - Block Order. A block order under REG NMS is designated as an order of at least 10,000 shares or at least $200,000 notional. - An “all or none” order - The client requests the order to not be displayed. - Not Held orders # OTC Positions [Skip link to OTC Positions](https://docs.alpaca.markets/docs/orders-at-alpaca\#otc-positions) OTC positions that are actively trading will not be automatically removed/liquidated from a user's account. The user can submit orders if the client wishes to remove or liquidate them. OTC markets have several market tiers and depending on the market tier there may be more considerations when placing an order to close the position. **OTC Market Tier** _OTCQX, OTCQB, Pink (Current, limited, No information)_ Clients can enter market orders, limit orders and stop orders to close positions. For market orders, clients can mix whole shares and fractional shares. _Expert Market, Caveat Emptor_ Clients must enter day-limit orders when placing orders to close out an OTC expert market security. However, Alpaca will accept market orders that are only fractional shares, but it is a best practice to enter a day-limit order for your whole, mixed (whole and fraction) or fractional order. Example: User owns 10.53 shares of WXYZ Stock: Sell Limit Order for 10.53 shares of WXYZ Stock at a limit price. OTC market data is a separate data subscription. In many circumstances, a client can obtain a real-time level one quote from otcmarkets.com. Additionally, you can check the OTC market tier on that website as well. Updatedabout 2 months ago * * * ## Ribbit Trading App # What is Ribbit? [Skip link to What is Ribbit?](https://docs.alpaca.markets/docs/example-trading-app-ribbit\#what-is-ribbit) Ribbit is a skeleton mobile app designed to showcase the capabilities of the Broker API. It’s a fully functional trading application that demonstrates how users would interact with your product. It uses all the different functionality that the Broker API offers including onboarding new users, funding an account, managing market data, and handling trade activity. # User Experience Example [Skip link to User Experience Example](https://docs.alpaca.markets/docs/example-trading-app-ribbit\#user-experience-example) The screenshots below demonstrate how a native user would walk through Ribbit to accomplish various tasks. ## Create a New Account [Skip link to Create a New Account](https://docs.alpaca.markets/docs/example-trading-app-ribbit\#create-a-new-account) Once Ribbit users sign up with their email and create a password, it triggers the brokerage account onboarding process to begin. The following screens prompt users to input their information such as name, date of birth, tax ID, and more information that is required by law to open a brokerage account. At the end of this process, Ribbit calls the [Accounts API](https://docs.alpaca.markets/docs/account-opening) to submit all the information to Alpaca where we verify the information and approve the account application. The app demonstrates a common flow that brokerage apps have to implement to collect all the necessary data points and required user agreements. For your own app, you may also be interested in performing various input checks on the client side so that the account approval process is as quick as possible. See below screenshots of the actual flow. Once the account creation flow is completed, Ribbit continues to use the Accounts API to retrieve real-time information about the user’s account. The API can also be used to update the account information as well as request to close an account. ![Beginning and end state of an account opening experience](https://files.readme.io/1c28843-image.png) Beginning and end state of an account opening experience ## Fund an Account [Skip link to Fund an Account](https://docs.alpaca.markets/docs/example-trading-app-ribbit\#fund-an-account) The next step for the new users is to deposit the money to start trading. Ribbit uses [Plaid](https://www.plaid.com/) to validate the bank information so that Alpaca can simply link the bank account to the brokerage account. From the Plaid Link component, Ribbit receives the bank routing number and account number for the user and submits the bank link request using [ACH Relationships](https://docs.alpaca.markets/reference/createachrelationshipforaccount). As a demo app, Ribbit uses the Plaid sandbox which simulates the production environment behavior. When you try the app, use `user_good` and `pass_good` for the credentials with any banks shown in the app. Alpaca’s sandbox where Ribbit simulates the ACH transactions and the virtual money is credited in the user’s account in a moment. Allowing your end users to connect to their personal bank and fund their account on your app can be intimidating if you aren’t familiar with the high level financial requirements and flows. Fortunately, our [Bank](https://docs.alpaca.markets/reference/createrecipientbank), [ACH Relationships](https://docs.alpaca.markets/reference/createachrelationshipforaccount), and [Transfers APIs](https://docs.alpaca.markets/reference/createfundingwalletwithdrawal) make it easy to achieve this! The Bank API lets you create, retrieve, and delete bank relationships between their personal bank and their account on your app. The ACH Relationships API deals with connecting, getting, and deleting your end user’s specific bank account that will be used to initiate and receive ACH transfers from your app. Finally, the Transfers API initiates, lists, and cancels the actual transfer initiated from your app on behalf of your end user. See how this flow is implemented from your user’s perspective below. ![Example of a funding flow using Plaid](https://files.readme.io/a37a6e7-image.png) Example of a funding flow using Plaid ## View and Execute Trades [Skip link to View and Execute Trades](https://docs.alpaca.markets/docs/example-trading-app-ribbit\#view-and-execute-trades) When it comes to managing stock market data, Alpaca provides seamless integration via the [Market Data API](https://docs.alpaca.markets/docs/about-market-data-api#broker-professional). Ribbit uses the historical data endpoint to draw the chart in the individual stock screen, and the real-time data endpoint to show the most up-to-date price information in the order screen. See how Ribbit makes use of the Market Data API below. ![Typical screens for trading and portfolio](https://files.readme.io/acf4740-image.png) Typical screens for trading and portfolio In the order screen, Ribbit uses the Orders API. It allows you to submit a new order, replace/cancel an open order, and retrieve a list of orders from a user’s history. Ribbit connects to Alpaca’s sandbox environment where an order execution simulator engine runs. This simulator will take the order you submitted on the backend and execute it using the real-time market price which makes it easy to test trading functionality before you launch your app to users. Ribbit shows all the account activities using the Activities API which returns the relevant transaction history for a given account. As a trading app, some of the important requirements to deliver to your users are monthly statements and trade confirmations. Ribbit accomplishes this by using the Documents API. The documents are generated in PDF format by Alpaca so all you need to do is call the API to retrieve the list of downloadable URLs and show them in the app. # Architecture [Skip link to Architecture](https://docs.alpaca.markets/docs/example-trading-app-ribbit\#architecture) The end user interacts with Ribbit’s UI to achieve a task while Ribbit’s backend processes the requests by making calls to Broker API. See the diagram below for an example of how the account creation process works. ![](https://files.readme.io/cdbd289-image.png) The backend application serves as a thin layer to proxy the API requests coming from the mobile app but makes sure each request is authorized for the appropriate user. # Technology [Skip link to Technology](https://docs.alpaca.markets/docs/example-trading-app-ribbit\#technology) The user interface is written in Swift for iOS and Java for Android. The backend is implemented using Go. ## Alpaca APIs [Skip link to Alpaca APIs](https://docs.alpaca.markets/docs/example-trading-app-ribbit\#alpaca-apis) All of the technology that is needed for users to interact with Ribbit’s core functionality is acheived through the Broker API. Accessing information related to the market is gathered using the Market Data API. > ## 📘 Where Can I Access the Source Code? > > The codebase is hosted on GitHub and separated into three different repositories for the implementation of the [backend](https://github.com/alpacahq/ribbit-backend), [iOS user interface](https://github.com/alpacahq/ribbit-ios), and [Android user interface](https://github.com/alpacahq/ribbit-android). Updatedover 1 year ago * * * ## Local Currency Trading API responses are all in your local currency, with all calculations handled by Alpaca. Further below, we will examine the some common scenarios with LCT. The recurring theme you will notice is that many of Alpaca’s API commands are almost the same, it is just the response that have changed. In some cases, barring the introduction of a currency specification or a swap rate, the only indication of the trade being in Local Currency is the inclusion of a USD second order JSON. For further questions about LCT, such as supported currencies or any other relevant details, see [LCT FAQs](https://alpaca.markets/support/local-currency-trading-faq). # Supported Features [Skip link to Supported Features](https://docs.alpaca.markets/docs/local-currency-trading-lct\#supported-features) | Features | LCT | Broker API (USD) | | --- | --- | --- | | Allows trading in user's/broker local currency of US equities | ✅ | ⛔️ | | Supports JIT | ✅ | ✅ | | Stop and Limit orders with Extended-Hours | ✅ | ✅ | | Swap rate on the orders endpoint | ✅ | ⛔️ | | Supports crypto trading | ⛔️ | ✅ | | Market Data | ✅ (in local currency) | ⛔️ | | Omnibus | ✅ | ✅ | | Omnibus in subledger | ✅ | ✅ | | Fully-disclosed account type | ✅ | ✅ | | SSE Events | ✅ | ✅ | | Rebalancing | ⛔️ | ✅ | | Margin Trading | ⛔️ | ✅ | # Get Market Data [Skip link to Get Market Data](https://docs.alpaca.markets/docs/local-currency-trading-lct\#get-market-data) With LCT, we have introduced a currency parameter for stock market data. You can request pricing data for any equity and we will handle the necessary conversions to quote the asset in the requested local currency. The example below shows how to get pricing data for AAPL in JPY. The pricing information is converted from USD to the relevant local currency on the fly with the latest FX rate at the point in time of query. cURL ```rdmd-code lang-curl theme-light curl --request GET 'https://data.alpaca.markets/v2/stocks/AAPL/bars?start=2024-08-01T0:00:00Z&end=2024-08-19T11:00:00Z&timeframe=1Min¤cy=JPY' ``` JSON ```rdmd-code lang-json theme-light { "bars": [\ {\ "c": 33481.21,\ "h": 33536.65,\ "l": 33476.71,\ "n": 129,\ "o": 33536.65,\ "t": "2024-08-01T08:00:00Z",\ "v": 2750,\ "vw": 33519.41\ },\ ...\ ], "currency": "JPY", "next_page_token": "QUFQTHxNfDE3MjI1OTg1NjAwMDAwMDAwMDA=", "symbol": "AAPL" } ``` Note currency key value is `JPY`. Request the same endpoint without the `currency` parameter to compare the pricing data against its `USD` equivalent. # Create an LCT Account [Skip link to Create an LCT Account](https://docs.alpaca.markets/docs/local-currency-trading-lct\#create-an-lct-account) For LCT, you can leverage the traditional [Accounts API](https://docs.alpaca.markets/reference/getallaccounts) to create any of the following account types: - Fully Disclosed - Omnibus - Omnibus via the Alpaca Sub Ledger Solution Below we provide an example of creating a account for a fully-disclosed setup with JPY as the local currency. JSON ```rdmd-code lang-json theme-light { "contact": { "email_address": "cool_alpaca_test@example.com", "phone_number": "555-666-7788", "street_address": ["20 N San Mateo Dr"], "city": "San Mateo", "state": "CA", "postal_code": "94401", "country": "USA" }, "identity": { "given_name": "John", "family_name": "Doe", "date_of_birth": "1990-01-01", "tax_id": "666-55-4321", "tax_id_type": "USA_SSN", "country_of_citizenship": "USA", "country_of_birth": "USA", "country_of_tax_residence": "USA", "funding_source": ["employment_income"], "annual_income_min": "30000", "annual_income_max": "50000", "liquid_net_worth_min": "100000", "liquid_net_worth_max": "150000" }, "disclosures": { "is_control_person": false, "is_affiliated_exchange_or_finra": false, "is_politically_exposed": false, "immediate_family_exposed": false }, "agreements": [\ {\ "agreement": "customer_agreement",\ "signed_at": "2020-09-11T18:13:44Z",\ "ip_address": "185.13.21.99",\ "revision": "19.2022.02"\ },\ {\ "agreement": "crypto_agreement",\ "signed_at": "2020-09-11T18:13:44Z",\ "ip_address": "185.13.21.99",\ "revision": "04.2021.10"\ }\ ], "documents": [\ {\ "document_type": "identity_verification",\ "document_sub_type": "passport",\ "content": "/9j/Cg==",\ "mime_type": "image/jpeg"\ }\ ], "trusted_contact": { "given_name": "Jane", "family_name": "Doe", "email_address": "jane.doe@example.com" }, "currency": "JPY" } ``` Note the newly introduced `currency` parameter as part of the payload to create a new code. # Fund LCT Account [Skip link to Fund LCT Account](https://docs.alpaca.markets/docs/local-currency-trading-lct\#fund-lct-account) Accounts can be funded for LCT by either: - Bank Wire - Just in Time Cash - Just In Time The below example funds one of our JPY accounts created above, with JIT API `POST /v1/transfers/jit/transactions` with the following body: JSON ```rdmd-code lang-json theme-light { "account_id": "27529bc0-3ab5-34f5-ac29-54a98162472d", "entry_type": "JTD", "currency": "JPY", "amount": "500000", "description": "Test JIT JPY" } ``` Calling the above mentioned API yields the following response, JSON ```rdmd-code lang-json theme-light { "id": "9a0ab8c2-4575-46b6-a6cc-f280c899b756", "account_id": "27529bc0-3ab5-34f5-ac29-54a98162472d", "created_at": "2022-08-31T16:29:44-04:00", "system_date": "2022-08-31", "entry_type": "JTD", "amount": "500000", "currency": "JPY", "description": "Test JIT JPY" } ``` # Estimate Stock Order [Skip link to Estimate Stock Order](https://docs.alpaca.markets/docs/local-currency-trading-lct\#estimate-stock-order) Customers using LCT for the first time may not be sure how much their local currency can buy of a US stock. To address this pain point we created the [Order Estimation Endpoint](https://docs.alpaca.markets/reference/get-v1-trading-accounts-account_id-orders-estimation). The customer can enter: - the security - the notional value - on the developer side you can input your swap rate to return the realistic value that your customer will receive. We get in return indicative quantity, average price and USD value. JSON ```rdmd-code lang-json theme-light { "symbol": "AAPL", "side": "buy", "type": "market", "time_in_force": "day", "notional": "4000", "swap_fee_bps": 100 } ``` The above payload will get an estimation for a market order to purchase AAPL stock with a notional amount of 4000 JPY. JSON ```rdmd-code lang-json theme-light { "id": "2f88dc2f-b9d8-4d52-aa35-fa8e076be3a3", "client_order_id": "8cfc4159-1e07-438b-bdda-1d37a0176bc7", "created_at": "2024-08-20T09:58:57.119084817Z", "updated_at": "2024-08-20T09:58:57.137113377Z", "submitted_at": "2024-08-20T09:58:57.119084817Z", "filled_at": "2024-08-20T09:58:57.119084817Z", "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": "4000", "qty": null, "filled_qty": "0.1189", "filled_avg_price": "33109.4937825", "order_class": "", "order_type": "market", "type": "market", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": null, "stop_price": null, "status": "filled", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "swap_rate": "146.4795", "swap_fee_bps": "150", "subtag": null, "source": null, "usd": { "notional": "27.3075", "filled_avg_price": "226.035", "limit_price": null, "stop_price": null } } ``` Note the `usd` object at the bottom. # Submit Order [Skip link to Submit Order](https://docs.alpaca.markets/docs/local-currency-trading-lct\#submit-order) Alpaca currently supports LCT trading for market, limit, stop & stop limit orders with a **time in force=Day**, accommodating both fractional quantities and notional values. You can pass either a fractional amount (qty), or a notional value (notional) in your local currency in any POST/v2/orders request. Note that entering a value for either parameters, will automatically nullify the other. If both qty and notional are entered the request will be rejected with an error status 400. Moreover, we support fractional shares trading not only during standard market hours, but extending into pre-market (4:00 a.m. - 9:30 a.m. ET) and post-market (4:00 p.m. - 8:00 p.m. ET) hours, offering global investors the ability to trade during the full extended hours session. ## Submit a Stock Market Order [Skip link to Submit a Stock Market Order](https://docs.alpaca.markets/docs/local-currency-trading-lct\#submit-a-stock-market-order) Once having estimated a given order, we can actually commit to and execute the order using the usual [Orders API](https://docs.alpaca.markets/reference/createorderforaccount). We note here a few key LCT specific order attributes: - `swap_fee_bps` \- this is the correspondent spread. You as the correspondent can increase or decrease this as you require. **Note: Alpaca will have a separate spread** - Quantity-based orders will also be accepted NotionalQuantity ```rdmd-code lang-json theme-light { "side": "buy", "type": "market", "time_in_force": "day", "commission_type": "notional", "symbol": "AAPL", "notional": "4000", "swap_fee_bps": "100" } ``` ```rdmd-code lang-json theme-light { "side": "buy", "type": "market", "time_in_force": "day", "commission_type": "notional", "symbol": "AAPL", "qty": "1", "swap_fee_bps": "100" } ``` The responses for the purchase of `AAPL` worth 4000 JPY can be seen below, NotionalQuantity ```rdmd-code lang-json theme-light { "id": "c02b6a70-4fa1-4906-a6b8-1a6c6acc66c5", "client_order_id": "c0f1f5b0-9234-4356-89cf-181c9efb54ef", "created_at": "2024-08-19T10:25:55.259941759Z", "updated_at": "2024-08-19T10:25:55.261581339Z", "submitted_at": "2024-08-19T10:25:55.259941759Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": "4000", "qty": null, "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "market", "type": "market", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": null, "stop_price": null, "status": "accepted", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "146.4085", "swap_fee_bps": "150", "subtag": null, "source": null, "usd": { "notional": "27.3208", "filled_avg_price": null, "limit_price": null, "stop_price": null } } ``` ```rdmd-code lang-json theme-light { "id": "eafe73ef-107f-40fc-9fed-75bc1b3f145f", "client_order_id": "7f31aa39-fabd-4d35-a1dd-a0db3fd2ca0b", "created_at": "2024-08-19T10:27:50.850340619Z", "updated_at": "2024-08-19T10:27:50.851623759Z", "submitted_at": "2024-08-19T10:27:50.850340619Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": null, "qty": "1", "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "market", "type": "market", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": null, "stop_price": null, "status": "accepted", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "146.4515", "swap_fee_bps": "150", "subtag": null, "source": null, "usd": { "notional": null, "filled_avg_price": null, "limit_price": null, "stop_price": null } } ``` ## Submit a Stock Limit Order [Skip link to Submit a Stock Limit Order](https://docs.alpaca.markets/docs/local-currency-trading-lct\#submit-a-stock-limit-order) We note here a few key LCT specific order attributes: - `limit_price` field in the request payload is in USD currency while in the response payload it is in local currency. - `swap_fee_bps` \- this is the correspondent spread. You as the correspondent can increase or decrease this as you require. **Note: Alpaca will have a separate spread** - Quantity-based orders will also be accepted - Extended-Hours orders will also be accepted NotionalQuantityNotional Extended-HoursQuantity Extended-Hours ```rdmd-code lang-json theme-light { "side": "buy", "type": "limit", "time_in_force": "day", "commission_type": "notional", "notional": "4000", "symbol": "AAPL", "limit_price": "226", "swap_fee_bps": "100" } ``` ```rdmd-code lang-json theme-light { "side": "buy", "type": "limit", "time_in_force": "day", "commission_type": "notional", "symbol": "AAPL", "limit_price": "226", "swap_fee_bps": "100", "qty": "1" } ``` ```rdmd-code lang-json theme-light { "side": "buy", "type": "limit", "time_in_force": "day", "commission_type": "notional", "notional": "4000", "symbol": "AAPL", "limit_price": "226", "swap_fee_bps": "100", "extended_hours": true } ``` ```rdmd-code lang-json theme-light { "side": "buy", "type": "limit", "time_in_force": "day", "commission_type": "notional", "symbol": "AAPL", "limit_price": "226", "swap_fee_bps": "100", "qty": "1", "extended_hours": true } ``` The responses for the purchase of `AAPL` worth 4000 JPY can be seen below, NotionalQuantityNotional Extended-HoursQuantity Extended-Hours ```rdmd-code lang-json theme-light { "id": "49a5badc-a480-4d56-a765-71808c970885", "client_order_id": "78f3d279-c8bd-41ea-9e6e-3b76846f8b22", "created_at": "2024-08-19T10:52:35.927390475Z", "updated_at": "2024-08-19T10:52:35.928676035Z", "submitted_at": "2024-08-19T10:52:35.927390475Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": "4000", "qty": null, "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "limit", "type": "limit", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": "33387", "stop_price": null, "status": "accepted", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "147.72765", "swap_fee_bps": "150", "subtag": null, "source": null, "usd": { "notional": "27.0768", "filled_avg_price": null, "limit_price": "226", "stop_price": null } } ``` ```rdmd-code lang-json theme-light { "id": "f86b3bee-8f40-4951-8805-e489b42bbdff", "client_order_id": "2db8a272-4948-4416-afb7-d8af74621d51", "created_at": "2024-08-19T10:54:35.993838801Z", "updated_at": "2024-08-19T10:54:35.995571381Z", "submitted_at": "2024-08-19T10:54:35.993838801Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": null, "qty": "1", "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "limit", "type": "limit", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": "33389", "stop_price": null, "status": "accepted", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "147.738255", "swap_fee_bps": "150", "subtag": null, "source": null, "usd": { "notional": null, "filled_avg_price": null, "limit_price": "226", "stop_price": null } } ``` ```rdmd-code lang-json theme-light { "id": "9562cde5-cb43-49fe-a85e-c8342df2b55e", "client_order_id": "1d5dc589-9566-4f17-b6d9-d0b028bfe16a", "created_at": "2024-08-19T10:56:03.761481808Z", "updated_at": "2024-08-19T10:56:03.763734497Z", "submitted_at": "2024-08-19T10:56:03.761481808Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": "4000", "qty": null, "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "limit", "type": "limit", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": "33404", "stop_price": null, "status": "pending_new", "extended_hours": true, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "147.804915", "swap_fee_bps": "150", "subtag": null, "source": null, "usd": { "notional": "27.0626", "filled_avg_price": null, "limit_price": "226", "stop_price": null } } ``` ```rdmd-code lang-json theme-light { "id": "89986aad-d019-468f-bbc6-c83abd391f4b", "client_order_id": "af5236c7-5b3e-44c7-8ef5-2be2a6f921f8", "created_at": "2024-08-19T10:57:33.6435754Z", "updated_at": "2024-08-19T10:57:33.64546282Z", "submitted_at": "2024-08-19T10:57:33.6435754Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": null, "qty": "1", "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "limit", "type": "limit", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": "33407", "stop_price": null, "status": "pending_new", "extended_hours": true, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "147.81653", "swap_fee_bps": "150", "subtag": null, "source": null, "usd": { "notional": null, "filled_avg_price": null, "limit_price": "226", "stop_price": null } } ``` ## Submit a Stock Stop Order [Skip link to Submit a Stock Stop Order](https://docs.alpaca.markets/docs/local-currency-trading-lct\#submit-a-stock-stop-order) We note here a few key LCT specific order attributes: - `stop_price` field in the request payload is in USD currency while in the response payload it is in local currency. - Stop buy orders are automatically converted into Stop Limit Buy orders for risk protection [Stop Orders Conversion](https://docs.alpaca.markets/docs/orders-at-alpaca#stop-orders). - `swap_fee_bps` \- this is the correspondent spread. You as the correspondent can increase or decrease this as you require. **Note: Alpaca will have a separate spread** - Quantity-based orders will also be accepted NotionalQuantity ```rdmd-code lang-json theme-light { "side": "buy", "type": "stop", "time_in_force": "day", "commission_type": "notional", "notional": "4000", "symbol": "AAPL", "stop_price": "230" } ``` ```rdmd-code lang-json theme-light { "side": "buy", "type": "stop", "time_in_force": "day", "commission_type": "notional", "symbol": "AAPL", "stop_price": "230", "qty": "1" } ``` The responses for the purchase of `AAPL` worth 4000 JPY can be seen below, NotionalQuantity ```rdmd-code lang-json theme-light { "id": "274361ce-7c05-4ad0-83ed-517603685f17", "client_order_id": "eb829da0-7c58-4efd-be76-a5707c3548dd", "created_at": "2024-08-19T11:01:47.400438062Z", "updated_at": "2024-08-19T11:01:47.402600012Z", "submitted_at": "2024-08-19T11:01:47.400438062Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": "4000", "qty": null, "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "stop", "type": "stop", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": null, "stop_price": "34001", "status": "new", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "147.82663", "swap_fee_bps": "100", "subtag": null, "source": null, "usd": { "notional": "27.0587", "filled_avg_price": null, "limit_price": "235.75", "stop_price": "230" } } ``` ```rdmd-code lang-json theme-light { "id": "fb9546aa-9e27-4bfb-b758-5fa23571da56", "client_order_id": "6da8e54a-568b-4252-bef0-d06c3aabac4e", "created_at": "2024-08-19T11:05:43.513481595Z", "updated_at": "2024-08-19T11:05:43.515201354Z", "submitted_at": "2024-08-19T11:05:43.513481595Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": null, "qty": "1", "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "stop", "type": "stop", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": null, "stop_price": "33983", "status": "accepted", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "147.749365", "swap_fee_bps": "100", "subtag": null, "source": null, "usd": { "notional": null, "filled_avg_price": null, "limit_price": "235.75", "stop_price": "230" } } ``` ## Submit a Stock Stop Limit Order [Skip link to Submit a Stock Stop Limit Order](https://docs.alpaca.markets/docs/local-currency-trading-lct\#submit-a-stock-stop-limit-order) We note here a few key LCT specific order attributes: - `stop_price` field in the request payload is in USD currency while in the response payload it is in local currency. - `limit_price` field in the request payload is in USD currency while in the response payload it is in local currency. - `swap_fee_bps` \- this is the correspondent spread. You as the correspondent can increase or decrease this as you require. **Note: Alpaca will have a separate spread** - Quantity-based orders will also be accepted NotionalQuantity ```rdmd-code lang-json theme-light { "side": "buy", "type": "stop_limit", "time_in_force": "day", "commission_type": "notional", "notional": "4000", "symbol": "AAPL", "stop_price": "230", "limit_price": "235" } ``` ```rdmd-code lang-json theme-light { "side": "buy", "type": "stop_limit", "time_in_force": "day", "commission_type": "notional", "symbol": "AAPL", "stop_price": "230", "qty": "1", "limit_price": "235" } ``` The responses for the purchase of `AAPL` worth 4000 JPY can be seen below, NotionalQuantity ```rdmd-code lang-json theme-light { "id": "1a643eba-f503-4add-ac55-c605680e17a7", "client_order_id": "ad4edbad-14dc-4323-ac71-03114945adfd", "created_at": "2024-08-19T11:36:10.751938789Z", "updated_at": "2024-08-19T11:36:10.763268199Z", "submitted_at": "2024-08-19T11:36:10.751938789Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": "4000", "qty": null, "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "stop_limit", "type": "stop_limit", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": "34704", "stop_price": "33966", "status": "new", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "147.675635", "swap_fee_bps": "100", "subtag": null, "source": null, "usd": { "notional": "27.0863", "filled_avg_price": null, "limit_price": "235", "stop_price": "230" } } ``` ```rdmd-code lang-json theme-light { "id": "b964b06e-fd4f-4650-9658-e4997a8972d0", "client_order_id": "6d94f717-ea4d-4dc3-bdba-b9aee88b1639", "created_at": "2024-08-19T11:37:05.102784954Z", "updated_at": "2024-08-19T11:37:05.105484514Z", "submitted_at": "2024-08-19T11:37:05.102784954Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": null, "qty": "1", "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "stop_limit", "type": "stop_limit", "side": "buy", "position_intent": "buy_to_open", "time_in_force": "day", "limit_price": "34700", "stop_price": "33961", "status": "accepted", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0", "commission_type": "notional", "swap_rate": "147.655435", "swap_fee_bps": "100", "subtag": null, "source": null, "usd": { "notional": null, "filled_avg_price": null, "limit_price": "235", "stop_price": "230" } } ``` # Get Account Position [Skip link to Get Account Position](https://docs.alpaca.markets/docs/local-currency-trading-lct\#get-account-position) The below position is the `AAPL` stock purchased previously with 4000 JPY. JSON ```rdmd-code lang-json theme-light [\ {\ "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415",\ "symbol": "AAPL",\ "exchange": "NASDAQ",\ "asset_class": "us_equity",\ "asset_marginable": true,\ "qty": "0.1199",\ "avg_entry_price": "33001.59760325",\ "side": "long",\ "market_value": "3957.039656317",\ "cost_basis": "3956.89155263",\ "unrealized_pl": "0.148103687",\ "unrealized_plpc": "0.0000374293015187",\ "unrealized_intraday_pl": "0.148103687325",\ "unrealized_intraday_plpc": "0.0000374293016008",\ "current_price": "33002.83283",\ "lastday_price": "33043.76295",\ "change_today": "-0.0012386640123866",\ "swap_rate": "146.179",\ "avg_entry_swap_rate": "146.1745",\ "usd": {\ "avg_entry_price": "225.7685",\ "market_value": "27.069823",\ "cost_basis": "27.0696431500022234",\ "unrealized_pl": "0.0010131666450037",\ "unrealized_plpc": "0.0000374293015187",\ "unrealized_intraday_pl": "0.001013166647227",\ "unrealized_intraday_plpc": "0.0000374293016008",\ "current_price": "225.77",\ "lastday_price": "226.05",\ "change_today": "-0.0000084736112053"\ },\ "qty_available": "0.1199"\ }\ ] ``` # Journaling Local Currency [Skip link to Journaling Local Currency](https://docs.alpaca.markets/docs/local-currency-trading-lct\#journaling-local-currency) Journalling in LCT is almost exactly the same as our regular Journals API. In this example we will journal some JPY between two accounts. JSON ```rdmd-code lang-json theme-light { "from_account": "51461a2a-8f98-3aa5-ae51-fad8d03037b3", "entry_type": "JNLC", "to_account": "27529bc0-3ab5-34f5-ac29-54a98162472d", "amount": "3000", "currency": "JPY", "description": "Test JPY Journal" } ``` and the response JSON ```rdmd-code lang-json theme-light { "id": "1717b9c7-f516-4e85-a21b-bbeb7ef7a87a", "entry_type": "JNLC", "from_account": "51461a2a-8f98-3aa5-ae51-fad8d03037b3", "to_account": "27529bc0-3ab5-34f5-ac29-54a98162472d", "symbol": "", "qty": null, "price": "0", "status": "queued", "settle_date": null, "system_date": null, "net_amount": "4000", "description": "Test JPY Journal", "currency": "JPY" } ``` Updated9 months ago * * * Did this page help you? Yes No ## Streaming Market News This API provides stock market news on a websocket stream. You can find the general description of the real-time WebSocket Stream [here](https://docs.alpaca.markets/docs/streaming-market-data). This page focuses on the news stream. # URL [Skip link to URL](https://docs.alpaca.markets/docs/streaming-real-time-news\#url) The URL for the news stream is ```rdmd-code lang- theme-light wss://stream.data.alpaca.markets/v1beta1/news ``` Sandbox URL: ```rdmd-code lang- theme-light wss://stream.data.sandbox.alpaca.markets/v1beta1/news ``` # Channels [Skip link to Channels](https://docs.alpaca.markets/docs/streaming-real-time-news\#channels) ## News [Skip link to News](https://docs.alpaca.markets/docs/streaming-real-time-news\#news) ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/streaming-real-time-news\#schema) | Attribute | Type | Notes | | --- | --- | --- | | T | string | Type of message (“n” for news) | | id | int | News article ID | | headline | string | Headline or title of the article | | summary | string | Summary text for article (may be first sentence of content) | | author | string | Original author of news article | | created\_at | string | Date article was created in [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) format | | updated\_at | string | Date article was updated in [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) format | | content | string | Content of news article (might contain HTML) | | url | string | URL of article (if applicable) | | symbols | array | List of related or mentioned symbols | | source | string | Source where the news originated from (e.g. Benzinga) | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/streaming-real-time-news\#example) JSON ```rdmd-code lang-json theme-light { "T": "n", "id": 24918784, "headline": "Corsair Reports Purchase Of Majority Ownership In iDisplay, No Terms Disclosed", "summary": "Corsair Gaming, Inc. (NASDAQ:CRSR) (“Corsair”), a leading global provider and innovator of high-performance gear for gamers and content creators, today announced that it acquired a 51% stake in iDisplay", "author": "Benzinga Newsdesk", "created_at": "2022-01-05T22:00:37Z", "updated_at": "2022-01-05T22:00:38Z", "url": "https://www.benzinga.com/m-a/22/01/24918784/corsair-reports-purchase-of-majority-ownership-in-idisplay-no-terms-disclosed", "content": "\u003cp\u003eCorsair Gaming, Inc. (NASDAQ:\u003ca class=\"ticker\" href=\"https://www.benzinga.com/stock/CRSR#NASDAQ\"\u003eCRSR\u003c/a\u003e) (\u0026ldquo;Corsair\u0026rdquo;), a leading global ...", "symbols": ["CRSR"], "source": "benzinga" } ``` # Example [Skip link to Example](https://docs.alpaca.markets/docs/streaming-real-time-news\#example-1) JSON ```rdmd-code lang-json theme-light $ websocat -H="APCA-API-KEY-ID: ${APCA_API_KEY_ID}" -H="APCA-API-SECRET-KEY: ${APCA_API_SECRET_KEY}" \ "${APCA_API_STREAM_URL}/v1beta1/news" [{"T":"success","msg":"connected"}] [{"T":"success","msg":"authenticated"}] {"action":"subscribe","news":["*"]} [{"T":"subscription","news":["*"]}] [{"T":"n","id":40892639,"headline":"VinFast Officially Launches VF 3 Electric Vehicle In The Philippines","summary":"VinFast Auto has officially opened pre-orders for the VF 3 in the Philippines. From September 19 to 30, early customers who reserve the VF 3 will enjoy several attractive incentives and privileges, including a","author":"Benzinga Newsdesk","created_at":"2024-09-17T09:02:44Z","updated_at":"2024-09-17T09:02:45Z","url":"https://www.benzinga.com/news/24/09/40892639/vinfast-officially-launches-vf-3-electric-vehicle-in-the-philippines","content":"\u003cp\u003eVinFast Auto has officially opened pre-orders for the VF 3 in the Philippines.\u003c/p\u003e\u003cp\u003e\u0026nbsp;\u003c/p\u003e\u003cp\u003eFrom September 19 to 30, early customers who reserve the VF 3 will enjoy several attractive incentives and privileges, including a special price of 605,000 pesos (battery subscription) or 705,000 pesos (battery included). After this period, the prices will revert to the MSRP of 645,000 pesos (battery subscription) and 745,000 pesos (battery included).\u003cbr\u003e\u003cbr\u003eAdditionally, early VF 3 customers will have the privilege of choosing from nine striking exterior paint colors, including four base colors and five premium options, free of charge. Premium paint colors will cost an additional 20,000 pesos after this period.\u003cbr\u003e\u003cbr\u003eMoreover, from September 19 to 30, for only 40,000 pesos, early customers can customize their car's paint beyond the nine available colors. This will be the only time VinFast offers this exclusive privilege for the VF 3.\u003cbr\u003e\u003cbr\u003eVinFast is accepting deposits of 5,000 pesos through its official website or at authorized dealerships (refundable under VinFast's terms).\u003cbr\u003e\u0026nbsp;\u003c/p\u003e","symbols":["VFS"],"source":"benzinga"}] ``` Updated8 months ago * * * ## Margin Trading Overview > In order to trade on margin or sell short, you must have $2,000 or more account equity. Accounts with less than $2,000 will not have access to these features and will be restricted to 1x buying power. > > This is only for Equities Trading. Margin Trading for Crypto is not applicable. In addition, PDT checks do not count towards crypto orders or fills # How Margin Works [Skip link to How Margin Works](https://docs.alpaca.markets/docs/margin-and-short-selling\#how-margin-works) Trading on margin allows you to trade and hold securities with a value that exceeds your account equity. This is made possible by funds loaned to you by your broker, who uses your account’s cash and securities as collateral. For example, a Reg T Margin Account holding $10,000 cash may purchase and hold up to $20,000 in marginable securities overnight (Note: some securities may have a higher maintenance margin requirement making the full 2x overnight buying power effectively unavailable). In addition to the 2x buying power afforded to margin accounts, a Reg T Margin Account flagged as a Pattern Day Trader(PDT) with $25,000 or greater equity will further be allowed to use up to 4x intraday buying power. As an example, a PDT account holding $50,000 cash may purchase and hold up to $200,000 in securities intraday; however, to avoid receiving a margin call the next morning, the securities held would need to be reduced to $100,000 or less depending on the maintenance margin requirement by the end of the day. ## Initial Margin [Skip link to Initial Margin](https://docs.alpaca.markets/docs/margin-and-short-selling\#initial-margin) Initial margin denotes the percentage of the trade price of a security or basket of securities that an account holder must pay for with available cash in the margin account, additions to cash in the margin account or other marginable securities. Alpaca applies a minimum initial margin requirement of 50% for marginable securities and 100% for non-marginable securities per Regulation T of the Federal Reserve Board. ## Maintenance Margin [Skip link to Maintenance Margin](https://docs.alpaca.markets/docs/margin-and-short-selling\#maintenance-margin) Maintenance margin is the amount of cash or marginable securities required to continue holding an open position. FINRA has set the minimum maintenance requirement to at least 25% of the total market value of the securities, but brokers are free to set higher requirements as part of their risk management. Alpaca uses the following table to calculate the overnight maintenance margin applied to each security held in an account: | Position Side | Condition | Margin Requirement | | --- | --- | --- | | LONG | share price < $2.50 | 100% of EOD market value | | LONG | share price >= $2.50 | 30% of EOD market value | | LONG | 2x Leveraged ETF | 50% of EOD market value | | LONG | 3x Leveraged ETF | 75% of EOD market value | | SHORT | share price < $5.00 | Greater of $2.50/share or 100% | | SHORT | share price >= $5.00 | Greater of $5.00/share or 30% | ## Margin Calls [Skip link to Margin Calls](https://docs.alpaca.markets/docs/margin-and-short-selling\#margin-calls) If your account does not satisfy its initial and maintenance margin requirements at the end of the day, you will receive a margin call the following morning. We will contact you and advise you of the call amount that you will need to satisfy either by depositing new funds or liquidating some or all of your positions to reduce your margin requirement sufficiently. We may contact you prior to the end of the day and ask you to liquidate your positions immediately in the event that your account equity is materially below your maintenance requirement. Furthermore, although we will make every effort to contact you so that you can determine how to best resolve your margin call, we reserve the right to liquidate your holdings in the event we cannot get ahold of you and your account equity is in danger of turning negative. Calculating and tracking your margin requirement at all times is helpful to avoid receiving a margin call. We strongly recommend doing so if you plan to aggressively use overnight leverage. Please use a 50% initial requirement and refer to the maintenance margin table above. In the future, we will provide real-time estimated initial and maintenance margin values as part of the Account API to help users better manage their risk. # Margin Interest Rate [Skip link to Margin Interest Rate](https://docs.alpaca.markets/docs/margin-and-short-selling\#margin-interest-rate) We are pleased to offer a competitive and low annual margin interest rate of 7.0% (check “Alpaca Securities Brokerage Fee Schedule” on **Important Disclosures** for the most up to dated rate). The rate is charged only on your account’s end of day (overnight) debit balance using the following calculation: `daily_margin_interest_charge = (settlement_date_debit_balance * 0.070) / 360` Interest will accrue daily and post to your account at the end of each month. Note that if you have a settlement date debit balance as of the end of day Friday, you will incur interest charges for 3 days (Fri, Sat, Sun). As an example, if you deposited $10,000 into your account and bought $15,000 worth of securities that you held at the end of the day, you would be borrowing $5,000 overnight and would incur a daily interest expense of ($5000 \* 0.070) / 360 = $0.97. On the other hand, if you deposited $10,000 and bought $15,000 worth of stock that you liquidated the same day, you would not incur any interest expense. In other words, this allows you to make use of the additional buying power for intraday trading without any cost. # Stock Borrow Rates [Skip link to Stock Borrow Rates](https://docs.alpaca.markets/docs/margin-and-short-selling\#stock-borrow-rates) Alpaca currently only supports opening short positions in easy to borrow (“ETB”) securities. Any open short order in a stock that changes from ETB to HTB overnight will be automatically cancelled prior to market open. Alpaca passes through all borrow costs incurred when a customer shorts a stock. Borrow fees accrue daily and are billed at the end of each month. Borrow fees can vary significantly depending upon demand to short. Generally, ETBs cost between 30 and 300bps annually. Please note that stock borrow availability changes daily, and we update our assets table each morning, so please use our API to check each stock’s borrow status daily. It is infrequent but names can go from ETB → HTB and vice versa. While we do not currently support opening short positions in hard to borrow (“HTB”) securities, we will not force you to close out a position in a stock that has gone from ETB to HTB unless the lender has called the stock. If a stock you hold short has gone from ETB to HTB, you will incur a higher daily stock borrow fee for that stock. We do not currently provide HTB rates via our API, so please contact us in these cases. Daily stock borrow fees are the fees incurred for all ETB shorts held in your account as of end of day plus any HTB shorts held at any point during the day, calculated as: `Daily stock borrow fee = Daily ETB stock borrow fee + Daily HTB stock borrow fee` Where, `Daily ETB stock borrow fee = (settlement date end of day total ETB short $ market value * that stock’s ETB rate) / 360` And, `Daily HTB stock borrow fee = Σ((each stock’s HTB short $ market value * that stock’s HTB rate) / 360)` Please note that if you hold short positions as of a Friday settlement date, you will incur stock borrow fees for 3 days (Friday, Saturday and Sunday). Stock borrow fees are charged in the nearest round lot (100 shares) regardless of how many shares were actually shorted. This is because stocks are borrowed in round lots. Updated28 days ago * * * ## Market Data API # Overview [Skip link to Overview](https://docs.alpaca.markets/docs/about-market-data-api\#overview) The Market Data API offers seamless access to market data through both HTTP and WebSocket protocols. With a focus on historical and real-time data, developers can efficiently integrate these APIs into their applications. To simplify the integration process, we provide user-friendly SDKs in [Python](https://github.com/alpacahq/alpaca-py), [Go](https://github.com/alpacahq/alpaca-trade-api-go), [NodeJS](https://github.com/alpacahq/alpaca-trade-api-js), and [C#](https://github.com/alpacahq/alpaca-trade-api-csharp). These SDKs offer comprehensive functionalities, making it easier for developers to work with the Market Data APIs & Web Sockets. To experiment with the APIs, developers can try them with [Postman](https://www.postman.com/): either through the [public workspace on Postman](https://www.postman.com/alpacamarkets) or directly from our [GitHub repository](https://github.com/alpacahq/alpaca-postman). By leveraging Alpaca Market Data API and its associated SDKs, developers can seamlessly incorporate historical and real-time market data into their applications, enabling them to build powerful and data-driven financial products. # Subscription Plans [Skip link to Subscription Plans](https://docs.alpaca.markets/docs/about-market-data-api\#subscription-plans) For regular users we offer two subscription plans: **Basic** and **Algo Trader Plus**. The **Basic** plan serves as the default option for both Paper and Live trading accounts, ensuring all users can access essential data with zero cost. However, this plan only includes limited real-time data: for equities only the IEX exchange, for options only the indicative feed. For advanced traders we recommend subscribing to **Algo Trader Plus** which includes complete market coverage for stocks and options as well. ### Equities [Skip link to Equities](https://docs.alpaca.markets/docs/about-market-data-api\#equities) | | Basic | Algo Trader Plus | | --- | --- | --- | | Pricing | Free | $99 / month | | Securities coverage | US Stocks & ETFs | US Stocks & ETFs | | Real-time market coverage | IEX | All US Stock Exchanges | | Websocket subscriptions | 30 symbols | Unlimited | | Historical data timeframe | Since 2016 | Since 2016 | | Historical data limitation\* | latest 15 minutes | no restriction | | Historical API calls | 200 / min | 10,000 / min | Our data sources are directly fed by the CTA (Consolidated Tape Association), which is administered by NYSE (New York Stock Exchange), and the UTP (Unlisted Trading Privileges) stream, which is administered by Nasdaq. The synergy of these two sources ensures comprehensive market coverage, encompassing 100% of market volume. ### Options [Skip link to Options](https://docs.alpaca.markets/docs/about-market-data-api\#options) | | Basic | Algo Trader Plus | | --- | --- | --- | | Securities coverage | US Options Securities | US Options Securities | | Real-time market coverage | Indicative Pricing Feed | OPRA Feed | | Websocket subscriptions | 200 quotes | 1000 quotes | | Historical data limitation\* | latest 15 minutes | no restriction | | Historical API calls | 200 / min | 10,000 / min | Our options data sources are directly fed by OPRA (Options Price Reporting Authority). ### Broker partners [Skip link to Broker partners](https://docs.alpaca.markets/docs/about-market-data-api\#broker-partners) For equities, the below subscription plans are available. | Subscription Name | RPM (Request Per Minute) | Stream Connection Limit | Stream Symbol Limit | Price (per month) | Options Indicative Feed | | --- | --- | --- | --- | --- | --- | | Standard | 1,000 | 5 | unlimited | included | additional $1,000 per month | | StandardPlus3000 | 3,000 | 5 | unlimited | $500 | additional $1,000 per month | | StandardPlus5000 | 5,000 | 5 | unlimited | $1,000 | included | | StandardPlus10000 | 10,000 | 10 | unlimited | $2,000 | included | \*Note: Standard subscription plans will only be active when integration starts. Prior to that, the account will be on the Basic plan listed above. Additionally, similar to the free plan all the standard plans are real time IEX or 15 mins delayed SIP. For partners on the Standard and StandardPlus3000 plans, an additional subscription fee of $1,000 / month enables access to the same equities plan for options. For StandardPlus5000 and StandardPlus10000 plans, options are included. We offer custom pricing and tailored solutions for Broker API partners seeking to leverage our comprehensive market data. Our goal is to meet the specific needs and requirements of our valued partners, ensuring they have access to the data and tools necessary to enhance their services and provide exceptional value to their customers. If none of the subscription plans listed above are believed to be suitable, kindly reach out to our [sales team](https://alpaca.markets/contact). # Authentication [Skip link to Authentication](https://docs.alpaca.markets/docs/about-market-data-api\#authentication) With the exception of historical crypto data, all market data endpoints require authentication. Authentication differs between the Trading & Broker API. API keys can be acquired in the web UI (under the API keys on the right sidebar). ### Trading API [Skip link to Trading API](https://docs.alpaca.markets/docs/about-market-data-api\#trading-api) You should authenticate by passing the key / secret pair in the HTTP request headers named `APCA-API-KEY-ID` and `APCA-API-SECRET-KEY`, respectively. ### Broker API [Skip link to Broker API](https://docs.alpaca.markets/docs/about-market-data-api\#broker-api) You should authenticate using HTTP Basic authentication. Use your correspondent API\_KEY and API\_SECRET as the username and password. The format is `key:secret`. Encode the string with base-64 encoding, and you can pass it as an authentication header in the `Authorization` header. **Note:** For the WebSocket stream authentication, kindly refer to the WebSocket Stream [documentation](https://docs.alpaca.markets/docs/streaming-market-data#authentication). Updated9 months ago * * * ## Alpaca Integration Setup ![](https://files.readme.io/6194f5d-image.png) The sandbox behaves the same way as the live environment for the most parts with a few mocked. With this environment, you should be able to build a complete demo app that you can show to your friends, investors and other community members. Going live from here would be a matter of testing and updating the API calls for the mocked endpoints. To go live, we will onboard you for the business integration. For more details of this step, please refer to [Going Live](https://docs.alpaca.markets/docs/integration-setup-with-alpaca#going-live). Once you go live, you can keep using the same dashboard to view customer activity and resolve issues for them for both Sandbox and Live. You will also get support for the broker operations and technology support based on the agreement. # Dashboard [Skip link to Dashboard](https://docs.alpaca.markets/docs/integration-setup-with-alpaca\#dashboard) Broker API users have access to a dashboard where you can view accounts and activities of your end users. You can sign up for an account with your email for free and get started with the sandbox API key. You can invite team members to your account and view the same data as you make changes using API. You can switch the sandbox and live environment through this same dashboard. With all activity data, you can use this as your operation dashboard when going live as well. You can assign different roles to each team member you invite. ![](https://files.readme.io/d4a3916-image.png) # Sandbox [Skip link to Sandbox](https://docs.alpaca.markets/docs/integration-setup-with-alpaca\#sandbox) You have full access to the sandbox while developing your integration for free of charge. The sandbox is built with the same code as live with a few different behaviors. ## Account Approval [Skip link to Account Approval](https://docs.alpaca.markets/docs/integration-setup-with-alpaca\#account-approval) The account approval process slightly differs depending on your use case and you may need to test different scenarios in the sandbox first. The sandbox is fully automated with the account approval simulation with test fixtures, while the live environment may involve manual review and approval steps in some cases. ## Trading [Skip link to Trading](https://docs.alpaca.markets/docs/integration-setup-with-alpaca\#trading) All trades that happen in the sandbox environment are simulated. The simulator engine is the same as our paper trading engine. All assumptions and mock logic follow the paper trading behavior. Please refer to the [Trading API documentation](https://docs.alpaca.markets/docs/trading-api). ## Funding [Skip link to Funding](https://docs.alpaca.markets/docs/integration-setup-with-alpaca\#funding) The funding integration can vary depending on your country as well as the use case. In the sandbox environment, it is simplified with Transfer API. In order to simulate the deposit (credit) or withdrawal (debit) on the user account, simply call the POST method of Transfer API and it will become effective immediately. In the live environment, you may need to use Banks API as well as ACH endpoints if you are using ACH transfer within the USA. More details are described here. ## Journal Approval [Skip link to Journal Approval](https://docs.alpaca.markets/docs/integration-setup-with-alpaca\#journal-approval) When you make a Journal API request, if the amount exceeds the pre-configured limit amount, it goes into a pending status. In the live environment, Alpaca’s operation team is notified and manually reviews your request. In the sandbox environment, this process is simulated. # Firm Accounts [Skip link to Firm Accounts](https://docs.alpaca.markets/docs/integration-setup-with-alpaca\#firm-accounts) A firm account is an account owned by your business for the purpose of operations. We could support a variety of accounts based on your needs. Here are some basic ones. - Deposit Account: This is a deposit clearing account required for all clients going live. The exact amount required is based on the number of accounts and the number of trades. This account balance moves rarely. - Sweep Account: This is the main firm account you will be using to journal funds between your firm and your users. It can be used to simulate instant funding, to provide intraday credit and many other flexible funding strategies. - Rewards Account: This account can be used to trigger rewards you want to set up on your app to fuel growth such as sign up rewards, referrals rewards and achievement based rewards. This account supports both cash and stock rewards. You can view your Firm Account balance from the Broker Dashboard along with all activities associated with the account. # Going Live [Skip link to Going Live](https://docs.alpaca.markets/docs/integration-setup-with-alpaca\#going-live) Once you complete the sandbox integration, the next step is to go live. Please have another read about the differences between sandbox and live in the above section, and prepare for the go-live items. Generally speaking, we would need the following from you to open the live system for you. - Your business entity documents, such as certificates of incorporation and tax ID - Screenshots/video of your application interfaces - KYC process document if you are fully-disclosed - Expectation for the funding process if you already have something in mind And with all this information provided, we will have a business agreement between you and Alpaca. We recommend allowing for enough time for the administrative tasks listed above, as we wouldn’t want to delay your production launch unnecessarily. When launching into production, we recommend to start from alpha/beta launch with a limited access, to ensure the operation works well, both on your side and Alpaca’s side. Once the process is understood, you can go ahead with a full public launch. We are happy to consider participating in your PR / marketing launch! Updatedover 1 year ago * * * ## Real-Time Option Data This API provides option market data on a websocket stream. This helps receive the most up to date market information that could help your trading strategy to act upon certain market movements. If you wish to access the latest pricing data, using the stream provides much better accuracy and performance than polling the latest historical endpoints. You can find the general description of the real-time WebSocket Stream [here](https://docs.alpaca.markets/docs/streaming-market-data). This page focuses on the option stream. # URL [Skip link to URL](https://docs.alpaca.markets/docs/real-time-option-data\#url) The URL for the option stream is ```rdmd-code lang- theme-light wss://stream.data.alpaca.markets/v1beta1/{feed} ``` Sandbox URL: ```rdmd-code lang- theme-light wss://stream.data.sandbox.alpaca.markets/v1beta1/{feed} ``` Substitute `indicative` or `opra` for `{feed}` depending on your subscription. The capabilities and differences for the `indicative` and `opra` subscriptions can be found \[ [here](https://docs.alpaca.markets/docs/about-market-data-api#options)\]. Any attempt to access a data feed not available for your subscription will result in an error during authentication. # Message format [Skip link to Message format](https://docs.alpaca.markets/docs/real-time-option-data\#message-format) > ## 🚧 Msgpack > > Unlike the stock and crypto stream, the option stream is only available in [msgpack](https://msgpack.org/index.html) format. The SDKs are using this format automatically. For readability, the examples in the rest of this documentation will still be in json format (because msgpack is binary encoded). # Channels [Skip link to Channels](https://docs.alpaca.markets/docs/real-time-option-data\#channels) ## Trades [Skip link to Trades](https://docs.alpaca.markets/docs/real-time-option-data\#trades) ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-option-data\#schema) | Attribute | Type | Notes | | --- | --- | --- | | `T` | string | message type, always “t” | | `S` | string | symbol | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp with nanosecond precision | | `p` | number | trade price | | `s` | int | trade size | | `x` | string | exchange code where the trade occurred | | `c` | string | trade condition | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-option-data\#example) JSON ```rdmd-code lang-json theme-light { "T": "t", "S": "AAPL240315C00172500", "t": "2024-03-11T13:35:35.13312256Z", "p": 2.84, "s": 1, "x": "N", "c": "S" } ``` ## Quotes [Skip link to Quotes](https://docs.alpaca.markets/docs/real-time-option-data\#quotes) ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-option-data\#schema-1) | Attribute | Type | Notes | | --- | --- | --- | | `T` | string | message type, always “q” | | `S` | string | symbol | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp with nanosecond precision | | `bx` | string | bid exchange code | | `bp` | number | bid price | | `bs` | int | bid size | | `ax` | string | ask exchange code | | `ap` | number | ask price | | `as` | int | ask size | | `c` | string | quote condition | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-option-data\#example-1) JSON ```rdmd-code lang-json theme-light { "T": "q", "S": "SPXW240327P04925000", "t": "2024-03-12T11:59:38.897261568Z", "bx": "C", "bp": 9.46, "bs": 53, "ax": "C", "ap": 9.66, "as": 38, "c": "A" } ``` # Errors [Skip link to Errors](https://docs.alpaca.markets/docs/real-time-option-data\#errors) Other than the [general stream errors](https://docs.alpaca.markets/docs/streaming-market-data#errors), you may receive these option-specific errors during your session: | Error Message | Description | | --- | --- | | `[{"T":"error","code":412,"msg":"option messages are only available in MsgPack format"}]` | Use the `Content-Type: application/msgpack` header. | | `[{"T":"error","code":413,"msg":"star subscription is not allowed for option quotes"}]` | You cannot subscribe to `*` for option quotes (there are simply too many of them). | Updated3 months ago * * * ## Historical Stock Data This API provides historical market data for equities. Check the [API Reference](https://docs.alpaca.markets/reference/stockbars-1) for the detailed descriptions of all the endpoints. # Data Sources [Skip link to Data Sources](https://docs.alpaca.markets/docs/historical-stock-data-1\#data-sources) Alpaca offers market data from two distinct data sources: | Source | Description | | --- | --- | | **IEX (Investors Exchange LLC)** | IEX is ideal for initial app testing and situations where precise pricing may not be the primary focus. It accounts for approximately ~2.5% of the market volume. | | **SIP (All US Exchanges)** | This Alpaca data feed originates directly from exchanges and is consolidated by the Securities Information Processors (SIPs). These SIPs play a crucial role in connecting various U.S. markets, processing and consolidating all bid/ask quotes and trades from multiple trading venues into a single, easily accessible data feed.
Our data delivery ensures ultra-low latency and high reliability, as the information is transmitted directly to Alpaca's bare metal servers located in New Jersey, situated alongside many market participants.
SIP data is particularly advantageous for developing your trading app, where precise and up-to-date price information is essential for traders and internal operations. It accounts for 100% of the market volume, providing comprehensive coverage for your trading needs. | You can use the `feed` parameter on all the stock endpoints to switch between the data sources. Updated26 days ago * * * ## Fully Paid Securities Lending **What is the Alpaca Fully Paid Securities Lending Program?** Our program offers you the ability to earn additional income from the securities you already own by lending them to Alpaca, while you continue to retain full ownership. Once you activate Fully Paid Securities Lending, you'll receive monthly payments if we borrow your shares. * * * **How does the program work?** Once enrolled in the program, Alpaca facilitates the lending of your eligible fully paid securities to borrowers, typically for short selling or trade settlements. These borrowers pay an interest rate based on current market conditions directly to Alpaca, and in turn, you will receive monthly interest payments based on the value of the loaned securities. * * * **What are the benefits of enrolling in the program?** Lending your securities can provide you with additional income. The income generated from securities lending can be reinvested into other opportunities, creating the potential for additional growth. Lending your securities helps support market liquidity by enabling short sellers to execute their strategies, which can contribute to a more efficient market overall. When you lend your securities, you maintain ownership of the underlying assets, allowing you to benefit from any potential appreciation or dividends, even while generating income from the loan. * * * **What are the risks of enrolling in the program?** Risks: There is no assurance that your securities will be lent or that a market for lending them exists. When securities are borrowed for a short sale, there is a possibility that their market price will decline. When you lend your securities, you will temporarily lose voting rights, as they are transferred to the borrower during the loan period. Income earned from lending your securities may have tax consequences, which could affect your overall returns. Securities lending is not protected by the Securities Investor Protection Corporation (SIPC), which means the loaned assets are not covered by SIPC. * * * **How do I enroll or unenroll in the program? (LPCA)** To enroll or unenroll, simply go to the [web dashboard](https://app.alpaca.markets/account/login) and navigate to the Plans & Features page. From there, you can click the enroll or unenroll button to opt in or out. * * * **What are the eligibility requirements?** One of the following criteria must be met in order to be eligible to participate. - $2,500 in account balance - $20,000 reported income - $20,000 in liquid assets - At least 1 year of trading experience * * * **What account types are eligible for the program?** All account types with US equities that have been fully paid for or that are in excess of any margin debit. * * * **What types of investments are eligible for the program?** All US equities that have been fully paid for or that are in excess of any margin debit will be eligible to loan * * * **Can I choose which stocks to lend out?** You cannot choose specific stocks to lend. By enabling Fully Paid Securities Lending, all of your stocks, ADRs, and ETFs will be considered for lending. * * * **Will Alpaca lend out all eligible shares?** There is no guarantee that all eligible shares in an account will be loaned through the Fully Paid Securities Lending Program. This may occur if there isn’t a favorable market rate for Alpaca to lend your shares. * * * **How are lending rates determined?** Lending rates are determined by market conditions, based on the supply and demand for individual securities. * * * **When is interest earned on lent securities paid out?** Interest will be posted to your cash balance on a monthly basis within the first 10 business days of the month. * * * **What is the potential income from lending out securities?** When your securities are lent out, interest accumulates daily and is automatically credited to your account on a monthly basis. The interest you receive depends on the demand for the loaned shares. Here’s an example of how your earnings are calculated. Shares on loan 2,000 Market price $20 Market value $40,000 Annualized lending interest rate 9.00% Daily accrual ($40,000 x 9.00% / 360 days\_) $10.00 Your hypothetical monthly income ($10.00 x 30 days) $300.00 _Disclaimer: Interest accrual is based on a 360-day financial year, a standard billing practice. Actual earnings may vary._ * * * **Can I still sell a security while it is out on loan?** Yes, you can sell a security at any time. However, once the loan is closed, which may happen concurrently with the sale of the asset, you will no longer receive loan interest. * * * **How will dividends be handled within the Securities Lending Fully Paid Program?** The borrower will be entitled to the dividend, and the customer will be entitled to a “payment-in-lieu” which will be a cash payment grossed up for the respective tax rate of the customer. * * * **Will SIPC coverage be impacted?** The investments and cash in your Alpaca investing account are generally protected by SIPC insurance. However, stocks on loan are not covered by SIPC. Instead, cash collateral is used to safeguard your loaned stocks. We strive to maintain cash equivalent to at least 100% of the value of your loaned stocks at a third-party bank. In the event that Alpaca files for bankruptcy and is unable to return your stocks, this bank would compensate you in cash for the value of your loaned securities. Additionally, any cash held at this third-party bank would be covered under FDIC insurance, but only up to the $250,000 limit. * * * **Will I continue to have voting rights for shares on loan?** Usually, company shareholders can exercise voting power on matters like new policy proposals, board appointments, or corporate actions. However, when your shares in a company are on loan, you will not have shareholder voting rights. However, you can unenroll from the program at any time to restore your voting rights. * * * **How and where is the collateral held for loans in the Program?** Currently it is held in cash at our bank BMO. This is subject to change at a future date. * * * **How does lending stock affect the calculation of my margin and excess liquidity?** Lending stock through the Fully Paid Securities Lending Program does not affect the calculation of your margin or excess liquidity. Your borrowing capacity remains determined by your stock positions. * * * **Does the Fully Paid Securities Lending Program still provide benefits if I have written call options on my shares?** If the stock is fully paid, the Program will benefit you the same whether or not it has call options written against it. **What occurs with stock on loan if it is later delivered to fulfill a call assignment or put exercise?** The loan will end on T+1 of the transaction (trade, assignment, or exercise) that closed or reduced the position. * * * **Is Pattern Day Trading still available while opted into the Program?** Yes, we will support Pattern Day Trading while users are opted into the program. * * * **How does Short Stock Buy-Ins & Close-Outs work?** When a user holds a short stock position, the clearing broker is obligated to deliver shares by the settlement date. If these shares cannot be borrowed, or are recalled by the lender, or if a "fail to deliver" occurs with the clearinghouse, a close-out may be initiated. If we are unable to borrow shares for delivery by the settlement date (T+1), a close-out will be initiated on T+2 at approximately 9:30 AM ET. Lenders can recall shares at any time. If we cannot replace these recalled shares, a buy-in will be executed by the lender. If we have a net short settlement obligation with the clearinghouse and cannot obtain the shares, a close-out will be initiated prior to the open of regular trading hours on the day following the settlement day. _Please read I [mportant Risk Disclosures With Respect To Participating In Fully Paid Securities Lending Transactions](https://files.alpaca.markets/disclosures/Important+Risk+Disclosures+With+Respect+To+Participating+In+Fully+Paid+Securities+Lending+Transactions.pdf) carefully before deciding whether to participate in lending Fully Paid Securities or agreeing to enter into a Master Securities Lending Agreement with Alpaca Securities LLC._ _These disclosures describe important characteristics of, and risks associated with engaging in, securities-lending transactions._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ Updated12 days ago * * * ## Daily Processes Overview # Daily Processes [Skip link to Daily Processes](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations\#daily-processes) There are a few daily timings you want to keep in mind when you think about the operation. Note that these schedules follow daylight savings time. | Process | Timing | Notes | | --- | --- | --- | | Beginning-of-day Sync (BOD) | 02:15AM-02:30AM EST | Trading accounts are updated with the previous day end-of-day values. Trade confirms are also synchronized around this time. | | Incoming wire processing | 08:00AM-08:30AM EST | The incoming wires with FFC instructions are booked | | Outgoing wire cutoff | 04:00PM EST | The outgoing wire requests before the cutoff will be processed for the day. | | ACH cutoff | 02:00PM EST | The credit/debit of ACH requests before the cutoff will be processed for the day. | | Trade reporting | 06:30PM-07:30PM EST | The day’s trades are finalized and reported. | | End-of-day calculation (EOD) | 11:00PM-11:30PM EST | Close the day’s book, mark to market positions, cost basis calculation, margin requirements calculation etc. | # Mandatory Corporate Actions [Skip link to Mandatory Corporate Actions](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations\#mandatory-corporate-actions) Currently the corporate actions are processed a semi-automated way, and you will see such records in Activity API as they happen. We are working to provide upfront information separately in the future. ## Dividends [Skip link to Dividends](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations\#dividends) Dividends are the most common corporate actions. The cash is paid (credited) to the customer accounts after the pay date, as we receive the cash from DTC. Please note that the actual credit transactions may be after the pay date if we don’t receive the cash from DTC. When such payout is transacted, you will see the account activity in Activity API as the DIV entry type. Dividends are income gain. If your end customers are non-US residents, 30% withholding is applied by default. In case you claim to apply different rates for the tax treaty, please contact us. Dividends are processed without waiting for DTC in the sandbox environment. This may not reflect the live side operation. ## Forward Splits and Reverse Splits [Skip link to Forward Splits and Reverse Splits](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations\#forward-splits-and-reverse-splits) Share splits are processed as they happen and the beginning-of-day process will update the positions of the customer accounts. Both appear as a SPLIT entry type in the activity. In the case of reverse splits, there might be the cash in lieu for non-divisible shares which will not be processed immediately until we receive the cash from DTC. ## Symbol/CUSIP Change and Listing/Delisting [Skip link to Symbol/CUSIP Change and Listing/Delisting](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations\#symbolcusip-change-and-listingdelisting) The symbol or CUSIP can change one day for a particular asset. The asset master data is refreshed on a daily basis and we do recommend you retrieve the asset endpoint every morning before the market open (or after the beginning-of-day timing). While Alpaca does not currently participate in the initial public offering, such stock on the IPO day will become tradable on the day it is listed, and start filling orders once the secondary market opens. ## Other Events [Skip link to Other Events](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations\#other-events) Mergers, acquisitions, and other type events are processed manually in our back office as they are rare and each case is often unique. Please contact Alpaca’s broker-dealer operation team if you have any questions. # ACATS [Skip link to ACATS](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations\#acats) Alpaca processes both sending and receiving ACATS requests. As of today, you can request our operation team for the receiving request, but we plan to provide this service as an API in the future. # Monthly Processes [Skip link to Monthly Processes](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations\#monthly-processes) Monthly statement emails should be sent for the prior month on or before the 10th of the following month - for example, for the monthly statement for August, delivery via email must be on or prior to September 10. Updated7 months ago * * * ## Multi-leg Options Trading > ## 🎉 Multi-leg options trading is now available for live trading! ## What are Multi-leg Orders? [Skip link to What are Multi-leg Orders?](https://docs.alpaca.markets/docs/options-level-3-trading\#what-are-multi-leg-orders) A multi-leg (MLeg) order is a single, combined order that includes multiple option contracts – calls, puts, or even shares—on the same underlying security. By bundling all legs together, the trade is executed as a single unit and each leg is associated with its own strike price, expiration date, or position type (long or short). MLeg orders are often used when traders need to set up complex strategies with several moving parts. A common example is the call spread, where the trader buys a call option at one strike price while simultaneously selling another call option at a higher strike, both for the same underlying asset. ## Why are Multi-leg Orders useful? [Skip link to Why are Multi-leg Orders useful?](https://docs.alpaca.markets/docs/options-level-3-trading\#why-are-multi-leg-orders-useful) MLeg orders are particularly useful because they allow traders to execute complex options or stock combinations in one streamlined process, avoiding the delay or slippage risk of placing each transaction separately. By handling multiple legs at once, traders gain better control over their target price, reduce the chance of partial fills that could distort the intended strategy, and simplify trade management. The potential to minimize transaction costs—whether through tighter spreads, combined commissions, or efficient margin usage, also adds to their appeal. A trader anticipates a stock will remain in a narrow price range. They set up an iron condor, which involves four legs: - Buying one out-of-the-money (OTM) call. - Selling a call at a closer strike. - Buying an OTM put. - Selling another put. Placing these four legs as a single MLeg order ensures they fill together or not at all. This reduces the risk of partial fills, which could otherwise leave the trader with unwanted market exposure or unbalanced positions. ## How to submit a Multi-leg Order? [Skip link to How to submit a Multi-leg Order?](https://docs.alpaca.markets/docs/options-level-3-trading\#how-to-submit-a-multi-leg-order) To submit a multi-leg (MLeg) order, set your “order\_class” to “mleg” and list each component of the strategy in a “legs” array, specifying details like the symbol, side (buy or sell), ratio quantity, and position intent (e.g., buy\_to\_open). Include any additional parameters (limit price, time in force, etc.) as part of the order’s settings. Below is a cURL example showing how to place a POST request to the Alpaca API, passing in the necessary headers and JSON payload: cURL ```rdmd-code lang-curl theme-light curl --request POST \ --url $APIDOMAIN/v2/orders \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header "Apca-Api-Key-Id: $APIKEY" \ --header "Apca-Api-Secret-Key: $SECRET" \ --data ' { "order_class": "mleg", "qty": "1", "type": "limit", "limit_price": "0.6", "time_in_force": "day", "legs": [\ {"symbol": "AAPL250117P00200000", "ratio_qty": "1", "side": "buy", "position_intent": "buy_to_open"},\ {"symbol": "AAPL250117C00250000", "ratio_qty": "1", "side": "buy", "position_intent": "buy_to_open"}\ ] }' | jq -r ``` ## Some examples [Skip link to Some examples](https://docs.alpaca.markets/docs/options-level-3-trading\#some-examples) ### Long Call Spread [Skip link to Long Call Spread](https://docs.alpaca.markets/docs/options-level-3-trading\#long-call-spread) ![](https://files.readme.io/444efc02ec4fecfc528035df0c4dabacf34a9082a46b08af4de56859ef498e02-long_call_spread.png) Buy a lower-strike (190) call and sell a higher-strike (210) call on the same underlying: cURL ```rdmd-code lang-curl theme-light curl --request POST \ --url $APIDOMAIN/v2/orders \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header "Apca-Api-Key-Id: $APIKEY" \ --header "Apca-Api-Secret-Key: $SECRET" \ --data ' { "order_class": "mleg", "qty": "1", "type": "limit", "limit_price": "1.00", "time_in_force": "day", "legs": [\ {\ "symbol": "AAPL250117C00190000",\ "ratio_qty": "1",\ "side": "buy",\ "position_intent": "buy_to_open"\ },\ {\ "symbol": "AAPL250117C00210000",\ "ratio_qty": "1",\ "side": "sell",\ "position_intent": "sell_to_open"\ }\ ] }' | jq -r ``` ### Long Put Spread [Skip link to Long Put Spread](https://docs.alpaca.markets/docs/options-level-3-trading\#long-put-spread) ![](https://files.readme.io/a807ae88d756237e9fc54b29b2c0bcfa4d24c0013becbfbda70244f2144082f8-long_put_spread.png) Buy a higher-strike (210) put and sell a lower-strike (190) put on the same underlying: cURL ```rdmd-code lang-curl theme-light curl --request POST \ --url $APIDOMAIN/v2/orders \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header "Apca-Api-Key-Id: $APIKEY" \ --header "Apca-Api-Secret-Key: $SECRET" \ --data ' { "order_class": "mleg", "qty": "1", "type": "limit", "limit_price": "1.25", "time_in_force": "day", "legs": [\ {\ "symbol": "AAPL250117P00210000",\ "ratio_qty": "1",\ "side": "buy",\ "position_intent": "buy_to_open"\ },\ {\ "symbol": "AAPL250117P00190000",\ "ratio_qty": "1",\ "side": "sell",\ "position_intent": "sell_to_open"\ }\ ] }' | jq -r ``` ### Iron Condor [Skip link to Iron Condor](https://docs.alpaca.markets/docs/options-level-3-trading\#iron-condor) ![](https://files.readme.io/f86f771f0b68ce6af0706ba6e7a6d308af0678bbf3d71c23027722c600d67854-iron_condor.png) Combine two spreads (a put spread and a call spread) to bet on limited movement: cURL ```rdmd-code lang-curl theme-light curl --request POST \ --url $APIDOMAIN/v2/orders \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header "Apca-Api-Key-Id: $APIKEY" \ --header "Apca-Api-Secret-Key: $SECRET" \ --data ' { "order_class": "mleg", "qty": "1", "type": "limit", "limit_price": "1.80", "time_in_force": "day", "legs": [\ {\ "symbol": "AAPL250117P00190000",\ "ratio_qty": "1",\ "side": "buy",\ "position_intent": "buy_to_open"\ },\ {\ "symbol": "AAPL250117P00195000",\ "ratio_qty": "1",\ "side": "sell",\ "position_intent": "sell_to_open"\ },\ {\ "symbol": "AAPL250117C00205000",\ "ratio_qty": "1",\ "side": "sell",\ "position_intent": "sell_to_open"\ },\ {\ "symbol": "AAPL250117C00210000",\ "ratio_qty": "1",\ "side": "buy",\ "position_intent": "buy_to_open"\ }\ ] }' | jq -r ``` Learn about the [differences between an iron condor and iron butterfly](https://alpaca.markets/learn/iron-condor-vs-iron-butterfly). ### Roll a Call Spread (strike price) [Skip link to Roll a Call Spread (strike price)](https://docs.alpaca.markets/docs/options-level-3-trading\#roll-a-call-spread-strike-price) Close an existing short call spread and open a new one at different strikes in a single transaction: cURL ```rdmd-code lang-curl theme-light curl --request POST \ --url $APIDOMAIN/v2/orders \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header "Apca-Api-Key-Id: $APIKEY" \ --header "Apca-Api-Secret-Key: $SECRET" \ --data ' { "order_class": "mleg", "qty": "1", "type": "limit", "limit_price": "2.05", "time_in_force": "day", "legs": [\ {\ "symbol": "AAPL250117C00200000",\ "ratio_qty": "1",\ "side": "buy",\ "position_intent": "buy_to_close"\ },\ {\ "symbol": "AAPL250117C00205000",\ "ratio_qty": "1",\ "side": "sell",\ "position_intent": "sell_to_close"\ },\ {\ "symbol": "AAPL250117C00210000",\ "ratio_qty": "1",\ "side": "sell",\ "position_intent": "sell_to_open"\ },\ {\ "symbol": "AAPL250117C00215000",\ "ratio_qty": "1",\ "side": "buy",\ "position_intent": "buy_to_open"\ }\ ] }' | jq -r ``` ### Roll a Call Spread (expiration date) [Skip link to Roll a Call Spread (expiration date)](https://docs.alpaca.markets/docs/options-level-3-trading\#roll-a-call-spread-expiration-date) Below is an example of rolling a short call spread from one expiration date to another in a single multi-leg (MLeg) order. The first two legs (with symbols ending in `250117`) are closed ( `buy_to_close` and `sell_to_close`), and the new positions are opened at later-dated strikes ( `250224`): cURL ```rdmd-code lang-curl theme-light curl --request POST \ --url $APIDOMAIN/v2/orders \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header "Apca-Api-Key-Id: $APIKEY" \ --header "Apca-Api-Secret-Key: $SECRET" \ --data ' { "order_class": "mleg", "qty": "1", "type": "limit", "limit_price": "2.05", "time_in_force": "day", "legs": [\ {\ "symbol": "AAPL250117C00200000",\ "ratio_qty": "1",\ "side": "buy",\ "position_intent": "buy_to_close"\ },\ {\ "symbol": "AAPL250117C00205000",\ "ratio_qty": "1",\ "side": "sell",\ "position_intent": "sell_to_close"\ },\ {\ "symbol": "AAPL250124C00200000",\ "ratio_qty": "1",\ "side": "sell",\ "position_intent": "sell_to_open"\ },\ {\ "symbol": "AAPL250124C00205000",\ "ratio_qty": "1",\ "side": "buy",\ "position_intent": "buy_to_open"\ }\ ] }' | jq -r ``` ## Some deeper explanations [Skip link to Some deeper explanations](https://docs.alpaca.markets/docs/options-level-3-trading\#some-deeper-explanations) ### How do we calculate maintenance margin requirements? [Skip link to How do we calculate maintenance margin requirements?](https://docs.alpaca.markets/docs/options-level-3-trading\#how-do-we-calculate-maintenance-margin-requirements) 1. **Ignore Premiums** When calculating maintenance margin, do not factor in the premiums paid or received. Instead, focus on the intrinsic (exercise) payoffs. 2. **Model Each Option’s Payoff** Each option is represented by a piecewise linear payoff function (PnL) based on the underlying price (p). ![](https://files.readme.io/32286a51ed97659a53b176cec7edbe0df282c76a42831ac7f81dc7bf80c4d26d-Screenshot_2025-01-20_at_19.01.45.png) 3. **Combine Positions** To determine total payoff, sum the piecewise functions for all open positions: ![](https://files.readme.io/995133508c4fd0176faf1c370ba26aa1444b74719ecbb3e3d6ec4cb2d3b8f77a-Screenshot_2025-01-20_at_19.05.08.png) 4. **Find Theoretical Maximum Loss** Maintenance margin is based on the worst-case scenario for the portfolio: ![](https://files.readme.io/66772ec029ae5859d8c97d2e063ea2893faa9c0c794c8593ee2af5f7fe514111-Screenshot_2025-01-20_at_19.04.45.png) In other words, you determine the underlying price p that yields the lowest (most negative) net payoff. The absolute value of this lowest point is the margin requirement. 5. **Different Expirations** For option positions with multiple expiration dates, calculate this theoretical maximum-loss approach separately for each expiration date, then use the largest resulting requirement across all expirations. Lets see an example in order to understand why this way of calculating the maintenance margin is benefiting the customers. Lets assume that a customer has the following positions - Long Call for AAPL with Strike Price = 100 - Short Call for AAPL with Strike Price = 110 - Long Call for AAPL with Strike Price = 200 - Short Call for AAPL with Strike Price = 190 Using the traditional way of calculating maintenance margin we would form 2 spreads Spread 1 (Call Credit Spread): - Long Call for AAPL with Strike Price = 200 - Short Call for AAPL with Strike Price = 190 ![](https://files.readme.io/12a13471e5bdfaeb7669cac5d145b9f5ed1c7545b93c82999a38c447bde6f158-call_spread_1.png) With maintenance margin = 1000 since the difference between strike prices is 10 and the option’s multiplier is 100 so the `maintenance_margin = strike_price_diff * multiplier` Spread 2 (Call Debit Spread): - Long Call for AAPL with Strike Price = 100 - Short Call for AAPL with Strike Price = 110 ![](https://files.readme.io/ec7e1a5000f960cb984d595becc471067bafb8b8fa597cc08f15ac986c64aa88-call_spread_2.png) With maintenance margin = 0 since the difference between strike prices is 10 but the long is higher than the short. So the **Total Maintenance Margin (Traditional) = 1000 + 0 = $1000** **Universal Spread Rule Calculation** When combining all four positions and evaluating the theoretical maximum combined loss, the payoff analysis shows that losses from one spread offset gains or losses in the other, resulting in a net theoretical maximum loss of zero. Hence: - **Total Maintenance Margin (Universal Spread) = $0** ![](https://files.readme.io/e30a3e59350972901aed6ff30df3409cba7f8115e4b88df66a9c33dfa8337bec-2_call_spreads.png) This “universal spread rule” or piecewise-payoff approach better reflects the true risk when these positions are considered together. By recognizing how the different calls offset one another’s exposures, the required margin is lower—benefiting the customer by aligning margin requirements with the actual worst-case scenario of the entire portfolio rather than assigning sums of individual spreads. * * * References: [https://cdn.cboe.com/resources/membership/Margin\_Manual.pdf](https://cdn.cboe.com/resources/membership/Margin_Manual.pdf) _First, compute the intrinsic value of the options at price points for the underlying security or instrument that are set to correspond to every exercise price present in the spread. Then, net the intrinsic values at each price point. The maximum potential loss is the greatest loss, if any, from among the results._ [https://cdn.cboe.com/resources/regulation/rule\_filings/margin\_requirements/SR-CBOE-2012-043.pdf](https://cdn.cboe.com/resources/regulation/rule_filings/margin_requirements/SR-CBOE-2012-043.pdf) _(A) For spreads as defined in subparagraph (a)(5) of this Rule, the long options_ _must be paid for in full. In addition, margin is required equal to the lesser of the_ _amount required for the short option(s) by subparagraph (c)(5)(A) or (B),_ _whichever is applicable, or the spread’s maximum potential loss, if any. To_ _determine the spread’s maximum potential loss, first compute the intrinsic value_ _of the options at price points for the underlying security or instrument that are set_ _to correspond to every exercise price present in the spread. Then, net the intrinsic_ _values at each price point. The maximum potential loss is the greatest loss, if any,_ _from among the results. The proceeds for establishing the short options may be_ _applied toward the cost of the long options and/or any margin requirement._ * * * ### How do we calculate order cost basis? [Skip link to How do we calculate order cost basis?](https://docs.alpaca.markets/docs/options-level-3-trading\#how-do-we-calculate-order-cost-basis) **Definition:** The **cost basis** of a multi-leg (MLeg) order is the **sum of**: 1. The **maintenance margin** required for the combined positions (as determined by the universal spread rule), and 2. The **net price** (debit/credit) from buying or selling the option contracts. **Example:** Consider a call credit spread on AAPL: - Long Call (buy) for AAPL with Strike Price = 200 - Short Call (sell) for AAPL with Strike Price = 190 **Maintenance Margin:** Universal spread rule requires a margin of $1,000 for this spread. **Net Option Price:** - The **long call** premium to be paid is $10 (cost to the buyer). - The **short call** premium to be received is $15 (credit to the seller). - **Net Price** = (15−10)=(15 - 10) =$5 credit - Because each option contract covers 100 shares, multiply by 100: Net Price (per contract) x 100 = 5 x 100 = $500 - However, for cost-basis purposes, a credit (positive $5) effectively reduces the overall cost, so it becomes **-$5** in the order’s net debit/credit calculation. So, Total Cost Basis: Cost Basis = (Maintenance Margin) + (Net Price×Option Multiplier) = 1000 + (-5 x 100) = 1000 - 500 = $500 Hence, the cost basis—and the amount charged to the customer—for this multi-leg order is $500. ### Some Edge Scenarios [Skip link to Some Edge Scenarios](https://docs.alpaca.markets/docs/options-level-3-trading\#some-edge-scenarios) #### GCD `ratio_qty` requirement [Skip link to GCD ](https://docs.alpaca.markets/docs/options-level-3-trading\#gcd-ratio_qty-requirement) When submitting an MLeg order, each leg’s `leg_ratio` must be in its simplest form. In other words, the greatest common divisor (GCD) among the `leg_ratio` values for the legs must be 1. **Example** (wrong) - Leg 1: `leg_ratio = 4` - Leg 2: `leg_ratio = 2` Because both ratios share a common divisor of 2, the system will reject this order. If a ratio must be 2:4, for instance, the user should enter it as 1:2 instead (dividing both sides by the GCD of 2). **Reason for Enforcing Simplified Ratios** By requiring that leg ratios be in their simplest form (prime to each other), the system can: **Avoid Redundant Parent Quantities**: The ratio is intended to show the relative proportions of each leg; if the ratio isn’t simplified, you’re effectively duplicating the same information already available through the parent order quantity. This approach ensures clarity in trade definitions and prevents potential confusion or errors in calculating fill quantities and margin requirements. #### Restrictions on Combo Order(equity leg + contract leg) [Skip link to Restrictions on Combo Order(equity leg + contract leg)](https://docs.alpaca.markets/docs/options-level-3-trading\#restrictions-on-combo-orderequity-leg--contract-leg) Starting on day zero of Options Level 3 trading, you can submit multi-leg (MLeg) orders that include an equity leg. At this stage, the system supports MLeg equity orders only if the equity leg is combined with a short call option leg—i.e., a covered call strategy. The equity-leg quantity must match the underlying option contract ratio (for example, 1 contract corresponds to 100 shares of the underlying stock). The same requirement applies to exit orders. The total amount for the entire MLeg order is governed by the parent quantity (i.e., the main order size), ensuring consistent scaling across all legs. #### MLeg restrictions regarding uncovered legs [Skip link to MLeg restrictions regarding uncovered legs](https://docs.alpaca.markets/docs/options-level-3-trading\#mleg-restrictions-regarding-uncovered-legs) Starting on day zero of Options Level 3 trading, an MLeg order is accepted only if all its legs are covered within the same MLeg order. For example, an MLeg order containing two short call legs would be rejected, though submitting those short calls separately as single-leg orders is allowed. This restriction also impacts certain strategies, including rolling a short contract or rolling a calendar spread, since they would involve uncovered short legs within the same multi-leg order. * * * _The content of this article is for general informational purposes only. All examples are for illustrative purposes only._ _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read [Characteristics and Risks of Standardized Options](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document) before investing in options._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not ensure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA/SIPC](https://www.finra.org/), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ Updated2 months ago * * * ## Historical Crypto Data This API provides historical market data for crypto. Check the [API Reference](https://docs.alpaca.markets/reference/cryptobars-1) for the detailed descriptions of all the endpoints. Since Alpaca now executes all crypto orders in its own exchange, the v1beta3 crypto market data endpoints no longer distribute data from other providers, but from Alpaca itself. > ## 📘 Crypto bars contain quote mid-prices > > Due to the volatility of some currencies, including lack of trade volume at any given time, we include the quote midpoint prices in the bars to offer a better data experience. If in a bar no trade happens, the volume will be 0, but the prices will be determined by the quote prices. Updated12 months ago * * * ## Real-Time Stock Data This API provides stock market data on a websocket stream. This helps receive the most up to date market information that could help your trading strategy to act upon certain market movements. If you wish to access the latest pricing data, using the stream provides much better accuracy and performance than polling the latest historical endpoints. You can find the general description of the real-time WebSocket Stream [here](https://docs.alpaca.markets/docs/streaming-market-data). This page focuses on the stock stream. # URL [Skip link to URL](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#url) The URL for the stock stream is ```rdmd-code lang- theme-light wss://stream.data.alpaca.markets/v2/{feed} ``` Sandbox URL: ```rdmd-code lang- theme-light wss://stream.data.sandbox.alpaca.markets/v2/{feed} ``` The possible values for the `{feed}` parameter are described [here](https://docs.alpaca.markets/docs/historical-stock-data-1#feed-parameter). Substitute `iex`, `sip` or `delayed_sip` to `{feed}`. The difference between SIP and IEX is described [here](https://docs.alpaca.markets/docs/historical-stock-data-1#data-sources). Any attempt to access a data feed not available for your subscription will result in an error during authentication. # Channels [Skip link to Channels](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#channels) You can [subscribe](https://docs.alpaca.markets/docs/streaming-market-data#subscription) to the channels described in this section. For example JSON ```rdmd-code lang-json theme-light {"action":"subscribe","trades":["AAPL"],"quotes":["AMD","CLDR"],"bars":["*"]} ``` ## Trades [Skip link to Trades](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#trades) ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#schema) | Attribute | Type | Notes | | --- | --- | --- | | `T` | string | message type, always “t” | | `S` | string | symbol | | `i` | int | trade ID | | `x` | string | exchange code where the trade occurred | | `p` | number | trade price | | `s` | int | trade size | | `c` | array | trade condition | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp with nanosecond precision | | `z` | string | tape | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#example) JSON ```rdmd-code lang-json theme-light { "T": "t", "i": 96921, "S": "AAPL", "x": "D", "p": 126.55, "s": 1, "t": "2021-02-22T15:51:44.208Z", "c": ["@", "I"], "z": "C" } ``` ## Quotes [Skip link to Quotes](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#quotes) ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#schema-1) | Attribute | Type | Notes | | --- | --- | --- | | `T` | string | message type, always “q” | | `S` | string | symbol | | `ax` | string | ask exchange code | | `ap` | number | ask price | | `as` | int | ask size in round lots | | `bx` | string | bid exchange code | | `bp` | number | bid price | | `bs` | int | bid size in round lots | | `c` | array | quote condition | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp with nanosecond precision | | `z` | string | tape | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#example-1) JSON ```rdmd-code lang-json theme-light { "T": "q", "S": "AMD", "bx": "U", "bp": 87.66, "bs": 1, "ax": "Q", "ap": 87.68, "as": 4, "t": "2021-02-22T15:51:45.335689322Z", "c": ["R"], "z": "C" } ``` ## Bars [Skip link to Bars](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#bars) There are three separate channels where you can stream trade aggregates (bars). #### Minute Bars ( `bars`) [Skip link to Minute Bars (](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#minute-bars-bars) Minute bars are emitted right after each minute mark. They contain the trades from the previous minute. Trades from pre-market and aftermarket are also aggregated and sent out on the bars channel. Note: Understanding which trades are excluded from minute bars is crucial for accurate data analysis. For more detailed information on how minute bars are calculated and excluded trades, please refer to this article [Stock Minute Bars](https://alpaca.markets/learn/stock-minute-bars/). #### Daily Bars ( `dailyBars`) [Skip link to Daily Bars (](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#daily-bars-dailybars) Daily bars are emitted right after each minute mark after the market opens. The daily bars contain all trades until the time they were emitted. #### Updated Bars ( `updatedBars`) [Skip link to Updated Bars (](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#updated-bars-updatedbars) Updated bars are emitted after each half-minute mark if a “late” trade arrived after the previous minute mark. For example if a trade with a timestamp of `16:49:59.998` arrived right after `16:50:00`, just after `16:50:30` an updated bar with `t` set to `16:49:00` will be sent containing that trade, possibly updating the previous bar’s closing price and volume. ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#schema-2) | Attribute | Type | Description | | --- | --- | --- | | `T` | string | message type: “b”, “d” or “u” | | `S` | string | symbol | | `o` | number | open price | | `h` | number | high price | | `l` | number | low price | | `c` | number | close price | | `v` | int | volume | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#example-2) JSON ```rdmd-code lang-json theme-light { "T": "b", "S": "SPY", "o": 388.985, "h": 389.13, "l": 388.975, "c": 389.12, "v": 49378, "t": "2021-02-22T19:15:00Z" } ``` ## Trade Corrections [Skip link to Trade Corrections](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#trade-corrections) These messages indicate that a previously sent trade was incorrect and they contain the corrected trade. Subscription to trade corrections and cancel/errors is automatic when you subscribe to the trade channel. ```rdmd-code lang- theme-light {"action":"subscribe","trades":["AAPL"]} [{"T":"subscription","trades":["AAPL"],"quotes":[],"bars":[],"updatedBars":[],"dailyBars":[],"statuses":[],"lulds":[],\ "corrections":["AAPL"],"cancelErrors":["AAPL"]}] ``` ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#schema-3) | Attribute | Type | Description | | --- | --- | --- | | `T` | string | message type, always “c” | | `S` | string | symbol | | `x` | string | exchange code | | `oi` | int | original trade id | | `op` | number | original trade price | | `os` | int | original trade size | | `oc` | array | original trade conditions | | `ci` | int | corrected trade id | | `cp` | number | corrected trade price | | `cs` | int | corrected trade size | | `cc` | array | corrected trade conditions | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp | | `z` | string | tape | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#example-3) JSON ```rdmd-code lang-json theme-light { "T": "c", "S": "EEM", "x": "M", "oi": 52983525033527, "op": 39.1582, "os": 440000, "oc": [\ " ",\ "7"\ ], "ci": 52983525034326, "cp": 39.1809, "cs": 440000, "cc": [\ " ",\ "7"\ ], "z": "B", "t": "2023-04-06T14:25:06.542305024Z" } ``` ## Trade Cancels/Errors [Skip link to Trade Cancels/Errors](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#trade-cancelserrors) These messages indicate that a previously sent trade was canceled. Subscription to trade corrections and cancel/errors is automatic when you subscribe to the trade channel. ```rdmd-code lang- theme-light {"action":"subscribe","trades":["AAPL"]} [{"T":"subscription","trades":["AAPL"],"quotes":[],"bars":[],"updatedBars":[],"dailyBars":[],"statuses":[],"lulds":[],\ "corrections":["AAPL"],"cancelErrors":["AAPL"]}] ``` ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#schema-4) | Attribute | Type | Description | | --- | --- | --- | | `T` | string | message type, always “x” | | `S` | string | symbol | | `i` | int | trade id | | `x` | string | trade exchange | | `p` | number | trade price | | `s` | int | trade size | | `a` | string | action (“C” for cancel, “E” for error) | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp | | `z` | string | tape | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#example-4) JSON ```rdmd-code lang-json theme-light { "T": "x", "S": "GOOGL", "i": 465, "x": "D", "p": 105.31, "s": 300, "a": "C", "z": "C", "t": "2023-04-06T13:15:42.83540958Z" } ``` ## LULDs [Skip link to LULDs](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#lulds) Limit Up - Limit Down messages provide upper and lower limit price bands to securities. ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#schema-5) | Attribute | Type | Description | | --- | --- | --- | | `T` | string | message type, always “l” | | `S` | string | symbol | | `u` | number | limit up price | | `d` | number | limit down price | | `i` | string | indicator | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp | | `z` | string | tape | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#example-5) JSON ```rdmd-code lang-json theme-light { "T": "l", "S": "IONM", "u": 3.24, "d": 2.65, "i": "B", "t": "2023-04-06T13:34:45.565004401Z", "z": "C" } ``` ## Trading Status [Skip link to Trading Status](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#trading-status) Identifies the trading status applicable to the security and reason for the trading halt if any. The status messages can be accessed from any {source} depending on your subscription. To enable market data on a production environment please reach out to our sales team. ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#schema-6) | Attribute | Type | Description | | --- | --- | --- | | `T` | string | message type, always “s” | | `S` | string | symbol | | `sc` | string | status code | | `sm` | string | status message | | `rc` | string | reason code | | `rm` | string | reason message | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp | | `z` | string | tape | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#example-6) JSON ```rdmd-code lang-json theme-light { "T": "s", "S": "AAPL", "sc": "H", "sm": "Trading Halt", "rc": "T12", "rm": "Trading Halted; For information requested by NASDAQ", "t": "2021-02-22T19:15:00Z", "z": "C" } ``` ### Status Codes [Skip link to Status Codes](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#status-codes) #### Tape A & B (CTA) [Skip link to Tape A & B (CTA)](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#tape-a--b-cta) | Code | Value | | --- | --- | | 2 | Trading Halt | | 3 | Resume | | 5 | Price Indication | | 6 | Trading Range Indication | | 7 | Market Imbalance Buy | | 8 | Market Imbalance Sell | | 9 | Market On Close Imbalance Buy | | A | Market On Close Imbalance Sell | | C | No Market Imbalance | | D | No Market On Close Imbalance | | E | Short Sale Restriction | | F | Limit Up-Limit Down | #### Tape C & O (UTP) [Skip link to Tape C & O (UTP)](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#tape-c--o-utp) | Codes | Resume | | --- | --- | | H | Trading Halt | | Q | Quotation Resumption | | T | Trading Resumption | | P | Volatility Trading Pause | ### Reason Codes [Skip link to Reason Codes](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#reason-codes) #### Tape A & B (CTA) [Skip link to Tape A & B (CTA)](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#tape-a--b-cta-1) | Code | Value | | --- | --- | | D | News Released (formerly News Dissemination) | | I | Order Imbalance | | M | Limit Up-Limit Down (LULD) Trading Pause | | P | News Pending | | X | Operational | | Y | Sub-Penny Trading | | 1 | Market-Wide Circuit Breaker Level 1 – Breached | | 2 | Market-Wide Circuit Breaker Level 2 – Breached | | 3 | Market-Wide Circuit Breaker Level 3 – Breached | #### Tape C & O (UTP) [Skip link to Tape C & O (UTP)](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#tape-c--o-utp-1) | Code | Value | | --- | --- | | T1 | Halt News Pending | | T2 | Halt News Dissemination | | T5 | Single Stock Trading Pause In Affect | | T6 | Regulatory Halt Extraordinary Market Activity | | T8 | Halt ETF | | T12 | Trading Halted; For information requested by NASDAQ | | H4 | Halt Non Compliance | | H9 | Halt Filings Not Current | | H10 | Halt SEC Trading Suspension | | H11 | Halt Regulatory Concern | | 01 | Operations Halt, Contact Market Operations | | IPO1 | IPO Issue not yet Trading | | M1 | Corporate Action | | M2 | Quotation Not Available | | LUDP | Volatility Trading Pause | | LUDS | Volatility Trading Pause – Straddle Condition | | MWC1 | Market Wide Circuit Breaker Halt – Level 1 | | MWC2 | Market Wide Circuit Breaker Halt – Level 2 | | MWC3 | Market Wide Circuit Breaker Halt – Level 3 | | MWC0 | Market Wide Circuit Breaker Halt – Carry over from previous day | | T3 | News and Resumption Times | | T7 | Single Stock Trading Pause/Quotation-Only Period | | R4 | Qualifications Issues Reviewed/Resolved; Quotations/Trading to Resume | | R9 | Filing Requirements Satisfied/Resolved; Quotations/Trading To Resume | | C3 | Issuer News Not Forthcoming; Quotations/Trading To Resume | | C4 | Qualifications Halt ended; maint. Req. met; Resume | | C9 | Qualifications Halt Concluded; Filings Met; Quotes/Trades To Resume | | C11 | Trade Halt Concluded By Other Regulatory Auth,; Quotes/Trades Resume | | R1 | New Issue Available | | R | Issue Available | | IPOQ | IPO security released for quotation | | IPOE | IPO security – positioning window extension | | MWCQ | Market Wide Circuit Breaker Resumption | ## Order imbalances [Skip link to Order imbalances](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#order-imbalances) Order imbalance is a situation resulting from an excess of buy or sell orders for a specific security on a trading exchange, making it impossible to match the orders of buyers and sellers. Order imbalance messages are typically sent during limit-up and limit-down trading halts. You have to subscribe to these messages using the `imbalances` JSON key: JSON ```rdmd-code lang-json theme-light {"action":"subscribe","imbalances":["INAQU"]} ``` ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#schema-7) | Attribute | Type | Notes | | --- | --- | --- | | `T` | string | message type, always “i” | | `S` | string | symbol | | `p` | number | price | | `z` | string | tape | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp with nanosecond precision | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#example-7) JSON ```rdmd-code lang-json theme-light { "T": "i", "S": "INAQU", "p": 9.12, "z": "C", "t": "2024-12-13T19:58:09.242138635Z" } ``` # Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-stock-pricing-data\#example-8) Shell ```rdmd-code lang-json theme-light $ wscat -c wss://stream.data.alpaca.markets/v2/sip connected (press CTRL+C to quit) < [{"T":"success","msg":"connected"}] > {"action": "auth", "key": "*****", "secret": "*****"} < [{"T":"success","msg":"authenticated"}] > {"action": "subscribe", "trades": ["AAPL"], "quotes": ["AMD", "CLDR"], "bars": ["*"],"dailyBars":["VOO"],"statuses":["*"]} < [{"T":"subscription","trades":["AAPL"],"quotes":["AMD","CLDR"],"bars":["*"],"updatedBars":[],"dailyBars":["VOO"],"statuses":["*"],"lulds":[],"corrections":["AAPL"],"cancelErrors":["AAPL"]}] < [{"T":"q","S":"AMD","bx":"K","bp":91.95,"bs":2,"ax":"Q","ap":91.98,"as":1,"c":["R"],"z":"C","t":"2023-04-06T11:54:21.670905508Z"}] < [{"T":"t","S":"AAPL","i":628,"x":"K","p":162.92,"s":3,"c":["@","F","T","I"],"z":"C","t":"2023-04-06T11:54:26.838232225Z"},{"T":"t","S":"AAPL","i":75,"x":"Z","p":162.92,"s":3,"c":["@","F","T","I"],"z":"C","t":"2023-04-06T11:54:26.838562809Z"},{"T":"t","S":"AAPL","i":1465,"x":"P","p":162.91,"s":71,"c":["@","F","T","I"],"z":"C","t":"2023-04-06T11:54:26.83915973Z"}] < [{"T":"q","S":"AMD","bx":"P","bp":91.9,"bs":1,"ax":"Q","ap":91.98,"as":1,"c":["R"],"z":"C","t":"2023-04-06T11:54:27.924933876Z"}] ``` Updated3 months ago * * * ## Crypto Pricing Data Crypto Data API provides websocket streaming for trades, quotes, orderbooks, minute bars and daily bars. This helps receive the most up to date market information that could help your trading strategy to act upon certain market movements. Since Alpaca now executes your crypto orders in its own exchange, the `v1beta3` crypto market data endpoints no longer distribute data from other providers, but from Alpaca itself. You can find the general description of the real-time WebSocket Stream [here](https://docs.alpaca.markets/docs/streaming-market-data). This page focuses on the crypto stream. > ## 👍 Advanced Websockets Tutorial > > Check out our tutorial [Advanced Live Websocket Crypto Data Streams in Python](https://alpaca.markets/learn/advanced-live-websocket-crypto-data-streams-in-python/) for some tips on handling live crypto data stream in Python. # URL [Skip link to URL](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#url) The URL for the crypto stream is ```rdmd-code lang- theme-light wss://stream.data.alpaca.markets/v1beta3/crypto/us ``` Sandbox URL: ```rdmd-code lang- theme-light wss://stream.data.sandbox.alpaca.markets/v1beta3/crypto/us ``` Multiple data points may arrive in each message received from the server. These data points have the following formats, depending on their type. # Channels [Skip link to Channels](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#channels) ## Trades [Skip link to Trades](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#trades) ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#schema) | Attribute | Type | Notes | | --- | --- | --- | | `T` | string | message type, always “t” | | `S` | string | symbol | | `p` | number | trade price | | `s` | number | trade size | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp with nanosecond precision | | `i` | int | trade ID | | `tks` | string | taker side: B for buyer, S for seller | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#example) JSON ```rdmd-code lang-json theme-light { "T": "t", "S": "AVAX/USD", "p": 47.299, "s": 29.205707815, "t": "2024-03-12T10:27:48.858228144Z", "i": 3447222699101865076, "tks": "S" } ``` ## Quotes [Skip link to Quotes](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#quotes) ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#schema-1) | Attribute | Type | Notes | | --- | --- | --- | | `T` | string | message type, always “q” | | `S` | string | symbol | | `bp` | number | bid price | | `bs` | number | bid size | | `ap` | number | ask price | | `as` | number | ask size | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp with nanosecond precision | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#example-1) JSON ```rdmd-code lang-json theme-light { "T": "q", "S": "BAT/USD", "bp": 0.35718, "bs": 13445.46, "ap": 0.3581, "as": 13561.902, "t": "2024-03-12T10:29:43.111588173Z" } ``` ## Bars [Skip link to Bars](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#bars) > ## 📘 Crypto bars contain quote mid-prices > > Due to the volatility of some currencies, including lack of trade volume at any given time, we include the quote midpoint prices in the bars to offer a better data experience. If in a bar no trade happens, the volume will be 0, but the prices will be determined by the quote prices. There are three separate channels where you can stream trade aggregates (bars). #### Minute Bars ( `bars`) [Skip link to Minute Bars (](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#minute-bars-bars) Minute bars are emitted right after each minute mark. They contain the trades and quote midpoints from the previous minute. #### Daily Bars ( `dailyBars`) [Skip link to Daily Bars (](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#daily-bars-dailybars) Daily bars are emitted right after each minute mark after the market opens. The daily bars contain all trades and quote midprices until the time they were emitted. #### Updated Bars ( `updatedBars`) [Skip link to Updated Bars (](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#updated-bars-updatedbars) Updated bars are emitted after each half-minute mark if a “late” trade arrived after the previous minute mark. For example if a trade with a timestamp of `16:49:59.998` arrived right after `16:50:00`, just after `16:50:30` an updated bar with `t` set to `16:49:00` will be sent containing that trade, possibly updating the previous bar’s closing price and volume. ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#schema-2) | Attribute | Type | Description | | --- | --- | --- | | `T` | string | message type: “b”, “d” or “u” | | `S` | string | symbol | | `o` | number | open price | | `h` | number | high price | | `l` | number | low price | | `c` | number | close price | | `v` | int | volume | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#example-2) JSON ```rdmd-code lang-json theme-light { "T": "b", "S": "BTC/USD", "o": 71856.1435, "h": 71856.1435, "l": 71856.1435, "c": 71856.1435, "v": 0, "t": "2024-03-12T10:37:00Z", "n": 0, "vw": 0 } ``` ## Orderbooks [Skip link to Orderbooks](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#orderbooks) ### Schema [Skip link to Schema](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#schema-3) | Attribute | Type | Notes | | --- | --- | --- | | `T` | string | message type, always “o” | | `S` | string | symbol | | `t` | string | [RFC-3339](https://datatracker.ietf.org/doc/html/rfc3339) formatted timestamp with nanosecond precision | | `b` | array | bids: array of `p` (price) and `s` pairs. If `s` is zero, it means that that bid entry was removed from the orderbook. Otherwise it was added or updated. | | `a` | array | asks: array of `p` (price) and `s` pairs. If `s` is zero, it means that that ask entry was removed from the orderbook. Otherwise it was added or updated. | | `r` | boolean | reset: if true, the orderbook message contains the whole server side orderbook. This indicates to the client that they should reset their orderbook. Typically sent as the first message after subscription. | ### Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#example-3) #### Initial full orderbook [Skip link to Initial full orderbook](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#initial-full-orderbook) JSON ```rdmd-code lang-json theme-light { "T": "o", "S": "BTC/USD", "t": "2024-03-12T10:38:50.79613221Z", "b": [\ {\ "p": 71859.53,\ "s": 0.27994\ },\ {\ "p": 71849.4,\ "s": 0.553986\ },\ {\ "p": 71820.469,\ "s": 0.83495\ },\ ...\ ], "a": [\ {\ "p": 71939.7,\ "s": 0.83953\ },\ {\ "p": 71940.4,\ "s": 0.28025\ },\ {\ "p": 71950.715,\ "s": 0.555928\ },\ ...\ ], "r": true } ``` `r` is true, meaning that this message contains the whole BTC/USD orderbook. It's truncated here for readability, the actual book has a lot more bids & asks. #### Update message [Skip link to Update message](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#update-message) json ```rdmd-code lang-json theme-light { "T": "o", "S": "MKR/USD", "t": "2024-03-12T10:39:39.445492807Z", "b": [], "a": [\ {\ "p": 2614.587,\ "s": 12.5308\ }\ ] } ``` This means that the ask price level 2614.587 was changed to 12.5308. If there were previously no 2614.587 ask entry in the orderbook, then it should be added, if there were, its size should be updated. #### Remove message [Skip link to Remove message](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#remove-message) JSON ```rdmd-code lang-json theme-light { "T": "o", "S": "CRV/USD", "t": "2024-03-12T10:39:40.501160019Z", "b": [\ {\ "p": 0.7904,\ "s": 0\ }\ ], "a": [] } ``` This means that the 0.7904 bid price level should be removed from the orderbook. # Example [Skip link to Example](https://docs.alpaca.markets/docs/real-time-crypto-pricing-data\#example-4) ```rdmd-code lang- theme-light $ wscat -c wss://stream.data.alpaca.markets/v1beta3/crypto/us connected (press CTRL+C to quit) < [{"T":"success","msg":"connected"}] > {"action": "auth", "key": "**\***", "secret": "**\***"} < [{"T":"success","msg":"authenticated"}] > {"action": "subscribe", "bars": ["BTC/USD"]} < [{"T":"subscription","trades":[],"quotes":[],"orderbooks":[],"bars":["BTC/USD"],"updatedBars":[],"dailyBars":[]}] < [{"T":"b","S":"BTC/USD","o":26675.04,"h":26695.36,"l":26668.79,"c":26688.7,"v":3.227759152,"t":"2023-03-17T12:28:00Z","n":93,"vw":26679.5912436798}] < [{"T":"b","S":"BTC/USD","o":26687.9,"h":26692.91,"l":26628.55,"c":26651.39,"v":11.568622108,"t":"2023-03-17T12:29:00Z","n":197,"vw":26651.7679765663}] ``` Updatedabout 1 year ago * * * ## Alpaca Broker API Guide The sandbox environment acts as a parallel environment where you can test our APIs safely without sending any real trades to the market. All prices, and execution times (i.e. market hours) hold true in sandbox and production. You can either follow the steps below to test specific calls within the broker dashboard or access the Postman collection to view and test all possible requests in one place. # Postman Collection [Skip link to Postman Collection](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#postman-collection) To get started with the Broker API Postman Collection you can either access the [Alpaca Workspace on Postman](https://www.postman.com/alpacamarkets/workspace/alpaca-public-workspace/overview) to fork the collection or import the file below directly to your own workspace. ## Fork Broker API Collection on Postman [Skip link to Fork Broker API Collection on Postman](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#fork-broker-api-collection-on-postman) Refer to this [tutorial](https://alpaca.markets/learn/try-our-postman-workspace-for-alpaca-apis/) to learn how to fork the collection and sample environment and get started with making calls right away. We recommend following this method so your collection stays up to date with the changes we make to the API. ## Import Broker API Collection [Skip link to Import Broker API Collection](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#import-broker-api-collection) 1. Download the [Broker API API Collection](https://www.postman.com/alpacamarkets/workspace/alpaca-public-workspace/collection/19455863-d72a0729-972d-486f-8aa9-2b5aede8d615?ctx=documentation) 2. Import the file into Postman (File -> Import..) 3. Create a Postman environment with the following variables. Be sure to select the environment in the upper right hand corner like pictured below. ![](https://files.readme.io/a8d4aae-image.png) 4. Send one of the defined HTTP requests while the created environment is selected. # Testing on Broker Dashboard (Brokerdash) [Skip link to Testing on Broker Dashboard (Brokerdash)](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#testing-on-broker-dashboard-brokerdash) ## 0\. Setting up Broker API on Brokerdash [Skip link to 0. Setting up Broker API on Brokerdash](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#0-setting-up-broker-api-on-brokerdash) ### API Keys [Skip link to API Keys](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#api-keys) When you sign up for an account at Alpaca you will receive an `API_KEY` and `API_SECRET`, please make sure you store those somewhere safe. Broker API must authenticate using HTTP Basic authentication. Use your correspondent `API_KEY` and `API_SECRET` as the username and password. The format is key:secret. Encode the string with base-64 encoding, and you can pass it as an authentication header. ### Live Environment [Skip link to Live Environment](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#live-environment) We have provided in our dashboard an API tool that uses your API key credentials to send requests and receive responses straight from your browser. Simply navigate to API/Devs > Live Testing and try out our APIs. ### Making Your First Request [Skip link to Making Your First Request](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#making-your-first-request) At this point we can assume that you haven’t created any accounts yet, but one of the first API calls you can make is `GET /v1/assets`, which doesn’t require a request body and will give you all the assets available at Alpaca. The response would contain an array of assets, with the first one being Agilent Technologies Inc. as of 2021-05-17 JSON ```rdmd-code lang-json theme-light { "id": "7595a8d2-68a6-46d7-910c-6b1958491f5c", "class": "us_equity", "exchange": "NYSE", "symbol": "A", "name": "Agilent Technologies Inc.", "status": "active", "tradable": true, "marginable": true, "shortable": true, "easy_to_borrow": true, "fractionable": true }, ``` ## 1\. Create an Account [Skip link to 1. Create an Account](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#1-create-an-account) One of the first things you would need to do using Broker API is to create an account for your end user. Depending on the type of setup you have with Alpaca ( [Fully-Disclosed](https://docs.alpaca.markets/docs/use-cases#fully-disclosed), [Omnibus](https://docs.alpaca.markets/docs/use-cases#omnibus) or [RIA](https://docs.alpaca.markets/docs/use-cases#registered-investment-advisor-ria)) the requirements might differ. Below is a sample request to create an account for a Fully-Disclosed setup: JSON ```rdmd-code lang-json theme-light { "contact": { "email_address": "test1@gmail.com", "phone_number": "7065912538", "street_address": [\ "NG"\ ], "city": "San Mateo", "postal_code":"33345", "state":"CA" }, "identity": { "given_name": "John", "family_name": "Doe", "date_of_birth": "1990-01-01", "tax_id_type": "USA_SSN", "tax_id": "661-010-666", "country_of_citizenship": "USA", "country_of_birth": "USA", "country_of_tax_residence": "USA", "funding_source": [\ "employment_income"\ ], "annual_income_min": "10000", "annual_income_max": "10000", "total_net_worth_min": "10000", "total_net_worth_max": "10000", "liquid_net_worth_min": "10000", "liquid_net_worth_max": "10000", "liquidity_needs": "does_not_matter", "investment_experience_with_stocks": "over_5_years", "investment_experience_with_options": "over_5_years", "risk_tolerance": "conservative", "investment_objective": "market_speculation", "investment_time_horizon": "more_than_10_years", "marital_status":"MARRIED", "number_of_dependents":5 }, "disclosures": { "is_control_person": false, "is_affiliated_exchange_or_finra": false, "is_affiliated_exchange_or_iiroc": false, "is_politically_exposed": false, "immediate_family_exposed": false }, "agreements": [\ {\ "agreement": "customer_agreement",\ "signed_at": "2024-08-27T10:39:34+01:00",\ "ip_address": "185.11.11.11"\ },\ {\ "agreement": "options_agreement",\ "signed_at": "2024-08-27T10:39:34+01:00",\ "ip_address": "185.11.11.11"\ },\ {\ "agreement": "margin_agreement",\ "signed_at": "2020-09-11T18:09:33Z",\ "ip_address": "185.13.21.99"\ }\ ], "documents": [\ {\ "document_type": "identity_verification",\ "document_sub_type": "passport",\ "content": "/9j/Cg==",\ "mime_type": "image/jpeg"\ }\ ], "trusted_contact": { "given_name": "xyz", "family_name": "wyz", "email_address": "" }, "additional_information": "", "account_type": "" } ``` If successful, the reponse would be JSON ```rdmd-code lang-json theme-light { "id": "b9b19618-22dd-4e80-8432-fc9e1ba0b27d", "account_number": "935142145", "status": "APPROVED", "currency": "USD", "last_equity": "0", "created_at": "2021-05-17T09:53:17.588248Z" } ``` ## 2\. Fund an Account via ACH [Skip link to 2. Fund an Account via ACH](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#2-fund-an-account-via-ach) ### Creating an ACH Relationship [Skip link to Creating an ACH Relationship](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#creating-an-ach-relationship) In order to virtually fund an account via ACH we must first establish the ACH Relationship with the account. We will be using the following endpoint `POST /v1/accounts/{account_id}/ach_relationships` replacing the `account_id` with `b9b19618-22dd-4e80-8432-fc9e1ba0b27d` JSON ```rdmd-code lang-json theme-light { "account_owner_name": "Awesome Alpaca", "bank_account_type": "CHECKING", "bank_account_number": "32131231abc", "bank_routing_number": "121000358", "nickname": "Bank of America Checking" } ``` Please make sure that the formatting for `bank_account_number` and `bank_routing_number` are in the correct format. If successful you will receive an `ach_relationship` object like this: JSON ```rdmd-code lang-json theme-light { "id": "c9b420e0-ae4e-4f39-bcbf-649b407c2129", "account_id": "b9b19618-22dd-4e80-8432-fc9e1ba0b27d", "created_at": "2021-05-17T09:54:58.114433723Z", "updated_at": "2021-05-17T09:54:58.114433723Z", "status": "QUEUED", "account_owner_name": "Awesome Alpaca", "bank_account_type": "CHECKING", "bank_account_number": "32131231abc", "bank_routing_number": "121000358", "nickname": "Bank of America Checking" } ``` Initially you will receive a `status = QUEUED`. However, if you make a `GET/v1/accounts/{account_id}/ach_relationships`, after ~1 minute you should see `status = APPROVED`. ### Making a Virtual ACH Transfer [Skip link to Making a Virtual ACH Transfer](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#making-a-virtual-ach-transfer) Now that you have an existing ACH relationship between the account and their bank, you can fund the account via ACH using the following endpoint `POST/v1/accounts/{account_id}/transfers` using the `relationship_id` we got in the response of the previous section. JSON ```rdmd-code lang-json theme-light { "transfer_type": "ach", "relationship_id": "c9b420e0-ae4e-4f39-bcbf-649b407c2129", "amount": "1234.567", "direction": "INCOMING" } ``` The response you should get would look like this. JSON ```rdmd-code lang-json theme-light { "id": "750d8323-19f6-47d5-8e9a-a34ed4a6f2d2", "relationship_id": "c9b420e0-ae4e-4f39-bcbf-649b407c2129", "account_id": "b9b19618-22dd-4e80-8432-fc9e1ba0b27d", "type": "ach", "status": "QUEUED", "amount": "1234.567", "direction": "INCOMING", "created_at": "2021-05-17T09:56:05.445592162Z", "updated_at": "2021-05-17T09:56:05.445592162Z", "expires_at": "2021-05-24T09:56:05.445531104Z" } ``` After around 10-30 minutes (to simulate ACH delay) the transfer should reflect on the user’s balance via a cash deposit activity (CSD) viewed via this endpoint `GET v1/accounts/activities/CSD\?account_id\={account_id}` ## 3\. Journaling Between Accounts [Skip link to 3. Journaling Between Accounts](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#3-journaling-between-accounts) In addition to transfer and funding via ACH and wire, we have enabled organizations to directly fund their Firm Accounts and then journal from those to user’s accounts in order to simulate near instantaneous funding. ### Introducing the Firm Account [Skip link to Introducing the Firm Account](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#introducing-the-firm-account) Each team will come with a firm account in sandbox that is pre-funded for $50,000. You can use this account to simulate funding to your users or use it for rewards programs to fuel your app’s growth. To illustrate our example, the Sweep account for this sandbox account looks like this JSON ```rdmd-code lang-json theme-light { "id": "8f8c8cee-2591-4f83-be12-82c659b5e748", "account_number": "927721227", "status": "ACTIVE", "currency": "USD", "last_equity": "45064.36", "created_at": "2021-03-03T17:50:06.568149Z" } ``` ### Journaling Cash [Skip link to Journaling Cash](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#journaling-cash) In the case of a signup reward, or simply attempting to simulate instant funding, journaling funds between your firm balance with Alpaca and the end user’s brokerage account is the best way. You can simply pass in a request with `entry_type =JNLC` and choose the amount you want to journal to the user. ## 4\. Passing an Order [Skip link to 4. Passing an Order](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#4-passing-an-order) The most common use case of Alpaca Broker API is to allow your end users to trade on the stock market. To do so simply pass in to `POST /v1/trading/accounts/{account_id}/orders` and again replacing the `account_id` with `b9b19618-22dd-4e80-8432-fc9e1ba0b27d` JSON ```rdmd-code lang-json theme-light { "symbol": "AAPL", "qty": 0.42, "side": "buy", "type": "market", "time_in_force": "day" } ``` Whatever the response from Alpaca would be (denoted by the status) you should receive an Order model in the response looking like this JSON ```rdmd-code lang-json theme-light { "id": "4c6cbac4-e17a-4373-b012-d446b20f9982", "client_order_id": "5a5e2660-88a7-410c-92c9-ab0c942df70b", "created_at": "2021-05-17T11:27:18.499336Z", "updated_at": "2021-05-17T11:27:18.499336Z", "submitted_at": "2021-05-17T11:27:18.488546Z", "filled_at": null, "expired_at": null, "canceled_at": null, "failed_at": null, "replaced_at": null, "replaced_by": null, "replaces": null, "asset_id": "b0b6dd9d-8b9b-48a9-ba46-b9d54906e415", "symbol": "AAPL", "asset_class": "us_equity", "notional": null, "qty": "0.42", "filled_qty": "0", "filled_avg_price": null, "order_class": "", "order_type": "market", "type": "market", "side": "buy", "time_in_force": "day", "limit_price": null, "stop_price": null, "status": "accepted", "extended_hours": false, "legs": null, "trail_percent": null, "trail_price": null, "hwm": null, "commission": "0" } ``` ## 5\. Events (SSE) [Skip link to 5. Events (SSE)](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#5-events-sse) You can always listen to any event changes to accounts, journals or orders via our Events SSE. An example for a journal update via this endpoint GET/v1/events/journal/updates where it shows all the different stages the journal id = 2f144d2a-91e6-46ff-8e37-959a701cc58d is going through. ```rdmd-code lang- theme-light data: {"at":"2021-05-07T10:28:23.163857Z","entry_type":"JNLC","event_id":1406,"journal_id":"2f144d2a-91e6-46ff-8e37-959a701cc58d","status_from":"","status_to":"queued"} data: {"at":"2021-05-07T10:28:23.468461Z","entry_type":"JNLC","event_id":1407,"journal_id":"2f144d2a-91e6-46ff-8e37-959a701cc58d","status_from":"queued","status_to":"pending"} data: {"at":"2021-05-07T10:28:23.522047Z","entry_type":"JNLC","event_id":1408,"journal_id":"2f144d2a-91e6-46ff-8e37-959a701cc58d","status_from":"pending","status_to":"executed"} ``` **You are now ready to explore more of Broker API!** Have a look at our API References and feel free to contact us anytime through Intercom on your Broker Dashboard! # Request ID [Skip link to Request ID](https://docs.alpaca.markets/docs/getting-started-with-broker-api\#request-id) All Broker API endpoint provides a unique identifier of the API call in the response header with `X-Request-ID` key, the Request ID helps us to identify the call chain in our system. Make sure you provide the Request ID in all support requests that you created, it could help us to solve the issue as soon as possible. Request ID can't be queried in other endpoints, that is why we suggest to persist the recent Request IDs. Shell ```rdmd-code lang-shell theme-light $ curl -v https://broker-api.sandbox.alpaca.markets/v1/accounts ... > GET /v1/accounts HTTP/1.1 > Host: broker-api.sandbox.alpaca.markets > User-Agent: curl/7.88.1 > Accept: */* > < HTTP/1.1 403 Forbidden < Date: Fri, 25 Aug 2023 09:10:03 GMT < Content-Type: application/json < Content-Length: 26 < Connection: keep-alive < X-Request-ID: 65ddd35ed1b3433dbf29d11f6d932c88 < ... ``` Updated8 months ago * * * Now Market Data supports Broker API Alpaca’s backoffice handling of Account Opening Alpaca’s Daily Processes ## Alpaca FIX API Guide # Introduction [Skip link to Introduction](https://docs.alpaca.markets/docs/5f36ea05-b1b4-5fd1-91b5-ef51db361a4b\#introduction) Welcome to the Alpaca FIX (Financial Information eXchange) API! The purpose of this document is to show how the FIX messaging protocol can be used to place orders, receive order updates and trades, replace orders and cancel orders. ## Overview [Skip link to Overview](https://docs.alpaca.markets/docs/5f36ea05-b1b4-5fd1-91b5-ef51db361a4b\#overview) Our API is based on FIX 4.2 specification. Please reach out to our support for FIX credentials. ## Hours of Operation [Skip link to Hours of Operation](https://docs.alpaca.markets/docs/5f36ea05-b1b4-5fd1-91b5-ef51db361a4b\#hours-of-operation) FIX connectivity is available between <3:30a-4a> and <8p-8:15p> New York time, Monday through Friday for equities trading. Any changes or maintenance activities will be notified via email. Updated11 months ago * * * ## Average Entry Price Calculation # Description [Skip link to Description](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#description) The average entry price and the cost basis of a position are returned in the `avg_entry_price` and `cost_basis` fields in the [positions endpoints](https://docs.alpaca.markets/reference/positions). JSON ```rdmd-code lang-json theme-light { "asset_id": "904837e3-3b76-47ec-b432-046db621571b", "symbol": "AAPL ", "exchange": "NASDAQ", "asset_class": "us_equity", "avg_entry_price": "100.0", "qty": "5", "qty_available": "4", "side": "long", "market_value": "600.0", "cost_basis": "500.0", "unrealized_pl": "100.0", "unrealized_plpc": "0.20", "unrealized_intraday_pl": "5.0", "unrealized_intraday_plpc": "0.0084", "current_price": "120.0", "lastday_price": "119.0", "change_today": "0.0084" } ``` There are different methods that can be used to calculate the cost basis and the average entry price of a position such as `Strict FIFO`, `Compressed FIFO`, `Weighted Average`, and others. Each method has its own rules for calculating the cost basis and average entry price after a sell transaction. This page aims to clarify which method is Alpaca using. # Which Method is Alpaca Using? [Skip link to Which Method is Alpaca Using?](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#which-method-is-alpaca-using) - [Weighted Average](https://docs.alpaca.markets/docs/position-average-entry-price-calculation#weighted-average) is used for intraday positions (positions from intraday trades) - [Compressed FIFO](https://docs.alpaca.markets/docs/position-average-entry-price-calculation#compressed-fifo-first-in-first-out) is used for the end-of-day positions (positions from previous trading days) ## Strict FIFO (First-In, First-Out) [Skip link to Strict FIFO (First-In, First-Out)](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#strict-fifo-first-in-first-out) Under the Strict FIFO method, the first position bought is the first position sold. Let's understand how it works: The cost basis after the sell is calculated by deducting from the previous cost basis the price of the first open position multiplied by the sell quantity. In Strict FIFO, the sell quantity is covered using the first open position, however, if the first open position's quantity is not enough to cover the sell quantity, subsequent open positions are used. ### Example: [Skip link to Example:](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#example) Suppose we have the following transactions: Day 1: 1. Buy 100 shares at $10 per share (Cost basis = $1,000) 2. Buy 50 shares at $12 per share (Cost basis = $600) Day 2: 1. Buy 30 shares at $15 per share (Cost basis = $450) Day 3: 1. Sell 120 shares After the sell transaction: - Cost basis: `2050 - 100*10 - 20*12` = `$810` - Average Entry Price: `cost_basis/qty_left` = `810/60` = `$13.5` ## Compressed FIFO (First-In, First-Out) [Skip link to Compressed FIFO (First-In, First-Out)](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#compressed-fifo-first-in-first-out) The Compressed FIFO method follows similar rules to Strict FIFO, with one key difference. It compresses intraday positions using a weighted average. Let's see how it differs: ### Example 1: [Skip link to Example 1:](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#example-1) Using the same example from before: Day 1: 1. Buy 100 shares at $10 per share (Cost basis = $1,000) 2. Buy 50 shares at $12 per share (Cost basis = $600) Day 2: 1. Buy 30 shares at $15 per share (Cost basis = $450) Day 3: 1. Sell 120 shares After the sell transaction: - Cost Basis: `2050 - 120*(100*10 + 50*12)/150` = `$770` - Average entry price: `cost_basis/qty_left` = `770/60` = `$12.83` As you can see the positions in Day 1 were compressed into a total of 150 shares with an average price of `(100*10 + 50*12)/150`. ### Example 2 [Skip link to Example 2](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#example-2) Day 1: 1. Buy 100 shares at $10 per share (Cost basis = $1,000) 2. Buy 50 shares at $9 per share (Cost basis = $450) 3. Sell 50 shares 4. Buy 50 shares at $11 per share (Cost basis = $550) At the end of Day 1: - Cost Basis: `2000 - 50*(100*10 + 50*9 + 50*11)/200` = `$1,500` - Average Entry Price: `1500/150` = `$10` ## Weighted Average [Skip link to Weighted Average](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#weighted-average) The Weighted Average method calculates the cost basis based on the weighted average price per share. Here's how it works: On Sell: The cost basis for the sold quantity is calculated by deducting the sell quantity multiplied by the average entry price of all the opened positions that the account holds. ### Example: [Skip link to Example:](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#example-3) Using the same example from before: Day 1: 1. Buy 100 shares at $10 per share (Cost basis = $1,000) 2. Buy 50 shares at $12 per share (Cost basis = $600) Day 2: 1. Buy 30 shares at $15 per share (Cost basis = $450) Day 3: 1. Sell 120 shares After the sell the calculations based on the Weighted average method would be: - Cost Basis: `2050 - 120*(100*10 + 50*12 + 30*15)/180` = `$683.33` - Average Entry Price: `cost_basis/qty_left` = `683.33/60` = `$11.39` # FAQ [Skip link to FAQ](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#faq) ## Why did the `avg_entry_price` and `cost_basis` of a position change the next day? [Skip link to Why did the ](https://docs.alpaca.markets/docs/position-average-entry-price-calculation\#why-did-the-avg_entry_price-and-cost_basis-of-a-position-change-the-next-day) As described in the [Which method is Alpaca using?](https://docs.alpaca.markets/docs/position-average-entry-price-calculation#which-method-is-alpaca-using) the calculation method for determining the `avg_entry_price` and `cost_basis` differs between the `intraday positions` and the `end-of-day positions`. Consequently, it is possible for the `avg_entry_price` and `cost_basis` fields of a position to change the day after the last trade has occurred. This change occurs when our beginning-of-day (BOD) job executes and synchronizes positions from our ledger. For details regarding the timing of the beginning-of-day (BOD) job, please refer to the [Daily Processes and Reconciliations](https://docs.alpaca.markets/docs/daily-processes-and-reconcilations). Updatedabout 1 year ago * * * ## Alpaca Trading API Guide # Request ID [Skip link to Request ID](https://docs.alpaca.markets/docs/getting-started-with-trading-api\#request-id) All trading API endpoint provides a unique identifier of the API call in the response header with `X-Request-ID` key, the Request ID helps us to identify the call chain in our system. Make sure you provide the Request ID in all support requests that you created, it could help us to solve the issue as soon as possible. Request ID can't be queried in other endpoints, that is why we suggest to persist the recent Request IDs. Shell ```rdmd-code lang-shell theme-light $ curl -v https://paper-api.alpaca.markets/v2/account ... > GET /v2/account HTTP/1.1 > Host: paper-api.alpaca.markets > User-Agent: curl/7.88.1 > Accept: */* > < HTTP/1.1 403 Forbidden < Date: Fri, 25 Aug 2023 09:34:40 GMT < Content-Type: application/json < Content-Length: 26 < Connection: keep-alive < X-Request-ID: 649c5a79da1ab9cb20742ffdada0a7bb < ... ``` Updatedover 1 year ago * * * Did this page help you? Yes No ## KYC Account Status For partners who utilize Alpaca’s KYC service for opening brokerage accounts, if an account is moved to `ACTION_REQUIRED` or `APPROVAL_PENDING` then that indicates that additional action may be needed from you or your user to approve the account. These status updates, along with the reason for the status change, will be relayed in real time via the [Account Status Events](https://docs.alpaca.markets/reference/suscribetoaccountstatussse). The specific KYC results that may require action from your end user will wind up in `ACCEPT`, `INDETERMINATE`, or `REJECT`. The `additional_information` field will be used to relay custom messages from our account opening team. If a KYC result is returned via the `ACCEPT` object then no further action is needed to resolve the request. KYC results returned in the `INDETERMINATE` or `REJECT` objects will require further action before the account can be opened. The following tables can be used to determine what is required from the account opener. **Documentation Required** | KYC Result Code | Government Issued ID Card | Tax ID Card | Statement (utility bill, etc.) | Selfie | | --- | --- | --- | --- | --- | | `IDENTITY_VERIFICATION` | **REQUIRED** | | | | | `TAX_IDENTIFICATION` | | **REQUIRED** | | | | `ADDRESS_VERIFICATION` | OPTIONAL | | OPTIONAL | | | `DATE_OF_BIRTH` | **REQUIRED** | | | | | `SELFIE_VERIFICATION` | | | | **REQUIRED** | **Additional Information Required** | KYC Result Code | Additional Information Required | | --- | --- | | `PEP` | Job title / occupation and address | | `FAMILY_MEMBER_PEP` | Name of politically exposed person if immediate family | | `CONTROL_PERSON` | Company name, company address, and company email | | `AFFILIATED` | Company / firm name, company / firm address, company / firm email | | `VISA_TYPE_OTHER` | Visa type and expiration date | | `W8BEN_CORRECTION` | An updated W8BEN form with corrected information | | `OTHER` | For specific cases our operational team might return with a customized message within the additional\_information attribute. | Updatedabout 1 year ago * * * Did this page help you? Yes No ## Alpaca OAuth2 Guide By default once you have a valid client\_id and client\_secret, any paper account and the live account associated with the OAuth Client will be available to connect to your app. We welcome developers to build applications and products that are powered by Alpaca while also protecting the privacy and security of our users. To build using Alpaca’s APIs, please follow the guide below. > ## ℹ️ Note > > An single Alpaca OAuth token may authorize access to either: > > - One live account > - One paper account > - One live account and one paper account > > For users with multiple paper accounts, the user must go through the authorization flow separately for each account they want to connect. # Getting the Access Token [Skip link to Getting the Access Token](https://docs.alpaca.markets/docs/using-oauth2-and-trading-api\#getting-the-access-token) At a high level the flow looks like this, we will go into detail about each step 1. User requests a connection between your application and Alpaca 2. User is redirected to Alpaca to login and authorize the application from inside the dashbaord 3. Alpaca grants an authorization token to your application thorugh user-agent 4. You application then makes an access token request 5. Alpaca returns an access token grant. ## 1\. Request for Connection on Behalf of User [Skip link to 1. Request for Connection on Behalf of User](https://docs.alpaca.markets/docs/using-oauth2-and-trading-api\#1-request-for-connection-on-behalf-of-user) When redirecting a user to Alpaca to authorize access to your application, you’ll need to construct the authorization URL with the correct parameters and scopes. ```rdmd-code lang- theme-light GET https://app.alpaca.markets/oauth/authorize?response_type=code&client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_REDIRECT_URL&state=SOMETHING_RANDOM&scope=account:write%20trading&env=live ``` Here’s a list of parameters you should always specify: | Parameter | Required? | Description | | --- | --- | --- | | `response_type` | Required | Must be `code` to request an authorization code. | | `client_id` | Required | The `client_id` you were provided with when registering your app | | `redirect_uri` | Required | The redirect URL where the user will be sent after authorization. It must match one of the whitelisted redirect URIs for your application. | | `state` | Optional | An unguessable random string, used to protect against request forgery attacks. | | `scope` | Optional | A space-delimited list of scopes your application requests access to. Read-only endpoint access is assumed by default. | | `env` | Optional | If provided, must be one of `live` or `paper`. If not specified, the user will be prompted to authorized both a live and a paper account. | **Allowed Scopes** | Scope | Description | | --- | --- | | `account:write` | Write access for account configurations and watchlists. | | `trading` | Place, cancel or modify orders. | | `data` | Access to the Data API. | ## 2\. Users Authorizing App to Access Alpaca Account [Skip link to 2. Users Authorizing App to Access Alpaca Account](https://docs.alpaca.markets/docs/using-oauth2-and-trading-api\#2-users-authorizing-app-to-access-alpaca-account) After you redirect a user to Alpaca, we will display the following OAuth consent screen and ask the user to authorize your app to connect to their Alpaca account. ![](https://files.readme.io/06f62610cde297ce4ce76d38c3570190006ea4a6e4612eade17a658d03025b6b-Screenshot_2025-02-14_at_12.00.23_PM.png) If you specify a value for the `env` parameter when redirecting to us, we will ask the user to authorize only a live or a paper account, depending on whether you specified `live` or `paper` respectivley. For example, if specifying `env=paper` as a query parameter, we will show the following consent screen. ![](https://files.readme.io/9b92fd7ba5d76739d84d77054f4c37f453eb5f86a9fcfa66a57342d1bdef8dfb-Screenshot_2025-02-14_at_11.57.09_AM.png) ## 3\. Alpaca Redirect Back to App [Skip link to 3. Alpaca Redirect Back to App](https://docs.alpaca.markets/docs/using-oauth2-and-trading-api\#3-alpaca-redirect-back-to-app) If the user approves access, Alpaca will redirect them back to your `redirect_uri` with a temporary `code` parameter. If you specified a state parameter in step 1, it will be returned as well. The parameter will always match the value specified in step 1. If the values don’t match, the request should not be trusted. Example ```rdmd-code lang- theme-light GET https://example.com/oauth/callback?code=67f74f5a-a2cc-4ebd-88b4-22453fe07994&state=8e02c9c6a3484fadaaf841fb1df290e1 ``` ## 4\. App Receives Authorization Code [Skip link to 4. App Receives Authorization Code](https://docs.alpaca.markets/docs/using-oauth2-and-trading-api\#4-app-receives-authorization-code) You can then use this code to exchange for an access token. ## 5\. App Exchanges Auth Code with Access Token [Skip link to 5. App Exchanges Auth Code with Access Token](https://docs.alpaca.markets/docs/using-oauth2-and-trading-api\#5-app-exchanges-auth-code-with-access-token) After you have received the temporary `code`, you can exchange it for an access token. This can be done by making a `POST` call to `https://api.alpaca.markets/oauth/token` ### Parameters (All Required) [Skip link to Parameters (All Required)](https://docs.alpaca.markets/docs/using-oauth2-and-trading-api\#parameters-all-required) | Parameter | Description | | --- | --- | | `grant_type` | Must be set to authorization\_code for an access token request. | | `code` | The authorization code received in step 4 | | `client_id` | The Client ID you received when you registered the application. | | `client_secret` | The Client Secret you received when you registered the application. | | `redirect_uri` | The redirect URI you used for the authorization code request. | > ## 🚧 Note > > This request should take place behind-the-scenes from your backend server and shouldn’t be visible to the end users for security purposes. The content type must be application/x-www-form-urlencoded as defined in RFC. Example request: cURL ```rdmd-code lang-curl theme-light curl -X POST https://api.alpaca.markets/oauth/token \ -d 'grant_type=authorization_code&code=67f74f5a-a2cc-4ebd-88b4-22453fe07994&client_id=fc9c55efa3924f369d6c1148e668bbe8&client_secret=5b8027074d8ab434882c0806833e76508861c366&redirect_uri=https://example.com/oauth/callback' ``` After a successful request, a valid access token will be returned in the response: JSON ```rdmd-code lang-json theme-light { "access_token": "79500537-5796-4230-9661-7f7108877c60", "token_type": "bearer", "scope": "account:write trading" } ``` # API Calls [Skip link to API Calls](https://docs.alpaca.markets/docs/using-oauth2-and-trading-api\#api-calls) Once you have integrated and have a valid access token you can start make calls to Alpaca Trading API v2 on behalf of the end-user. ## Example Requests [Skip link to Example Requests](https://docs.alpaca.markets/docs/using-oauth2-and-trading-api\#example-requests) A cURL ```rdmd-code lang-curl theme-light curl https://api.alpaca.markets/v2/account / -H 'Authorization: Bearer 79500537-5796-4230-9661-7f7108877c60' ``` cURL ```rdmd-code lang-curl theme-light curl https://paper-api.alpaca.markets/v2/orders / -H 'Authorization: Bearer 79500537-5796-4230-9661-7f7108877c60' ``` The OAuth token can also be used for the trade update websockets stream. ```rdmd-code lang- theme-light { "action": "authenticate", "data": { "oauth_token": "79500537-5796-4230-9661-7f7108877c60" } } ``` Updated3 months ago * * * ## Alpaca Market Data Guide # Installing Alpaca’s Client SDK [Skip link to Installing Alpaca’s Client SDK](https://docs.alpaca.markets/docs/getting-started-with-alpaca-market-data\#installing-alpacas-client-sdk) In this guide, we’ll be making use of the SDKs provided by Alpaca. Alpaca maintains SDKs in four languages: Python, JavaScript, C#, and Go. Follow the steps in the installation guide below to install the SDK of your choice before proceeding to the next section. PythonGoJavaScriptC# ```rdmd-code lang-python theme-light pip install alpaca-py ``` ```rdmd-code lang-go theme-light go get -u github.com/alpacahq/alpaca-trade-api-go/v3/alpaca ``` ```rdmd-code lang-javascript theme-light npm install --save @alpacahq/alpaca-trade-api ``` ```rdmd-code lang-csharp theme-light dotnet add package Alpaca.Markets ``` # Generate API Keys [Skip link to Generate API Keys](https://docs.alpaca.markets/docs/getting-started-with-alpaca-market-data\#generate-api-keys) Go to the [Alpaca dashboard](https://app.alpaca.markets/brokerage/dashboard/overview) and find the **API Keys** section on the right sidebar. Click on Generate New Keys and save the generated API credentials. If you have previously generated keys there and you lost the secret, you can also regenerate them here. # How to Request Market Data Through the SDK [Skip link to How to Request Market Data Through the SDK](https://docs.alpaca.markets/docs/getting-started-with-alpaca-market-data\#how-to-request-market-data-through-the-sdk) With the SDK installed and our API keys ready, you can start requesting market data. Alpaca offers many options for both historical and real-time data, so to keep this guide succint, these examples are on obtaining historical and real-time bar data. Information on what other data is available can be found in the Market Data API reference. To start using the SDK for historical data, import the SDK and instantiate the crypto historical data client. It’s not required for this client to pass in API keys or a paper URL. PythonGoJavaScript ```rdmd-code lang-python theme-light from alpaca.data.historical import CryptoHistoricalDataClient # No keys required for crypto data client = CryptoHistoricalDataClient() ``` ```rdmd-code lang-go theme-light package main import "github.com/alpacahq/alpaca-trade-api-go/v3/marketdata" func main() { // No keys required for crypto data client := marketdata.NewClient(marketdata.ClientOpts{}) } ``` ```rdmd-code lang-javascript theme-light import Alpaca from "@alpacahq/alpaca-trade-api"; // Alpaca() requires the API key and sectret to be set, even for crypto const alpaca = new Alpaca({ keyId: "YOUR_API_KEY", secretKey: "YOUR_API_SECRET", }); ``` Next we’ll define the parameters for our request. Import the request class for crypto bars, CryptoBarsRequest and TimeFrame class to access time frame units more easily. This example queries for historical daily bar data of Bitcoin in the first week of September 2022. PythonGoJavaScript ```rdmd-code lang-python theme-light from alpaca.data.requests import CryptoBarsRequest from alpaca.data.timeframe import TimeFrame # Creating request object request_params = CryptoBarsRequest( symbol_or_symbols=["BTC/USD"], timeframe=TimeFrame.Day, start=datetime(2022, 9, 1), end=datetime(2022, 9, 7) ) ``` ```rdmd-code lang-go theme-light request := marketdata.GetCryptoBarsRequest{ TimeFrame: marketdata.OneDay, Start: time.Date(2022, 9, 1, 0, 0, 0, 0, time.UTC), End: time.Date(2022, 9, 7, 0, 0, 0, 0, time.UTC), } ``` ```rdmd-code lang-javascript theme-light let options = { start: "2022-09-01", end: "2022-09-07", timeframe: alpaca.newTimeframe(1, alpaca.timeframeUnit.DAY), }; ``` Finally, send the request using the client’s built-in method, get\_crypto\_bars. Additionally, we’ll access the .df property which returns a pandas DataFrame of the response. PythonGoJavaScript ```rdmd-code lang-python theme-light # Retrieve daily bars for Bitcoin in a DataFrame and printing it btc_bars = client.get_crypto_bars(request_params) # Convert to dataframe btc_bars.df ``` ```rdmd-code lang-go theme-light bars, err := client.GetCryptoBars("BTC/USD", request) if err != nil { panic(err) } for _, bar := range bars { fmt.Printf("%+v\n", bar) } ``` ```rdmd-code lang-javascript theme-light (async () => { const bars = await alpaca.getCryptoBars(["BTC/USD"], options); console.table(bars.get("BTC/USD")); })(); ``` Returns PythonGoJavaScript ```rdmd-code lang-text theme-light open high low close volume trade_count vwap symbol timestamp BTC/USD 2022-09-01 05:00:00+00:00 20055.79 20292.00 19564.86 20156.76 7141.975485 110122.0 19934.167845 2022-09-02 05:00:00+00:00 20156.76 20444.00 19757.72 19919.47 7165.911879 96231.0 20075.200868 2022-09-03 05:00:00+00:00 19924.83 19968.20 19658.04 19806.11 2677.652012 51551.0 19800.185480 2022-09-04 05:00:00+00:00 19805.39 20058.00 19587.86 19888.67 4325.678790 62082.0 19834.451414 2022-09-05 05:00:00+00:00 19888.67 20180.50 19635.96 19760.56 6274.552824 84784.0 19812.095982 2022-09-06 05:00:00+00:00 19761.39 20026.91 18534.06 18724.59 11217.789784 128106.0 19266.835520 ``` ```rdmd-code lang-go theme-light {Timestamp:2022-09-01 05:00:00 +0000 UTC Open:20055.79 High:20292 Low:19564.86 Close:20156.76 Volume:7141.975485 TradeCount:110122 VWAP:19934.1678446199} {Timestamp:2022-09-02 05:00:00 +0000 UTC Open:20156.76 High:20444 Low:19757.72 Close:19919.47 Volume:7165.911879 TradeCount:96231 VWAP:20075.2008677126} {Timestamp:2022-09-03 05:00:00 +0000 UTC Open:19924.83 High:19968.2 Low:19658.04 Close:19806.11 Volume:2677.652012 TradeCount:51551 VWAP:19800.1854803241} {Timestamp:2022-09-04 05:00:00 +0000 UTC Open:19805.39 High:20058 Low:19587.86 Close:19888.67 Volume:4325.67879 TradeCount:62082 VWAP:19834.4514137038} {Timestamp:2022-09-05 05:00:00 +0000 UTC Open:19888.67 High:20180.5 Low:19635.96 Close:19760.56 Volume:6274.552824 TradeCount:84784 VWAP:19812.0959815687} {Timestamp:2022-09-06 05:00:00 +0000 UTC Open:19761.39 High:20026.91 Low:18534.06 Close:18724.59 Volume:11217.789784 TradeCount:128106 VWAP:19266.8355201911} ``` ```rdmd-code lang-javascript theme-light ┌─────────┬──────────┬──────────┬──────────┬────────────┬──────────┬────────────────────────┬──────────────┬──────────────────┐ │ (index) │ Close │ High │ Low │ TradeCount │ Open │ Timestamp │ Volume │ VWAP │ ├─────────┼──────────┼──────────┼──────────┼────────────┼──────────┼────────────────────────┼──────────────┼──────────────────┤ │ 0 │ 20156.76 │ 20292 │ 19564.86 │ 110122 │ 20055.79 │ '2022-09-01T05:00:00Z' │ 7141.975485 │ 19934.1678446199 │ │ 1 │ 19919.47 │ 20444 │ 19757.72 │ 96231 │ 20156.76 │ '2022-09-02T05:00:00Z' │ 7165.911879 │ 20075.2008677126 │ │ 2 │ 19806.11 │ 19968.2 │ 19658.04 │ 51551 │ 19924.83 │ '2022-09-03T05:00:00Z' │ 2677.652012 │ 19800.1854803241 │ │ 3 │ 19888.67 │ 20058 │ 19587.86 │ 62082 │ 19805.39 │ '2022-09-04T05:00:00Z' │ 4325.67879 │ 19834.4514137038 │ │ 4 │ 19760.56 │ 20180.5 │ 19635.96 │ 84784 │ 19888.67 │ '2022-09-05T05:00:00Z' │ 6274.552824 │ 19812.0959815687 │ │ 5 │ 18724.59 │ 20026.91 │ 18534.06 │ 128106 │ 19761.39 │ '2022-09-06T05:00:00Z' │ 11217.789784 │ 19266.8355201911 │ └─────────┴──────────┴──────────┴──────────┴────────────┴──────────┴────────────────────────┴──────────────┴──────────────────┘ ``` # Request ID [Skip link to Request ID](https://docs.alpaca.markets/docs/getting-started-with-alpaca-market-data\#request-id) All market data API endpoint provides a unique identifier of the API call in the response header with `X-Request-ID` key, the Request ID helps us to identify the call chain in our system. Make sure you provide the Request ID in all support requests that you created, it could help us to solve the issue as soon as possible. Request ID can't be queried in other endpoints, that is why we suggest to persist the recent Request IDs. Shell ```rdmd-code lang-shell theme-light $ curl -v https://data.alpaca.markets/v2/stocks/bars ... > GET /v2/stocks/bars HTTP/1.1 > Host: data.alpaca.markets > User-Agent: curl/7.88.1 > Accept: */* > < HTTP/1.1 403 Forbidden < Date: Fri, 25 Aug 2023 09:37:03 GMT < Content-Type: application/json < Content-Length: 26 < Connection: keep-alive < X-Request-ID: 0d29ba8d9a51ee0eb4e7bbaa9acff223 < ... ``` Updated5 months ago * * * ## Non-Trade Option Activities # Option Exercise [Skip link to Option Exercise](https://docs.alpaca.markets/docs/non-trade-activities-for-option-events\#option-exercise) ```rdmd-code lang- theme-light [\ {\ "id": "20190801011955195::5f596936-6f23-4cef-bdf1-3806aae57dbf",\ "activity_type": "OPEXC",\ "date": "2023-07-21",\ "net_amount": "0",\ "description": "Option Exercise",\ "symbol": "AAPL230721C00150000",\ "qty": "-2",\ "status": "executed"\ },\ {\ "id": "20190801011955195::5f596936-6f23-4cef-bdf1-3806aae57dbf",\ "activity_type": "OPTRD",\ "date": "2023-07-21",\ "net_amount": "-30000",\ "description": "Option Trade",\ "symbol": "AAPL",\ "qty": "200",\ "price": "90",\ "status": "executed"\ }\ ] ``` The exercise event (OPEXC) is applicable to 2 contracts, and the corresponding trade (OPTRD) represents 200 of the underlying shares being purchased at a per-share amount of $150 (strike price). # Option Assignment [Skip link to Option Assignment](https://docs.alpaca.markets/docs/non-trade-activities-for-option-events\#option-assignment) ```rdmd-code lang- theme-light [\ {\ "id": "20190801011955195::5f596936-6f23-4cef-bdf1-3806aae57dbf",\ "activity_type": "OPASN",\ "date": "2023-07-01",\ "net_amount": "0",\ "description": "Option Assignment",\ "symbol": "AAPL230721C00150000",\ "qty": "2",\ "status": "executed"\ },\ {\ "activity_type": "OPTRD",\ "id": "20190801011955195::5f596936-6f23-4cef-bdf1-3806aae57dbf",\ "date": "2023-07-01",\ "net_amount": "30000",\ "description": "Option Trade",\ "symbol": "AAPL",\ "qty": "-200",\ "price": "150",\ "status": "executed"\ }\ ] ``` The assignment event (OPASN) is applicable to 2 contracts, and the corresponding trade (OPTRD) represents 200 of the underlying shares being sold at a per-share amount of $150 (strike price). # ITM Option Expiry [Skip link to ITM Option Expiry](https://docs.alpaca.markets/docs/non-trade-activities-for-option-events\#itm-option-expiry) In the event of an in-the-money (ITM) option reaching expiration without being designated as "Do Not Exercise" (DNE), the Alpaca system will automatically initiate the exercise process on behalf of the user. This process mirrors the Exercise event described earlier. In cases where there is insufficient buying power or underlying positions to facilitate the exercise, the system will generate an automated order for the liquidation of the position. # OTM Option Expiry [Skip link to OTM Option Expiry](https://docs.alpaca.markets/docs/non-trade-activities-for-option-events\#otm-option-expiry) ```rdmd-code lang- theme-light [\ {\ "id": "20190801011955195::5f596936-6f23-4cef-bdf1-3806aae57dbf",\ "activity_type": "OPEXP",\ "date": "2023-07-21",\ "net_amount": "0",\ "description": "Option Expiry",\ "symbol": "AAPL230721C00150000",\ "qty": "-2",\ "status": "executed"\ }\ ] ``` When a contract expires OTM, the Alpaca system will flatten the position and no further action is taken. Updated10 months ago * * * Did this page help you? Yes No # https://alpaca.markets/sdks/python/ llms-full.txt ## Broker API Overview ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/broker.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Broker [\#](https://alpaca.markets/sdks/python/broker.html\#broker "Permalink to this heading") ## What is Broker API? [\#](https://alpaca.markets/sdks/python/broker.html\#what-is-broker-api "Permalink to this heading") The Broker API allows you to build investment services. The Broker API lets you create brokerage accounts on behalf of your users, fund those accounts, place and manage orders on behalf of those accounts, journal cash and securities between accounts, and more. Some common use cases of Broker API are: - Trading/investing app (non-financial institution) - Broker dealer (fully-disclosed, non-disclosed, omnibus) - Registered Investment Advisor (RIA) We support most use cases internationally. * * * ## Getting Started with BrokerClient [\#](https://alpaca.markets/sdks/python/broker.html\#getting-started-with-brokerclient "Permalink to this heading") In alpaca-py, all Broker API services are accessed through the `BrokerClient`. For each endpoint in the Broker API, there is a corresponding method within the client. To initialize a client, you will need to provide it your **API keys** which can be found on the [Broker dashboard](https://broker-app.alpaca.markets/). If you wish to use your sandbox keys, you will need to set the sandbox parameter to `True` when initializing. Learn more about `BrokerClient` in the Broker reference page. ``` from alpaca.broker import BrokerClient BROKER_API_KEY = "api-key" BROKER_SECRET_KEY = "secret-key" broker_client = BrokerClient( api_key=Broker_API_KEY, secret_key=BROKER_SECRET_KEY, sandbox=True, ) ``` Copy to clipboard ## Using Request Objects [\#](https://alpaca.markets/sdks/python/broker.html\#using-request-objects "Permalink to this heading") In Alpaca-py, many methods will require instantiating and passing in a separate object for the request parameters. For example, the `BrokerClient::create_journal` method requires you to pass in a `CreateJournalRequest` object as a parameter. Once successfully instantiated, the `CreateJournalRequest` object will contain all the data required for a successful request to the API. ## Accounts [\#](https://alpaca.markets/sdks/python/broker.html\#accounts "Permalink to this heading") The accounts API allows you to create and manage brokerage accounts on behalf of your users. To learn more about accounts on Broker API, visit the [Alpaca API documentation](https://alpaca.markets/docs/api-references/broker-api/accounts/accounts/). ### Create an Account [\#](https://alpaca.markets/sdks/python/broker.html\#create-an-account "Permalink to this heading") You can create brokerage accounts on behalf of your users using the `BrokerClient::create_account` method. To create an account you need to first instantiate a `CreateAccountRequest` with all the relevant account details. `CreateAccountRequest` requires `contact`, `identity`, `disclosures`, and `agreements`. There are also two additional fields which are optional: `documents` and `trusted_contact`. First we will need to prepare our account data by organizing its constituent parts. Then we can pass those parts into the `CreateAccountRequest` model before submitting our request. ``` from alpaca.broker.client import BrokerClient from alpaca.broker.models import ( Contact, Identity, Disclosures, Agreement ) from alpaca.broker.requests import CreateAccountRequest from alpaca.broker.enums import TaxIdType, FundingSource, AgreementType broker_client = BrokerClient('api-key', 'secret-key') # Contact contact_data = Contact( email_address="cool_alpaca@example.com", phone_number="555-666-7788", street_address=["20 N San Mateo Dr"], city="San Mateo", state="CA", postal_code="94401", country="USA" ) # Identity identity_data = Identity( given_name="John", middle_name="Smith", family_name="Doe", date_of_birth="1990-01-01", tax_id="666-55-4321", tax_id_type=TaxIdType.USA_SSN, country_of_citizenship="USA", country_of_birth="USA", country_of_tax_residence="USA", funding_source=[FundingSource.EMPLOYMENT_INCOME] ) # Disclosures disclosure_data = Disclosures( is_control_person=False, is_affiliated_exchange_or_finra=False, is_politically_exposed=False, immediate_family_exposed=False, ) # Agreements agreement_data = [\ Agreement(\ agreement=AgreementType.MARGIN,\ signed_at="2020-09-11T18:09:33Z",\ ip_address="185.13.21.99",\ ),\ Agreement(\ agreement=AgreementType.ACCOUNT,\ signed_at="2020-09-11T18:13:44Z",\ ip_address="185.13.21.99",\ ),\ Agreement(\ agreement=AgreementType.CUSTOMER,\ signed_at="2020-09-11T18:13:44Z",\ ip_address="185.13.21.99",\ ),\ Agreement(\ agreement=AgreementType.CRYPTO,\ signed_at="2020-09-11T18:13:44Z",\ ip_address="185.13.21.99",\ )\ ] # ## CreateAccountRequest ## # account_data = CreateAccountRequest( contact=contact_data, identity=identity_data, disclosures=disclosure_data, agreements=agreement_data ) # Make a request to create a new brokerage account account = broker_client.create_account(account_data) ``` Copy to clipboard ### List All Accounts [\#](https://alpaca.markets/sdks/python/broker.html\#list-all-accounts "Permalink to this heading") The `BrokerClient::list_accounts` method allows you to list all the brokerage accounts under your management. The method takes an optional parameter `search_parameters` which requires a `ListAccountsRequest` object. This parameter allows you to filter the list of accounts returned. ``` from alpaca.broker.client import BrokerClient from alpaca.broker.requests import ListAccountsRequest from alpaca.broker.enums import AccountEntities broker_client = BrokerClient('api-key', 'secret-key') # search for accounts created after January 30th 2022. #Response should contain Contact and Identity fields for each account. filter = ListAccountsRequest( created_after=datetime.datetime.strptime("2022-01-30", "%Y-%m-%d"), entities=[AccountEntities.CONTACT, AccountEntities.IDENTITY] ) accounts = broker_client.list_accounts(search_parameters=filter) ``` Copy to clipboard ## Funding [\#](https://alpaca.markets/sdks/python/broker.html\#funding "Permalink to this heading") The funding API allows you to create Bank/ACH connections and transfer funds in and out of accounts. To learn more about funding on Broker API, please visit the [Alpaca API documentation](https://alpaca.markets/docs/api-references/broker-api/funding/transfers/). ### Create an ACH Relationship [\#](https://alpaca.markets/sdks/python/broker.html\#create-an-ach-relationship "Permalink to this heading") Before an account can be funded, it needs to have an external account connection established. There are two types of connections that be created: ACH relationships and bank relationships. ACH Relationships can be created using routing and account numbers, or via Plaid. To use Plaid, you will require a `processor_token` provided by Plaid specifically for Alpaca. View this [article](https://alpaca.markets/learn/easily-allow-your-user-to-fund-their-account-with-plaid-and-broker-api/) to learn more In this example we will use routing and account numbers to establish an ACH relationship. ``` from alpaca.broker.client import BrokerClient from alpaca.broker.requests import CreateACHRelationshipRequest from alpaca.broker.enums import BankAccountType broker_client = BrokerClient('api-key', 'secret-key') account_id = "c8f1ef5d-edc0-4f23-9ee4-378f19cb92a4" ach_data = CreateACHRelationshipRequest( account_owner_name="John Doe", bank_account_type=BankAccountType.CHECKING, bank_account_number="123456789abc", bank_routing_number="121000358", ) ach_relationship = broker_client.create_ach_relationship_for_account( account_id=account_id, ach_data=ach_data ) ``` Copy to clipboard ### Create a Transfer [\#](https://alpaca.markets/sdks/python/broker.html\#create-a-transfer "Permalink to this heading") After a bank or ACH relationship has been established for an account, transfers can be made. There are two types of transfers: incoming (deposits) or outgoing (withdrawals). Transfers based on ACH relationships must use `CreateACHTransferRequest` and bank relationships must use `CreateBankTransferRequest`. ``` from alpaca.broker.client import BrokerClient from alpaca.broker.requests import CreateACHTransferRequest from alpaca.broker.enums import TransferDirection, TransferTiming broker_client = BrokerClient('api-key', 'secret-key') account_id = "c8f1ef5d-edc0-4f23-9ee4-378f19cb92a4" transfer_data = CreateACHTransferRequest( amount=1000, direction=TransferDirection.INCOMING, timing=TransferTiming.IMMEDIATE, relationship_id="0f08c6bc-8e9f-463d-a73f-fd047fdb5e94" ) transfer = broker_client.create_transfer_for_account( account_id=account_id, transfer_data=transfer_data ) ``` Copy to clipboard ## Journals [\#](https://alpaca.markets/sdks/python/broker.html\#journals "Permalink to this heading") The journals API allows you to transfer cash and securities between accounts under your management. To learn more about the journals API, visit the [Alpaca API documentation](https://alpaca.markets/docs/api-references/broker-api/journals/). ### Create a Journal [\#](https://alpaca.markets/sdks/python/broker.html\#create-a-journal "Permalink to this heading") A journal is made between two accounts. For every journal request, assets will leave `from_account` and into `to_account`. There are two types of journals: cash journals and security journals. Cash journals move the account currency between accounts. Security journals move stocks between accounts. ``` from alpaca.broker.client import BrokerClient from alpaca.broker.requests import CreateJournalRequest from alpaca.broker.enums import JournalEntryType broker_client = BrokerClient('api-key', 'secret-key') journal_data = CreateJournalRequest( from_account="c8f1ef5d-edc0-4f23-9ee4-378f19cb92a4", entry_type=JournalEntryType.CASH, to_account="0f08c6bc-8e9f-463d-a73f-fd047fdb5e94", amount=50 ) journal = broker_client.create_journal(journal_data=journal_data) ``` Copy to clipboard ### Create a Batch Journal [\#](https://alpaca.markets/sdks/python/broker.html\#create-a-batch-journal "Permalink to this heading") A batch journal lets you journal from one account into many accounts at the same time. ``` from alpaca.broker.client import BrokerClient from alpaca.broker.requests import CreateBatchJournalRequest, BatchJournalRequestEntry from alpaca.broker.enums import JournalEntryType broker_client = BrokerClient('api-key', 'secret-key') # Receiving accounts batch_entries = [\ BatchJournalRequestEntry(\ to_account="d7017fd9-60dd-425b-a09a-63ff59368b62",\ amount=50,\ ),\ BatchJournalRequestEntry(\ to_account="94fa473d-9a92-40cd-908c-25da9fba1e65",\ amount=100,\ ),\ BatchJournalRequestEntry(\ to_account="399f85f1-cbbd-4eaa-a934-70027fb5c1de",\ amount=700,\ ),\ ] batch_journal_data = CreateBatchJournalRequest( entry_type=JournalEntryType.CASH, from_account="8f8c8cee-2591-4f83-be12-82c659b5e748", entries=batch_entries ) batch_journal = broker_client.create_batch_journal(batch_data=batch_journal_data) ``` Copy to clipboard ## Trading [\#](https://alpaca.markets/sdks/python/broker.html\#trading "Permalink to this heading") The Broker trading API allows you to place orders and manage positions on behalf of your users. To learn more about trading on Broker API, visit the [Alpaca API documentation](https://alpaca.markets/docs/api-references/broker-api/trading/orders/). Attention Keep in mind, all models necessary for trading on Broker API live within the `alpaca.broker` and **not** `alpaca.trading`. Although the trading models in `alpaca.broker` and `alpaca.trading` have the same name, they are different. ### Create an Order [\#](https://alpaca.markets/sdks/python/broker.html\#create-an-order "Permalink to this heading") To create an order on Alpaca-py you must use an `OrderRequest` object. There are different `OrderRequest` objects based on the type of order you want to make. For market orders, there is `MarketOrderRequest`, limit orders have `LimitOrderRequest`, stop orders `StopOrderRequest`, and trailing stop orders have `TrailingStopOrderRequest`. Each order type have their own required parameters for a successful order. ``` from alpaca.broker.client import BrokerClient from alpaca.broker.requests import MarketOrderRequest, LimitOrderRequest from alpaca.trading.enums import OrderSide, TimeInForce broker_client = BrokerClient('api-key', 'secret-key') # account to make order for account_id = "c8f1ef5d-edc0-4f23-9ee4-378f19cb92a4" # preparing orders market_order_data = MarketOrderRequest( symbol="BTCUSD", qty=1, side=OrderSide.BUY, time_in_force=TimeInForce.GTC, commission=1 ) limit_order_data = LimitOrderRequest( symbol="SPY", limit_price=300, qty=10, side=OrderSide.SELL, time_in_force=TimeInForce.FOK, commission=1 ) # Market order market_order = broker_client.submit_order_for_account( account_id=account_id, order_data=market_order_data ) # Limit order limit_order = broker_client.submit_order_for_account( account_id=account_id, order_data=limit_order_data ) ``` Copy to clipboard ### Get All Positions [\#](https://alpaca.markets/sdks/python/broker.html\#get-all-positions "Permalink to this heading") You can retrieve all open positions for a specific account using only the `account_id`. This will return a list of `Position` objects. ``` from alpaca.broker import BrokerClient broker_client = BrokerClient('api-key', 'secret-key') # account to get positions for account_id = "c8f1ef5d-edc0-4f23-9ee4-378f19cb92a4" positions = broker_client.get_all_positions_for_account(account_id=account_id) ``` Copy to clipboard ## Alpaca Python SDK Guide ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/getting_started.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Getting Started [\#](https://alpaca.markets/sdks/python/getting_started.html\#getting-started "Permalink to this heading") ## About [\#](https://alpaca.markets/sdks/python/getting_started.html\#about "Permalink to this heading") Alpaca-py provides an interface for interacting with the API products Alpaca offers. These API products are provided as various REST, WebSocket and SSE endpoints that allow you to do everything from streaming market data to creating your own trading apps. You can learn about the API products Alpaca offers at [alpaca.markets](https://alpaca.markets/). ## Usage [\#](https://alpaca.markets/sdks/python/getting_started.html\#usage "Permalink to this heading") Alpaca’s APIs allow you to do everything from building algorithmic trading strategies to building a full brokerage experience for your own end users. Here are some things you can do with Alpaca-py. **Market Data API**: Access live and historical market data for 5000+ stocks, 20+ crypto, and options. **Trading API**: Trade stock, crypto, and options with lightning fast execution speeds. **Broker API & Connect**: Build investment apps - from robo-advisors to brokerages. ## Installation [\#](https://alpaca.markets/sdks/python/getting_started.html\#installation "Permalink to this heading") Alpaca-py is supported on Python 3.7+. You can install Alpaca-py using pip. To learn more about version histories, visit the [PyPI page](https://pypi.org/project/alpaca-py/). To install Alpaca-py, run the following pip command in your terminal. ``` pip install alpaca-py ``` Copy to clipboard ### Errors [\#](https://alpaca.markets/sdks/python/getting_started.html\#errors "Permalink to this heading") Try upgrading your pip before installing if you face errors. ``` pip install --upgrade pip ``` Copy to clipboard ### Poetry [\#](https://alpaca.markets/sdks/python/getting_started.html\#poetry "Permalink to this heading") If you’re using poetry to manage dependencies in your project. You can add Alpaca-py to your project by running ``` poetry add alpaca-py ``` Copy to clipboard ## What’s New? [\#](https://alpaca.markets/sdks/python/getting_started.html\#what-s-new "Permalink to this heading") If you’ve used the previous python SDK [alpaca-trade-api](https://github.com/alpacahq/alpaca-trade-api-python), there are a few key differences to be aware of. ### Broker API [\#](https://alpaca.markets/sdks/python/getting_started.html\#broker-api "Permalink to this heading") Alpaca-py lets you use Broker API to start building your investment apps! Learn more at the [Broker](https://alpaca.markets/sdks/python/broker.html#broker) page. ### OOP Design [\#](https://alpaca.markets/sdks/python/getting_started.html\#oop-design "Permalink to this heading") Alpaca-py uses a more OOP approach to submitting requests compared to the previous SDK. To submit a request, you will most likely need to create a request object containing the desired request data. Generally, there is a unique request model for each method. Some examples of request models corresponding to methods: - `GetOrdersRequest` for `TradingClient.get_orders()` - `CryptoLatestOrderbookRequest` for `CryptoHistoricalDataClient.get_crypto_latest_orderbook()` **Request Models Usage Example** To get historical bar data for crypto, you will need to provide a CryptoBarsRequest object. ``` from alpaca.data.historical import CryptoHistoricalDataClient from alpaca.data.requests import CryptoBarsRequest from alpaca.data.timeframe import TimeFrame # no keys required for crypto data client = CryptoHistoricalDataClient() request_params = CryptoBarsRequest( symbol_or_symbols=["BTC/USD", "ETH/USD"], timeframe=TimeFrame.Day, start="2022-07-01" ) bars = client.get_crypto_bars(request_params) ``` Copy to clipboard ### Data Validation [\#](https://alpaca.markets/sdks/python/getting_started.html\#data-validation "Permalink to this heading") Alpaca-py uses pydantic to validate data models at run-time. This means if you are receiving request data via JSON from a client. You can handle parsing and validation through Alpaca’s request models. All request models can be instantiated by passing in data in dictionary format. Here is a rough example of what is possible. ``` @app.route('/post_json', methods=['POST']) def do_trade(): # ... order_data_json = request.get_json() # validate data MarketOrderRequest(**order_data_json) # ... ``` Copy to clipboard ### Many Clients [\#](https://alpaca.markets/sdks/python/getting_started.html\#many-clients "Permalink to this heading") Alpaca-py has a lot of client classes. There is a client for each API and even asset class specific clients ( `StockHistoricalDataClient`, `CryptoHistoricalDataClient`, `OptionHistoricalData`). This requires you to pick and choose clients based on your needs. **Broker API:** `BrokerClient` **Trading API:** `TradingClient` **Market Data API:** `StockHistoricalDataClient`, `CryptoHistoricalDataClient`, `OptionHistoricalDataClient`, `CryptoDataStream`, `StockDataStream`, `OptionDataStream` ## API Keys [\#](https://alpaca.markets/sdks/python/getting_started.html\#api-keys "Permalink to this heading") ### Trading and Market Data API [\#](https://alpaca.markets/sdks/python/getting_started.html\#trading-and-market-data-api "Permalink to this heading") In order to use Alpaca’s services you’ll need to [sign up for an Alpaca account](https://app.alpaca.markets/signup) and retrieve your API keys. Signing up is completely free and takes only a few minutes. Sandbox environments are available to test out the API. To use the sandbox environment, you will need to provide sandbox/paper keys. API keys are passed into Alpaca-py through either `TradingClient`, `StockHistoricalDataClient`, `CryptoHistoricalDataClient`, `OptionHistoricalDataClient`, `StockDataStream`, `CryptoDataStream`, or `OptionDataStream`. ### Broker API [\#](https://alpaca.markets/sdks/python/getting_started.html\#id1 "Permalink to this heading") To use the Broker API, you will need to sign up for a [broker account](https://broker-app.alpaca.markets/sign-up) and retrieve your Broker API keys. The API keys can be found on the dashboard once you’ve logged in. Alpaca also provides a sandbox environment to test out Broker API. To use the sandbox mode, provide your sandbox keys. Once you have your keys, you can pass them into `BrokerClient` to get started. ## Market Data API Overview ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/market_data.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Market Data [\#](https://alpaca.markets/sdks/python/market_data.html\#market-data "Permalink to this heading") The market data API allows you to access both live and historical data for equities, cryptocurrencies, and options. Over 5 years of historical data is available for thousands of equity and cryptocurrency symbols. Various data types are available such as bars/candles (OHLCV), trade data (price and sales), and quote data. For crypto, there is also orderbook data. For more information on the data types available, please look at the [API reference](https://alpaca.markets/docs/market-data/). ## Subscription Plans [\#](https://alpaca.markets/sdks/python/market_data.html\#subscription-plans "Permalink to this heading") Most market data features are free to use. However, if you are a professional or institution, you may wish to expand with the unlimited plan. Learn more about the subscriptions plans at [alpaca.markets/data](https://alpaca.markets/data). ## API Keys [\#](https://alpaca.markets/sdks/python/market_data.html\#api-keys "Permalink to this heading") You can sign up for API keys [here](https://app.alpaca.markets/signup). API keys allow you to access stock data. Keep in mind, crypto data does not require authentication to use. i.e. you can initialize `CryptoHistoricalDataClient` without providing API keys. However, if you do provide API keys, your rate limit will be higher. ## Historical Data [\#](https://alpaca.markets/sdks/python/market_data.html\#historical-data "Permalink to this heading") There are 2 historical data clients: `StockHistoricalDataClient`, `CryptoHistoricalDataClient`, and `OptionHistoricalDataClient`. The crypto data client does not require API keys to use. ### Clients [\#](https://alpaca.markets/sdks/python/market_data.html\#clients "Permalink to this heading") Historical Data can be queried by using one of the two historical data clients: `StockHistoricalDataClient`, `CryptoHistoricalDataClient`, and `OptionHistoricalDataClient`. Historical data is available for Bar, Trade and Quote datatypes. For crypto, latest orderbook data is also available. ``` from alpaca.data import CryptoHistoricalDataClient, StockHistoricalDataClient, OptionHistoricalDataClient # no keys required. crypto_client = CryptoHistoricalDataClient() # keys required stock_client = StockHistoricalDataClient("api-key", "secret-key") option_client = OptionHistoricalDataClient("api-key", "secret-key") ``` Copy to clipboard ### Retrieving Latest Quote Data [\#](https://alpaca.markets/sdks/python/market_data.html\#retrieving-latest-quote-data "Permalink to this heading") The latest quote data is available through the historical data clients. The method will return a dictionary of Trade objects that are keyed by the corresponding symbol. We will need to use the `StockLatestQuoteRequest` model to prepare the request parameters. Attention Models that are returned by both historical data clients are agnostic of the number of symbols that were passed in. This means that you must use the symbol as a key to access the data regardless of whether a single symbol or multiple symbols were queried. Below is an example of this in action. **Multi Symbol** Here is an example of submitting a data request for multiple symbols. The symbol\_or\_symbols parameter can accommodate both a single symbol or a list of symbols. Notice how the data for a single symbol is accessed after the query. We use the symbol we desire as a key to access the data. ``` from alpaca.data.historical import StockHistoricalDataClient from alpaca.data.requests import StockLatestQuoteRequest # keys required for stock historical data client client = StockHistoricalDataClient('api-key', 'secret-key') # multi symbol request - single symbol is similar multisymbol_request_params = StockLatestQuoteRequest(symbol_or_symbols=["SPY", "GLD", "TLT"]) latest_multisymbol_quotes = client.get_stock_latest_quote(multisymbol_request_params) gld_latest_ask_price = latest_multisymbol_quotes["GLD"].ask_price ``` Copy to clipboard **Single Symbol** This is a similar example but for a single symbol. The key thing to notice is how we still need to use the symbol as a key to access the data we desire. This might seem odd since we only queried a single symbol. However, this must be done since the data models are agnostic to the number of symbols. ``` from alpaca.data.historical import CryptoHistoricalDataClient from alpaca.data.requests import CryptoLatestQuoteRequest # no keys required client = CryptoHistoricalDataClient() # single symbol request request_params = CryptoLatestQuoteRequest(symbol_or_symbols="ETH/USD") latest_quote = client.get_crypto_latest_quote(request_params) # must use symbol to access even though it is single symbol latest_quote["ETH/USD"].ask_price ``` Copy to clipboard ### Retrieving Historical Bar Data [\#](https://alpaca.markets/sdks/python/market_data.html\#retrieving-historical-bar-data "Permalink to this heading") You can request bar (candlestick) data via the HistoricalDataClients. In this example, we query daily bar data for “BTC/USD” and “ETH/USD” since July 1st 2022 using `CryptoHistoricalDataClient`. You can convert the response to a multi-index pandas dataframe using the `.df` property. ``` from alpaca.data.historical import CryptoHistoricalDataClient from alpaca.data.requests import CryptoBarsRequest from alpaca.data.timeframe import TimeFrame from datetime import datetime # no keys required for crypto data client = CryptoHistoricalDataClient() request_params = CryptoBarsRequest( symbol_or_symbols=["BTC/USD", "ETH/USD"], timeframe=TimeFrame.Day, start=datetime(2022, 7, 1), end=datetime(2022, 9, 1) ) bars = client.get_crypto_bars(request_params) # convert to dataframe bars.df # access bars as list - important to note that you must access by symbol key # even for a single symbol request - models are agnostic to number of symbols bars["BTC/USD"] ``` Copy to clipboard ## Real Time Data [\#](https://alpaca.markets/sdks/python/market_data.html\#real-time-data "Permalink to this heading") ### Clients [\#](https://alpaca.markets/sdks/python/market_data.html\#id2 "Permalink to this heading") The data stream clients lets you subscribe to real-time data via WebSockets. There are clients for crypto data, stock data and option data. These clients are different from the historical ones. They do not have methods which return data immediately. Instead, the methods in these clients allow you to assign methods to receive real-time data. ``` from alpaca.data.live import CryptoDataStream, OptionDataStream, StockDataStream # keys are required for live data crypto_stream = CryptoDataStream("api-key", "secret-key") # keys required stock_stream = StockDataStream("api-key", "secret-key") option_stream = OptionDataStream("api-key", "secret-key") ``` Copy to clipboard ### Subscribing to Real-Time Quote Data [\#](https://alpaca.markets/sdks/python/market_data.html\#subscribing-to-real-time-quote-data "Permalink to this heading") This example shows how to receive live quote data for stocks. To receive real time data, you will need to provide the client an asynchronous function to handle the data. The client will assign this provided method to receive the real-time data as it is available. Finally, you will need to call the `run` method to start receiving data. ``` from alpaca.data.live import StockDataStream wss_client = StockDataStream('api-key', 'secret-key') # async handler async def quote_data_handler(data): # quote data will arrive here print(data) wss_client.subscribe_quotes(quote_data_handler, "SPY") wss_client.run() ``` Copy to clipboard ## Alpaca Trading SDK ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/trading.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Trading [\#](https://alpaca.markets/sdks/python/trading.html\#trading "Permalink to this heading") Alpaca offers brokerage services for equities and crypto. Equity trading is commission free while crypto trading fees are tiered. Alpaca-py allows you to place orders and manage your positions on your Alpaca brokerage account. ## Paper Trading [\#](https://alpaca.markets/sdks/python/trading.html\#paper-trading "Permalink to this heading") Alpaca offers a paper trading sandbox environment so you can test out the API or paper trade your strategy before you go live. The paper trading environment is free to use. You can learn more about paper trading on the [Alpaca API documentation](https://alpaca.markets/docs/trading/paper-trading/). To use paper trading, you will need to set the paper parameter to True when instantiating the TradingClient. Make sure the keys you are providing correspond to a paper account. ``` from alpaca.trading.client import TradingClient # paper=True enables paper trading trading_client = TradingClient('api-key', 'secret-key', paper=True) ``` Copy to clipboard ## Retrieving Account Details [\#](https://alpaca.markets/sdks/python/trading.html\#retrieving-account-details "Permalink to this heading") You can access details about your brokerage account like how much buying power you have, whether you’ve been flagged by as a pattern day trader, your total equity. ``` from alpaca.trading.client import TradingClient trading_client = TradingClient('api-key', 'secret-key') account = trading_client.get_account() ``` Copy to clipboard ## Assets [\#](https://alpaca.markets/sdks/python/trading.html\#assets "Permalink to this heading") The assets API serves a list of assets available on Alpaca for trading and data consumption. It is important to note that not all assets are tradable on Alpaca, and those assets will be marked with `tradable=False`. To learn more about Assets, visit the [Alpaca API documentation](https://alpaca.markets/docs/api-references/trading-api/assets/). ### Getting All Assets [\#](https://alpaca.markets/sdks/python/trading.html\#getting-all-assets "Permalink to this heading") Retrieves a list of assets that matches the search parameters. If there is not any search parameters provided, a list of all available assets will be returned. Search parameters for assets are defined by the `GetAssetsRequest` model, which allows filtering by `AssetStatus`, `AssetClass`, and `AssetExchange`. ``` from alpaca.trading.client import TradingClient from alpaca.trading.requests import GetAssetsRequest from alpaca.trading.enums import AssetClass trading_client = TradingClient('api-key', 'secret-key') # search for crypto assets search_params = GetAssetsRequest(asset_class=AssetClass.CRYPTO) assets = trading_client.get_all_assets(search_params) ``` Copy to clipboard ## Orders [\#](https://alpaca.markets/sdks/python/trading.html\#orders "Permalink to this heading") The orders API allows you to submit orders and then manage those orders. You can customize your order with various order types, order time in forces or by creating multi-leg orders. To learn more about orders, visit the [Alpaca API documentation](https://alpaca.markets/docs/trading/orders/). ### Creating an Order [\#](https://alpaca.markets/sdks/python/trading.html\#creating-an-order "Permalink to this heading") To create on order on Alpaca-py you must use an `OrderRequest` object. There are different `OrderRequest` objects based on the type of order you want to make. For market orders, there is `MarketOrderRequest`, limit orders have `LimitOrderRequest`, stop orders `StopOrderRequest`, and trailing stop orders have `TrailingStopOrderRequest`. Each order type have their own required parameters for a successful order. Hint For stocks, the notional parameter can only be used with Market orders. For crypto, the notional parameter can be used with any order type. **Market Order** A market order is an order to buy or sell a stock at the best available price. Generally, this type of order will be executed immediately. However, the price at which a market order will be executed is not guaranteed. Market orders allow the trade of fractional shares for stocks. Fractional shares must be denoted either with a non-integer `qty` value or with the use of the `notional` parameter. The `notional` parameter allows you to denote the amount you wish to trade in units of the quote currency. For example, instead of trading 1 share of SPY, we can trade $200 of SPY. `notional` orders are inherently fractional orders. ``` from alpaca.trading.client import TradingClient from alpaca.trading.requests import MarketOrderRequest from alpaca.trading.enums import OrderSide, TimeInForce trading_client = TradingClient('api-key', 'secret-key', paper=True) # preparing orders market_order_data = MarketOrderRequest( symbol="SPY", qty=0.023, side=OrderSide.BUY, time_in_force=TimeInForce.DAY ) # Market order market_order = trading_client.submit_order( order_data=market_order_data ) ``` Copy to clipboard **Limit Order** A limit order is an order to buy or sell a stock at a specific price or better. You can use the `LimitOrderRequest` model to prepare your order details. ``` from alpaca.trading.client import TradingClient from alpaca.trading.requests import LimitOrderRequest from alpaca.trading.enums import OrderSide, TimeInForce trading_client = TradingClient('api-key', 'secret-key', paper=True) limit_order_data = LimitOrderRequest( symbol="BTC/USD", limit_price=17000, notional=4000, side=OrderSide.SELL, time_in_force=TimeInForce.FOK ) # Limit order limit_order = trading_client.submit_order( order_data=limit_order_data ) ``` Copy to clipboard ### Getting All Orders [\#](https://alpaca.markets/sdks/python/trading.html\#getting-all-orders "Permalink to this heading") We can query all the orders associated with our account. It is possible to narrow the query by passing in parameters through the `GetOrdersRequest` model. ``` from alpaca.trading.client import TradingClient from alpaca.trading.requests import GetOrdersRequest from alpaca.trading.enums import OrderSide, QueryOrderStatus trading_client = TradingClient('api-key', 'secret-key', paper=True) # params to filter orders by request_params = GetOrdersRequest( status=QueryOrderStatus.OPEN, side=OrderSide.SELL ) # orders that satisfy params orders = trading_client.get_orders(filter=request_params) ``` Copy to clipboard ### Cancel All Orders [\#](https://alpaca.markets/sdks/python/trading.html\#cancel-all-orders "Permalink to this heading") We can attempt to cancel all open orders with this method. The method takes no parameters and returns a list of `CancelOrderResponse` objects. The cancellation of an order is not guaranteed. The `CancelOrderResponse` objects contain information about the cancel status of each attempted order cancellation. ``` from alpaca.trading.client import TradingClient trading_client = TradingClient('api-key', 'secret-key', paper=True) # attempt to cancel all open orders cancel_statuses = trading_client.cancel_orders() ``` Copy to clipboard ## Positions [\#](https://alpaca.markets/sdks/python/trading.html\#positions "Permalink to this heading") The positions endpoints lets you track and manage open positions in your portfolio. Learn more about the positions endpoints in the [API docs](https://alpaca.markets/docs/api-references/trading-api/positions/). ### Getting All Positions [\#](https://alpaca.markets/sdks/python/trading.html\#getting-all-positions "Permalink to this heading") This method requires no parameters and returns all open positions in your portfolio. It will return a list of `Position` objects. ``` from alpaca.trading.client import TradingClient trading_client = TradingClient('api-key', 'secret-key') trading_client.get_all_positions() ``` Copy to clipboard ### Close All Positions [\#](https://alpaca.markets/sdks/python/trading.html\#close-all-positions "Permalink to this heading") This method closes all your open positions. If you set the `cancel_orders` parameter to `True`, the method will also cancel all open orders, preventing you from entering into a new position. ``` from alpaca.trading.client import TradingClient trading_client = TradingClient('api-key', 'secret-key') # closes all position AND also cancels all open orders trading_client.close_all_positions(cancel_orders=True) ``` Copy to clipboard ## Streaming Trade Updates [\#](https://alpaca.markets/sdks/python/trading.html\#streaming-trade-updates "Permalink to this heading") There is also a `TradingStream` websocket client which allows you to stream order updates. Whenever an order is submitted, filled, cancelled, etc, you will receive a response on the client. You can learn more on the [API documentation](https://alpaca.markets/docs/api-references/trading-api/streaming/) Here is an example ``` from alpaca.trading.stream import TradingStream trading_stream = TradingStream('api-key', 'secret-key', paper=True) async def update_handler(data): # trade updates will arrive in our async handler print(data) # subscribe to trade updates and supply the handler as a parameter trading_stream.subscribe_trade_updates(update_handler) # start our websocket streaming trading_stream.run() ``` Copy to clipboard ## Alpaca Trading API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading_api.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Trading Reference [\#](https://alpaca.markets/sdks/python/api_reference/trading_api.html\#trading-reference "Permalink to this heading") ## Contents [\#](https://alpaca.markets/sdks/python/api_reference/trading_api.html\#contents "Permalink to this heading") - [TradingClient](https://alpaca.markets/sdks/python/api_reference/trading/trading-client.html) - [`TradingClient`](https://alpaca.markets/sdks/python/api_reference/trading/trading-client.html#alpaca.trading.client.TradingClient) - [TradingStream](https://alpaca.markets/sdks/python/api_reference/trading/stream.html) - [`TradingStream`](https://alpaca.markets/sdks/python/api_reference/trading/stream.html#alpaca.trading.stream.TradingStream) - [Account](https://alpaca.markets/sdks/python/api_reference/trading/account.html) - [Get Account Details](https://alpaca.markets/sdks/python/api_reference/trading/account.html#get-account-details) - [Positions](https://alpaca.markets/sdks/python/api_reference/trading/positions.html) - [Get All Positions](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#get-all-positions) - [Get Open Position](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#get-open-position) - [Close All Positions](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#close-all-positions) - [Close A Position](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#close-a-position) - [Exercise An Option Contract](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#exercise-an-option-contract) - [Orders](https://alpaca.markets/sdks/python/api_reference/trading/orders.html) - [Create a New Order](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#create-a-new-order) - [Get Orders](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#get-orders) - [Get Order By Id](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#get-order-by-id) - [Replace Order By Id](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#replace-order-by-id) - [Cancel All Orders](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#cancel-all-orders) - [Cancel Order By Id](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#cancel-order-by-id) - [Assets](https://alpaca.markets/sdks/python/api_reference/trading/assets.html) - [Get All Assets](https://alpaca.markets/sdks/python/api_reference/trading/assets.html#get-all-assets) - [Get Asset](https://alpaca.markets/sdks/python/api_reference/trading/assets.html#get-asset) - [Contracts](https://alpaca.markets/sdks/python/api_reference/trading/contracts.html) - [Get Option Contracts](https://alpaca.markets/sdks/python/api_reference/trading/contracts.html#get-option-contracts) - [Get Option Contract](https://alpaca.markets/sdks/python/api_reference/trading/contracts.html#get-option-contract) - [Watchlists](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html) - [Create a New Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#create-a-new-watchlist) - [Get All Watchlists](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#get-all-watchlists) - [Get a Watchlist By Id](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#get-a-watchlist-by-id) - [Update Watchlist By Id](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#update-watchlist-by-id) - [Add Asset To Watchlist By Id](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#add-asset-to-watchlist-by-id) - [Remove Asset From Watchlist By Id](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#remove-asset-from-watchlist-by-id) - [Delete Watchlist By Id](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#delete-watchlist-by-id) - [Calendar](https://alpaca.markets/sdks/python/api_reference/trading/calendar.html) - [Get Calendar](https://alpaca.markets/sdks/python/api_reference/trading/calendar.html#get-calendar) - [Clock](https://alpaca.markets/sdks/python/api_reference/trading/clock.html) - [Get Clock](https://alpaca.markets/sdks/python/api_reference/trading/clock.html#get-clock) - [Corporate Actions](https://alpaca.markets/sdks/python/api_reference/trading/corporate-actions.html) - [Get Corporate Actions](https://alpaca.markets/sdks/python/api_reference/trading/corporate-actions.html#get-corporate-actions) - [Get Corporate Action By ID](https://alpaca.markets/sdks/python/api_reference/trading/corporate-actions.html#get-corporate-action-by-id) - [Models](https://alpaca.markets/sdks/python/api_reference/trading/models.html) - [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#asset) - [Position](https://alpaca.markets/sdks/python/api_reference/trading/models.html#position) - [Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#order) - [TradeAccount](https://alpaca.markets/sdks/python/api_reference/trading/models.html#tradeaccount) - [AccountConfiguration](https://alpaca.markets/sdks/python/api_reference/trading/models.html#accountconfiguration) - [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#watchlist) - [Clock](https://alpaca.markets/sdks/python/api_reference/trading/models.html#clock) - [Calendar](https://alpaca.markets/sdks/python/api_reference/trading/models.html#calendar) - [NonTradeActivity](https://alpaca.markets/sdks/python/api_reference/trading/models.html#nontradeactivity) - [TradeActivity](https://alpaca.markets/sdks/python/api_reference/trading/models.html#tradeactivity) - [PortfolioHistory](https://alpaca.markets/sdks/python/api_reference/trading/models.html#portfoliohistory) - [ClosePositionResponse](https://alpaca.markets/sdks/python/api_reference/trading/models.html#closepositionresponse) - [FailedClosePositionDetails](https://alpaca.markets/sdks/python/api_reference/trading/models.html#failedclosepositiondetails) - [CorporateActionAnnouncement](https://alpaca.markets/sdks/python/api_reference/trading/models.html#corporateactionannouncement) - [Requests](https://alpaca.markets/sdks/python/api_reference/trading/requests.html) - [OrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#orderrequest) - [MarketOrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#marketorderrequest) - [StopOrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#stoporderrequest) - [LimitOrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#limitorderrequest) - [StopLimitOrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#stoplimitorderrequest) - [TrailingStopOrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#trailingstoporderrequest) - [GetOrdersRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#getordersrequest) - [GetOrderByIdRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#getorderbyidrequest) - [ReplaceOrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#replaceorderrequest) - [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#takeprofitrequest) - [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#stoplossrequest) - [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#optionlegrequest) - [ClosePositionRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#closepositionrequest) - [GetAssetsRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#getassetsrequest) - [GetPortfolioHistoryRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#getportfoliohistoryrequest) - [GetCalendarRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#getcalendarrequest) - [CreateWatchlistRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#createwatchlistrequest) - [UpdateWatchlistRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#updatewatchlistrequest) - [CancelOrderResponse](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#cancelorderresponse) - [GetCorporateAnnouncementsRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#getcorporateannouncementsrequest) - [Enums](https://alpaca.markets/sdks/python/api_reference/trading/enums.html) - [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#orderclass) - [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#ordertype) - [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#orderside) - [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#timeinforce) - [OrderStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#orderstatus) - [AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#assetclass) - [AssetStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#assetstatus) - [AssetExchange](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#assetexchange) - [PositionSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#positionside) - [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#accountstatus) - [ActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#activitytype) - [TradeActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#tradeactivitytype) - [NonTradeActivityStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#nontradeactivitystatus) - [CorporateActionType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#corporateactiontype) - [CorporateActionSubType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#corporateactionsubtype) - [CorporateActionDateType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#corporateactiondatetype) - [DTBPCheck](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#dtbpcheck) - [PDTCheck](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#pdtcheck) - [TradeConfirmationEmail](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#tradeconfirmationemail) - [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#positionintent) ## Market Data API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data_api.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Market Data Reference [\#](https://alpaca.markets/sdks/python/api_reference/data_api.html\#market-data-reference "Permalink to this heading") - [Common](https://alpaca.markets/sdks/python/api_reference/data/common.html) - [Requests](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html) - [Corporate Actions](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions.html) - [Historical Data](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html) - [Requests](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html) - [Stock Market Data](https://alpaca.markets/sdks/python/api_reference/data/stock.html) - [Historical Data](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html) - [Real-Time Data](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html) - [Requests](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html) - [Screener API](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html) - [Crypto Market Data](https://alpaca.markets/sdks/python/api_reference/data/crypto.html) - [Historical Data](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html) - [Real-Time Data](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html) - [Requests](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html) - [Option Market Data](https://alpaca.markets/sdks/python/api_reference/data/option.html) - [Historical Data](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html) - [Real-Time Data](https://alpaca.markets/sdks/python/api_reference/data/option/live.html) - [Requests](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html) - [TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html) - [TimeFrameUnit](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#timeframeunit) - [TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#id1) - [Models](https://alpaca.markets/sdks/python/api_reference/data/models.html) - [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#bar) - [BarSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#barset) - [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#quote) - [QuoteSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#quoteset) - [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#trade) - [TradeSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#tradeset) - [Snapshot](https://alpaca.markets/sdks/python/api_reference/data/models.html#snapshot) - [OptionsGreeks](https://alpaca.markets/sdks/python/api_reference/data/models.html#optionsgreeks) - [OptionsSnapshot](https://alpaca.markets/sdks/python/api_reference/data/models.html#optionssnapshot) - [Orderbook](https://alpaca.markets/sdks/python/api_reference/data/models.html#orderbook) - [OrderbookQuote](https://alpaca.markets/sdks/python/api_reference/data/models.html#orderbookquote) - [ActiveStock](https://alpaca.markets/sdks/python/api_reference/data/models.html#activestock) - [MostActives](https://alpaca.markets/sdks/python/api_reference/data/models.html#mostactives) - [Mover](https://alpaca.markets/sdks/python/api_reference/data/models.html#mover) - [Movers](https://alpaca.markets/sdks/python/api_reference/data/models.html#movers) - [CorporateAction](https://alpaca.markets/sdks/python/api_reference/data/models.html#corporateaction) - [CorporateActionsSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#corporateactionsset) - [Enums](https://alpaca.markets/sdks/python/api_reference/data/enums.html) - [Exchange](https://alpaca.markets/sdks/python/api_reference/data/enums.html#exchange) - [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#datafeed) - [Adjustment](https://alpaca.markets/sdks/python/api_reference/data/enums.html#adjustment) - [CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#cryptofeed) - [MostActivesBy](https://alpaca.markets/sdks/python/api_reference/data/enums.html#mostactivesby) - [MarketType](https://alpaca.markets/sdks/python/api_reference/data/enums.html#markettype) - [CorporateActionsType](https://alpaca.markets/sdks/python/api_reference/data/enums.html#corporateactionstype) ## Broker API Reference ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker_api.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Broker Reference [\#](https://alpaca.markets/sdks/python/api_reference/broker_api.html\#broker-reference "Permalink to this heading") The Broker API allows you to create and manage brokerage accounts on behalf of your users. This reference shows you how to use Alpaca-py’s Broker API interface. ## Contents [\#](https://alpaca.markets/sdks/python/api_reference/broker_api.html\#contents "Permalink to this heading") - [BrokerClient](https://alpaca.markets/sdks/python/api_reference/broker/broker-client.html) - [`BrokerClient`](https://alpaca.markets/sdks/python/api_reference/broker/broker-client.html#alpaca.broker.client.BrokerClient) - [Assets](https://alpaca.markets/sdks/python/api_reference/broker/assets.html) - [Get All Assets](https://alpaca.markets/sdks/python/api_reference/broker/assets.html#get-all-assets) - [Get a Single Asset](https://alpaca.markets/sdks/python/api_reference/broker/assets.html#get-a-single-asset) - [Accounts](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html) - [Create an Account](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#create-an-account) - [Get Account By ID](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#get-account-by-id) - [Update Account](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#update-account) - [Upload Documents to Account](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#upload-documents-to-account) - [Delete Account](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#delete-account) - [List All Accounts](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#list-all-accounts) - [Get Trade Account By ID](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#get-trade-account-by-id) - [Get Trade Configuration For Account](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#get-trade-configuration-for-account) - [Update Trade Configuration For Account](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#update-trade-configuration-for-account) - [Account Activities](https://alpaca.markets/sdks/python/api_reference/broker/account_activities.html) - [Get Account Activities](https://alpaca.markets/sdks/python/api_reference/broker/account_activities.html#get-account-activities) - [Calendar](https://alpaca.markets/sdks/python/api_reference/broker/calendar.html) - [Get Market Calendar](https://alpaca.markets/sdks/python/api_reference/broker/calendar.html#get-market-calendar) - [Clock](https://alpaca.markets/sdks/python/api_reference/broker/clock.html) - [Get Market Clock](https://alpaca.markets/sdks/python/api_reference/broker/clock.html#get-market-clock) - [Corporate Actions](https://alpaca.markets/sdks/python/api_reference/broker/corporate-actions.html) - [Get Corporate Actions](https://alpaca.markets/sdks/python/api_reference/broker/corporate-actions.html#get-corporate-actions) - [Get Corporate Action By ID](https://alpaca.markets/sdks/python/api_reference/broker/corporate-actions.html#get-corporate-action-by-id) - [Documents](https://alpaca.markets/sdks/python/api_reference/broker/documents.html) - [Get Trade Documents For Account](https://alpaca.markets/sdks/python/api_reference/broker/documents.html#get-trade-documents-for-account) - [Get Trade Document For Account By ID](https://alpaca.markets/sdks/python/api_reference/broker/documents.html#get-trade-document-for-account-by-id) - [Download Trade Document For Account By ID](https://alpaca.markets/sdks/python/api_reference/broker/documents.html#download-trade-document-for-account-by-id) - [Funding](https://alpaca.markets/sdks/python/api_reference/broker/funding.html) - [Create ACH Relationship For Account](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#create-ach-relationship-for-account) - [Get ACH Relationships For Account](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#get-ach-relationships-for-account) - [Delete ACH Relationship For Account](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#delete-ach-relationship-for-account) - [Create Bank For Account](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#create-bank-for-account) - [Get Banks For Account](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#get-banks-for-account) - [Delete Bank For Account](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#delete-bank-for-account) - [Create Transfer For Account](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#create-transfer-for-account) - [Get Transfers For Account](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#get-transfers-for-account) - [Cancel Transfer For Account](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#cancel-transfer-for-account) - [Journals](https://alpaca.markets/sdks/python/api_reference/broker/journals.html) - [Create a Journal](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#create-a-journal) - [Create a Batch Journal](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#create-a-batch-journal) - [Create a Reverse Batch Journal](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#create-a-reverse-batch-journal) - [Get all Journals](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#get-all-journals) - [Get Journal by ID](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#get-journal-by-id) - [Cancel Journal by ID](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#cancel-journal-by-id) - [Trading](https://alpaca.markets/sdks/python/api_reference/broker/trading.html) - [Orders](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html) - [Positions](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html) - [Portfolio History](https://alpaca.markets/sdks/python/api_reference/broker/trading/portfolio-history.html) - [Watchlists](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html) - [Models](https://alpaca.markets/sdks/python/api_reference/broker/models.html) - [Account](https://alpaca.markets/sdks/python/api_reference/broker/models.html#account) - [TradeAccount](https://alpaca.markets/sdks/python/api_reference/broker/models.html#tradeaccount) - [W8BenDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#w8bendocument) - [CIPKYCInfo](https://alpaca.markets/sdks/python/api_reference/broker/models.html#cipkycinfo) - [CIPDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#cipdocument) - [CIPPhoto](https://alpaca.markets/sdks/python/api_reference/broker/models.html#cipphoto) - [CIPIdentity](https://alpaca.markets/sdks/python/api_reference/broker/models.html#cipidentity) - [CIPWatchlist](https://alpaca.markets/sdks/python/api_reference/broker/models.html#cipwatchlist) - [CIPInfo](https://alpaca.markets/sdks/python/api_reference/broker/models.html#cipinfo) - [ACHRelationship](https://alpaca.markets/sdks/python/api_reference/broker/models.html#achrelationship) - [Bank](https://alpaca.markets/sdks/python/api_reference/broker/models.html#bank) - [Transfer](https://alpaca.markets/sdks/python/api_reference/broker/models.html#transfer) - [Journal](https://alpaca.markets/sdks/python/api_reference/broker/models.html#journal) - [BatchJournalResponse](https://alpaca.markets/sdks/python/api_reference/broker/models.html#batchjournalresponse) - [Requests](https://alpaca.markets/sdks/python/api_reference/broker/requests.html) - [AccountCreationRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#accountcreationrequest) - [UpdateAccountRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#updateaccountrequest) - [ListAccountsRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#listaccountsrequest) - [GetAccountActivitiesRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#getaccountactivitiesrequest) - [GetTradeDocumentsRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#gettradedocumentsrequest) - [UploadDocumentRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#uploaddocumentrequest) - [UploadW8BenDocumentRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#uploadw8bendocumentrequest) - [CreateACHRelationshipRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#createachrelationshiprequest) - [CreatePlaidRelationshipRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#createplaidrelationshiprequest) - [CreateBankRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#createbankrequest) - [CreateACHTransferRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#createachtransferrequest) - [CreateBankTransferRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#createbanktransferrequest) - [GetTransfersRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#gettransfersrequest) - [OrderRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#orderrequest) - [MarketOrderRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#marketorderrequest) - [LimitOrderRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#limitorderrequest) - [StopOrderRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#stoporderrequest) - [StopLimitOrderRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#stoplimitorderrequest) - [TrailingStopOrderRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#trailingstoporderrequest) - [CreateJournalRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#createjournalrequest) - [CreateBatchJournalRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#createbatchjournalrequest) - [CreateReverseBatchJournalRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#createreversebatchjournalrequest) - [GetJournalsRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#getjournalsrequest) - [Enums](https://alpaca.markets/sdks/python/api_reference/broker/enums.html) - [TaxIdType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#taxidtype) - [VisaType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#visatype) - [FundingSource](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#fundingsource) - [EmploymentStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#employmentstatus) - [AgreementType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#agreementtype) - [DocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#documenttype) - [AccountEntities](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#accountentities) - [ClearingBroker](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#clearingbroker) - [CIPProvider](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#cipprovider) - [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#cipstatus) - [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#cipresult) - [CIPApprovalStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#cipapprovalstatus) - [TradeDocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#tradedocumenttype) - [TradeDocumentSubType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#tradedocumentsubtype) - [UploadDocumentSubType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#uploaddocumentsubtype) - [UploadDocumentMimeType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#uploaddocumentmimetype) - [ACHRelationshipStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#achrelationshipstatus) - [BankAccountType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#bankaccounttype) - [IdentifierType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#identifiertype) - [BankStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#bankstatus) - [TransferType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#transfertype) - [TransferStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#transferstatus) - [TransferDirection](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#transferdirection) - [TransferTiming](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#transfertiming) - [FeePaymentMethod](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#feepaymentmethod) - [JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#journalentrytype) - [JournalStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#journalstatus) ## Common API Functionality ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/common.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Common [\#](https://alpaca.markets/sdks/python/api_reference/common.html\#common "Permalink to this heading") This module represents a bunch of classes that have common/shared functionality across the various API products we offer. Contents: - [Enums](https://alpaca.markets/sdks/python/api_reference/common/enums.html) - [Exceptions](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html) - [`APIError`](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html#alpaca.common.exceptions.APIError) - [`RetryException`](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html#alpaca.common.exceptions.RetryException) - [Models](https://alpaca.markets/sdks/python/api_reference/common/models.html) - [`ModelWithID`](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ModelWithID) - [`ValidateBaseModel`](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ValidateBaseModel) ## Alpaca Python SDK API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/index.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # References [\#](https://alpaca.markets/sdks/python/api_reference/index.html\#references "Permalink to this heading") - [Market Data Reference](https://alpaca.markets/sdks/python/api_reference/data_api.html) - [Common](https://alpaca.markets/sdks/python/api_reference/data/common.html) - [Corporate Actions](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions.html) - [Stock Market Data](https://alpaca.markets/sdks/python/api_reference/data/stock.html) - [Crypto Market Data](https://alpaca.markets/sdks/python/api_reference/data/crypto.html) - [Option Market Data](https://alpaca.markets/sdks/python/api_reference/data/option.html) - [TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html) - [Models](https://alpaca.markets/sdks/python/api_reference/data/models.html) - [Enums](https://alpaca.markets/sdks/python/api_reference/data/enums.html) - [Trading Reference](https://alpaca.markets/sdks/python/api_reference/trading_api.html) - [Contents](https://alpaca.markets/sdks/python/api_reference/trading_api.html#contents) - [Broker Reference](https://alpaca.markets/sdks/python/api_reference/broker_api.html) - [Contents](https://alpaca.markets/sdks/python/api_reference/broker_api.html#contents) - [Common](https://alpaca.markets/sdks/python/api_reference/common.html) - [Enums](https://alpaca.markets/sdks/python/api_reference/common/enums.html) - [Exceptions](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html) - [Models](https://alpaca.markets/sdks/python/api_reference/common/models.html) ## Alpaca Python Module Index ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/py-modindex.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Python Module Index [**a**](https://alpaca.markets/sdks/python/py-modindex.html#cap-a) | | | | | --- | --- | --- | | | | | | | **a** | | | ![-](https://alpaca.markets/sdks/python/_static/minus.png) | `alpaca` | | | | [`alpaca.common.exceptions`](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html#module-alpaca.common.exceptions) | | | | [`alpaca.common.models`](https://alpaca.markets/sdks/python/api_reference/common/models.html#module-alpaca.common.models) | | ## Alpaca Python SDK Enums ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/enums.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Enums [\#](https://alpaca.markets/sdks/python/api_reference/data/enums.html\#enums "Permalink to this heading") ## Exchange [\#](https://alpaca.markets/sdks/python/api_reference/data/enums.html\#exchange "Permalink to this heading") _class_ alpaca.data.enums.Exchange( _value_, _names=None_, _\*_, _module=None_, _qualname=None_, _type=None_, _start=1_, _boundary=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange "Permalink to this definition") The exchanges that provide data feeds to Alpaca. Z [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.Z "Permalink to this definition") Cboe BZ Type: str I [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.I "Permalink to this definition") International Securities Exchange Type: str M [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.M "Permalink to this definition") Chicago Stock Exchange Type: str U [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.U "Permalink to this definition") Members Exchange Type: str L [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.L "Permalink to this definition") Long Term Stock Exchange Type: str W [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.W "Permalink to this definition") CBOE Type: str X [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.X "Permalink to this definition") NASDAQ OMX PSX Type: str B [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.B "Permalink to this definition") NASDAQ OMX BX Type: str D [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.D "Permalink to this definition") FINRA ADF Type: str J [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.J "Permalink to this definition") Cboe EDGA Type: str P [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.P "Permalink to this definition") NYSE Arca Type: str Q [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.Q "Permalink to this definition") NASDAQ OMX Type: str S [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.S "Permalink to this definition") NASDAQ Small Cap Type: str V [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.V "Permalink to this definition") IEX Type: str A [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.A "Permalink to this definition") NYSE American (AMEX) Type: str E [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.E "Permalink to this definition") Market Independent Type: str N [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.N "Permalink to this definition") New York Stock Exchange Type: str T [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.T "Permalink to this definition") NASDAQ Int Type: str Y [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.Y "Permalink to this definition") Cboe BYX Type: str C [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.C "Permalink to this definition") National Stock Exchange Type: str H [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.H "Permalink to this definition") MIAX Type: str K [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange.K "Permalink to this definition") Cboe EDGX Type: str ## DataFeed [\#](https://alpaca.markets/sdks/python/api_reference/data/enums.html\#datafeed "Permalink to this heading") _class_ alpaca.data.enums.DataFeed( _value_, _names=None_, _\*_, _module=None_, _qualname=None_, _type=None_, _start=1_, _boundary=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "Permalink to this definition") Equity market data feeds. OTC and SIP are available with premium data subscriptions. IEX [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed.IEX "Permalink to this definition") Investor’s exchange data feed Type: str SIP [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed.SIP "Permalink to this definition") Securities Information Processor feed Type: str DELAYED\_SIP [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed.DELAYED_SIP "Permalink to this definition") SIP data with a 15 minute delay Type: str OTC [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed.OTC "Permalink to this definition") Over the counter feed Type: str ## Adjustment [\#](https://alpaca.markets/sdks/python/api_reference/data/enums.html\#adjustment "Permalink to this heading") _class_ alpaca.data.enums.Adjustment( _value_, _names=None_, _\*_, _module=None_, _qualname=None_, _type=None_, _start=1_, _boundary=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Adjustment "Permalink to this definition") Data normalization based on types of corporate actions. RAW [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Adjustment.RAW "Permalink to this definition") Unadjusted data Type: str SPLIT [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Adjustment.SPLIT "Permalink to this definition") Stock-split adjusted data Type: str DIVIDEND [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Adjustment.DIVIDEND "Permalink to this definition") Dividend adjusted data Type: str ALL [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Adjustment.ALL "Permalink to this definition") Data adjusted for all corporate actions Type: str ## CryptoFeed [\#](https://alpaca.markets/sdks/python/api_reference/data/enums.html\#cryptofeed "Permalink to this heading") _class_ alpaca.data.enums.CryptoFeed( _value_, _names=None_, _\*_, _module=None_, _qualname=None_, _type=None_, _start=1_, _boundary=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "Permalink to this definition") Crypto location US [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed.US "Permalink to this definition") United States crypto feed Type: str ## MostActivesBy [\#](https://alpaca.markets/sdks/python/api_reference/data/enums.html\#mostactivesby "Permalink to this heading") _class_ alpaca.data.enums.MostActivesBy( _value_, _names=None_, _\*_, _module=None_, _qualname=None_, _type=None_, _start=1_, _boundary=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MostActivesBy "Permalink to this definition") Most actives possible filters. volume [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MostActivesBy.volume "Permalink to this definition") Retrieve most actives by trading volume. Type: str trades [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MostActivesBy.trades "Permalink to this definition") Retrieve most actives by number of trades. Type: str ## MarketType [\#](https://alpaca.markets/sdks/python/api_reference/data/enums.html\#markettype "Permalink to this heading") _class_ alpaca.data.enums.MarketType( _value_, _names=None_, _\*_, _module=None_, _qualname=None_, _type=None_, _start=1_, _boundary=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MarketType "Permalink to this definition") Most actives possible filters. stocks [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MarketType.stocks "Permalink to this definition")Type: str crypto [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MarketType.crypto "Permalink to this definition")Type: str ## CorporateActionsType [\#](https://alpaca.markets/sdks/python/api_reference/data/enums.html\#corporateactionstype "Permalink to this heading") _class_ alpaca.data.enums.CorporateActionsType( _value_, _names=None_, _\*_, _module=None_, _qualname=None_, _type=None_, _start=1_, _boundary=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType "Permalink to this definition") The type of corporate action. ref. [https://docs.alpaca.markets/reference/corporateactions-1](https://docs.alpaca.markets/reference/corporateactions-1) REVERSE\_SPLIT [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.REVERSE_SPLIT "Permalink to this definition") Reverse split Type: str FORWARD\_SPLIT [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.FORWARD_SPLIT "Permalink to this definition") Forward split Type: str UNIT\_SPLIT [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.UNIT_SPLIT "Permalink to this definition") Unit split Type: str CASH\_DIVIDEND [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.CASH_DIVIDEND "Permalink to this definition") Cash dividend Type: str STOCK\_DIVIDEND [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.STOCK_DIVIDEND "Permalink to this definition") Stock dividend Type: str SPIN\_OFF [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.SPIN_OFF "Permalink to this definition") Spin off Type: str CASH\_MERGER [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.CASH_MERGER "Permalink to this definition") Cash merger Type: str STOCK\_MERGER [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.STOCK_MERGER "Permalink to this definition") Stock merger Type: str STOCK\_AND\_CASH\_MERGER [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.STOCK_AND_CASH_MERGER "Permalink to this definition") Stock and cash merger Type: str REDEMPTION [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.REDEMPTION "Permalink to this definition") Redemption Type: str NAME\_CHANGE [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.NAME_CHANGE "Permalink to this definition") Name change Type: str WORTHLESS\_REMOVAL [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.WORTHLESS_REMOVAL "Permalink to this definition") Worthless removal Type: str RIGHTS\_DISTRIBUTION [#](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType.RIGHTS_DISTRIBUTION "Permalink to this definition") Rights distribution Type: str ## Alpaca Trading Requests ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Requests [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#requests "Permalink to this heading") ## OrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#orderrequest "Permalink to this heading") _class_ alpaca.trading.requests.OrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest "Permalink to this definition") A base class for requests for creating an order. You probably shouldn’t directly use this class when submitting an order. Instead, use one of the order type specific classes. symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded. Required for all order classes other than mleg. Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Required for mleg order class. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Either side or position\_intent is required for all order classes other than mleg. Type: Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\] type [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[str\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] legs [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.legs "Permalink to this definition") For multi-leg option orders, the legs of the order If specified (must contain at least 2 but no more than 4 legs for options). Otherwise, for equities, a list of individual orders. Type: Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] position\_intent [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest.position_intent "Permalink to this definition") An enum to indicate the desired position strategy: BTO, BTC, STO, STC. Type: Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\] ## MarketOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#marketorderrequest "Permalink to this heading") _class_ alpaca.trading.requests.MarketOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest "Permalink to this definition") Used to submit a market order. symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded. Required for all order classes other than mleg. Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Required for all order classes other than mleg. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[str\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] legs [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.legs "Permalink to this definition") For multi-leg option orders, the legs of the order. At most 4 legs are allowed for options. Type: Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] position\_intent [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.MarketOrderRequest.position_intent "Permalink to this definition") An enum to indicate the desired position strategy: BTO, BTC, STO, STC. Type: Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\] ## StopOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#stoporderrequest "Permalink to this heading") _class_ alpaca.trading.requests.StopOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _stop\_price:float_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest "Permalink to this definition") Used to submit a stop order. symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[str\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] legs [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.legs "Permalink to this definition") For multi-leg option orders, the legs of the order. At most 4 legs are allowed for options. Type: Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] stop\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.stop_price "Permalink to this definition") The price at which the stop order is converted to a market order or a stop limit order is converted to a limit order. Type: float position\_intent [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopOrderRequest.position_intent "Permalink to this definition") An enum to indicate the desired position strategy: BTO, BTC, STO, STC. Type: Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\] ## LimitOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#limitorderrequest "Permalink to this heading") _class_ alpaca.trading.requests.LimitOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _limit\_price:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest "Permalink to this definition") Used to submit a limit order. symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[str\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] legs [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.legs "Permalink to this definition") For multi-leg option orders, the legs of the order. At most 4 legs are allowed for options. Type: Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] limit\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.limit_price "Permalink to this definition") The worst fill price for a limit or stop limit order. For the mleg order class, this is specified such that a positive value indicates a debit (representing a cost or payment to be made) while a negative value signifies a credit (reflecting an amount to be received). Type: Optional\[float\] position\_intent [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.LimitOrderRequest.position_intent "Permalink to this definition") An enum to indicate the desired position strategy: BTO, BTC, STO, STC. Type: Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\] ## StopLimitOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#stoplimitorderrequest "Permalink to this heading") _class_ alpaca.trading.requests.StopLimitOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _stop\_price:float_, _limit\_price:float_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest "Permalink to this definition") Used to submit a stop limit order. symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[str\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] legs [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.legs "Permalink to this definition") For multi-leg option orders, the legs of the order. At most 4 legs are allowed for options. Type: Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] stop\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.stop_price "Permalink to this definition") The price at which the stop order is converted to a market order or a stop limit order is converted to a limit order. Type: float limit\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.limit_price "Permalink to this definition") The worst fill price for a limit or stop limit order. For the mleg order class, this is specified such that a positive value indicates a debit (representing a cost or payment to be made) while a negative value signifies a credit (reflecting an amount to be received). Type: float position\_intent [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLimitOrderRequest.position_intent "Permalink to this definition") An enum to indicate the desired position strategy: BTO, BTC, STO, STC. Type: Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\] ## TrailingStopOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#trailingstoporderrequest "Permalink to this heading") _class_ alpaca.trading.requests.TrailingStopOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _trail\_price:Optional\[float\]=None_, _trail\_percent:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest "Permalink to this definition") Used to submit a trailing stop order. symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[str\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] legs [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.legs "Permalink to this definition") For multi-leg option orders, the legs of the order. At most 4 legs are allowed for options. Type: Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] trail\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.trail_price "Permalink to this definition") The absolute price difference by which the trailing stop will trail. Type: Optional\[float\] trail\_percent [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.trail_percent "Permalink to this definition") The percent price difference by which the trailing stop will trail. Type: Optional\[float\] position\_intent [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TrailingStopOrderRequest.position_intent "Permalink to this definition") An enum to indicate the desired position strategy: BTO, BTC, STO, STC. Type: Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\] ## GetOrdersRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#getordersrequest "Permalink to this heading") _class_ alpaca.trading.requests.GetOrdersRequest( _\*_, _status:Optional\[QueryOrderStatus\]=None_, _limit:Optional\[int\]=None_, _after:Optional\[datetime\]=None_, _until:Optional\[datetime\]=None_, _direction:Optional\[Sort\]=None_, _nested:Optional\[bool\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _symbols:Optional\[List\[str\]\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest "Permalink to this definition") Contains data for submitting a request to retrieve orders. status [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest.status "Permalink to this definition") Order status to be queried. open, closed or all. Defaults to open. Not same as OrderStatus property of Order. Type: Optional\[QueryOrderStatus\] limit [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest.limit "Permalink to this definition") The maximum number of orders in response. Defaults to 50 and max is 500. Type: Optional\[int\] after [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest.after "Permalink to this definition") The response will include only ones submitted after this timestamp. Type: Optional\[datetime\] until [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest.until "Permalink to this definition") The response will include only ones submitted until this timestamp. Type: Optional\[datetime\] direction [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest.direction "Permalink to this definition") The chronological order of response based on the submission time. asc or desc. Defaults to desc. Type: Optional\[Sort\] nested [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest.nested "Permalink to this definition") If true, the result will roll up multi-leg orders under the legs field of primary order. Type: Optional\[bool\] side [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest.side "Permalink to this definition") Filters down to orders that have a matching side field set. Type: Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\] symbols [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest.symbols "Permalink to this definition") List of symbols to filter by. Type: Optional\[List\[str\]\] ## GetOrderByIdRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#getorderbyidrequest "Permalink to this heading") _class_ alpaca.trading.requests.GetOrderByIdRequest( _\*_, _nested:bool_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrderByIdRequest "Permalink to this definition") Contains data for submitting a request to retrieve a single order by its order id. nested [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrderByIdRequest.nested "Permalink to this definition") If true, the result will roll up multi-leg orders under the legs field of primary order. Type: bool ## ReplaceOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#replaceorderrequest "Permalink to this heading") _class_ alpaca.trading.requests.ReplaceOrderRequest( _\*_, _qty:Optional\[int\]=None_, _time\_in\_force:Optional\[ [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")\]=None_, _limit\_price:Optional\[float\]=None_, _stop\_price:Optional\[float\]=None_, _trail:Optional\[float\]=None_, _client\_order\_id:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest "Permalink to this definition") Contains data for submitting a request to replace an order. qty [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest.qty "Permalink to this definition") Number of shares to trade Type: Optional\[int\] time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest.time_in_force "Permalink to this definition") The new expiration logic of the order. Type: Optional\[ [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")\] limit\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest.limit_price "Permalink to this definition") Required if type of order being replaced is limit or stop\_limit Type: Optional\[float\] stop\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest.stop_price "Permalink to this definition") Required if type of order being replaced is stop or stop\_limit Type: Optional\[float\] trail [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest.trail "Permalink to this definition") The new value of the trail\_price or trail\_percent value (works only for type=“trailing\_stop”) Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest.client_order_id "Permalink to this definition") A unique identifier for the order. Type: Optional\[str\] ## TakeProfitRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#takeprofitrequest "Permalink to this heading") _class_ alpaca.trading.requests.TakeProfitRequest( _\*_, _limit\_price:float_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "Permalink to this definition") Used for providing take profit details for a bracket order. limit\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest.limit_price "Permalink to this definition") The execution price for exiting a profitable trade. Type: float ## StopLossRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#stoplossrequest "Permalink to this heading") _class_ alpaca.trading.requests.StopLossRequest( _\*_, _stop\_price:float_, _limit\_price:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "Permalink to this definition") Used for providing stop loss details for a bracket order. stop\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest.stop_price "Permalink to this definition") The price at which the stop loss is triggered. Type: float limit\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest.limit_price "Permalink to this definition") The execution price for exiting a losing trade. If not provided, the stop loss will execute as a market order. Type: Optional\[float\] ## OptionLegRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#optionlegrequest "Permalink to this heading") _class_ alpaca.trading.requests.OptionLegRequest( _\*_, _symbol:str_, _ratio\_qty:float_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "Permalink to this definition") Used for providing details for a leg of a multi-leg order. symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded. Type: str ratio\_qty [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest.ratio_qty "Permalink to this definition") The proportional quantity of this leg in relation to the overall multi-leg order quantity. Type: float side [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest.side "Permalink to this definition") Represents the side this order was on. Type: Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\] position\_intent [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest.position_intent "Permalink to this definition") Represents the position strategy for this leg. Type: Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\] ## ClosePositionRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#closepositionrequest "Permalink to this heading") _class_ alpaca.trading.requests.ClosePositionRequest( _\*_, _qty:Optional\[str\]=None_, _percentage:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ClosePositionRequest "Permalink to this definition")qty [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ClosePositionRequest.qty "Permalink to this definition") The number of shares to liquidate. Type: str percentage [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ClosePositionRequest.percentage "Permalink to this definition") The percentage of shares to liquidate. Type: str ## GetAssetsRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#getassetsrequest "Permalink to this heading") _class_ alpaca.trading.requests.GetAssetsRequest( _\*_, _status:Optional\[ [AssetStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetStatus "alpaca.trading.enums.AssetStatus")\]=None_, _asset\_class:Optional\[ [AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "alpaca.trading.enums.AssetClass")\]=None_, _exchange:Optional\[ [AssetExchange](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange "alpaca.trading.enums.AssetExchange")\]=None_, _attributes:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetAssetsRequest "Permalink to this definition") When querying for available assets, this model provides the parameters that can be filtered by. status [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetAssetsRequest.status "Permalink to this definition") The active status of the asset. Type: Optional\[ [AssetStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetStatus "alpaca.trading.enums.AssetStatus")\] asset\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetAssetsRequest.asset_class "Permalink to this definition") The type of asset (i.e. us\_equity, crypto). Type: Optional\[ [AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "alpaca.trading.enums.AssetClass")\] exchange [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetAssetsRequest.exchange "Permalink to this definition") The exchange the asset trades on. Type: Optional\[ [AssetExchange](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange "alpaca.trading.enums.AssetExchange")\] attributes [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetAssetsRequest.attributes "Permalink to this definition") Comma separated values to query for more than one attribute. Type: Optional\[str\] ## GetPortfolioHistoryRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#getportfoliohistoryrequest "Permalink to this heading") _class_ alpaca.trading.requests.GetPortfolioHistoryRequest( _\*_, _period:Optional\[str\]=None_, _timeframe:Optional\[str\]=None_, _intraday\_reporting:Optional\[str\]=None_, _start:Optional\[datetime\]=None_, _pnl\_reset:Optional\[str\]=None_, _end:Optional\[datetime\]=None_, _date\_end:Optional\[date\]=None_, _extended\_hours:Optional\[bool\]=None_, _cashflow\_types:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest "Permalink to this definition")period [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest.period "Permalink to this definition") The duration of the data in number + unit, such as 1D. unit can be D for day, W for week, M for month and A for year. Defaults to 1M. Type: Optional\[str\] timeframe [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest.timeframe "Permalink to this definition") The resolution of time window. 1Min, 5Min, 15Min, 1H, or 1D. If omitted, 1Min for less than 7 days period, 15Min for less than 30 days, or otherwise 1D. Type: Optional\[str\] intraday\_reporting [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest.intraday_reporting "Permalink to this definition") this specfies which timestamps to return data points Type: Optional\[str\] start [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest.start "Permalink to this definition") The timestamp the data is returned starting from in RFC3339 format (including timezone specification). Type: Optional\[datetime\] pnl\_reset [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest.pnl_reset "Permalink to this definition") efines how we are calculating the baseline values for Profit And Loss (pnl) for queries with timeframe less than 1D (intraday queries). Type: Optional\[str\] end [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest.end "Permalink to this definition") The timestamp the data is returned up to in RFC3339 format (including timezone specification). Type: Optional\[datetime\] date\_end [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest.date_end "Permalink to this definition") The date the data is returned up to. Defaults to the current market date (rolls over at the market open if extended\_hours is false, otherwise at 7am ET). Type: Optional\[date\] extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest.extended_hours "Permalink to this definition") If true, include extended hours in the result. This is effective only for timeframe less than 1D. Type: Optional\[bool\] cashflow\_types [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest.cashflow_types "Permalink to this definition") The cashflow activities to include in the report Type: Optional\[str\] ## GetCalendarRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#getcalendarrequest "Permalink to this heading") _class_ alpaca.trading.requests.GetCalendarRequest( _\*_, _start:Optional\[date\]=None_, _end:Optional\[date\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCalendarRequest "Permalink to this definition") Represents the optional filtering you can do when requesting a Calendar object ## CreateWatchlistRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#createwatchlistrequest "Permalink to this heading") _class_ alpaca.trading.requests.CreateWatchlistRequest( _\*_, _name:str_, _symbols:List\[str\]_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CreateWatchlistRequest "Permalink to this definition") Represents the fields you can specify when creating a Watchlist name [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CreateWatchlistRequest.name "Permalink to this definition") Name of the Watchlist Type: str symbols [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CreateWatchlistRequest.symbols "Permalink to this definition") Symbols of Assets to watch Type: List\[str\] ## UpdateWatchlistRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#updatewatchlistrequest "Permalink to this heading") _class_ alpaca.trading.requests.UpdateWatchlistRequest( _\*_, _name:Optional\[str\]=None_, _symbols:Optional\[List\[str\]\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.UpdateWatchlistRequest "Permalink to this definition") Represents the fields you can specify when updating a Watchlist name [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.UpdateWatchlistRequest.name "Permalink to this definition") Name of the Watchlist Type: Optional\[str\] symbols [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.UpdateWatchlistRequest.symbols "Permalink to this definition") Symbols of Assets to watch Type: Optional\[List\[str\]\] ## CancelOrderResponse [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#cancelorderresponse "Permalink to this heading") _class_ alpaca.trading.requests.CancelOrderResponse( _\*_, _id:UUID_, _status:int_, _body:Optional\[Dict\[str,Any\]\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CancelOrderResponse "Permalink to this definition") Data returned after requesting to cancel an order. It contains the cancel status of an order. id [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CancelOrderResponse.id "Permalink to this definition") The order id Type: UUID status [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CancelOrderResponse.status "Permalink to this definition") The HTTP status returned after attempting to cancel the order. Type: int body [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CancelOrderResponse.body "Permalink to this definition") an error description Type: Dict\[str, Any\] ## GetCorporateAnnouncementsRequest [\#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html\#getcorporateannouncementsrequest "Permalink to this heading") _class_ alpaca.trading.requests.GetCorporateAnnouncementsRequest( _\*_, _ca\_types:List\[ [CorporateActionType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionType "alpaca.trading.enums.CorporateActionType")\]_, _since:date_, _until:date_, _symbol:Optional\[str\]=None_, _cusip:Optional\[str\]=None_, _date\_type:Optional\[ [CorporateActionDateType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionDateType "alpaca.trading.enums.CorporateActionDateType")\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCorporateAnnouncementsRequest "Permalink to this definition") Contains parameters for querying corporate action data. .. attribute:: ca\_types > A list of corporate action types. > > type: > > List\[CorporateActionType\] since [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCorporateAnnouncementsRequest.since "Permalink to this definition") The start (inclusive) of the date range when searching corporate action announcements. The date range is limited to 90 days. Type: date until [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCorporateAnnouncementsRequest.until "Permalink to this definition") The end (inclusive) of the date range when searching corporate action announcements. The date range is limited to 90 days. Type: date symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCorporateAnnouncementsRequest.symbol "Permalink to this definition") The symbol of the company initiating the announcement. Type: Optional\[str\] cusip [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCorporateAnnouncementsRequest.cusip "Permalink to this definition") The CUSIP of the company initiating the announcement. Type: Optional\[str\] date\_type [#](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCorporateAnnouncementsRequest.date_type "Permalink to this definition") The date type for the announcement. Type: Optional\[ [CorporateActionDateType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionDateType "alpaca.trading.enums.CorporateActionDateType")\] ## Alpaca Trading Enums ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Enums [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#enums "Permalink to this heading") ## OrderClass [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#orderclass "Permalink to this heading") _enum_ alpaca.trading.enums.OrderClass( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "Permalink to this definition") Represents what class of order this is. The order classes supported by Alpaca vary based on the order’s security type. The following provides a comprehensive breakdown of the supported order classes for each category: \- Equity trading: simple (or “”), oco, oto, bracket. \- Options trading: simple (or “”), mleg (required for multi-leg complex options strategies). \- Crypto trading: simple (or “”). Member Type: `str` Valid values are as follows: SIMPLE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass.SIMPLE "Permalink to this definition")MLEG _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass.MLEG "Permalink to this definition")BRACKET _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass.BRACKET "Permalink to this definition")OCO _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass.OCO "Permalink to this definition")OTO _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass.OTO "Permalink to this definition") ## OrderType [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#ordertype "Permalink to this heading") _enum_ alpaca.trading.enums.OrderType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "Permalink to this definition") Represents what type of order this is. The order types supported by Alpaca vary based on the order’s security type. The following provides a comprehensive breakdown of the supported order types for each category: \- Equity trading: market, limit, stop, stop\_limit, trailing\_stop. \- Options trading: market, limit, stop, stop\_limit. \- Crypto trading: market, limit, stop\_limit. Member Type: `str` Valid values are as follows: MARKET _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType.MARKET "Permalink to this definition")LIMIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType.LIMIT "Permalink to this definition")STOP _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType.STOP "Permalink to this definition")STOP\_LIMIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType.STOP_LIMIT "Permalink to this definition")TRAILING\_STOP _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType.TRAILING_STOP "Permalink to this definition") ## OrderSide [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#orderside "Permalink to this heading") _enum_ alpaca.trading.enums.OrderSide( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "Permalink to this definition") Represents what side this order was executed on. Member Type: `str` Valid values are as follows: BUY _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide.BUY "Permalink to this definition")SELL _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide.SELL "Permalink to this definition") ## TimeInForce [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#timeinforce "Permalink to this heading") _enum_ alpaca.trading.enums.TimeInForce( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "Permalink to this definition") Represents the various time in force options for an Order. The Time-In-Force values supported by Alpaca vary based on the order’s security type. Here is a breakdown of the supported TIFs for each specific security type: \- Equity trading: day, gtc, opg, cls, ioc, fok. \- Options trading: day. \- Crypto trading: gtc, ioc. Below are the descriptions of each TIF: \- day: A day order is eligible for execution only on the day it is live. By default, the order is only valid during Regular Trading Hours (9:30am - 4:00pm ET). If unfilled after the closing auction, it is automatically canceled. If submitted after the close, it is queued and submitted the following trading day. However, if marked as eligible for extended hours, the order can also execute during supported extended hours. \- gtc: The order is good until canceled. Non-marketable GTC limit orders are subject to price adjustments to offset corporate actions affecting the issue. We do not currently support Do Not Reduce(DNR) orders to opt out of such price adjustments. \- opg: Use this TIF with a market/limit order type to submit “market on open” (MOO) and “limit on open” (LOO) orders. This order is eligible to execute only in the market opening auction. Any unfilled orders after the open will be cancelled. OPG orders submitted after 9:28am but before 7:00pm ET will be rejected. OPG orders submitted after 7:00pm will be queued and routed to the following day’s opening auction. On open/on close orders are routed to the primary exchange. Such orders do not necessarily execute exactly at 9:30am / 4:00pm ET but execute per the exchange’s auction rules. \- cls: Use this TIF with a market/limit order type to submit “market on close” (MOC) and “limit on close” (LOC) orders. This order is eligible to execute only in the market closing auction. Any unfilled orders after the close will be cancelled. CLS orders submitted after 3:50pm but before 7:00pm ET will be rejected. CLS orders submitted after 7:00pm will be queued and routed to the following day’s closing auction. Only available with API v2. \- ioc: An Immediate Or Cancel (IOC) order requires all or part of the order to be executed immediately. Any unfilled portion of the order is canceled. Only available with API v2. Most market makers who receive IOC orders will attempt to fill the order on a principal basis only, and cancel any unfilled balance. On occasion, this can result in the entire order being cancelled if the market maker does not have any existing inventory of the security in question. \- fok: A Fill or Kill (FOK) order is only executed if the entire order quantity can be filled, otherwise the order is canceled. Only available with API v2. Member Type: `str` Valid values are as follows: DAY _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce.DAY "Permalink to this definition")GTC _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce.GTC "Permalink to this definition")OPG _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce.OPG "Permalink to this definition")CLS _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce.CLS "Permalink to this definition")IOC _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce.IOC "Permalink to this definition")FOK _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce.FOK "Permalink to this definition") ## OrderStatus [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#orderstatus "Permalink to this heading") _enum_ alpaca.trading.enums.OrderStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus "Permalink to this definition") Represents the various states an Order can be in. please see [https://alpaca.markets/docs/api-references/broker-api/trading/orders/#order-status](https://alpaca.markets/docs/api-references/broker-api/trading/orders/#order-status) for more info Member Type: `str` Valid values are as follows: NEW _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.NEW "Permalink to this definition")PARTIALLY\_FILLED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.PARTIALLY_FILLED "Permalink to this definition")FILLED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.FILLED "Permalink to this definition")DONE\_FOR\_DAY _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.DONE_FOR_DAY "Permalink to this definition")CANCELED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.CANCELED "Permalink to this definition")EXPIRED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.EXPIRED "Permalink to this definition")REPLACED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.REPLACED "Permalink to this definition")PENDING\_CANCEL _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.PENDING_CANCEL "Permalink to this definition")PENDING\_REPLACE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.PENDING_REPLACE "Permalink to this definition")PENDING\_REVIEW _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.PENDING_REVIEW "Permalink to this definition")ACCEPTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.ACCEPTED "Permalink to this definition")PENDING\_NEW _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.PENDING_NEW "Permalink to this definition")ACCEPTED\_FOR\_BIDDING _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.ACCEPTED_FOR_BIDDING "Permalink to this definition")STOPPED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.STOPPED "Permalink to this definition")REJECTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.REJECTED "Permalink to this definition")SUSPENDED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.SUSPENDED "Permalink to this definition")CALCULATED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.CALCULATED "Permalink to this definition")HELD _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus.HELD "Permalink to this definition") ## AssetClass [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#assetclass "Permalink to this heading") _enum_ alpaca.trading.enums.AssetClass( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "Permalink to this definition") This represents the category to which the asset belongs to. It serves to identify the nature of the financial instrument, with options including “us\_equity” for U.S. equities, “us\_option” for U.S. options, and “crypto” for cryptocurrencies. Member Type: `str` Valid values are as follows: US\_EQUITY _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass.US_EQUITY "Permalink to this definition")US\_OPTION _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass.US_OPTION "Permalink to this definition")CRYPTO _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass.CRYPTO "Permalink to this definition") ## AssetStatus [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#assetstatus "Permalink to this heading") _enum_ alpaca.trading.enums.AssetStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetStatus "Permalink to this definition") Represents the various states for an Asset’s lifecycle Member Type: `str` Valid values are as follows: ACTIVE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetStatus.ACTIVE "Permalink to this definition")INACTIVE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetStatus.INACTIVE "Permalink to this definition") ## AssetExchange [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#assetexchange "Permalink to this heading") _enum_ alpaca.trading.enums.AssetExchange( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange "Permalink to this definition") Represents the current exchanges Alpaca supports. Member Type: `str` Valid values are as follows: AMEX _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.AMEX "Permalink to this definition")ARCA _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.ARCA "Permalink to this definition")BATS _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.BATS "Permalink to this definition")NYSE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.NYSE "Permalink to this definition")NASDAQ _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.NASDAQ "Permalink to this definition")NYSEARCA _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.NYSEARCA "Permalink to this definition")FTXU _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.FTXU "Permalink to this definition")CBSE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.CBSE "Permalink to this definition")GNSS _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.GNSS "Permalink to this definition")ERSX _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.ERSX "Permalink to this definition")OTC _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.OTC "Permalink to this definition")CRYPTO _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.CRYPTO "Permalink to this definition")EMPTY _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange.EMPTY "Permalink to this definition") ## PositionSide [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#positionside "Permalink to this heading") _enum_ alpaca.trading.enums.PositionSide( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionSide "Permalink to this definition") Represents what side this position is. Member Type: `str` Valid values are as follows: SHORT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionSide.SHORT "Permalink to this definition")LONG _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionSide.LONG "Permalink to this definition") ## AccountStatus [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#accountstatus "Permalink to this heading") _enum_ alpaca.trading.enums.AccountStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "Permalink to this definition") The various statuses each brokerage account can take during its lifetime see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#account-status](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#account-status) Member Type: `str` Valid values are as follows: ACCOUNT\_CLOSED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.ACCOUNT_CLOSED "Permalink to this definition")ACCOUNT\_UPDATED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.ACCOUNT_UPDATED "Permalink to this definition")ACTION\_REQUIRED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.ACTION_REQUIRED "Permalink to this definition")ACTIVE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.ACTIVE "Permalink to this definition")AML\_REVIEW _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.AML_REVIEW "Permalink to this definition")APPROVAL\_PENDING _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.APPROVAL_PENDING "Permalink to this definition")APPROVED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.APPROVED "Permalink to this definition")DISABLED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.DISABLED "Permalink to this definition")DISABLE\_PENDING _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.DISABLE_PENDING "Permalink to this definition")EDITED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.EDITED "Permalink to this definition")INACTIVE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.INACTIVE "Permalink to this definition")KYC\_SUBMITTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.KYC_SUBMITTED "Permalink to this definition")LIMITED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.LIMITED "Permalink to this definition")ONBOARDING _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.ONBOARDING "Permalink to this definition")PAPER\_ONLY _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.PAPER_ONLY "Permalink to this definition")REAPPROVAL\_PENDING _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.REAPPROVAL_PENDING "Permalink to this definition")REJECTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.REJECTED "Permalink to this definition")RESUBMITTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.RESUBMITTED "Permalink to this definition")SIGNED\_UP _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.SIGNED_UP "Permalink to this definition")SUBMISSION\_FAILED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.SUBMISSION_FAILED "Permalink to this definition")SUBMITTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus.SUBMITTED "Permalink to this definition") ## ActivityType [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#activitytype "Permalink to this heading") _enum_ alpaca.trading.enums.ActivityType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType "Permalink to this definition") Represents what kind of Activity an instance of TradeActivity or NonTradeActivity is. Please see [https://alpaca.markets/docs/api-references/broker-api/accounts/account-activities/#enumactivitytype](https://alpaca.markets/docs/api-references/broker-api/accounts/account-activities/#enumactivitytype) for descriptions of each of the types Member Type: `str` Valid values are as follows: FILL _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.FILL "Permalink to this definition")ACATC _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.ACATC "Permalink to this definition")ACATS _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.ACATS "Permalink to this definition")CFEE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.CFEE "Permalink to this definition")CIL _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.CIL "Permalink to this definition")CSD _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.CSD "Permalink to this definition")CSW _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.CSW "Permalink to this definition")DIV _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.DIV "Permalink to this definition")DIVCGL _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.DIVCGL "Permalink to this definition")DIVCGS _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.DIVCGS "Permalink to this definition")DIVNRA _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.DIVNRA "Permalink to this definition")DIVROC _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.DIVROC "Permalink to this definition")DIVTXEX _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.DIVTXEX "Permalink to this definition")DIVWH _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.DIVWH "Permalink to this definition")EXTRD _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.EXTRD "Permalink to this definition")FEE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.FEE "Permalink to this definition")FXTRD _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.FXTRD "Permalink to this definition")INT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.INT "Permalink to this definition")INTPNL _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.INTPNL "Permalink to this definition")JNLC _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.JNLC "Permalink to this definition")JNLS _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.JNLS "Permalink to this definition")MA _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.MA "Permalink to this definition")MEM _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.MEM "Permalink to this definition")NC _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.NC "Permalink to this definition")OCT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.OCT "Permalink to this definition")OPASN _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.OPASN "Permalink to this definition")OPCSH _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.OPCSH "Permalink to this definition")OPEXC _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.OPEXC "Permalink to this definition")OPEXP _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.OPEXP "Permalink to this definition")OPTRD _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.OPTRD "Permalink to this definition")PTC _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.PTC "Permalink to this definition")REORG _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.REORG "Permalink to this definition")SPIN _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.SPIN "Permalink to this definition")SPLIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.SPLIT "Permalink to this definition")SWP _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.SWP "Permalink to this definition")VOF _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.VOF "Permalink to this definition")WH _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType.WH "Permalink to this definition") ## TradeActivityType [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#tradeactivitytype "Permalink to this heading") _enum_ alpaca.trading.enums.TradeActivityType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeActivityType "Permalink to this definition") Represents the type of TradeActivity. Please see [https://alpaca.markets/docs/api-references/broker-api/accounts/account-activities/#attributes](https://alpaca.markets/docs/api-references/broker-api/accounts/account-activities/#attributes) Member Type: `str` Valid values are as follows: PARTIAL\_FILL _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeActivityType.PARTIAL_FILL "Permalink to this definition")FILL _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeActivityType.FILL "Permalink to this definition") ## NonTradeActivityStatus [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#nontradeactivitystatus "Permalink to this heading") _enum_ alpaca.trading.enums.NonTradeActivityStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.NonTradeActivityStatus "Permalink to this definition") Represents the status of a NonTradeActivity. Please see [https://alpaca.markets/docs/api-references/broker-api/accounts/account-activities/#enumaccountactivity](https://alpaca.markets/docs/api-references/broker-api/accounts/account-activities/#enumaccountactivity) for more info. Member Type: `str` Valid values are as follows: EXECUTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.NonTradeActivityStatus.EXECUTED "Permalink to this definition")CORRECT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.NonTradeActivityStatus.CORRECT "Permalink to this definition")CANCELED _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.NonTradeActivityStatus.CANCELED "Permalink to this definition") ## CorporateActionType [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#corporateactiontype "Permalink to this heading") _enum_ alpaca.trading.enums.CorporateActionType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionType "Permalink to this definition") The general types of corporate action events. Learn more here: [https://alpaca.markets/docs/api-references/trading-api/corporate-actions-announcements/](https://alpaca.markets/docs/api-references/trading-api/corporate-actions-announcements/) Member Type: `str` Valid values are as follows: DIVIDEND _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionType.DIVIDEND "Permalink to this definition")MERGER _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionType.MERGER "Permalink to this definition")SPINOFF _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionType.SPINOFF "Permalink to this definition")SPLIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionType.SPLIT "Permalink to this definition") ## CorporateActionSubType [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#corporateactionsubtype "Permalink to this heading") _enum_ alpaca.trading.enums.CorporateActionSubType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType "Permalink to this definition") The specific types of corporate actions. Each subtype is related to CorporateActionType. Learn more here: [https://alpaca.markets/docs/api-references/trading-api/corporate-actions-announcements/](https://alpaca.markets/docs/api-references/trading-api/corporate-actions-announcements/) Member Type: `str` Valid values are as follows: CASH _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType.CASH "Permalink to this definition")STOCK _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType.STOCK "Permalink to this definition")MERGER\_UPDATE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType.MERGER_UPDATE "Permalink to this definition")MERGER\_COMPLETION _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType.MERGER_COMPLETION "Permalink to this definition")SPINOFF _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType.SPINOFF "Permalink to this definition")STOCK\_SPLIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType.STOCK_SPLIT "Permalink to this definition")UNIT\_SPLIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType.UNIT_SPLIT "Permalink to this definition")REVERSE\_SPLIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType.REVERSE_SPLIT "Permalink to this definition")RECAPITALIZATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType.RECAPITALIZATION "Permalink to this definition") ## CorporateActionDateType [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#corporateactiondatetype "Permalink to this heading") _enum_ alpaca.trading.enums.CorporateActionDateType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionDateType "Permalink to this definition")Member Type: `str` Valid values are as follows: DECLARATION\_DATE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionDateType.DECLARATION_DATE "Permalink to this definition")EX\_DATE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionDateType.EX_DATE "Permalink to this definition")RECORD\_DATE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionDateType.RECORD_DATE "Permalink to this definition")PAYABLE\_DATE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionDateType.PAYABLE_DATE "Permalink to this definition") ## DTBPCheck [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#dtbpcheck "Permalink to this heading") _enum_ alpaca.trading.enums.DTBPCheck( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.DTBPCheck "Permalink to this definition") Specifies when to run a DTBP check for an account. NOTE: These values are currently the same as PDTCheck however they are not guaranteed to be in sync the future please see [https://alpaca.markets/docs/api-references/broker-api/trading/trading-configurations/#attributes](https://alpaca.markets/docs/api-references/broker-api/trading/trading-configurations/#attributes) for more info. Member Type: `str` Valid values are as follows: BOTH _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.DTBPCheck.BOTH "Permalink to this definition")ENTRY _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.DTBPCheck.ENTRY "Permalink to this definition")EXIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.DTBPCheck.EXIT "Permalink to this definition") ## PDTCheck [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#pdtcheck "Permalink to this heading") _enum_ alpaca.trading.enums.PDTCheck( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PDTCheck "Permalink to this definition") Specifies when to run a PDT check for an account. NOTE: These values are currently the same as DTBPCheck however they are not guaranteed to be in sync the future please see [https://alpaca.markets/docs/api-references/broker-api/trading/trading-configurations/#attributes](https://alpaca.markets/docs/api-references/broker-api/trading/trading-configurations/#attributes) for more info. Member Type: `str` Valid values are as follows: BOTH _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PDTCheck.BOTH "Permalink to this definition")ENTRY _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PDTCheck.ENTRY "Permalink to this definition")EXIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PDTCheck.EXIT "Permalink to this definition") ## TradeConfirmationEmail [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#tradeconfirmationemail "Permalink to this heading") _enum_ alpaca.trading.enums.TradeConfirmationEmail( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeConfirmationEmail "Permalink to this definition") Used for controlling when an Account will receive a trade confirmation email. please see [https://docs.alpaca.markets/reference/getaccountconfig](https://docs.alpaca.markets/reference/getaccountconfig) for more info. Member Type: `str` Valid values are as follows: ALL _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeConfirmationEmail.ALL "Permalink to this definition")NONE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeConfirmationEmail.NONE "Permalink to this definition") ## PositionIntent [\#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html\#positionintent "Permalink to this heading") _enum_ alpaca.trading.enums.PositionIntent( _value_) [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "Permalink to this definition") Represents what side this order was executed on. Member Type: `str` Valid values are as follows: BUY\_TO\_OPEN _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent.BUY_TO_OPEN "Permalink to this definition")BUY\_TO\_CLOSE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent.BUY_TO_CLOSE "Permalink to this definition")SELL\_TO\_OPEN _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent.SELL_TO_OPEN "Permalink to this definition")SELL\_TO\_CLOSE _=_ [#](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent.SELL_TO_CLOSE "Permalink to this definition") ## Alpaca Trading Assets ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/assets.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Assets [\#](https://alpaca.markets/sdks/python/api_reference/trading/assets.html\#assets "Permalink to this heading") The assets endpoints allow you to view the list of assets available on Alpaca for market data and trading. Keep in mind, some assets are only available for market data and trading them is not yet possible. ## Get All Assets [\#](https://alpaca.markets/sdks/python/api_reference/trading/assets.html\#get-all-assets "Permalink to this heading") TradingClient.get\_all\_assets( _filter:Optional\[ [GetAssetsRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetAssetsRequest "alpaca.trading.requests.GetAssetsRequest")\]=None_)→Union\[List\[ [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/assets.html#alpaca.trading.client.TradingClient.get_all_assets "Permalink to this definition") The assets API serves as the master list of assets available for trade and data consumption from Alpaca. Some assets are not tradable with Alpaca. These assets will be marked with the flag tradable=false. Parameters: **filter** ( _Optional_ _\[_ [_GetAssetsRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetAssetsRequest "alpaca.trading.requests.GetAssetsRequest") _\]_) – The parameters that can be assets can be queried by. Returns: The list of assets. Return type: List\[ [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset")\] ## Get Asset [\#](https://alpaca.markets/sdks/python/api_reference/trading/assets.html\#get-asset "Permalink to this heading") TradingClient.get\_asset( _symbol\_or\_asset\_id:Union\[UUID,str\]_)→Union\[ [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/assets.html#alpaca.trading.client.TradingClient.get_asset "Permalink to this definition") Returns a specific asset by its symbol or asset id. If the specified asset does not exist a 404 error will be thrown. Parameters: **symbol\_or\_asset\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The symbol or asset id for the specified asset Returns: The asset if it exists. Return type: [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset") ## Alpaca Python Data Models ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/models.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Models [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#models "Permalink to this heading") ## Bar [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#bar "Permalink to this heading") _class_ alpaca.data.models.bars.Bar( _symbol:str_, _raw\_data:Dict\[str,Any\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "Permalink to this definition") Represents one bar/candlestick of aggregated trade data over a specified interval. symbol [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.symbol "Permalink to this definition") The ticker identifier for the security whose data forms the bar. Type: str timestamp [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.timestamp "Permalink to this definition") The opening timestamp of the bar. Type: datetime open [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.open "Permalink to this definition") The opening price of the interval. Type: float high [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.high "Permalink to this definition") The high price during the interval. Type: float low [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.low "Permalink to this definition") The low price during the interval. Type: float close [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.close "Permalink to this definition") The closing price of the interval. Type: float volume [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.volume "Permalink to this definition") The volume traded over the interval. Type: float trade\_count [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.trade_count "Permalink to this definition") The number of trades that occurred. Type: Optional\[float\] vwap [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.vwap "Permalink to this definition") The volume weighted average price. Type: Optional\[float\] exchange [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar.exchange "Permalink to this definition") The exchange the bar was formed on. Type: Optional\[float\] ## BarSet [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#barset "Permalink to this heading") _class_ alpaca.data.models.bars.BarSet( _raw\_data:Dict\[str,Any\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.BarSet "Permalink to this definition") A collection of Bars. data [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.BarSet.data "Permalink to this definition") The collection of Bars keyed by symbol. Type: Dict\[str, List\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar")\]\] * * * ## Quote [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#quote "Permalink to this heading") _class_ alpaca.data.models.quotes.Quote( _symbol:str_, _raw\_data:Dict\[str,Any\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "Permalink to this definition") Level 1 ask/bid pair quote data. Contains information about size and origin exchange. symbol [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.symbol "Permalink to this definition") The ticker identifier for the security whose data forms the quote. Type: str timestamp [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.timestamp "Permalink to this definition") The time of submission of the quote. Type: datetime bid\_price [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.bid_price "Permalink to this definition") The bidding price of the quote. Type: float bid\_size [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.bid_size "Permalink to this definition") The size of the quote bid. Type: float bid\_exchange [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.bid_exchange "Permalink to this definition") The exchange the quote bid originates. Defaults to None. Type: Optional\[Union\[str, [Exchange](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange "alpaca.data.enums.Exchange")\]\] ask\_price [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.ask_price "Permalink to this definition") The asking price of the quote. Type: float ask\_size [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.ask_size "Permalink to this definition") The size of the quote ask. Type: float ask\_exchange [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.ask_exchange "Permalink to this definition") The exchange the quote ask originates. Defaults to None. Type: Optional\[Union\[str, [Exchange](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange "alpaca.data.enums.Exchange")\]\] conditions [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.conditions "Permalink to this definition") The quote conditions. Defaults to None. Type: Optional\[Union\[List\[str\], str\]\] tape [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote.tape "Permalink to this definition") The quote tape. Defaults to None. Type: Optional\[str\] ## QuoteSet [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#quoteset "Permalink to this heading") _class_ alpaca.data.models.quotes.QuoteSet( _raw\_data:Dict\[str,Any\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.QuoteSet "Permalink to this definition") A collection of Quotes. data [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.QuoteSet.data "Permalink to this definition") The collection of Quotes keyed by symbol. Type: Dict\[str, List\[ [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote")\]\] * * * ## Trade [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#trade "Permalink to this heading") _class_ alpaca.data.models.trades.Trade( _symbol:str_, _raw\_data:Dict\[str,Any\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "Permalink to this definition") A transaction from the price and sales history of a security. symbol [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade.symbol "Permalink to this definition") The ticker identifier for the security whose data forms the trade. Type: str timestamp [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade.timestamp "Permalink to this definition") The time of submission of the trade. Type: datetime exchange [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade.exchange "Permalink to this definition") The exchange the trade occurred. Type: Optional\[ [Exchange](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Exchange "alpaca.data.enums.Exchange")\] price [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade.price "Permalink to this definition") The price that the transaction occurred at. Type: float size [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade.size "Permalink to this definition") The quantity traded Type: float id [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade.id "Permalink to this definition") The trade ID Type: Optional\[int\] conditions [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade.conditions "Permalink to this definition") The trade conditions. Defaults to None. Type: Optional\[Union\[List\[str\], str\]\] tape [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade.tape "Permalink to this definition") The trade tape. Defaults to None. Type: Optional\[str\] ## TradeSet [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#tradeset "Permalink to this heading") _class_ alpaca.data.models.trades.TradeSet( _raw\_data:Dict\[str,Any\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.TradeSet "Permalink to this definition") A collection of Trade objects. data [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.TradeSet.data "Permalink to this definition") The collection of Trades keyed by symbol. Type: Dict\[str, List\[ [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade")\]\]\] * * * ## Snapshot [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#snapshot "Permalink to this heading") _class_ alpaca.data.models.snapshots.Snapshot( _symbol:str_, _raw\_data:Dict\[str,Dict\[str,Any\]\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.Snapshot "Permalink to this definition") A Snapshot contains the latest trade, latest quote, minute bar daily bar and previous daily bar data for a given ticker symbol. symbol [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.Snapshot.symbol "Permalink to this definition") The identifier for the snapshot security. Type: str latest\_trade [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.Snapshot.latest_trade "Permalink to this definition") The latest transaction on the price and sales tape Type: Optional\[ [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade")\] latest\_quote [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.Snapshot.latest_quote "Permalink to this definition") Level 1 ask/bid pair quote data. Type: Optional\[ [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote")\] minute\_bar [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.Snapshot.minute_bar "Permalink to this definition") The latest minute OHLC bar data Type: Optional\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar")\] daily\_bar [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.Snapshot.daily_bar "Permalink to this definition") The latest daily OHLC bar data Type: Optional\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar")\] previous\_daily\_bar [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.Snapshot.previous_daily_bar "Permalink to this definition") The 2nd to latest (2 trading days ago) daily OHLC bar data Type: Optional\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar")\] ## OptionsGreeks [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#optionsgreeks "Permalink to this heading") _class_ alpaca.data.models.snapshots.OptionsGreeks( _raw\_data:Dict\[str,Any\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsGreeks "Permalink to this definition") Options Greeks are a set of risk measures that are used in the options market to evaluate the risk and reward of an option. delta [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsGreeks.delta "Permalink to this definition") The rate of change of an option’s price relative to a change in the price of the underlying asset. Type: float gamma [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsGreeks.gamma "Permalink to this definition") The rate of change in an option’s delta relative to a change in the price of the underlying asset. Type: float rho [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsGreeks.rho "Permalink to this definition") The rate of change in an option’s price relative to a change in the risk-free rate of interest. Type: float theta [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsGreeks.theta "Permalink to this definition") The rate of change in an option’s price relative to a change in time. Type: float vega [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsGreeks.vega "Permalink to this definition") The rate of change in an option’s price relative to a change in the volatility of the underlying asset. Type: float ## OptionsSnapshot [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#optionssnapshot "Permalink to this heading") _class_ alpaca.data.models.snapshots.OptionsSnapshot( _symbol:str_, _raw\_data:Dict\[str,Dict\[str,Any\]\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot "Permalink to this definition") An options snapshot contains the latest trade, latest quote, greeks and implied volatility data for a given symbol. symbol [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot.symbol "Permalink to this definition") The identifier for the snapshot security. Type: str latest\_trade [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot.latest_trade "Permalink to this definition") The latest transaction on the price and sales tape Type: Optional\[ [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade")\] latest\_quote [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot.latest_quote "Permalink to this definition") Level 1 ask/bid pair quote data. Type: Optional\[ [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote")\] implied\_volatility [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot.implied_volatility "Permalink to this definition") The implied volatility of the option Type: Optional\[float\] greeks [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot.greeks "Permalink to this definition") The option greeks data Type: Optional\[OptionGreeks\] * * * ## Orderbook [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#orderbook "Permalink to this heading") _class_ alpaca.data.models.orderbooks.Orderbook( _symbol:str_, _raw\_data:Dict\[str,Any\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.Orderbook "Permalink to this definition") Level 2 ask/bid pair orderbook data. symbol [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.Orderbook.symbol "Permalink to this definition") The ticker identifier for the security whose data forms the orderbook. Type: str timestamp [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.Orderbook.timestamp "Permalink to this definition") The time of submission of the orderbook. Type: datetime bids [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.Orderbook.bids "Permalink to this definition") The list of bid quotes for the orderbook Type: List\[ [OrderbookQuote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.OrderbookQuote "alpaca.data.models.orderbooks.OrderbookQuote")\] asks [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.Orderbook.asks "Permalink to this definition") The list of ask quotes for the orderbook Type: List\[ [OrderbookQuote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.OrderbookQuote "alpaca.data.models.orderbooks.OrderbookQuote")\] reset [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.Orderbook.reset "Permalink to this definition") if true, the orderbook message contains the whole server side orderbook. Type: bool Thisindicatestotheclientthattheyshouldresettheirorderbook.Typicallysentasthefirstmessageaftersubscription. ## OrderbookQuote [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#orderbookquote "Permalink to this heading") _class_ alpaca.data.models.orderbooks.OrderbookQuote( _\*_, _p:float_, _s:float_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.OrderbookQuote "Permalink to this definition") A single bid or ask quote in the orderbook * * * ## ActiveStock [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#activestock "Permalink to this heading") _class_ alpaca.data.models.screener.ActiveStock( _\*_, _symbol:str_, _volume:float_, _trade\_count:float_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.ActiveStock "Permalink to this definition") Represent one asset that was a most active on the most actives endpoint. symbol [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.ActiveStock.symbol "Permalink to this definition") Symbol of market moving asset. Type: str volume [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.ActiveStock.volume "Permalink to this definition") Cumulative volume for the current trading day. Type: float trade\_count [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.ActiveStock.trade_count "Permalink to this definition") Cumulative trade count for the current trading day. Type: float ## MostActives [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#mostactives "Permalink to this heading") _class_ alpaca.data.models.screener.MostActives( _\*_, _most\_actives:List\[ [ActiveStock](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.ActiveStock "alpaca.data.models.screener.ActiveStock")\]_, _last\_updated:datetime_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.MostActives "Permalink to this definition") Represent the response model for the MostActives endpoint. .. attribute:: most\_actives > list of top N most active symbols. > > type: > > List\[ActiveStock\] last\_updated [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.MostActives.last_updated "Permalink to this definition") Time when the MostActives were last computed. Formatted as a RFC 3339 formatted datetime with nanosecond precision. Type: datetime ## Mover [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#mover "Permalink to this heading") _class_ alpaca.data.models.screener.Mover( _\*_, _symbol:str_, _percent\_change:float_, _change:float_, _price:float_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Mover "Permalink to this definition") Represent one asset that was a top mover on the top market movers endpoint. .. attribute:: symbol > Symbol of market moving asset. > > type: > > str percent\_change [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Mover.percent_change "Permalink to this definition") Percentage difference change for the day. Type: float change [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Mover.change "Permalink to this definition") Difference in change for the day. Type: float price [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Mover.price "Permalink to this definition") Current price of market moving asset. Type: float ## Movers [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#movers "Permalink to this heading") _class_ alpaca.data.models.screener.Movers( _\*_, _gainers:List\[ [Mover](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Mover "alpaca.data.models.screener.Mover")\]_, _losers:List\[ [Mover](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Mover "alpaca.data.models.screener.Mover")\]_, _market\_type:[MarketType](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MarketType "alpaca.data.enums.MarketType")_, _last\_updated:datetime_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Movers "Permalink to this definition") Represent the response model for the top market movers endpoint. .. attribute:: gainers > list of top N gainers. > > type: > > List\[Mover\] losers [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Movers.losers "Permalink to this definition") list of top N losers. Type: List\[ [Mover](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Mover "alpaca.data.models.screener.Mover")\] market\_type [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Movers.market_type "Permalink to this definition") Market type (stocks or crypto). Type: [MarketType](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MarketType "alpaca.data.enums.MarketType") last\_updated [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Movers.last_updated "Permalink to this definition") Time when the movers were last computed. Formatted as a RFC 3339 formatted datetime with nanosecond precision. Type: datetime ## CorporateAction [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#corporateaction "Permalink to this heading") alpaca.data.models.corporate\_actions.CorporateAction [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.corporate_actions.CorporateAction "Permalink to this definition") alias of `Union`\[ `ForwardSplit`, `ReverseSplit`, `UnitSplit`, `StockDividend`, `CashDividend`, `SpinOff`, `CashMerger`, `StockMerger`, `StockAndCashMerger`, `Redemption`, `NameChange`, `WorthlessRemoval`, `RightsDistribution`\] ## CorporateActionsSet [\#](https://alpaca.markets/sdks/python/api_reference/data/models.html\#corporateactionsset "Permalink to this heading") _class_ alpaca.data.models.corporate\_actions.CorporateActionsSet( _raw\_data:Dict\[str,Any\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.corporate_actions.CorporateActionsSet "Permalink to this definition") A collection of Corporate actions. ref. [https://docs.alpaca.markets/reference/corporateactions-1](https://docs.alpaca.markets/reference/corporateactions-1) data [#](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.corporate_actions.CorporateActionsSet.data "Permalink to this definition") The collection of corporate actions. Type: Dict\[str, List\[CorporateAction\]\] ## Account Activities API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/account_activities.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Account Activities [\#](https://alpaca.markets/sdks/python/api_reference/broker/account_activities.html\#account-activities "Permalink to this heading") ## Get Account Activities [\#](https://alpaca.markets/sdks/python/api_reference/broker/account_activities.html\#get-account-activities "Permalink to this heading") BrokerClient.get\_account\_activities( _activity\_filter:[GetAccountActivitiesRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest "alpaca.broker.requests.GetAccountActivitiesRequest")_, _max\_items\_limit:Optional\[int\]=None_, _handle\_pagination:Optional\[PaginationType\]=None_)→Union\[List\[BaseActivity\],Iterator\[List\[BaseActivity\]\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/account_activities.html#alpaca.broker.client.BrokerClient.get_account_activities "Permalink to this definition") Gets a list of Account activities, with various filtering options. Please see the documentation for GetAccountActivitiesRequest for more information as to what filters are available. The return type of this function is List\[BaseActivity\] however the list will contain concrete instances of one of the child classes of BaseActivity, either TradeActivity or NonTradeActivity. It can be a mixed list depending on what filtering criteria you pass through activity\_filter Parameters: - **activity\_filter** ( [_GetAccountActivitiesRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest "alpaca.broker.requests.GetAccountActivitiesRequest")) – The various filtering fields you can specify to restrict results - **max\_items\_limit** ( _Optional_ _\[_ _int_ _\]_) – A maximum number of items to return over all for when handle\_pagination is of type PaginationType.FULL. Ignored otherwise. - **handle\_pagination** ( _Optional_ _\[_ _PaginationType_ _\]_) – What kind of pagination you want. If None then defaults to PaginationType.FULL Returns: Either a list or an Iterator of lists of BaseActivity child classes Return type: Union\[List\[BaseActivity\], Iterator\[List\[BaseActivity\]\]\] ## Alpaca Python SDK Models ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/common/models.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Models [\#](https://alpaca.markets/sdks/python/api_reference/common/models.html\#module-alpaca.common.models "Permalink to this heading") _class_ alpaca.common.models.ModelWithID( _\*_, _id:UUID_) [#](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ModelWithID "Permalink to this definition") This is the base model for response models with IDs that are UUIDs. model\_computed\_fields _:ClassVar\[dict\[str,ComputedFieldInfo\]\]_ _={}_ [#](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ModelWithID.model_computed_fields "Permalink to this definition") A dictionary of computed field names and their corresponding ComputedFieldInfo objects. model\_config _:ClassVar\[ConfigDict\]_ _={'validate\_assignment':True}_ [#](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ModelWithID.model_config "Permalink to this definition") Configuration for the model, should be a dictionary conforming to \[ConfigDict\]\[pydantic.config.ConfigDict\]. model\_fields _:ClassVar\[dict\[str,FieldInfo\]\]_ _={'id':FieldInfo(annotation=UUID,required=True)}_ [#](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ModelWithID.model_fields "Permalink to this definition") Metadata about the fields defined on the model, mapping of field names to \[FieldInfo\]\[pydantic.fields.FieldInfo\]. This replaces Model.\_\_fields\_\_ from Pydantic V1. _class_ alpaca.common.models.ValidateBaseModel [#](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ValidateBaseModel "Permalink to this definition") This model simply sets up BaseModel with the validate\_assignment flag to True, so we don’t have to keep specifying it or forget to specify it in our models where we want assignment validation model\_computed\_fields _:ClassVar\[dict\[str,ComputedFieldInfo\]\]_ _={}_ [#](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ValidateBaseModel.model_computed_fields "Permalink to this definition") A dictionary of computed field names and their corresponding ComputedFieldInfo objects. model\_config _:ClassVar\[ConfigDict\]_ _={'validate\_assignment':True}_ [#](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ValidateBaseModel.model_config "Permalink to this definition") Configuration for the model, should be a dictionary conforming to \[ConfigDict\]\[pydantic.config.ConfigDict\]. model\_fields _:ClassVar\[dict\[str,FieldInfo\]\]_ _={}_ [#](https://alpaca.markets/sdks/python/api_reference/common/models.html#alpaca.common.models.ValidateBaseModel.model_fields "Permalink to this definition") Metadata about the fields defined on the model, mapping of field names to \[FieldInfo\]\[pydantic.fields.FieldInfo\]. This replaces Model.\_\_fields\_\_ from Pydantic V1. ## Alpaca API Enums ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Enums [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#enums "Permalink to this heading") ## TaxIdType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#taxidtype "Permalink to this heading") _enum_ alpaca.broker.enums.TaxIdType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType "Permalink to this definition") The various country specific tax identification numbers see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#tax-id-type](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#tax-id-type) Member Type: `str` Valid values are as follows: USA\_SSN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.USA_SSN "Permalink to this definition")ARG\_AR\_CUIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.ARG_AR_CUIT "Permalink to this definition")AUS\_TFN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.AUS_TFN "Permalink to this definition")AUS\_ABN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.AUS_ABN "Permalink to this definition")BOL\_NIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.BOL_NIT "Permalink to this definition")BRA\_CPF _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.BRA_CPF "Permalink to this definition")CHL\_RUT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.CHL_RUT "Permalink to this definition")COL\_NIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.COL_NIT "Permalink to this definition")CRI\_NITE _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.CRI_NITE "Permalink to this definition")DEU\_TAX\_ID _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.DEU_TAX_ID "Permalink to this definition")DOM\_RNC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.DOM_RNC "Permalink to this definition")ECU\_RUC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.ECU_RUC "Permalink to this definition")FRA\_SPI _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.FRA_SPI "Permalink to this definition")GBR\_UTR _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.GBR_UTR "Permalink to this definition")GBR\_NINO _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.GBR_NINO "Permalink to this definition")GTM\_NIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.GTM_NIT "Permalink to this definition")HND\_RTN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.HND_RTN "Permalink to this definition")HUN\_TIN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.HUN_TIN "Permalink to this definition")IDN\_KTP _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.IDN_KTP "Permalink to this definition")IND\_PAN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.IND_PAN "Permalink to this definition")ISR\_TAX\_ID _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.ISR_TAX_ID "Permalink to this definition")ITA\_TAX\_ID _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.ITA_TAX_ID "Permalink to this definition")JPN\_TAX\_ID _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.JPN_TAX_ID "Permalink to this definition")MEX\_RFC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.MEX_RFC "Permalink to this definition")NIC\_RUC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.NIC_RUC "Permalink to this definition")NLD\_TIN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.NLD_TIN "Permalink to this definition")PAN\_RUC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.PAN_RUC "Permalink to this definition")PER\_RUC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.PER_RUC "Permalink to this definition")PRY\_RUC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.PRY_RUC "Permalink to this definition")SGP\_NRIC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.SGP_NRIC "Permalink to this definition")SGP\_FIN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.SGP_FIN "Permalink to this definition")SGP\_ASGD _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.SGP_ASGD "Permalink to this definition")SGP\_ITR _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.SGP_ITR "Permalink to this definition")SLV\_NIT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.SLV_NIT "Permalink to this definition")SWE\_TAX\_ID _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.SWE_TAX_ID "Permalink to this definition")URY\_RUT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.URY_RUT "Permalink to this definition")VEN\_RIF _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.VEN_RIF "Permalink to this definition")NOT\_SPECIFIED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType.NOT_SPECIFIED "Permalink to this definition") ## VisaType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#visatype "Permalink to this heading") _enum_ alpaca.broker.enums.VisaType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType "Permalink to this definition") In addition to the following USA visa categories, we accept any sub visas of the list below. Sub visas must be passed in according to their parent category. Note that United States green card holders are considered permanent residents and should not pass in a visa type. Please feel free to reach out to Alpaca if you need other tax ID types. see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#visa-type](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#visa-type) Member Type: `str` Valid values are as follows: B1 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.B1 "Permalink to this definition")B2 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.B2 "Permalink to this definition")DACA _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.DACA "Permalink to this definition")E1 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.E1 "Permalink to this definition")E2 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.E2 "Permalink to this definition")E3 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.E3 "Permalink to this definition")F1 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.F1 "Permalink to this definition")G4 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.G4 "Permalink to this definition")H1B _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.H1B "Permalink to this definition")J1 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.J1 "Permalink to this definition")L1 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.L1 "Permalink to this definition")Other _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.Other "Permalink to this definition")O1 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.O1 "Permalink to this definition")TN1 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType.TN1 "Permalink to this definition") ## FundingSource [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#fundingsource "Permalink to this heading") _enum_ alpaca.broker.enums.FundingSource( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource "Permalink to this definition") Various sources of funding for brokerage accounts. see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#funding-source](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#funding-source) Member Type: `str` Valid values are as follows: EMPLOYMENT\_INCOME _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource.EMPLOYMENT_INCOME "Permalink to this definition")INVESTMENTS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource.INVESTMENTS "Permalink to this definition")INHERITANCE _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource.INHERITANCE "Permalink to this definition")BUSINESS\_INCOME _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource.BUSINESS_INCOME "Permalink to this definition")SAVINGS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource.SAVINGS "Permalink to this definition")FAMILY _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource.FAMILY "Permalink to this definition") ## EmploymentStatus [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#employmentstatus "Permalink to this heading") _enum_ alpaca.broker.enums.EmploymentStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.EmploymentStatus "Permalink to this definition") The possible employment statuses of the user see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#employment-status](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#employment-status) Member Type: `str` Valid values are as follows: UNEMPLOYED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.EmploymentStatus.UNEMPLOYED "Permalink to this definition")EMPLOYED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.EmploymentStatus.EMPLOYED "Permalink to this definition")STUDENT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.EmploymentStatus.STUDENT "Permalink to this definition")RETIRED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.EmploymentStatus.RETIRED "Permalink to this definition") ## AgreementType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#agreementtype "Permalink to this heading") _enum_ alpaca.broker.enums.AgreementType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AgreementType "Permalink to this definition") The types of agreements that are to be signed by the user see [https://docs.alpaca.markets/reference/createaccount](https://docs.alpaca.markets/reference/createaccount) Member Type: `str` Valid values are as follows: MARGIN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AgreementType.MARGIN "Permalink to this definition")ACCOUNT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AgreementType.ACCOUNT "Permalink to this definition")CUSTOMER _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AgreementType.CUSTOMER "Permalink to this definition")CRYPTO _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AgreementType.CRYPTO "Permalink to this definition")OPTIONS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AgreementType.OPTIONS "Permalink to this definition")CUSTODIAL\_CUSTOMER _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AgreementType.CUSTODIAL_CUSTOMER "Permalink to this definition") ## DocumentType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#documenttype "Permalink to this heading") _enum_ alpaca.broker.enums.DocumentType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType "Permalink to this definition") Represents the kind of document data you’re uploading please see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#document-type](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#document-type) and [https://alpaca.markets/docs/api-references/broker-api/documents/#enumuploaddocumenttype](https://alpaca.markets/docs/api-references/broker-api/documents/#enumuploaddocumenttype) for more info Member Type: `str` Valid values are as follows: IDENTITY\_VERIFICATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.IDENTITY_VERIFICATION "Permalink to this definition")ADDRESS\_VERIFICATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.ADDRESS_VERIFICATION "Permalink to this definition")DATE\_OF\_BIRTH\_VERIFICATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.DATE_OF_BIRTH_VERIFICATION "Permalink to this definition")TAX\_ID\_VERIFICATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.TAX_ID_VERIFICATION "Permalink to this definition")ACCOUNT\_APPROVAL\_LETTER _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.ACCOUNT_APPROVAL_LETTER "Permalink to this definition")LIMITED\_TRADING\_AUTHORIZATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.LIMITED_TRADING_AUTHORIZATION "Permalink to this definition")W8BEN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.W8BEN "Permalink to this definition")SOCIAL\_SECURITY\_NUMBER\_VERIFICATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.SOCIAL_SECURITY_NUMBER_VERIFICATION "Permalink to this definition")NULL _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.NULL "Permalink to this definition")CIP\_RESULT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType.CIP_RESULT "Permalink to this definition") ## AccountEntities [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#accountentities "Permalink to this heading") _enum_ alpaca.broker.enums.AccountEntities( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities "Permalink to this definition") An enum representing the different fields to query for when listing accounts. ie: asking for CONTACT and IDENTITY will have the api fill those fields when returning the list of Accounts however other fields on the account will be nulled out where possible. Member Type: `str` Valid values are as follows: CONTACT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities.CONTACT "Permalink to this definition")IDENTITY _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities.IDENTITY "Permalink to this definition")DISCLOSURES _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities.DISCLOSURES "Permalink to this definition")AGREEMENTS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities.AGREEMENTS "Permalink to this definition")DOCUMENTS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities.DOCUMENTS "Permalink to this definition")TRUSTED\_CONTACT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities.TRUSTED_CONTACT "Permalink to this definition")USER\_CONFIGURATIONS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities.USER_CONFIGURATIONS "Permalink to this definition") ## ClearingBroker [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#clearingbroker "Permalink to this heading") _enum_ alpaca.broker.enums.ClearingBroker( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker "Permalink to this definition") An enum for representing what Clearing broker an Account is assigned to Member Type: `str` Valid values are as follows: Apex _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker.Apex "Permalink to this definition")ETC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker.ETC "Permalink to this definition")IC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker.IC "Permalink to this definition")Velox _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker.Velox "Permalink to this definition")Vision _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker.Vision "Permalink to this definition")Self _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker.Self "Permalink to this definition")Alpaca\_APCA _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker.Alpaca_APCA "Permalink to this definition") ## CIPProvider [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#cipprovider "Permalink to this heading") _enum_ alpaca.broker.enums.CIPProvider( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPProvider "Permalink to this definition") Enum representing what CIP provider was used. see [https://alpaca.markets/docs/api-references/broker-api/accounts/accounts/#cip-provider](https://alpaca.markets/docs/api-references/broker-api/accounts/accounts/#cip-provider) for more info Member Type: `str` Valid values are as follows: ALLOY _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPProvider.ALLOY "Permalink to this definition")TRULIOO _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPProvider.TRULIOO "Permalink to this definition")ONFIDO _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPProvider.ONFIDO "Permalink to this definition")VERIFF _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPProvider.VERIFF "Permalink to this definition")JUMIO _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPProvider.JUMIO "Permalink to this definition")GETMATI _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPProvider.GETMATI "Permalink to this definition") ## CIPStatus [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#cipstatus "Permalink to this heading") _enum_ alpaca.broker.enums.CIPStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "Permalink to this definition") An enum representing the status of the CIPInfo see [https://alpaca.markets/docs/api-references/broker-api/accounts/accounts/#cip-status](https://alpaca.markets/docs/api-references/broker-api/accounts/accounts/#cip-status) for more info Member Type: `str` Valid values are as follows: COMPLETE _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus.COMPLETE "Permalink to this definition")WITHDRAWN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus.WITHDRAWN "Permalink to this definition") ## CIPResult [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#cipresult "Permalink to this heading") _enum_ alpaca.broker.enums.CIPResult( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "Permalink to this definition") see [https://alpaca.markets/docs/api-references/broker-api/accounts/accounts/#cip-result](https://alpaca.markets/docs/api-references/broker-api/accounts/accounts/#cip-result) for more info Member Type: `str` Valid values are as follows: CLEAR _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult.CLEAR "Permalink to this definition")CONSIDER _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult.CONSIDER "Permalink to this definition") ## CIPApprovalStatus [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#cipapprovalstatus "Permalink to this heading") _enum_ alpaca.broker.enums.CIPApprovalStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPApprovalStatus "Permalink to this definition") Either approved or rejected Member Type: `str` Valid values are as follows: APPROVED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPApprovalStatus.APPROVED "Permalink to this definition")REJECTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPApprovalStatus.REJECTED "Permalink to this definition") ## TradeDocumentType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#tradedocumenttype "Permalink to this heading") _enum_ alpaca.broker.enums.TradeDocumentType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType "Permalink to this definition") Represents what kind information is inside a TradeDocument Most likely will be either of these 3: - ACCOUNT\_STATEMENT - TRADE\_CONFIRMATION - TAX\_STATEMENT However, for older accounts with legacy documents the other legacy values might show up. please see [https://alpaca.markets/docs/api-references/broker-api/documents/#enumdocumenttype](https://alpaca.markets/docs/api-references/broker-api/documents/#enumdocumenttype) for more info Member Type: `str` Valid values are as follows: ACCOUNT\_STATEMENT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.ACCOUNT_STATEMENT "Permalink to this definition")TRADE\_CONFIRMATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TRADE_CONFIRMATION "Permalink to this definition")TRADE\_CONFIRMATION\_JSON _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TRADE_CONFIRMATION_JSON "Permalink to this definition")TAX\_STATEMENT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TAX_STATEMENT "Permalink to this definition")ACCOUNT\_APPLICATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.ACCOUNT_APPLICATION "Permalink to this definition")TAX\_1099\_B\_DETAILS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TAX_1099_B_DETAILS "Permalink to this definition")TAX\_1099\_B\_FORM _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TAX_1099_B_FORM "Permalink to this definition")TAX\_1099\_DIV\_DETAILS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TAX_1099_DIV_DETAILS "Permalink to this definition")TAX\_1099\_DIV\_FORM _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TAX_1099_DIV_FORM "Permalink to this definition")TAX\_1099\_INT\_DETAILS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TAX_1099_INT_DETAILS "Permalink to this definition")TAX\_1099\_INT\_FORM _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TAX_1099_INT_FORM "Permalink to this definition")TAX\_W8 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType.TAX_W8 "Permalink to this definition") ## TradeDocumentSubType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#tradedocumentsubtype "Permalink to this heading") _enum_ alpaca.broker.enums.TradeDocumentSubType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentSubType "Permalink to this definition") Represents additional information for whats inside a TradeDocument in combination with a TradeDocumentType please see [https://alpaca.markets/docs/api-references/broker-api/documents/#the-document-object](https://alpaca.markets/docs/api-references/broker-api/documents/#the-document-object) for more info Member Type: `str` Valid values are as follows: TYPE\_1099\_COMP _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentSubType.TYPE_1099_COMP "Permalink to this definition")TYPE\_1042\_S _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentSubType.TYPE_1042_S "Permalink to this definition")TYPE\_480\_6 _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentSubType.TYPE_480_6 "Permalink to this definition")COURTESY\_STATEMENT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentSubType.COURTESY_STATEMENT "Permalink to this definition") ## UploadDocumentSubType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#uploaddocumentsubtype "Permalink to this heading") _enum_ alpaca.broker.enums.UploadDocumentSubType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentSubType "Permalink to this definition") Represents a sub type for an UploadDocumentRequest please see: [https://alpaca.markets/docs/api-references/broker-api/documents/#enumuploaddocumentsubtype](https://alpaca.markets/docs/api-references/broker-api/documents/#enumuploaddocumentsubtype) for more info Member Type: `str` Valid values are as follows: ACCOUNT\_APPLICATION _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentSubType.ACCOUNT_APPLICATION "Permalink to this definition")FORM\_W8\_BEN _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentSubType.FORM_W8_BEN "Permalink to this definition")PASSPORT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentSubType.PASSPORT "Permalink to this definition") ## UploadDocumentMimeType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#uploaddocumentmimetype "Permalink to this heading") _enum_ alpaca.broker.enums.UploadDocumentMimeType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentMimeType "Permalink to this definition") specifies the mime type of the base64 data you’re uploading as part of a UploadDocumentRequest please see [https://alpaca.markets/docs/api-references/broker-api/documents/#parameters](https://alpaca.markets/docs/api-references/broker-api/documents/#parameters) for more info Member Type: `str` Valid values are as follows: PDF _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentMimeType.PDF "Permalink to this definition")PNG _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentMimeType.PNG "Permalink to this definition")JPEG _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentMimeType.JPEG "Permalink to this definition")JSON _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentMimeType.JSON "Permalink to this definition") ## ACHRelationshipStatus [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#achrelationshipstatus "Permalink to this heading") _enum_ alpaca.broker.enums.ACHRelationshipStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ACHRelationshipStatus "Permalink to this definition") Represents the state that an ACHRelationship is in. Please see [https://alpaca.markets/docs/api-references/broker-api/funding/ach/#attributes](https://alpaca.markets/docs/api-references/broker-api/funding/ach/#attributes) for more details Member Type: `str` Valid values are as follows: QUEUED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ACHRelationshipStatus.QUEUED "Permalink to this definition")APPROVED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ACHRelationshipStatus.APPROVED "Permalink to this definition")PENDING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ACHRelationshipStatus.PENDING "Permalink to this definition") ## BankAccountType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#bankaccounttype "Permalink to this heading") _enum_ alpaca.broker.enums.BankAccountType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankAccountType "Permalink to this definition") Represents a kind of bank account. Please see [https://alpaca.markets/docs/api-references/broker-api/funding/ach/#attributes](https://alpaca.markets/docs/api-references/broker-api/funding/ach/#attributes) Member Type: `str` Valid values are as follows: CHECKING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankAccountType.CHECKING "Permalink to this definition")SAVINGS _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankAccountType.SAVINGS "Permalink to this definition")NONE _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankAccountType.NONE "Permalink to this definition") ## IdentifierType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#identifiertype "Permalink to this heading") _enum_ alpaca.broker.enums.IdentifierType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.IdentifierType "Permalink to this definition") Represents a type of bank account. Please see [https://alpaca.markets/docs/api-references/broker-api/funding/bank/#creating-a-new-bank-relationship](https://alpaca.markets/docs/api-references/broker-api/funding/bank/#creating-a-new-bank-relationship) for more details. Member Type: `str` Valid values are as follows: ABA _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.IdentifierType.ABA "Permalink to this definition")BIC _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.IdentifierType.BIC "Permalink to this definition") ## BankStatus [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#bankstatus "Permalink to this heading") _enum_ alpaca.broker.enums.BankStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankStatus "Permalink to this definition") Represents the states a Bank instance can be in. Please see [https://alpaca.markets/docs/api-references/broker-api/funding/bank/#enumbankstatus](https://alpaca.markets/docs/api-references/broker-api/funding/bank/#enumbankstatus) for more details. Member Type: `str` Valid values are as follows: QUEUED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankStatus.QUEUED "Permalink to this definition")SENT\_TO\_CLEARING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankStatus.SENT_TO_CLEARING "Permalink to this definition")APPROVED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankStatus.APPROVED "Permalink to this definition")CANCELED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankStatus.CANCELED "Permalink to this definition") ## TransferType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#transfertype "Permalink to this heading") _enum_ alpaca.broker.enums.TransferType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferType "Permalink to this definition") Represents the types of transfers that can be made. Please see [https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#enumtransfertype](https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#enumtransfertype) for more details. Member Type: `str` Valid values are as follows: ACH _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferType.ACH "Permalink to this definition")WIRE _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferType.WIRE "Permalink to this definition") ## TransferStatus [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#transferstatus "Permalink to this heading") _enum_ alpaca.broker.enums.TransferStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus "Permalink to this definition") Represents the states a Transfer instance can be in. Please see [https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#enumtransferstatus](https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#enumtransferstatus) for more details. Member Type: `str` Valid values are as follows: QUEUED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.QUEUED "Permalink to this definition")APPROVAL\_PENDING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.APPROVAL_PENDING "Permalink to this definition")PENDING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.PENDING "Permalink to this definition")SENT\_TO\_CLEARING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.SENT_TO_CLEARING "Permalink to this definition")REJECTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.REJECTED "Permalink to this definition")CANCELED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.CANCELED "Permalink to this definition")APPROVED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.APPROVED "Permalink to this definition")SETTLED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.SETTLED "Permalink to this definition")COMPLETE _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.COMPLETE "Permalink to this definition")RETURNED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus.RETURNED "Permalink to this definition") ## TransferDirection [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#transferdirection "Permalink to this heading") _enum_ alpaca.broker.enums.TransferDirection( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferDirection "Permalink to this definition") Represents the direction of the transfer. Please see [https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#enumtransferdirection](https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#enumtransferdirection) for more details. Member Type: `str` Valid values are as follows: INCOMING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferDirection.INCOMING "Permalink to this definition")OUTGOING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferDirection.OUTGOING "Permalink to this definition") ## TransferTiming [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#transfertiming "Permalink to this heading") _enum_ alpaca.broker.enums.TransferTiming( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferTiming "Permalink to this definition") Represents the timing of a transfer. Please see [https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#creating-a-transfer-entity](https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#creating-a-transfer-entity) for more details. Member Type: `str` Valid values are as follows: IMMEDIATE _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferTiming.IMMEDIATE "Permalink to this definition") ## FeePaymentMethod [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#feepaymentmethod "Permalink to this heading") _enum_ alpaca.broker.enums.FeePaymentMethod( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FeePaymentMethod "Permalink to this definition") Represents who is responsible for paying fees associated with the transfer. Please see [https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#enumfeepaymentmethod](https://alpaca.markets/docs/api-references/broker-api/funding/transfers/#enumfeepaymentmethod) for more details. Member Type: `str` Valid values are as follows: USER _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FeePaymentMethod.USER "Permalink to this definition")INVOICE _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FeePaymentMethod.INVOICE "Permalink to this definition") ## JournalEntryType [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#journalentrytype "Permalink to this heading") _enum_ alpaca.broker.enums.JournalEntryType( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "Permalink to this definition") Represents the types of journals. Cash journals are transfers of cash. Security journals are transfers of securities like stocks. Please see [https://alpaca.markets/docs/api-references/broker-api/journals/](https://alpaca.markets/docs/api-references/broker-api/journals/) for more details. Member Type: `str` Valid values are as follows: CASH _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType.CASH "Permalink to this definition")SECURITY _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType.SECURITY "Permalink to this definition") ## JournalStatus [\#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html\#journalstatus "Permalink to this heading") _enum_ alpaca.broker.enums.JournalStatus( _value_) [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus "Permalink to this definition") The various states a journal can be in during its lifecycle. Please see [https://alpaca.markets/docs/api-references/broker-api/journals/#enumjournalstatus](https://alpaca.markets/docs/api-references/broker-api/journals/#enumjournalstatus) for more details. Member Type: `str` Valid values are as follows: QUEUED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus.QUEUED "Permalink to this definition")SENT\_TO\_CLEARING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus.SENT_TO_CLEARING "Permalink to this definition")PENDING _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus.PENDING "Permalink to this definition")EXECUTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus.EXECUTED "Permalink to this definition")REJECTED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus.REJECTED "Permalink to this definition")CANCELED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus.CANCELED "Permalink to this definition")REFUSED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus.REFUSED "Permalink to this definition")CORRECT _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus.CORRECT "Permalink to this definition")DELETED _=_ [#](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus.DELETED "Permalink to this definition") ## Alpaca Trading Models ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/models.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Models [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#models "Permalink to this heading") ## Asset [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#asset "Permalink to this heading") _class_ alpaca.trading.models.Asset( _\*_, _id:UUID_, _asset\_class:[AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "alpaca.trading.enums.AssetClass")_, _exchange:[AssetExchange](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange "alpaca.trading.enums.AssetExchange")_, _symbol:str_, _name:Optional\[str\]=None_, _status:[AssetStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetStatus "alpaca.trading.enums.AssetStatus")_, _tradable:bool_, _marginable:bool_, _shortable:bool_, _easy\_to\_borrow:bool_, _fractionable:bool_, _min\_order\_size:Optional\[float\]=None_, _min\_trade\_increment:Optional\[float\]=None_, _price\_increment:Optional\[float\]=None_, _maintenance\_margin\_requirement:Optional\[float\]=None_, _attributes:Optional\[List\[str\]\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "Permalink to this definition") Represents a security. Some Assets are not tradable with Alpaca. These Assets are marked with the flag tradable=false. For more info, visit [https://alpaca.markets/docs/api-references/trading-api/assets/](https://alpaca.markets/docs/api-references/trading-api/assets/) id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.id "Permalink to this definition") Unique id of asset Type: UUID asset\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.asset_class "Permalink to this definition") The name of the asset class. Type: [AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "alpaca.trading.enums.AssetClass") exchange [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.exchange "Permalink to this definition") Which exchange this asset is available through. Type: [AssetExchange](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange "alpaca.trading.enums.AssetExchange") symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.symbol "Permalink to this definition") The symbol identifier of the asset. Type: str name [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.name "Permalink to this definition") The name of the asset. Type: Optional\[str\] status [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.status "Permalink to this definition") The active status of the asset. Type: [AssetStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetStatus "alpaca.trading.enums.AssetStatus") tradable [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.tradable "Permalink to this definition") Whether the asset can be traded. Type: bool marginable [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.marginable "Permalink to this definition") Whether the asset can be traded on margin. Type: bool shortable [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.shortable "Permalink to this definition") Whether the asset can be shorted. Type: bool easy\_to\_borrow [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.easy_to_borrow "Permalink to this definition") When shorting, whether the asset is easy to borrow Type: bool fractionable [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.fractionable "Permalink to this definition") Whether fractional shares are available Type: bool attributes [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset.attributes "Permalink to this definition") One of ptp\_no\_exception or ptp\_with\_exception. It will include unique characteristics of the asset here. Type: Optional\[List\[str\]\] ## Position [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#position "Permalink to this heading") _class_ alpaca.trading.models.Position( _\*_, _asset\_id:UUID_, _symbol:str_, _exchange:[AssetExchange](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange "alpaca.trading.enums.AssetExchange")_, _asset\_class:[AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "alpaca.trading.enums.AssetClass")_, _asset\_marginable:Optional\[bool\]=None_, _avg\_entry\_price:str_, _qty:str_, _side:[PositionSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionSide "alpaca.trading.enums.PositionSide")_, _market\_value:Optional\[str\]=None_, _cost\_basis:str_, _unrealized\_pl:Optional\[str\]=None_, _unrealized\_plpc:Optional\[str\]=None_, _unrealized\_intraday\_pl:Optional\[str\]=None_, _unrealized\_intraday\_plpc:Optional\[str\]=None_, _current\_price:Optional\[str\]=None_, _lastday\_price:Optional\[str\]=None_, _change\_today:Optional\[str\]=None_, _swap\_rate:Optional\[str\]=None_, _avg\_entry\_swap\_rate:Optional\[str\]=None_, _usd:Optional\[USDPositionValues\]=None_, _qty\_available:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position "Permalink to this definition") Represents an open long or short holding in an asset. asset\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.asset_id "Permalink to this definition") ID of the asset. Type: UUID symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.symbol "Permalink to this definition") Symbol of the asset. Type: str exchange [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.exchange "Permalink to this definition") Exchange name of the asset. Type: [AssetExchange](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetExchange "alpaca.trading.enums.AssetExchange") asset\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.asset_class "Permalink to this definition") Name of the asset’s asset class. Type: [AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "alpaca.trading.enums.AssetClass") asset\_marginable [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.asset_marginable "Permalink to this definition") Indicates if this asset is marginable. Type: Optional\[bool\] avg\_entry\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.avg_entry_price "Permalink to this definition") The average entry price of the position. Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.qty "Permalink to this definition") The number of shares of the position. Type: str side [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.side "Permalink to this definition") “long” or “short” representing the side of the position. Type: [PositionSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionSide "alpaca.trading.enums.PositionSide") market\_value [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.market_value "Permalink to this definition") Total dollar amount of the position. Type: Optional\[str\] cost\_basis [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.cost_basis "Permalink to this definition") Total cost basis in dollars. Type: str unrealized\_pl [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.unrealized_pl "Permalink to this definition") Unrealized profit/loss in dollars. Type: Optional\[str\] unrealized\_plpc [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.unrealized_plpc "Permalink to this definition") Unrealized profit/loss percent. Type: Optional\[str\] unrealized\_intraday\_pl [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.unrealized_intraday_pl "Permalink to this definition") Unrealized profit/loss in dollars for the day. Type: Optional\[str\] unrealized\_intraday\_plpc [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.unrealized_intraday_plpc "Permalink to this definition") Unrealized profit/loss percent for the day. Type: Optional\[str\] current\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.current_price "Permalink to this definition") Current asset price per share. Type: Optional\[str\] lastday\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.lastday_price "Permalink to this definition") Last day’s asset price per share based on the closing value of the last trading day. Type: Optional\[str\] change\_today [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.change_today "Permalink to this definition") Percent change from last day’s price. Type: Optional\[str\] swap\_rate [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.swap_rate "Permalink to this definition") Swap rate is the exchange rate (without mark-up) used to convert the price into local currency or crypto asset. Type: Optional\[str\] avg\_entry\_swap\_rate [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.avg_entry_swap_rate "Permalink to this definition") The average exchange rate the price was converted into the local currency at. Type: Optional\[str\] usd [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.usd "Permalink to this definition") Represents the position in USD values. Type: USDPositionValues qty\_available [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position.qty_available "Permalink to this definition") Total number of shares available minus open orders. Type: Optional\[str\] ## Order [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#order "Permalink to this heading") _class_ alpaca.trading.models.Order( _\*_, _id:UUID_, _client\_order\_id:str_, _created\_at:datetime_, _updated\_at:datetime_, _submitted\_at:datetime_, _filled\_at:Optional\[datetime\]=None_, _expired\_at:Optional\[datetime\]=None_, _expires\_at:Optional\[datetime\]=None_, _canceled\_at:Optional\[datetime\]=None_, _failed\_at:Optional\[datetime\]=None_, _replaced\_at:Optional\[datetime\]=None_, _replaced\_by:Optional\[UUID\]=None_, _replaces:Optional\[UUID\]=None_, _asset\_id:Optional\[UUID\]=None_, _symbol:Optional\[str\]=None_, _asset\_class:Optional\[ [AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "alpaca.trading.enums.AssetClass")\]=None_, _notional:Optional\[str\]=None_, _qty:Optional\[Union\[str,float\]\]=None_, _filled\_qty:Optional\[Union\[str,float\]\]=None_, _filled\_avg\_price:Optional\[Union\[str,float\]\]=None_, _order\_class:[OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")_, _order\_type:Optional\[ [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")\]=None_, _type:Optional\[ [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _limit\_price:Optional\[Union\[str,float\]\]=None_, _stop\_price:Optional\[Union\[str,float\]\]=None_, _status:[OrderStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus "alpaca.trading.enums.OrderStatus")_, _extended\_hours:bool_, _legs:Optional\[List\[ [Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order")\]\]=None_, _trail\_percent:Optional\[str\]=None_, _trail\_price:Optional\[str\]=None_, _hwm:Optional\[str\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _ratio\_qty:Optional\[Union\[str,float\]\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "Permalink to this definition") Represents a request for the sale or purchase of an asset. id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.id "Permalink to this definition") order ID generated by Alpaca. Type: UUID client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.client_order_id "Permalink to this definition") Client unique order ID Type: str created\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.created_at "Permalink to this definition") Timestamp when the order was created. Type: datetime updated\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.updated_at "Permalink to this definition") Timestamp when the order was last updated. Type: datetime submitted\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.submitted_at "Permalink to this definition") Timestamp when the order was submitted. Type: datetime filled\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.filled_at "Permalink to this definition") Timestamp when the order was filled. Type: Optional\[datetime\] expired\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.expired_at "Permalink to this definition") Timestamp when the order expired at. Type: Optional\[datetime\] expires\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.expires_at "Permalink to this definition") An auto cancel request will be triggered after this timestamp. Type: Optional\[datetime\] canceled\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.canceled_at "Permalink to this definition") Timestamp when the order was canceled. Type: Optional\[datetime\] failed\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.failed_at "Permalink to this definition") Timestamp when the order failed at. Type: Optional\[datetime\] replaced\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.replaced_at "Permalink to this definition") Timestamp when the order was replaced by a new order. Type: Optional\[datetime\] replaced\_by [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.replaced_by "Permalink to this definition") ID of order that replaces this order. Type: Optional\[UUID\] replaces [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.replaces "Permalink to this definition") ID of order which this order replaces. Type: Optional\[UUID\] asset\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.asset_id "Permalink to this definition") ID of the asset. Omitted from top-level of response if the order is of mleg class. Type: Optional\[UUID\] symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.symbol "Permalink to this definition") Symbol of the asset. Omitted from top-level of response if the order is of mleg class. Type: Optional\[str\] asset\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.asset_class "Permalink to this definition") Asset class of the asset. Omitted from top-level of response if the order is of mleg class. Type: Optional\[ [AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "alpaca.trading.enums.AssetClass")\] notional [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.notional "Permalink to this definition") Ordered notional amount. If entered, qty will be null. Can take up to 9 decimal points. Type: Optional\[str\] qty [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.qty "Permalink to this definition") Ordered quantity. If entered, notional will be null. Can take up to 9 decimal points. Type: Optional\[str\] filled\_qty [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.filled_qty "Permalink to this definition") Filled quantity. Type: Optional\[str\] filled\_avg\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.filled_avg_price "Permalink to this definition") Filled average price. Can be 0 until order is processed in case order is passed outside of market hours. Type: Optional\[str\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.order_class "Permalink to this definition") Valid values: simple, bracket, oco or oto. Type: [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass") order\_type [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.order_type "Permalink to this definition") Deprecated with just type field below. Omitted from legs of mleg orders. Type: Optional\[ [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")\] type [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.type "Permalink to this definition") Valid values: market, limit, stop, stop\_limit, trailing\_stop. Omitted from legs of mleg orders. Type: Optional\[ [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")\] side [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.side "Permalink to this definition") Valid values: buy and sell. Omitted from top-level of response if the order is of mleg class. Type: Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\] time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.time_in_force "Permalink to this definition") Length of time the order is in force. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") limit\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.limit_price "Permalink to this definition") Limit price of the order. Type: Optional\[str\] stop\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.stop_price "Permalink to this definition") Stop price of the order. Type: Optional\[str\] status [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.status "Permalink to this definition") The status of the order. Type: [OrderStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus "alpaca.trading.enums.OrderStatus") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.extended_hours "Permalink to this definition") If true, eligible for execution outside regular trading hours. Type: bool legs [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.legs "Permalink to this definition") When querying non-simple order\_class orders in a nested style, an array of order entities associated with this order. Otherwise, null. Type: Optional\[List\[ [alpaca.trading.models.Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order")\]\] trail\_percent [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.trail_percent "Permalink to this definition") The percent value away from the high water mark for trailing stop orders. Type: Optional\[str\] trail\_price [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.trail_price "Permalink to this definition") The dollar value away from the high water mark for trailing stop orders. Type: Optional\[str\] hwm [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.hwm "Permalink to this definition") The highest (lowest) market price seen since the trailing stop order was submitted. Type: Optional\[str\] position\_intent [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.position_intent "Permalink to this definition") Represents the desired position strategy. Type: Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\] ratio\_qty [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order.ratio_qty "Permalink to this definition") The proportional quantity of this leg in relation to the overall multi-leg order quantity. Type: Optional\[str\] ## TradeAccount [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#tradeaccount "Permalink to this heading") _class_ alpaca.trading.models.TradeAccount( _\*_, _id:UUID_, _account\_number:str_, _status:[AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")_, _crypto\_status:Optional\[ [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")\]=None_, _currency:Optional\[str\]=None_, _buying\_power:Optional\[str\]=None_, _regt\_buying\_power:Optional\[str\]=None_, _daytrading\_buying\_power:Optional\[str\]=None_, _non\_marginable\_buying\_power:Optional\[str\]=None_, _cash:Optional\[str\]=None_, _accrued\_fees:Optional\[str\]=None_, _pending\_transfer\_out:Optional\[str\]=None_, _pending\_transfer\_in:Optional\[str\]=None_, _portfolio\_value:Optional\[str\]=None_, _pattern\_day\_trader:Optional\[bool\]=None_, _trading\_blocked:Optional\[bool\]=None_, _transfers\_blocked:Optional\[bool\]=None_, _account\_blocked:Optional\[bool\]=None_, _created\_at:Optional\[datetime\]=None_, _trade\_suspended\_by\_user:Optional\[bool\]=None_, _multiplier:Optional\[str\]=None_, _shorting\_enabled:Optional\[bool\]=None_, _equity:Optional\[str\]=None_, _last\_equity:Optional\[str\]=None_, _long\_market\_value:Optional\[str\]=None_, _short\_market\_value:Optional\[str\]=None_, _initial\_margin:Optional\[str\]=None_, _maintenance\_margin:Optional\[str\]=None_, _last\_maintenance\_margin:Optional\[str\]=None_, _sma:Optional\[str\]=None_, _daytrade\_count:Optional\[int\]=None_, _options\_buying\_power:Optional\[str\]=None_, _options\_approved\_level:Optional\[int\]=None_, _options\_trading\_level:Optional\[int\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount "Permalink to this definition") Represents trading account information for an Account. id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.id "Permalink to this definition") The account ID Type: UUID account\_number [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.account_number "Permalink to this definition") The account number Type: str status [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.status "Permalink to this definition") The current status of the account Type: [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus") crypto\_status [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.crypto_status "Permalink to this definition") The status of the account in regards to trading crypto. Only present if crypto trading is enabled for your brokerage account. Type: Optional\[ [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")\] currency [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.currency "Permalink to this definition") Currently will always be the value “USD”. Type: Optional\[str\] buying\_power [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.buying_power "Permalink to this definition") Current available cash buying power. If multiplier = 2 then buying\_power = max(equity-initial\_margin(0) \* 2). If multiplier = 1 then buying\_power = cash. Type: Optional\[str\] regt\_buying\_power [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.regt_buying_power "Permalink to this definition") User’s buying power under Regulation T (excess equity - (equity - margin value) - \* margin multiplier) Type: Optional\[str\] daytrading\_buying\_power [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.daytrading_buying_power "Permalink to this definition") The buying power for day trades for the account Type: Optional\[str\] non\_marginable\_buying\_power [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.non_marginable_buying_power "Permalink to this definition") The non marginable buying power for the account Type: Optional\[str\] cash [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.cash "Permalink to this definition") Cash balance in the account Type: Optional\[str\] accrued\_fees [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.accrued_fees "Permalink to this definition") Fees accrued in this account Type: Optional\[str\] pending\_transfer\_out [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.pending_transfer_out "Permalink to this definition") Cash pending transfer out of this account Type: Optional\[str\] pending\_transfer\_in [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.pending_transfer_in "Permalink to this definition") Cash pending transfer into this account Type: Optional\[str\] portfolio\_value [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.portfolio_value "Permalink to this definition") Total value of cash + holding positions. (This field is deprecated. It is equivalent to the equity field.) Type: str pattern\_day\_trader [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.pattern_day_trader "Permalink to this definition") Whether the account is flagged as pattern day trader or not. Type: Optional\[bool\] trading\_blocked [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.trading_blocked "Permalink to this definition") If true, the account is not allowed to place orders. Type: Optional\[bool\] transfers\_blocked [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.transfers_blocked "Permalink to this definition") If true, the account is not allowed to request money transfers. Type: Optional\[bool\] account\_blocked [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.account_blocked "Permalink to this definition") If true, the account activity by user is prohibited. Type: Optional\[bool\] created\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.created_at "Permalink to this definition") Timestamp this account was created at Type: Optional\[datetime\] trade\_suspended\_by\_user [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.trade_suspended_by_user "Permalink to this definition") If true, the account is not allowed to place orders. Type: Optional\[bool\] multiplier [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.multiplier "Permalink to this definition") Multiplier value for this account. Type: Optional\[str\] shorting\_enabled [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.shorting_enabled "Permalink to this definition") Flag to denote whether or not the account is permitted to short Type: Optional\[bool\] equity [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.equity "Permalink to this definition") This value is cash + long\_market\_value + short\_market\_value. This value isn’t calculated in the SDK it is computed on the server and we return the raw value here. Type: Optional\[str\] last\_equity [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.last_equity "Permalink to this definition") Equity as of previous trading day at 16:00:00 ET Type: Optional\[str\] long\_market\_value [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.long_market_value "Permalink to this definition") Real-time MtM value of all long positions held in the account Type: Optional\[str\] short\_market\_value [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.short_market_value "Permalink to this definition") Real-time MtM value of all short positions held in the account Type: Optional\[str\] initial\_margin [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.initial_margin "Permalink to this definition") Reg T initial margin requirement Type: Optional\[str\] maintenance\_margin [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.maintenance_margin "Permalink to this definition") Maintenance margin requirement Type: Optional\[str\] last\_maintenance\_margin [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.last_maintenance_margin "Permalink to this definition") Maintenance margin requirement on the previous trading day Type: Optional\[str\] sma [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.sma "Permalink to this definition") Value of Special Memorandum Account (will be used at a later date to provide additional buying\_power) Type: Optional\[str\] daytrade\_count [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.daytrade_count "Permalink to this definition") The current number of daytrades that have been made in the last 5 trading days (inclusive of today) Type: Optional\[int\] options\_buying\_power [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.options_buying_power "Permalink to this definition") Your buying power for options trading Type: Optional\[str\] options\_approved\_level [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.options_approved_level "Permalink to this definition") The options trading level that was approved for this account. 0=disabled, 1=Covered Call/Cash-Secured Put, 2=Long Call/Put, 3=Spreads/Straddles. Type: Optional\[int\] options\_trading\_level [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount.options_trading_level "Permalink to this definition") The effective options trading level of the account. This is the minimum between account options\_approved\_level and account configurations max\_options\_trading\_level. 0=disabled, 1=Covered Call/Cash-Secured Put, 2=Long, 3=Spreads/Straddles. Type: Optional\[int\] ## AccountConfiguration [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#accountconfiguration "Permalink to this heading") _class_ alpaca.trading.models.AccountConfiguration( _\*_, _dtbp\_check:[DTBPCheck](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.DTBPCheck "alpaca.trading.enums.DTBPCheck")_, _fractional\_trading:bool_, _max\_margin\_multiplier:str_, _no\_shorting:bool_, _pdt\_check:[PDTCheck](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PDTCheck "alpaca.trading.enums.PDTCheck")_, _suspend\_trade:bool_, _trade\_confirm\_email:[TradeConfirmationEmail](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeConfirmationEmail "alpaca.trading.enums.TradeConfirmationEmail")_, _ptp\_no\_exception\_entry:bool_, _max\_options\_trading\_level:Optional\[int\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration "Permalink to this definition") Represents configuration options for a TradeAccount. dtbp\_check [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration.dtbp_check "Permalink to this definition") Day Trade Buying Power Check. Controls Day Trading Margin Call (DTMC) checks. Type: [DTBPCheck](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.DTBPCheck "alpaca.trading.enums.DTBPCheck") fractional\_trading [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration.fractional_trading "Permalink to this definition") If true, account is able to participate in fractional trading Type: bool max\_margin\_multiplier [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration.max_margin_multiplier "Permalink to this definition") A number between 1-4 that represents your max margin multiplier Type: str no\_shorting [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration.no_shorting "Permalink to this definition") If true then Account becomes long-only mode. Type: bool pdt\_check [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration.pdt_check "Permalink to this definition") Controls Pattern Day Trader (PDT) checks. Type: [PDTCheck](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PDTCheck "alpaca.trading.enums.PDTCheck") suspend\_trade [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration.suspend_trade "Permalink to this definition") If true Account becomes unable to submit new orders Type: bool trade\_confirm\_email [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration.trade_confirm_email "Permalink to this definition") Controls whether Trade confirmation emails are sent. Type: [TradeConfirmationEmail](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeConfirmationEmail "alpaca.trading.enums.TradeConfirmationEmail") ptp\_no\_exception\_entry [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration.ptp_no_exception_entry "Permalink to this definition") If set to true then Alpaca will accept orders for PTP symbols with no exception. Default is false. Type: bool max\_options\_trading\_level [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration.max_options_trading_level "Permalink to this definition") The desired maximum options trading level. 0=disabled, 1=Covered Call/Cash-Secured Put, 2=Long Call/Put, 3=Spreads/Straddles. Type: Optional\[int\] ## Watchlist [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#watchlist "Permalink to this heading") _class_ alpaca.trading.models.Watchlist( _\*_, _id:UUID_, _account\_id:UUID_, _name:str_, _created\_at:datetime_, _updated\_at:datetime_, _assets:Optional\[List\[ [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset")\]\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "Permalink to this definition") A watchlist is an ordered list of assets. An account can have multiple watchlists. Learn more about watchlists in the documentation. [https://alpaca.markets/docs/api-references/trading-api/watchlist/](https://alpaca.markets/docs/api-references/trading-api/watchlist/) account\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist.account_id "Permalink to this definition") The uuid identifying the account the watchlist belongs to Type: UUID id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist.id "Permalink to this definition") The unique identifier for the watchlist Type: UUID name [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist.name "Permalink to this definition") An arbitrary string up to 64 characters identifying the watchlist Type: str created\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist.created_at "Permalink to this definition") When the watchlist was created Type: datetime updated\_at [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist.updated_at "Permalink to this definition") When the watchlist was last updated Type: datetime assets [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist.assets "Permalink to this definition") The assets in the watchlist, not returned from all endpoints Type: Optional\[List\[ [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset")\]\] ## Clock [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#clock "Permalink to this heading") _class_ alpaca.trading.models.Clock( _\*_, _timestamp:datetime_, _is\_open:bool_, _next\_open:datetime_, _next\_close:datetime_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Clock "Permalink to this definition") The market clock for US equity markets. Timestamps are in eastern time. timestamp [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Clock.timestamp "Permalink to this definition") The current timestamp. Type: datetime is\_open [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Clock.is_open "Permalink to this definition") Whether the market is currently open. Type: bool next\_open [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Clock.next_open "Permalink to this definition") The timestamp when the market will next open. Type: datetime next\_close [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Clock.next_close "Permalink to this definition") The timestamp when the market will next close. Type: datetime ## Calendar [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#calendar "Permalink to this heading") _class_ alpaca.trading.models.Calendar( _\*_, _date:date_, _open:datetime_, _close:datetime_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Calendar "Permalink to this definition") The market calendar for equity markets. Describes the market open and close time on a given day. ## NonTradeActivity [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#nontradeactivity "Permalink to this heading") _class_ alpaca.trading.models.NonTradeActivity( _\*args_, _id:str_, _account\_id:UUID_, _activity\_type:[ActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType "alpaca.trading.enums.ActivityType")_, _date:date_, _net\_amount:float_, _description:str_, _status:Optional\[ [NonTradeActivityStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.NonTradeActivityStatus "alpaca.trading.enums.NonTradeActivityStatus")\]=None_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _price:Optional\[float\]=None_, _per\_share\_amount:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.NonTradeActivity "Permalink to this definition") A NonTradeActivity represents an Activity that happened for an account that doesn’t have to do with orders or trades. date [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.NonTradeActivity.date "Permalink to this definition") The date on which the activity occurred or on which the transaction associated with the activity settled. Type: date net\_amount [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.NonTradeActivity.net_amount "Permalink to this definition") The net amount of money (positive or negative) associated with the activity. Type: float description [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.NonTradeActivity.description "Permalink to this definition") Extra description of the NTA if needed. Can be empty string “” Type: str status [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.NonTradeActivity.status "Permalink to this definition") Status of the activity. Not present for all activity types. Type: [NonTradeActivityStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.NonTradeActivityStatus "alpaca.trading.enums.NonTradeActivityStatus") symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.NonTradeActivity.symbol "Permalink to this definition") The symbol of the security involved with the activity. Not present for all activity types. Type: Optional\[str\] qty [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.NonTradeActivity.qty "Permalink to this definition") For dividend activities, the number of shares that contributed to the payment. Not present for other activity types. Type: Optional\[float\] price [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.NonTradeActivity.price "Permalink to this definition")Type: Optional\[float\] per\_share\_amount [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.NonTradeActivity.per_share_amount "Permalink to this definition") For dividend activities, the average amount paid per share. Not present for other activity types. Type: Optional\[float\] ## TradeActivity [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#tradeactivity "Permalink to this heading") _class_ alpaca.trading.models.TradeActivity( _\*args_, _id:str_, _account\_id:UUID_, _activity\_type:[ActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType "alpaca.trading.enums.ActivityType")_, _transaction\_time:datetime_, _type:[TradeActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeActivityType "alpaca.trading.enums.TradeActivityType")_, _price:float_, _qty:float_, _side:[OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")_, _symbol:str_, _leaves\_qty:float_, _order\_id:UUID_, _cum\_qty:float_, _order\_status:[OrderStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus "alpaca.trading.enums.OrderStatus")_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity "Permalink to this definition") Represents information for TradeActivities. TradeActivities are Activities that pertain to trades that happened for an account. IE Fills or partial fills for orders. transaction\_time [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.transaction_time "Permalink to this definition") The time and date of when this trade was processed Type: datetime type [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.type "Permalink to this definition") What kind of trade this TradeActivity represents. See TradeActivityType for more details Type: [TradeActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TradeActivityType "alpaca.trading.enums.TradeActivityType") price [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.price "Permalink to this definition") The per-share price that the trade was executed at. Type: float qty [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.qty "Permalink to this definition") The number of shares involved in the trade execution. Type: float side [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.side "Permalink to this definition") What side the trade this TradeActivity represents was on. See OrderSide for more information Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.symbol "Permalink to this definition") The symbol of the asset that was traded Type: str leaves\_qty [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.leaves_qty "Permalink to this definition") For partially filled orders, the quantity of shares that are left to be filled. Will be 0 if order was not a partially filled order Type: float order\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.order_id "Permalink to this definition") The ID for the order filled Type: UUID cum\_qty [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.cum_qty "Permalink to this definition") The cumulative quantity of shares involved in the execution. Type: float order\_status [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeActivity.order_status "Permalink to this definition") The status of the order that executed the trade. See OrderStatus for more details Type: [OrderStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderStatus "alpaca.trading.enums.OrderStatus") ## PortfolioHistory [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#portfoliohistory "Permalink to this heading") _class_ alpaca.trading.models.PortfolioHistory( _\*_, _timestamp:List\[int\]_, _equity:List\[float\]_, _profit\_loss:List\[float\]_, _profit\_loss\_pct:List\[Optional\[float\]\]_, _base\_value:float_, _timeframe:str_, _cashflow:Dict\[ [ActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType "alpaca.trading.enums.ActivityType"),List\[float\]\]={}_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory "Permalink to this definition") Contains information about the value of a portfolio over time. timestamp [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory.timestamp "Permalink to this definition") Time of each data element, left-labeled (the beginning of time window). Type: List\[int\] equity [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory.equity "Permalink to this definition") Equity value of the account in dollar amount as of the end of each time window. Type: List\[float\] profit\_loss [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory.profit_loss "Permalink to this definition") Profit/loss in dollar from the base value. Type: List\[float\] profit\_loss\_pct [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory.profit_loss_pct "Permalink to this definition") Profit/loss in percentage from the base value. Type: List\[Optional\[float\]\] base\_value [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory.base_value "Permalink to this definition") Basis in dollar of the profit loss calculation. Type: float timeframe [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory.timeframe "Permalink to this definition") Time window size of each data element. Type: str cashflow [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory.cashflow "Permalink to this definition") Cash flow amounts per activity type, if any. Type: Dict\[ [ActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType "alpaca.trading.enums.ActivityType"), List\[float\]\] ## ClosePositionResponse [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#closepositionresponse "Permalink to this heading") _class_ alpaca.trading.models.ClosePositionResponse( _\*_, _order\_id:Optional\[UUID\]=None_, _status:Optional\[int\]=None_, _symbol:Optional\[str\]=None_, _body:Union\[ [FailedClosePositionDetails](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.FailedClosePositionDetails "alpaca.trading.models.FailedClosePositionDetails"), [Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order")\]_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.ClosePositionResponse "Permalink to this definition") API response for a close position request. .. attribute:: order\_id > ID of order that was created to liquidate the position. > > type: > > Optional\[UUID\] status [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.ClosePositionResponse.status "Permalink to this definition") Status code corresponding to the request to liquidate the position. Type: Optional\[int\] symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.ClosePositionResponse.symbol "Permalink to this definition") The symbol of the position being closed. Type: Optional\[str\] body [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.ClosePositionResponse.body "Permalink to this definition") Information relating to the successful or unsuccessful closing of the position. Type: Optional\[dict\] ## FailedClosePositionDetails [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#failedclosepositiondetails "Permalink to this heading") _class_ alpaca.trading.models.FailedClosePositionDetails( _\*_, _code:int_, _message:str_, _available:Optional\[float\]=None_, _existing\_qty:Optional\[float\]=None_, _held\_for\_orders:Optional\[float\]=None_, _symbol:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.FailedClosePositionDetails "Permalink to this definition") API response for failed close position request. available [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.FailedClosePositionDetails.available "Permalink to this definition") The qty available. Type: float code [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.FailedClosePositionDetails.code "Permalink to this definition") The status code. Type: int existing\_qty [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.FailedClosePositionDetails.existing_qty "Permalink to this definition") The total qty in account. Type: float held\_for\_orders [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.FailedClosePositionDetails.held_for_orders "Permalink to this definition") The qty locked up in existing orders. Type: float message [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.FailedClosePositionDetails.message "Permalink to this definition") Message for failed request. Type: str symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.FailedClosePositionDetails.symbol "Permalink to this definition") The symbol for the request. Type: str ## CorporateActionAnnouncement [\#](https://alpaca.markets/sdks/python/api_reference/trading/models.html\#corporateactionannouncement "Permalink to this heading") _class_ alpaca.trading.models.CorporateActionAnnouncement( _\*_, _id:UUID_, _corporate\_action\_id:str_, _ca\_type:[CorporateActionType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionType "alpaca.trading.enums.CorporateActionType")_, _ca\_sub\_type:[CorporateActionSubType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType "alpaca.trading.enums.CorporateActionSubType")_, _initiating\_symbol:str_, _initiating\_original\_cusip:str_, _target\_symbol:Optional\[str\]=None_, _target\_original\_cusip:Optional\[str\]=None_, _declaration\_date:Optional\[date\]=None_, _ex\_date:Optional\[date\]=None_, _record\_date:Optional\[date\]=None_, _payable\_date:Optional\[date\]=None_, _cash:float_, _old\_rate:float_, _new\_rate:float_) [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement "Permalink to this definition") An announcement of a corporate action. Corporate actions are events like dividend payouts, mergers and stock splits. id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.id "Permalink to this definition") The unique identifier for this single announcement. Type: UUID corporate\_action\_id [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.corporate_action_id "Permalink to this definition") ID that remains consistent across all announcements for the same corporate action. Type: str ca\_type [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.ca_type "Permalink to this definition") The type of corporate action that was announced. Type: [CorporateActionType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionType "alpaca.trading.enums.CorporateActionType") ca\_sub\_type [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.ca_sub_type "Permalink to this definition") The specific subtype of corporate action that was announced. Type: [CorporateActionSubType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.CorporateActionSubType "alpaca.trading.enums.CorporateActionSubType") initiating\_symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.initiating_symbol "Permalink to this definition") Symbol of the company initiating the announcement. Type: str initiating\_original\_cusip [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.initiating_original_cusip "Permalink to this definition") CUSIP of the company initiating the announcement. Type: str target\_symbol [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.target_symbol "Permalink to this definition") Symbol of the child company involved in the announcement. Type: Optional\[str\] target\_original\_cusip [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.target_original_cusip "Permalink to this definition") CUSIP of the child company involved in the announcement. Type: Optional\[str\] declaration\_date [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.declaration_date "Permalink to this definition") Date the corporate action or subsequent terms update was announced. Type: Optional\[date\] ex\_date [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.ex_date "Permalink to this definition") The first date that purchasing a security will not result in a corporate action entitlement. Type: Optional\[date\] record\_date [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.record_date "Permalink to this definition") The date an account must hold a settled position in the security in order to receive the corporate action entitlement. Type: Optional\[date\] payable\_date [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.payable_date "Permalink to this definition") The date the announcement will take effect. On this date, account stock and cash balances are expected to be processed accordingly. Type: Optional\[date\] cash [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.cash "Permalink to this definition") The amount of cash to be paid per share held by an account on the record date. Type: float old\_rate [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.old_rate "Permalink to this definition") The denominator to determine any quantity change ratios in positions. Type: float new\_rate [#](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement.new_rate "Permalink to this definition") The numerator to determine any quantity change ratios in positions. Type: float ## Broker API Requests ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Requests [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#requests "Permalink to this heading") ## AccountCreationRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#accountcreationrequest "Permalink to this heading") _class_ alpaca.broker.requests.CreateAccountRequest( _\*_, _contact:[Contact](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact "alpaca.broker.models.accounts.Contact")_, _identity:[Identity](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity "alpaca.broker.models.accounts.Identity")_, _disclosures:[Disclosures](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures "alpaca.broker.models.accounts.Disclosures")_, _agreements:List\[ [Agreement](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement "alpaca.broker.models.accounts.Agreement")\]_, _documents:Optional\[List\[Union\[ [AccountDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument "alpaca.broker.models.documents.AccountDocument"), [UploadW8BenDocumentRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadW8BenDocumentRequest "alpaca.broker.requests.UploadW8BenDocumentRequest")\]\]\]=None_, _trusted\_contact:Optional\[ [TrustedContact](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TrustedContact "alpaca.broker.models.accounts.TrustedContact")\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _enabled\_assets:Optional\[List\[ [AssetClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AssetClass "alpaca.trading.enums.AssetClass")\]\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateAccountRequest "Permalink to this definition") Class used to format data necessary for making a request to create a brokerage account contact [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateAccountRequest.contact "Permalink to this definition") The contact details for the account holder Type: [Contact](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact "alpaca.broker.models.accounts.Contact") identity [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateAccountRequest.identity "Permalink to this definition") The identity details for the account holder Type: [Identity](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity "alpaca.broker.models.accounts.Identity") disclosures [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateAccountRequest.disclosures "Permalink to this definition") The account holder’s political disclosures Type: [Disclosures](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures "alpaca.broker.models.accounts.Disclosures") agreements [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateAccountRequest.agreements "Permalink to this definition") The agreements the account holder has signed Type: List\[ [Agreement](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement "alpaca.broker.models.accounts.Agreement")\] documents [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateAccountRequest.documents "Permalink to this definition") The documents the account holder has submitted Type: List\[Union\[ [AccountDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument "alpaca.broker.models.documents.AccountDocument"), [UploadW8BenDocumentRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadW8BenDocumentRequest "alpaca.broker.requests.UploadW8BenDocumentRequest")\]\] trusted\_contact [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateAccountRequest.trusted_contact "Permalink to this definition") The account holder’s trusted contact details Type: [TrustedContact](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TrustedContact "alpaca.broker.models.accounts.TrustedContact") ## UpdateAccountRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#updateaccountrequest "Permalink to this heading") _class_ alpaca.broker.requests.UpdateAccountRequest( _\*_, _contact:Optional\[ [UpdatableContact](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact "alpaca.broker.requests.UpdatableContact")\]=None_, _identity:Optional\[ [UpdatableIdentity](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity "alpaca.broker.requests.UpdatableIdentity")\]=None_, _disclosures:Optional\[ [UpdatableDisclosures](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures "alpaca.broker.requests.UpdatableDisclosures")\]=None_, _trusted\_contact:Optional\[ [UpdatableTrustedContact](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact "alpaca.broker.requests.UpdatableTrustedContact")\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdateAccountRequest "Permalink to this definition") Represents the data allowed in a request to update an Account. Note not all fields of an account are currently modifiable so this model uses models that represent the subset of modifiable fields. contact [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdateAccountRequest.contact "Permalink to this definition") Contact details to update to Type: Optional\[ [UpdatableContact](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact "alpaca.broker.requests.UpdatableContact")\] identity [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdateAccountRequest.identity "Permalink to this definition") Identity details to update to Type: Optional\[ [UpdatableIdentity](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity "alpaca.broker.requests.UpdatableIdentity")\] disclosures [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdateAccountRequest.disclosures "Permalink to this definition") Disclosure details to update to Type: Optional\[ [UpdatableDisclosures](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures "alpaca.broker.requests.UpdatableDisclosures")\] trusted\_contact [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdateAccountRequest.trusted_contact "Permalink to this definition") TrustedContact details to update to Type: Optional\[ [UpdatableTrustedContact](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact "alpaca.broker.requests.UpdatableTrustedContact")\] ### UpdatableContact [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#updatablecontact "Permalink to this heading") _class_ alpaca.broker.requests.UpdatableContact( _\*_, _email\_address:Optional\[str\]=None_, _phone\_number:Optional\[str\]=None_, _street\_address:Optional\[List\[str\]\]=None_, _unit:Optional\[str\]=None_, _city:Optional\[str\]=None_, _state:Optional\[str\]=None_, _postal\_code:Optional\[str\]=None_, _country:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact "Permalink to this definition") An extended version of Contact that has all fields as optional, so you don’t need to specify all fields if you only want to update a subset of them. email\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact.email_address "Permalink to this definition") The user’s email address Type: Optional\[str\] phone\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact.phone_number "Permalink to this definition") The user’s phone number. It should include the country code. Type: Optional\[str\] street\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact.street_address "Permalink to this definition") The user’s street address lines. Type: Optional\[List\[str\]\] unit [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact.unit "Permalink to this definition") The user’s apartment unit, if any. Type: Optional\[str\] city [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact.city "Permalink to this definition") The city the user resides in. Type: Optional\[str\] state [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact.state "Permalink to this definition") The state the user resides in. This is required if country is ‘USA’. Type: Optional\[str\] postal\_code [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact.postal_code "Permalink to this definition") The user’s postal Type: Optional\[str\] country [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableContact.country "Permalink to this definition") The country the user resides in. 3 letter country code is permissible. Type: Optional\[str\] ### UpdatableIdentity [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#updatableidentity "Permalink to this heading") _class_ alpaca.broker.requests.UpdatableIdentity( _\*_, _given\_name:Optional\[str\]=None_, _middle\_name:Optional\[str\]=None_, _family\_name:Optional\[str\]=None_, _visa\_type:Optional\[ [VisaType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType "alpaca.broker.enums.VisaType")\]=None_, _visa\_expiration\_date:Optional\[str\]=None_, _date\_of\_departure\_from\_usa:Optional\[str\]=None_, _permanent\_resident:Optional\[bool\]=None_, _funding\_source:Optional\[List\[ [FundingSource](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource "alpaca.broker.enums.FundingSource")\]\]=None_, _annual\_income\_min:Optional\[float\]=None_, _annual\_income\_max:Optional\[float\]=None_, _liquid\_net\_worth\_min:Optional\[float\]=None_, _liquid\_net\_worth\_max:Optional\[float\]=None_, _total\_net\_worth\_min:Optional\[float\]=None_, _total\_net\_worth\_max:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity "Permalink to this definition") > This class is a subset version of Identity. Currently, not all fields on accounts are modifiable so this class > represents which ones are modifiable on the identity field of an account when making an > BrokerClient::update\_account call. > > Also has all fields as optional, so you don’t need to specify all fields if you only want to update a subset given\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.given_name "Permalink to this definition") The user’s first name Type: Optional\[str\] middle\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.middle_name "Permalink to this definition") The user’s middle name, if any Type: Optional\[str\] family\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.family_name "Permalink to this definition") The user’s last name Type: Optional\[str\] tax\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.tax_id "Permalink to this definition") The user’s country specific tax id, required if tax\_id\_type is provided Type: Optional\[str\] tax\_id\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.tax_id_type "Permalink to this definition") The tax\_id\_type for the tax\_id provided, required if tax\_id provided Type: Optional\[ [TaxIdType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType "alpaca.broker.enums.TaxIdType")\] country\_of\_citizenship [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.country_of_citizenship "Permalink to this definition") The country the user is a citizen Type: Optional\[str\] country\_of\_birth [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.country_of_birth "Permalink to this definition") The country the user was born Type: Optional\[str\] country\_of\_tax\_residence [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.country_of_tax_residence "Permalink to this definition") The country the user files taxes Type: Optional\[str\] visa\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.visa_type "Permalink to this definition") Only used to collect visa types for users residing in the USA. Type: Optional\[ [VisaType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType "alpaca.broker.enums.VisaType")\] visa\_expiration\_date [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.visa_expiration_date "Permalink to this definition") The date of expiration for visa, Required if visa\_type is set. Type: Optional\[str\] date\_of\_departure\_from\_usa [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.date_of_departure_from_usa "Permalink to this definition") Required if visa\_type = B1 or B2 Type: Optional\[str\] permanent\_resident [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.permanent_resident "Permalink to this definition") Only used to collect permanent residence status in the USA. Type: Optional\[bool\] funding\_source [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.funding_source "Permalink to this definition") How the user will fund their account Type: Optional\[List\[ [FundingSource](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource "alpaca.broker.enums.FundingSource")\]\] annual\_income\_min [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.annual_income_min "Permalink to this definition") The minimum of the user’s income range Type: Optional\[float\] annual\_income\_max [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.annual_income_max "Permalink to this definition") The maximum of the user’s income range Type: Optional\[float\] liquid\_net\_worth\_min [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.liquid_net_worth_min "Permalink to this definition") The minimum of the user’s liquid net worth range Type: Optional\[float\] liquid\_net\_worth\_max [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.liquid_net_worth_max "Permalink to this definition") The maximum of the user’s liquid net worth range Type: Optional\[float\] total\_net\_worth\_min [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.total_net_worth_min "Permalink to this definition") The minimum of the user’s total net worth range Type: Optional\[float\] total\_net\_worth\_max [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableIdentity.total_net_worth_max "Permalink to this definition") The maximum of the user’s total net worth range Type: Optional\[float\] ### UpdatableDisclosures [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#updatabledisclosures "Permalink to this heading") _class_ alpaca.broker.requests.UpdatableDisclosures( _\*_, _is\_control\_person:Optional\[bool\]=None_, _is\_affiliated\_exchange\_or\_finra:Optional\[bool\]=None_, _is\_politically\_exposed:Optional\[bool\]=None_, _immediate\_family\_exposed:Optional\[bool\]=None_, _employment\_status:Optional\[ [EmploymentStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.EmploymentStatus "alpaca.broker.enums.EmploymentStatus")\]=None_, _employer\_name:Optional\[str\]=None_, _employer\_address:Optional\[str\]=None_, _employment\_position:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures "Permalink to this definition") An extended version of Disclosures that has all fields as optional, so you don’t need to specify all fields if you only want to update a subset of them. is\_control\_person [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures.is_control_person "Permalink to this definition") Whether user holds a controlling position in a publicly traded company Type: Optional\[bool\] is\_affiliated\_exchange\_or\_finra [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures.is_affiliated_exchange_or_finra "Permalink to this definition") If user is affiliated with any exchanges or FINRA Type: Optional\[bool\] is\_politically\_exposed [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures.is_politically_exposed "Permalink to this definition") If user is politically exposed Type: Optional\[bool\] immediate\_family\_exposed [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures.immediate_family_exposed "Permalink to this definition") If user’s immediate family member is either politically exposed or holds a control position. Type: Optional\[bool\] employment\_status [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures.employment_status "Permalink to this definition") The employment status of the user Type: Optional\[ [EmploymentStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.EmploymentStatus "alpaca.broker.enums.EmploymentStatus")\] employer\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures.employer_name "Permalink to this definition") The user’s employer’s name, if any Type: Optional\[str\] employer\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures.employer_address "Permalink to this definition") The user’s employer’s address, if any Type: Optional\[str\] employment\_position [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableDisclosures.employment_position "Permalink to this definition") The user’s employment position, if any Type: Optional\[str\] ### UpdatableTrustedContact [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#updatabletrustedcontact "Permalink to this heading") _class_ alpaca.broker.requests.UpdatableTrustedContact( _\*_, _given\_name:Optional\[str\]=None_, _family\_name:Optional\[str\]=None_, _email\_address:Optional\[str\]=None_, _phone\_number:Optional\[str\]=None_, _street\_address:Optional\[str\]=None_, _city:Optional\[str\]=None_, _state:Optional\[str\]=None_, _postal\_code:Optional\[str\]=None_, _country:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact "Permalink to this definition") An extended version of TrustedContact that has all fields as optional, so you don’t need to specify all fields if you only want to update a subset of them. given\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact.given_name "Permalink to this definition") The first name of the user’s trusted contact Type: Optional\[str\] family\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact.family_name "Permalink to this definition") The last name of the user’s trusted contact Type: Optional\[str\] email\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact.email_address "Permalink to this definition") The email address of the user’s trusted contact Type: Optional\[str\] phone\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact.phone_number "Permalink to this definition") The email address of the user’s trusted contact Type: Optional\[str\] city [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact.city "Permalink to this definition") The email address of the user’s trusted contact Type: Optional\[str\] state [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact.state "Permalink to this definition") The email address of the user’s trusted contact Type: Optional\[str\] postal\_code [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact.postal_code "Permalink to this definition") The email address of the user’s trusted contact Type: Optional\[str\] country [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdatableTrustedContact.country "Permalink to this definition") The email address of the user’s trusted contact Type: Optional\[str\] ## ListAccountsRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#listaccountsrequest "Permalink to this heading") _class_ alpaca.broker.requests.ListAccountsRequest( _\*args_, _query:Optional\[str\]=None_, _created\_before:Optional\[datetime\]=None_, _created\_after:Optional\[datetime\]=None_, _status:Optional\[List\[ [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")\]\]=None_, _sort:Sort_, _entities:Optional\[List\[ [AccountEntities](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities "alpaca.broker.enums.AccountEntities")\]\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ListAccountsRequest "Permalink to this definition") Represents the values you can specify when making a request to list accounts query [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ListAccountsRequest.query "Permalink to this definition") Pass space-delimited tokens. The response will contain accounts that match with each of the tokens (logical AND). A match means the token is present in either the account’s associated account number, phone number, name, or e-mail address (logical OR). Type: Optional\[str\] created\_before [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ListAccountsRequest.created_before "Permalink to this definition") Accounts that were created before this date Type: Optional\[datetime\] created\_after [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ListAccountsRequest.created_after "Permalink to this definition") Accounts that were created after this date Type: Optional\[datetime\] status [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ListAccountsRequest.status "Permalink to this definition") Accounts that have their status field as one of these Type: Optional\[ [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")\] sort [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ListAccountsRequest.sort "Permalink to this definition") The chronological order of response based on the submission time. Defaults to DESC. Type: Sort, optional entities [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ListAccountsRequest.entities "Permalink to this definition") By default, this endpoint doesn’t return all information for each account to save space in the response. This field lets you specify what additional information you want to be included on each account. ie, specifying \[IDENTITY, CONTACT\] would ensure that each returned account has its identity and contact fields filled out. Type: Optional\[List\[ [AccountEntities](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AccountEntities "alpaca.broker.enums.AccountEntities")\]\] ## GetAccountActivitiesRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#getaccountactivitiesrequest "Permalink to this heading") _class_ alpaca.broker.requests.GetAccountActivitiesRequest( _\*args_, _account\_id:Optional\[Union\[UUID,str\]\]=None_, _activity\_types:Optional\[List\[ [ActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType "alpaca.trading.enums.ActivityType")\]\]=None_, _date:Optional\[datetime\]=None_, _until:Optional\[datetime\]=None_, _after:Optional\[datetime\]=None_, _direction:Optional\[Sort\]=None_, _page\_size:Optional\[int\]=None_, _page\_token:Optional\[Union\[UUID,str\]\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest "Permalink to this definition") Represents the filtering values you can specify when getting AccountActivities for an Account **Notes on pagination and the \`page\_size\` and \`page\_token\` fields**. The BrokerClient::get\_account\_activities function by default will automatically handle the pagination of results for you to get all results at once. However, if you’re requesting a very large amount of results this can use a large amount of memory and time to gather all the results. If you instead want to handle pagination yourself page\_size and page\_token are how you would handle this. Say you put in a request with page\_size set to 4, you’ll only get 4 results back to get the next “page” of results you would set page\_token to be the id field of the last Activity returned in the result set. This gets more indepth if you start specifying the sort field as well. If specified with a direction of Sort.DESC, for example, the results will end before the activity with the specified ID. However, specified with a direction of Sort.ASC, results will begin with the activity immediately after the one specified. Also, to note if date is not specified, the default and maximum page\_size value is 100. If date is specified, the default behavior is to return all results, and there is no maximum page size; page size is still supported in this state though. Please see [https://alpaca.markets/docs/api-references/broker-api/accounts/account-activities/#retrieving-account-activities](https://alpaca.markets/docs/api-references/broker-api/accounts/account-activities/#retrieving-account-activities) for more information account\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest.account_id "Permalink to this definition") Specifies to filter to only activities for this Account Type: Optional\[Union\[UUID, str\]\] activity\_types [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest.activity_types "Permalink to this definition") A list of ActivityType’s to filter results down to Type: Optional\[List\[ [ActivityType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.ActivityType "alpaca.trading.enums.ActivityType")\]\] date [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest.date "Permalink to this definition") Filter to Activities only on this date. Type: Optional\[datetime\] until [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest.until "Permalink to this definition") Filter to Activities before this date. Cannot be used if date is also specified. Type: Optional\[datetime\] after [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest.after "Permalink to this definition") Filter to Activities after this date. Cannot be used if date is also specified. Type: Optional\[datetime\] direction [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest.direction "Permalink to this definition") Which direction to sort results in. Defaults to Sort.DESC Type: Optional\[Sort\] page\_size [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest.page_size "Permalink to this definition") The maximum number of entries to return in the response Type: Optional\[int\] page\_token [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetAccountActivitiesRequest.page_token "Permalink to this definition") If you’re not using the built-in pagination this field is what you would use to mark the end of the results of your last page. Type: Optional\[Union\[UUID, str\]\] ## GetTradeDocumentsRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#gettradedocumentsrequest "Permalink to this heading") _class_ alpaca.broker.requests.GetTradeDocumentsRequest( _\*_, _start:Optional\[Union\[date,str\]\]=None_, _end:Optional\[Union\[date,str\]\]=None_, _type:Optional\[ [TradeDocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType "alpaca.broker.enums.TradeDocumentType")\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetTradeDocumentsRequest "Permalink to this definition") Represents the various filters you can specify when making a call to get TradeDocuments for an Account start [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetTradeDocumentsRequest.start "Permalink to this definition") Filter to TradeDocuments created after this Date. str values will attempt to be upcast into date instances. Format must be in YYYY-MM-DD. Type: Optional\[Union\[date, str\]\] end [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetTradeDocumentsRequest.end "Permalink to this definition") Filter to TradeDocuments created before this Date. str values will attempt to be upcast into date instances. Format must be in YYYY-MM-DD. Type: Optional\[Union\[date, str\]\] type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetTradeDocumentsRequest.type "Permalink to this definition") Filter to only these types of TradeDocuments Type: Optional\[ [TradeDocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType "alpaca.broker.enums.TradeDocumentType")\] ## UploadDocumentRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#uploaddocumentrequest "Permalink to this heading") _class_ alpaca.broker.requests.UploadDocumentRequest( _\*_, _document\_type:[DocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType "alpaca.broker.enums.DocumentType")_, _document\_sub\_type:Optional\[ [UploadDocumentSubType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentSubType "alpaca.broker.enums.UploadDocumentSubType")\]=None_, _content:str_, _mime\_type:[UploadDocumentMimeType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentMimeType "alpaca.broker.enums.UploadDocumentMimeType")_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadDocumentRequest "Permalink to this definition")document\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadDocumentRequest.document_type "Permalink to this definition") The type of document you are uploading Type: [DocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType "alpaca.broker.enums.DocumentType") document\_sub\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadDocumentRequest.document_sub_type "Permalink to this definition") If supported for the corresponding document\_type this field allows you to specify a sub type to be even more specific. Type: Optional\[ [UploadDocumentSubType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentSubType "alpaca.broker.enums.UploadDocumentSubType")\] content [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadDocumentRequest.content "Permalink to this definition") A string containing Base64 encoded data to upload. Type: str mime\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadDocumentRequest.mime_type "Permalink to this definition") The mime type of the data in content Type: [UploadDocumentMimeType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentMimeType "alpaca.broker.enums.UploadDocumentMimeType") ## UploadW8BenDocumentRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#uploadw8bendocumentrequest "Permalink to this heading") _class_ alpaca.broker.requests.UploadW8BenDocumentRequest( _\*_, _document\_type:[DocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType "alpaca.broker.enums.DocumentType")_, _document\_sub\_type:[UploadDocumentSubType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentSubType "alpaca.broker.enums.UploadDocumentSubType")_, _content:Optional\[str\]=None_, _content\_data:Optional\[ [W8BenDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument "alpaca.broker.models.documents.W8BenDocument")\]=None_, _mime\_type:[UploadDocumentMimeType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentMimeType "alpaca.broker.enums.UploadDocumentMimeType")_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadW8BenDocumentRequest "Permalink to this definition")content [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadW8BenDocumentRequest.content "Permalink to this definition") A string containing Base64 encoded data to upload. Must be set if content\_data is not set. Type: Optional\[str\] content\_data [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadW8BenDocumentRequest.content_data "Permalink to this definition") The data representing a W8BEN document in field form. Must be set if content is not set. Type: Optional\[ [W8BenDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument "alpaca.broker.models.documents.W8BenDocument")\] mime\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadW8BenDocumentRequest.mime_type "Permalink to this definition") The mime type of the data in content, or if using content\_data must be UploadDocumentMimeType.JSON. If content\_data is set this will default to JSON Type: [UploadDocumentMimeType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.UploadDocumentMimeType "alpaca.broker.enums.UploadDocumentMimeType") ## CreateACHRelationshipRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#createachrelationshiprequest "Permalink to this heading") _class_ alpaca.broker.requests.CreateACHRelationshipRequest( _\*_, _account\_owner\_name:str_, _bank\_account\_type:[BankAccountType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankAccountType "alpaca.broker.enums.BankAccountType")_, _bank\_account\_number:str_, _bank\_routing\_number:str_, _nickname:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHRelationshipRequest "Permalink to this definition")account\_owner\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHRelationshipRequest.account_owner_name "Permalink to this definition") The name of the ACH account owner for the relationship that is being created. Type: str bank\_account\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHRelationshipRequest.bank_account_type "Permalink to this definition") Specifies the type of bank account for the ACH relationship that is being created. Type: [BankAccountType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankAccountType "alpaca.broker.enums.BankAccountType") bank\_account\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHRelationshipRequest.bank_account_number "Permalink to this definition") The bank account number associated with the ACH relationship. Type: str bank\_routing\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHRelationshipRequest.bank_routing_number "Permalink to this definition") THe bank routing number associated with the ACH relationship. Type: str nickname [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHRelationshipRequest.nickname "Permalink to this definition") Optionally specify a nickname to assign to the created ACH relationship. Type: Optional\[str\] ## CreatePlaidRelationshipRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#createplaidrelationshiprequest "Permalink to this heading") _class_ alpaca.broker.requests.CreatePlaidRelationshipRequest( _\*_, _processor\_token:str_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreatePlaidRelationshipRequest "Permalink to this definition") This request is made following the Plaid bank account link user flow. Upon the user completing their connection with Plaid, a public token specific to the user is returned by Plaid. This token is used to get an Alpaca processor token via Plaid’s /processor/token/create endpoint, which is subsequently used by this endpoint to transfer the user’s Plaid information to Alpaca. processor\_token [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreatePlaidRelationshipRequest.processor_token "Permalink to this definition") The processor token that is specific to Alpaca and was returned by Plaid. Type: str ## CreateBankRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#createbankrequest "Permalink to this heading") _class_ alpaca.broker.requests.CreateBankRequest( _\*_, _name:str_, _bank\_code\_type:[IdentifierType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.IdentifierType "alpaca.broker.enums.IdentifierType")_, _bank\_code:str_, _account\_number:str_, _country:Optional\[str\]=None_, _state\_province:Optional\[str\]=None_, _postal\_code:Optional\[str\]=None_, _city:Optional\[str\]=None_, _street\_address:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest "Permalink to this definition")name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest.name "Permalink to this definition") The name of the recipient bank. Type: str bank\_code\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest.bank_code_type "Permalink to this definition") Specifies the type of the bank (international or domestic). See enums.IdentifierType for more details. Type: [IdentifierType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.IdentifierType "alpaca.broker.enums.IdentifierType") bank\_code [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest.bank_code "Permalink to this definition") The 9-digit ABA routing number (domestic) or bank identifier code (BIC, international). Type: str account\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest.account_number "Permalink to this definition") The bank account number. Type: str country [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest.country "Permalink to this definition") The country of the bank, if and only if creating an international bank account connection. Type: Optional\[str\] state\_province [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest.state_province "Permalink to this definition") The state/province of the bank, if and only if creating an international bank account connection. Type: Optional\[str\] postal\_code [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest.postal_code "Permalink to this definition") The postal code of the bank, if and only if creating an international bank account connection. Type: Optional\[str\] city [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest.city "Permalink to this definition") The city of the bank, if and only if creating an international bank account connection. Type: Optional\[str\] street\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest.street_address "Permalink to this definition") The street address of the bank, if and only if creating an international bank account connection. Type: Optional\[str\] ## CreateACHTransferRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#createachtransferrequest "Permalink to this heading") _class_ alpaca.broker.requests.CreateACHTransferRequest( _\*_, _amount:str_, _direction:[TransferDirection](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferDirection "alpaca.broker.enums.TransferDirection")_, _timing:[TransferTiming](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferTiming "alpaca.broker.enums.TransferTiming")_, _fee\_payment\_method:Optional\[ [FeePaymentMethod](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FeePaymentMethod "alpaca.broker.enums.FeePaymentMethod")\]=None_, _relationship\_id:UUID_, _transfer\_type:[TransferType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferType "alpaca.broker.enums.TransferType")=TransferType.ACH_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHTransferRequest "Permalink to this definition")transfer\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHTransferRequest.transfer_type "Permalink to this definition") Type of the transfer. Type: [TransferType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferType "alpaca.broker.enums.TransferType") relationship\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHTransferRequest.relationship_id "Permalink to this definition") ID of the relationship to use for the transfer, required for ACH transfers. Type: Optional\[UUID\] ## CreateBankTransferRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#createbanktransferrequest "Permalink to this heading") _class_ alpaca.broker.requests.CreateBankTransferRequest( _\*_, _amount:str_, _direction:[TransferDirection](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferDirection "alpaca.broker.enums.TransferDirection")_, _timing:[TransferTiming](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferTiming "alpaca.broker.enums.TransferTiming")_, _fee\_payment\_method:Optional\[ [FeePaymentMethod](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FeePaymentMethod "alpaca.broker.enums.FeePaymentMethod")\]=None_, _bank\_id:UUID_, _transfer\_type:[TransferType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferType "alpaca.broker.enums.TransferType")=TransferType.WIRE_, _additional\_information:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankTransferRequest "Permalink to this definition")bank\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankTransferRequest.bank_id "Permalink to this definition") ID of the bank to use for the transfer, required for wire transfers. Type: UUID additional\_information [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankTransferRequest.additional_information "Permalink to this definition") Additional wire transfer details. Type: Optional\[str\] ## GetTransfersRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#gettransfersrequest "Permalink to this heading") _class_ alpaca.broker.requests.GetTransfersRequest( _\*_, _direction:Optional\[ [TransferDirection](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferDirection "alpaca.broker.enums.TransferDirection")\]=None_, _limit:Optional\[int\]=None_, _offset:Optional\[int\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetTransfersRequest "Permalink to this definition")direction [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetTransfersRequest.direction "Permalink to this definition") Optionally filter for transfers of only a single TransferDirection. Type: Optional\[ [alpaca.broker.enums.TransferDirection](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferDirection "alpaca.broker.enums.TransferDirection")\] ## OrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#orderrequest "Permalink to this heading") _class_ alpaca.broker.requests.OrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _commission:Optional\[float\]=None_, _currency:Optional\[SupportedCurrencies\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest "Permalink to this definition") See base alpaca.trading.requests.OrderRequest model for more information. symbol [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[float\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] commission [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest.commission "Permalink to this definition") The dollar value commission you want to charge the end user. Type: Optional\[float\] ## MarketOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#marketorderrequest "Permalink to this heading") _class_ alpaca.broker.requests.MarketOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _commission:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest "Permalink to this definition") See base alpaca.trading.requests.MarketOrderRequest model for more information. symbol [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[float\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] commission [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.MarketOrderRequest.commission "Permalink to this definition") The dollar value commission you want to charge the end user. Type: Optional\[float\] ## LimitOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#limitorderrequest "Permalink to this heading") _class_ alpaca.broker.requests.LimitOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _limit\_price:Optional\[float\]=None_, _commission:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest "Permalink to this definition") See base alpaca.trading.requests.LimitOrderRequest model for more information. symbol [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[float\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] limit\_price [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.limit_price "Permalink to this definition") The worst fill price for a limit or stop limit order. Type: float commission [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.LimitOrderRequest.commission "Permalink to this definition") The dollar value commission you want to charge the end user. Type: Optional\[float\] ## StopOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#stoporderrequest "Permalink to this heading") _class_ alpaca.broker.requests.StopOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _stop\_price:float_, _commission:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest "Permalink to this definition") See base alpaca.trading.requests.StopOrderRequest model for more information. symbol [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[float\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] stop\_price [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.stop_price "Permalink to this definition") The price at which the stop order is converted to a market order or a stop limit order is converted to a limit order. Type: float commission [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopOrderRequest.commission "Permalink to this definition") The dollar value commission you want to charge the end user. Type: Optional\[float\] ## StopLimitOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#stoplimitorderrequest "Permalink to this heading") _class_ alpaca.broker.requests.StopLimitOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _stop\_price:float_, _limit\_price:float_, _commission:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest "Permalink to this definition") See base alpaca.trading.requests.StopLimitOrderRequest model for more information. symbol [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[float\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] stop\_price [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.stop_price "Permalink to this definition") The price at which the stop order is converted to a market order or a stop limit order is converted to a limit order. Type: float limit\_price [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.limit_price "Permalink to this definition") The worst fill price for a limit or stop limit order. Type: float commission [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.StopLimitOrderRequest.commission "Permalink to this definition") The dollar value commission you want to charge the end user Type: Optional\[float\] ## TrailingStopOrderRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#trailingstoporderrequest "Permalink to this heading") _class_ alpaca.broker.requests.TrailingStopOrderRequest( _\*_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _notional:Optional\[float\]=None_, _side:Optional\[ [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide")\]=None_, _type:[OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType")_, _time\_in\_force:[TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce")_, _order\_class:Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\]=None_, _extended\_hours:Optional\[bool\]=None_, _client\_order\_id:Optional\[str\]=None_, _legs:Optional\[List\[ [OptionLegRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OptionLegRequest "alpaca.trading.requests.OptionLegRequest")\]\]=None_, _take\_profit:Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\]=None_, _stop\_loss:Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\]=None_, _position\_intent:Optional\[ [PositionIntent](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.PositionIntent "alpaca.trading.enums.PositionIntent")\]=None_, _trail\_price:Optional\[float\]=None_, _trail\_percent:Optional\[float\]=None_, _commission:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest "Permalink to this definition") See base alpaca.trading.requests.TrailingStopOrderRequest model for more information. symbol [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.symbol "Permalink to this definition") The symbol identifier for the asset being traded Type: str qty [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.qty "Permalink to this definition") The number of shares to trade. Fractional qty for stocks only with market orders. Type: Optional\[float\] notional [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.notional "Permalink to this definition") The base currency value of the shares to trade. For stocks, only works with MarketOrders. **Does not work with qty**. Type: Optional\[float\] side [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.side "Permalink to this definition") Whether the order will buy or sell the asset. Type: [OrderSide](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderSide "alpaca.trading.enums.OrderSide") type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.type "Permalink to this definition") The execution logic type of the order (market, limit, etc). Type: [OrderType](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderType "alpaca.trading.enums.OrderType") time\_in\_force [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.time_in_force "Permalink to this definition") The expiration logic of the order. Type: [TimeInForce](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.TimeInForce "alpaca.trading.enums.TimeInForce") extended\_hours [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.extended_hours "Permalink to this definition") Whether the order can be executed during regular market hours. Type: Optional\[float\] client\_order\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.client_order_id "Permalink to this definition") A string to identify which client submitted the order. Type: Optional\[float\] order\_class [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.order_class "Permalink to this definition") The class of the order. Simple orders have no other legs. Type: Optional\[ [OrderClass](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.OrderClass "alpaca.trading.enums.OrderClass")\] take\_profit [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.take_profit "Permalink to this definition") For orders with multiple legs, an order to exit a profitable trade. Type: Optional\[ [TakeProfitRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.TakeProfitRequest "alpaca.trading.requests.TakeProfitRequest")\] stop\_loss [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.stop_loss "Permalink to this definition") For orders with multiple legs, an order to exit a losing trade. Type: Optional\[ [StopLossRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.StopLossRequest "alpaca.trading.requests.StopLossRequest")\] trail\_price [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.trail_price "Permalink to this definition") The absolute price difference by which the trailing stop will trail. Type: Optional\[float\] trail\_percent [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.trail_percent "Permalink to this definition") The percent price difference by which the trailing stop will trail. Type: Optional\[float\] commission [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.TrailingStopOrderRequest.commission "Permalink to this definition") The dollar value commission you want to charge the end user. Type: Optional\[float\] ## CreateJournalRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#createjournalrequest "Permalink to this heading") _class_ alpaca.broker.requests.CreateJournalRequest( _\*_, _from\_account:UUID_, _entry\_type:[JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "alpaca.broker.enums.JournalEntryType")_, _to\_account:UUID_, _amount:Optional\[float\]=None_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _description:Optional\[str\]=None_, _transmitter\_name:Optional\[str\]=None_, _transmitter\_account\_number:Optional\[str\]=None_, _transmitter\_address:Optional\[str\]=None_, _transmitter\_financial\_institution:Optional\[str\]=None_, _transmitter\_timestamp:Optional\[str\]=None_, _currency:Optional\[SupportedCurrencies\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest "Permalink to this definition") Data for request to initiate a single journal. to\_account [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.to_account "Permalink to this definition") The account ID that received the journal. Type: UUID from\_account [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.from_account "Permalink to this definition") The account ID that initiates the journal. Type: UUID entry\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.entry_type "Permalink to this definition") Whether the journal is a cash or security journal. Type: [JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "alpaca.broker.enums.JournalEntryType") symbol [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.symbol "Permalink to this definition") For security journals, the symbol identifier of the security being journaled. Type: Optional\[str\] qty [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.qty "Permalink to this definition") For security journals, the quantity of the security being journaled. Type: Optional\[float\] amount [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.amount "Permalink to this definition") For cash journals, the total cash amount journaled in USD. Type: Optional\[float\] description [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.description "Permalink to this definition") Journal description. It can include fixtures for sandbox API. Type: Optional\[str\] transmitter\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.transmitter_name "Permalink to this definition") For cash journals, travel rule related name info. Type: Optional\[str\] transmitter\_account\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.transmitter_account_number "Permalink to this definition") For cash journals, travel rule account number info. Type: Optional\[str\] transmitter\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.transmitter_address "Permalink to this definition") For cash journals, travel rule related address info. Type: Optional\[str\] transmitter\_financial\_institution [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.transmitter_financial_institution "Permalink to this definition") For cash journals, travel rule related institution info. Type: Optional\[str\] transmitter\_timestamp [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest.transmitter_timestamp "Permalink to this definition") For cash journals, travel rule related timestamp info. Type: Optional\[str\] ## CreateBatchJournalRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#createbatchjournalrequest "Permalink to this heading") _class_ alpaca.broker.requests.CreateBatchJournalRequest( _\*_, _entry\_type:[JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "alpaca.broker.enums.JournalEntryType")_, _from\_account:UUID_, _entries:List\[ [BatchJournalRequestEntry](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry "alpaca.broker.requests.BatchJournalRequestEntry")\]_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBatchJournalRequest "Permalink to this definition") This model represents the fields you can specify when creating a request of many Journals out of one account to many others at once. Currently, batch journals are only enabled on cash journals. entry\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBatchJournalRequest.entry_type "Permalink to this definition") The type of journal transfer. Type: [JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "alpaca.broker.enums.JournalEntryType") from\_account [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBatchJournalRequest.from_account "Permalink to this definition") The originator of funds. Most likely is your Sweep Firm Account Type: UUID entries [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBatchJournalRequest.entries "Permalink to this definition") List of journals to execute. Type: List\[ [BatchJournalRequestEntry](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry "alpaca.broker.requests.BatchJournalRequestEntry")\] ### BatchJournalRequestEntry [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#batchjournalrequestentry "Permalink to this heading") _class_ alpaca.broker.requests.BatchJournalRequestEntry( _\*_, _to\_account:UUID_, _amount:Union\[str,float\]_, _description:Optional\[str\]=None_, _transmitter\_name:Optional\[str\]=None_, _transmitter\_account\_number:Optional\[str\]=None_, _transmitter\_address:Optional\[str\]=None_, _transmitter\_financial\_institution:Optional\[str\]=None_, _transmitter\_timestamp:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry "Permalink to this definition") Entry in batch journal request. to\_account [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry.to_account "Permalink to this definition") Account to fund in batch journal request. Type: UUID amount [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry.amount "Permalink to this definition") The cash amount in USD to fund by. Type: Union\[str, float\] description [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry.description "Permalink to this definition") Journal description. Type: Optional\[str\] transmitter\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry.transmitter_name "Permalink to this definition") For cash journals, travel rule related name info. Type: Optional\[str\] transmitter\_account\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry.transmitter_account_number "Permalink to this definition") For cash journals, travel rule account number info. Type: Optional\[str\] transmitter\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry.transmitter_address "Permalink to this definition") For cash journals, travel rule related address info. Type: Optional\[str\] transmitter\_financial\_institution [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry.transmitter_financial_institution "Permalink to this definition") For cash journals, travel rule related institution info. Type: Optional\[str\] transmitter\_timestamp [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.BatchJournalRequestEntry.transmitter_timestamp "Permalink to this definition") For cash journals, travel rule related timestamp info. Type: Optional\[str\] ## CreateReverseBatchJournalRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#createreversebatchjournalrequest "Permalink to this heading") _class_ alpaca.broker.requests.ReverseBatchJournalRequestEntry( _\*_, _from\_account:UUID_, _amount:Union\[str,float\]_, _description:Optional\[str\]=None_, _transmitter\_name:Optional\[str\]=None_, _transmitter\_account\_number:Optional\[str\]=None_, _transmitter\_address:Optional\[str\]=None_, _transmitter\_financial\_institution:Optional\[str\]=None_, _transmitter\_timestamp:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ReverseBatchJournalRequestEntry "Permalink to this definition") Entry in reverse batch journal request. from\_account [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ReverseBatchJournalRequestEntry.from_account "Permalink to this definition") Account from fund in batch journal request. Type: UUID amount [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ReverseBatchJournalRequestEntry.amount "Permalink to this definition") The cash amount in USD to fund by. Type: Union\[str, float\] description [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ReverseBatchJournalRequestEntry.description "Permalink to this definition") Journal description. Type: Optional\[str\] transmitter\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ReverseBatchJournalRequestEntry.transmitter_name "Permalink to this definition") For cash journals, travel rule related name info. Type: Optional\[str\] transmitter\_account\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ReverseBatchJournalRequestEntry.transmitter_account_number "Permalink to this definition") For cash journals, travel rule account number info. Type: Optional\[str\] transmitter\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ReverseBatchJournalRequestEntry.transmitter_address "Permalink to this definition") For cash journals, travel rule related address info. Type: Optional\[str\] transmitter\_financial\_institution [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ReverseBatchJournalRequestEntry.transmitter_financial_institution "Permalink to this definition") For cash journals, travel rule related institution info. Type: Optional\[str\] transmitter\_timestamp [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ReverseBatchJournalRequestEntry.transmitter_timestamp "Permalink to this definition") For cash journals, travel rule related timestamp info. Type: Optional\[str\] ## GetJournalsRequest [\#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html\#getjournalsrequest "Permalink to this heading") _class_ alpaca.broker.requests.GetJournalsRequest( _\*_, _after:Optional\[date\]=None_, _before:Optional\[date\]=None_, _status:Optional\[ [JournalStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus "alpaca.broker.enums.JournalStatus")\]=None_, _entry\_type:Optional\[ [JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "alpaca.broker.enums.JournalEntryType")\]=None_, _to\_account:Optional\[UUID\]=None_, _from\_account:Optional\[UUID\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetJournalsRequest "Permalink to this definition") This model represents the fields you can specify when querying from the list of all journals. after [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetJournalsRequest.after "Permalink to this definition") Journal creation dates after this date. Type: Optional\[date\] before [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetJournalsRequest.before "Permalink to this definition") Journal creation dates before this date. Type: Optional\[date\] status [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetJournalsRequest.status "Permalink to this definition") Only journals with this status. Type: Optional\[ [JournalStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus "alpaca.broker.enums.JournalStatus")\] entry\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetJournalsRequest.entry_type "Permalink to this definition") Only journals with this entry type. Type: Optional\[ [JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "alpaca.broker.enums.JournalEntryType")\] to\_account [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetJournalsRequest.to_account "Permalink to this definition") Only journals to this account. Type: Optional\[UUID\] from\_account [#](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetJournalsRequest.from_account "Permalink to this definition") Only journals from this account. Type: Optional\[UUID\] ## Alpaca Option Contracts ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/contracts.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Contracts [\#](https://alpaca.markets/sdks/python/api_reference/trading/contracts.html\#contracts "Permalink to this heading") The option contracts endpoints allow you to view the list of option contracts available on Alpaca for market data and trading. ## Get Option Contracts [\#](https://alpaca.markets/sdks/python/api_reference/trading/contracts.html\#get-option-contracts "Permalink to this heading") TradingClient.get\_option\_contracts( _request:GetOptionContractsRequest_)→Union\[OptionContractsResponse,Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/contracts.html#alpaca.trading.client.TradingClient.get_option_contracts "Permalink to this definition") The option contracts API serves as the master list of option contracts available for trade and data consumption from Alpaca. Parameters: **request** ( _GetOptionContractsRequest_) – The parameters that option contracts can be queried by. Returns: The object includes list of option contracts. Return type: OptionContracts (Union\[OptionContractsResponse, RawData\]) ## Get Option Contract [\#](https://alpaca.markets/sdks/python/api_reference/trading/contracts.html\#get-option-contract "Permalink to this heading") TradingClient.get\_option\_contract( _symbol\_or\_id:Union\[UUID,str\]_)→Union\[OptionContract,Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/contracts.html#alpaca.trading.client.TradingClient.get_option_contract "Permalink to this definition") The option contracts API serves as the master list of option contracts available for trade and data consumption from Alpaca. Parameters: **symbol\_or\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The symbol or id of the option contract to retrieve. Returns: The list of option contracts. Return type: OptionContracts (Union\[OptionContracts, RawData\]) ## Trading Positions API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Positions [\#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html\#positions "Permalink to this heading") The position endpoints allow you to view and manage your open positions. ## Get All Positions [\#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html\#get-all-positions "Permalink to this heading") TradingClient.get\_all\_positions()→Union\[List\[ [Position](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position "alpaca.trading.models.Position")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#alpaca.trading.client.TradingClient.get_all_positions "Permalink to this definition") Gets all the current open positions. Returns: List of open positions. Return type: List\[ [Position](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position "alpaca.trading.models.Position")\] ## Get Open Position [\#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html\#get-open-position "Permalink to this heading") TradingClient.get\_open\_position( _symbol\_or\_asset\_id:Union\[UUID,str\]_)→Union\[ [Position](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position "alpaca.trading.models.Position"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#alpaca.trading.client.TradingClient.get_open_position "Permalink to this definition") Gets the open position for an account for a single asset. Throws an APIError if the position does not exist. Parameters: **symbol\_or\_asset\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The symbol name of asset id of the position to get. Returns: Open position of the asset. Return type: [Position](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position "alpaca.trading.models.Position") ## Close All Positions [\#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html\#close-all-positions "Permalink to this heading") TradingClient.close\_all\_positions( _cancel\_orders:Optional\[bool\]=None_)→Union\[List\[ [ClosePositionResponse](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.ClosePositionResponse "alpaca.trading.models.ClosePositionResponse")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#alpaca.trading.client.TradingClient.close_all_positions "Permalink to this definition") Liquidates all positions for an account. Places an order for each open position to liquidate. Parameters: **cancel\_orders** ( _Optional_ _\[_ _bool_ _\]_) – If true is specified, cancel all open orders before liquidating all positions. Returns: A list of responses from each closed position containing the status code and order id. Return type: List\[ [ClosePositionResponse](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.ClosePositionResponse "alpaca.trading.models.ClosePositionResponse")\] ## Close A Position [\#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html\#close-a-position "Permalink to this heading") TradingClient.close\_position( _symbol\_or\_asset\_id:Union\[UUID,str\]_, _close\_options:Optional\[ [ClosePositionRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ClosePositionRequest "alpaca.trading.requests.ClosePositionRequest")\]=None_)→Union\[ [Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#alpaca.trading.client.TradingClient.close_position "Permalink to this definition") Liquidates the position for a single asset. Places a single order to close the position for the asset. **This method will throw an error if the position does not exist!** Parameters: - **symbol\_or\_asset\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The symbol name of asset id of the position to close. - **close\_options** – The various close position request parameters. Returns: The order that was placed to close the position. Return type: [alpaca.trading.models.Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order") ## Exercise An Option Contract [\#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html\#exercise-an-option-contract "Permalink to this heading") TradingClient.exercise\_options\_position( _symbol\_or\_contract\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/trading/positions.html#alpaca.trading.client.TradingClient.exercise_options_position "Permalink to this definition") This endpoint enables users to exercise a held option contract, converting it into the underlying asset based on the specified terms. All available held shares of this option contract will be exercised. By default, Alpaca will automatically exercise in-the-money (ITM) contracts at expiry. Exercise requests will be processed immediately once received. Exercise requests submitted outside market hours will be rejected. To cancel an exercise request or to submit a Do-not-exercise (DNE) instruction, please contact our support team. Parameters: **symbol\_or\_contract\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – Option contract symbol or ID. Returns: None ## Broker Account Models ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/models.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Models [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#models "Permalink to this heading") ## Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#account "Permalink to this heading") _class_ alpaca.broker.models.accounts.Account( _\*_, _id:UUID_, _account\_number:str_, _status:[AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")_, _crypto\_status:Optional\[ [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")\]=None_, _kyc\_results:Optional\[KycResults\]=None_, _currency:str_, _last\_equity:str_, _created\_at:str_, _contact:Optional\[ [Contact](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact "alpaca.broker.models.accounts.Contact")\]=None_, _identity:Optional\[ [Identity](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity "alpaca.broker.models.accounts.Identity")\]=None_, _disclosures:Optional\[ [Disclosures](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures "alpaca.broker.models.accounts.Disclosures")\]=None_, _agreements:Optional\[List\[ [Agreement](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement "alpaca.broker.models.accounts.Agreement")\]\]=None_, _documents:Optional\[List\[ [AccountDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument "alpaca.broker.models.documents.AccountDocument")\]\]=None_, _trusted\_contact:Optional\[ [TrustedContact](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TrustedContact "alpaca.broker.models.accounts.TrustedContact")\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account "Permalink to this definition") Contains information pertaining to a specific brokerage account see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model) The fields contact, identity, disclosures, agreements, documents, trusted\_contact, and trading\_configurations are all optional and won’t always be provided by the api depending on what endpoint you use and what options you pass id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.id "Permalink to this definition") The account uuid used to reference this account Type: str account\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.account_number "Permalink to this definition") A more human friendly identifier for this account Type: str status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.status "Permalink to this definition") The approval status of this account Type: [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus") crypto\_status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.crypto_status "Permalink to this definition") The crypto trading status. Only present if crypto trading is enabled. Type: Optional\[ [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")\] kyc\_results [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.kyc_results "Permalink to this definition") Hold information about the result of KYC. Type: Optional\[KycResult\] currency [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.currency "Permalink to this definition") The currency the account’s values are returned in Type: str last\_equity [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.last_equity "Permalink to this definition") The total equity value stored in the account Type: str created\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.created_at "Permalink to this definition") The timestamp when the account was created Type: str contact [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.contact "Permalink to this definition") The contact details for the account holder Type: Optional\[ [Contact](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact "alpaca.broker.models.accounts.Contact")\] identity [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.identity "Permalink to this definition") The identity details for the account holder Type: Optional\[ [Identity](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity "alpaca.broker.models.accounts.Identity")\] disclosures [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.disclosures "Permalink to this definition") The account holder’s political disclosures Type: Optional\[ [Disclosures](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures "alpaca.broker.models.accounts.Disclosures")\] agreements [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.agreements "Permalink to this definition") The agreements the account holder has signed Type: Optional\[List\[ [Agreement](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement "alpaca.broker.models.accounts.Agreement")\]\] documents [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.documents "Permalink to this definition") The documents the account holder has submitted Type: Optional\[List\[ [AccountDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument "alpaca.broker.models.documents.AccountDocument")\]\] trusted\_contact [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account.trusted_contact "Permalink to this definition") The account holder’s trusted contact details Type: Optional\[ [TrustedContact](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TrustedContact "alpaca.broker.models.accounts.TrustedContact")\] ### Contact [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#contact "Permalink to this heading") _class_ alpaca.broker.models.accounts.Contact( _\*_, _email\_address:str_, _phone\_number:Optional\[str\]=None_, _street\_address:List\[str\]_, _unit:Optional\[str\]=None_, _city:str_, _state:Optional\[str\]=None_, _postal\_code:Optional\[str\]=None_, _country:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact "Permalink to this definition") User contact details within Account Model see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model) email\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact.email_address "Permalink to this definition") The user’s email address Type: str phone\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact.phone_number "Permalink to this definition") The user’s phone number. It should include the country code. Type: str street\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact.street_address "Permalink to this definition") The user’s street address lines. Type: List\[str\] unit [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact.unit "Permalink to this definition") The user’s apartment unit, if any. Type: Optional\[str\] city [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact.city "Permalink to this definition") The city the user resides in. Type: str state [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact.state "Permalink to this definition") The state the user resides in. This is required if country is ‘USA’. Type: Optional\[str\] postal\_code [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact.postal_code "Permalink to this definition") The user’s postal Type: str country [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Contact.country "Permalink to this definition") The country the user resides in. 3 letter country code is permissible. Type: str ### Identity [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#identity "Permalink to this heading") _class_ alpaca.broker.models.accounts.Identity( _\*_, _given\_name:str_, _middle\_name:Optional\[str\]=None_, _family\_name:str_, _date\_of\_birth:Optional\[str\]=None_, _tax\_id:Optional\[str\]=None_, _tax\_id\_type:Optional\[ [TaxIdType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType "alpaca.broker.enums.TaxIdType")\]=None_, _country\_of\_citizenship:Optional\[str\]=None_, _country\_of\_birth:Optional\[str\]=None_, _country\_of\_tax\_residence:str_, _visa\_type:Optional\[ [VisaType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType "alpaca.broker.enums.VisaType")\]=None_, _visa\_expiration\_date:Optional\[str\]=None_, _date\_of\_departure\_from\_usa:Optional\[str\]=None_, _permanent\_resident:Optional\[bool\]=None_, _funding\_source:Optional\[List\[ [FundingSource](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource "alpaca.broker.enums.FundingSource")\]\]=None_, _annual\_income\_min:Optional\[float\]=None_, _annual\_income\_max:Optional\[float\]=None_, _liquid\_net\_worth\_min:Optional\[float\]=None_, _liquid\_net\_worth\_max:Optional\[float\]=None_, _total\_net\_worth\_min:Optional\[float\]=None_, _total\_net\_worth\_max:Optional\[float\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity "Permalink to this definition") User identity details within Account Model see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model) given\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.given_name "Permalink to this definition") The user’s first name Type: str middle\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.middle_name "Permalink to this definition") The user’s middle name, if any Type: Optional\[str\] family\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.family_name "Permalink to this definition") The user’s last name Type: str date\_of\_birth [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.date_of_birth "Permalink to this definition") The user’s date of birth Type: str tax\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.tax_id "Permalink to this definition") The user’s country specific tax id, required if tax\_id\_type is provided Type: Optional\[str\] tax\_id\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.tax_id_type "Permalink to this definition") The tax\_id\_type for the tax\_id provided, required if tax\_id provided Type: Optional\[ [TaxIdType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TaxIdType "alpaca.broker.enums.TaxIdType")\] country\_of\_citizenship [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.country_of_citizenship "Permalink to this definition") The country the user is a citizen Type: Optional\[str\] country\_of\_birth [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.country_of_birth "Permalink to this definition") The country the user was born Type: Optional\[str\] country\_of\_tax\_residence [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.country_of_tax_residence "Permalink to this definition") The country the user files taxes Type: str visa\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.visa_type "Permalink to this definition") Only used to collect visa types for users residing in the USA. Type: Optional\[ [VisaType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.VisaType "alpaca.broker.enums.VisaType")\] visa\_expiration\_date [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.visa_expiration_date "Permalink to this definition") The date of expiration for visa, Required if visa\_type is set. Type: Optional\[str\] date\_of\_departure\_from\_usa [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.date_of_departure_from_usa "Permalink to this definition") Required if visa\_type = B1 or B2 Type: Optional\[str\] permanent\_resident [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.permanent_resident "Permalink to this definition") Only used to collect permanent residence status in the USA. Type: Optional\[bool\] funding\_source [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.funding_source "Permalink to this definition") How the user will fund their account Type: Optional\[List\[ [FundingSource](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FundingSource "alpaca.broker.enums.FundingSource")\]\] annual\_income\_min [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.annual_income_min "Permalink to this definition") The minimum of the user’s income range Type: Optional\[float\] annual\_income\_max [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.annual_income_max "Permalink to this definition") The maximum of the user’s income range Type: Optional\[float\] liquid\_net\_worth\_min [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.liquid_net_worth_min "Permalink to this definition") The minimum of the user’s liquid net worth range Type: Optional\[float\] liquid\_net\_worth\_max [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.liquid_net_worth_max "Permalink to this definition") The maximum of the user’s liquid net worth range Type: Optional\[float\] total\_net\_worth\_min [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.total_net_worth_min "Permalink to this definition") The minimum of the user’s total net worth range Type: Optional\[float\] total\_net\_worth\_max [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Identity.total_net_worth_max "Permalink to this definition") The maximum of the user’s total net worth range Type: Optional\[float\] ### Disclosures [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#disclosures "Permalink to this heading") _class_ alpaca.broker.models.accounts.Disclosures( _\*_, _is\_control\_person:Optional\[bool\]=None_, _is\_affiliated\_exchange\_or\_finra:Optional\[bool\]=None_, _is\_politically\_exposed:Optional\[bool\]=None_, _immediate\_family\_exposed:bool_, _employment\_status:Optional\[ [EmploymentStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.EmploymentStatus "alpaca.broker.enums.EmploymentStatus")\]=None_, _employer\_name:Optional\[str\]=None_, _employer\_address:Optional\[str\]=None_, _employment\_position:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures "Permalink to this definition") User disclosures within Account Model see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model) is\_control\_person [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures.is_control_person "Permalink to this definition") Whether user holds a controlling position in a publicly traded company Type: bool is\_affiliated\_exchange\_or\_finra [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures.is_affiliated_exchange_or_finra "Permalink to this definition") If user is affiliated with any exchanges or FINRA Type: bool is\_politically\_exposed [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures.is_politically_exposed "Permalink to this definition") If user is politically exposed Type: bool immediate\_family\_exposed [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures.immediate_family_exposed "Permalink to this definition") If user’s immediate family member is either politically exposed or holds a control position. Type: bool employment\_status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures.employment_status "Permalink to this definition") The employment status of the user Type: [EmploymentStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.EmploymentStatus "alpaca.broker.enums.EmploymentStatus") employer\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures.employer_name "Permalink to this definition") The user’s employer’s name, if any Type: str employer\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures.employer_address "Permalink to this definition") The user’s employer’s address, if any Type: str employment\_position [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Disclosures.employment_position "Permalink to this definition") The user’s employment position, if any Type: str ### Agreement [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#agreement "Permalink to this heading") _class_ alpaca.broker.models.accounts.Agreement( _\*_, _agreement:[AgreementType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.AgreementType "alpaca.broker.enums.AgreementType")_, _signed\_at:str_, _ip\_address:str_, _revision:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement "Permalink to this definition") User agreements signed within Account Model see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model) agreement [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement.agreement "Permalink to this definition") The type of agreement signed by the user Type: [Agreement](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement "alpaca.broker.models.accounts.Agreement") signed\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement.signed_at "Permalink to this definition") The timestamp the agreement was signed Type: str ip\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement.ip_address "Permalink to this definition") The ip\_address the signed agreements were sent from by the user Type: str revision [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Agreement.revision "Permalink to this definition") The revision date Type: str ### TrustedContact [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#trustedcontact "Permalink to this heading") _class_ alpaca.broker.models.accounts.TrustedContact( _\*_, _given\_name:str_, _family\_name:str_, _email\_address:Optional\[str\]=None_, _phone\_number:Optional\[str\]=None_, _street\_address:Optional\[str\]=None_, _city:Optional\[str\]=None_, _state:Optional\[str\]=None_, _postal\_code:Optional\[str\]=None_, _country:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TrustedContact "Permalink to this definition") User’s trusted contact details within Account Model see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model) Attributes:given\_name given\_name (str): The first name of the user’s trusted contact family\_name (str): The last name of the user’s trusted contact email\_address (Optional\[str\]): The email address of the user’s trusted contact phone\_number (Optional\[str\]): The email address of the user’s trusted contact city (Optional\[str\]): The email address of the user’s trusted contact state (Optional\[str\]): The email address of the user’s trusted contact postal\_code (Optional\[str\]): The email address of the user’s trusted contact country (Optional\[str\]): The email address of the user’s trusted contact ### AccountDocument [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#accountdocument "Permalink to this heading") _class_ alpaca.broker.models.documents.AccountDocument( _\*_, _id:Optional\[UUID\]_, _document\_type:Optional\[ [DocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType "alpaca.broker.enums.DocumentType")\]_, _document\_sub\_type:Optional\[str\]=None_, _content:Optional\[str\]=None_, _mime\_type:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument "Permalink to this definition") User documents provided within Account Model. This model is different from the TradeDocument model in that this model represents documents having to do with a brokerage Account. see [https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model](https://alpaca.markets/docs/broker/api-references/accounts/accounts/#the-account-model) id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument.id "Permalink to this definition") ID of the Document Type: UUID document\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument.document_type "Permalink to this definition") The type of document uploaded Type: [DocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.DocumentType "alpaca.broker.enums.DocumentType") document\_sub\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument.document_sub_type "Permalink to this definition") The specific type of document, e.g. passport Type: Optional\[str\] name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument.name "Permalink to this definition") Name of the document if present Type: Optional(str) content [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument.content "Permalink to this definition") Base64 string representing the document Type: str mime\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.AccountDocument.mime_type "Permalink to this definition") The format of content encoded by the string Type: str ## TradeAccount [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#tradeaccount "Permalink to this heading") _class_ alpaca.broker.models.accounts.TradeAccount( _\*_, _id:UUID_, _account\_number:str_, _status:[AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")_, _crypto\_status:Optional\[ [AccountStatus](https://alpaca.markets/sdks/python/api_reference/trading/enums.html#alpaca.trading.enums.AccountStatus "alpaca.trading.enums.AccountStatus")\]=None_, _currency:Optional\[str\]=None_, _buying\_power:Optional\[str\]=None_, _regt\_buying\_power:Optional\[str\]=None_, _daytrading\_buying\_power:Optional\[str\]=None_, _non\_marginable\_buying\_power:Optional\[str\]=None_, _cash:Optional\[str\]=None_, _accrued\_fees:Optional\[str\]=None_, _pending\_transfer\_out:Optional\[str\]=None_, _pending\_transfer\_in:Optional\[str\]=None_, _portfolio\_value:Optional\[str\]=None_, _pattern\_day\_trader:Optional\[bool\]=None_, _trading\_blocked:Optional\[bool\]=None_, _transfers\_blocked:Optional\[bool\]=None_, _account\_blocked:Optional\[bool\]=None_, _created\_at:Optional\[datetime\]=None_, _trade\_suspended\_by\_user:Optional\[bool\]=None_, _multiplier:Optional\[str\]=None_, _shorting\_enabled:Optional\[bool\]=None_, _equity:Optional\[str\]=None_, _last\_equity:Optional\[str\]=None_, _long\_market\_value:Optional\[str\]=None_, _short\_market\_value:Optional\[str\]=None_, _initial\_margin:Optional\[str\]=None_, _maintenance\_margin:Optional\[str\]=None_, _last\_maintenance\_margin:Optional\[str\]=None_, _sma:Optional\[str\]=None_, _daytrade\_count:Optional\[int\]=None_, _options\_buying\_power:Optional\[str\]=None_, _options\_approved\_level:Optional\[int\]=None_, _options\_trading\_level:Optional\[int\]=None_, _cash\_withdrawable:Optional\[str\]_, _cash\_transferable:Optional\[str\]_, _previous\_close:Optional\[datetime\]_, _last\_long\_market\_value:Optional\[str\]_, _last\_short\_market\_value:Optional\[str\]_, _last\_cash:Optional\[str\]_, _last\_initial\_margin:Optional\[str\]_, _last\_regt\_buying\_power:Optional\[str\]_, _last\_daytrading\_buying\_power:Optional\[str\]_, _last\_daytrade\_count:Optional\[int\]_, _last\_buying\_power:Optional\[str\]_, _clearing\_broker:Optional\[ [ClearingBroker](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker "alpaca.broker.enums.ClearingBroker")\]_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount "Permalink to this definition") See Base TradeAccount model in common for full details on available fields. Represents trading account information for an Account. cash\_withdrawable [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.cash_withdrawable "Permalink to this definition") Cash available for withdrawal from the account Type: Optional\[str\] cash\_transferable [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.cash_transferable "Permalink to this definition") Cash available for transfer (JNLC) from the account Type: Optional\[str\] previous\_close [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.previous_close "Permalink to this definition") Previous sessions close time Type: Optional\[datetime\] last\_long\_market\_value [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.last_long_market_value "Permalink to this definition") Value of all long positions as of previous trading day at 16:00:00 ET Type: Optional\[str\] last\_short\_market\_value [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.last_short_market_value "Permalink to this definition") Value of all short positions as of previous trading day at 16:00:00 ET Type: Optional\[str\] last\_cash [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.last_cash "Permalink to this definition") Value of all cash as of previous trading day at 16:00:00 ET Type: Optional\[str\] last\_initial\_margin [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.last_initial_margin "Permalink to this definition") Value of initial\_margin as of previous trading day at 16:00:00 ET Type: Optional\[str\] last\_regt\_buying\_power [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.last_regt_buying_power "Permalink to this definition") Value of regt\_buying\_power as of previous trading day at 16:00:00 ET Type: Optional\[str\] last\_daytrading\_buying\_power [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.last_daytrading_buying_power "Permalink to this definition") Value of daytrading\_buying\_power as of previous trading day at 16:00:00 ET Type: Optional\[str\] last\_daytrade\_count [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.last_daytrade_count "Permalink to this definition") Value of daytrade\_count as of previous trading day at 16:00:00 ET Type: Optional\[int\] last\_buying\_power [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.last_buying_power "Permalink to this definition") Value of buying\_power as of previous trading day at 16:00:00 ET Type: Optional\[str\] clearing\_broker [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount.clearing_broker "Permalink to this definition") The Clearing broker for this account Type: Optional\[ [ClearingBroker](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ClearingBroker "alpaca.broker.enums.ClearingBroker")\] ### TradeDocument [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#tradedocument "Permalink to this heading") _class_ alpaca.broker.models.documents.TradeDocument( _\*_, _id:UUID_, _name:str_, _type:[TradeDocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType "alpaca.broker.enums.TradeDocumentType")_, _sub\_type:Optional\[ [TradeDocumentSubType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentSubType "alpaca.broker.enums.TradeDocumentSubType")\]=None_, _date:date_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument "Permalink to this definition") Similar to the AccountDocument model but this represents documents having to do with a TradeAccount not a regular Account. IE: Account Monthly Statements or Trade Confirmations. id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument.id "Permalink to this definition") Unique id of the TradeDocument Type: UUID name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument.name "Permalink to this definition") Name of the document Type: str type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument.type "Permalink to this definition") The kind of TradeDocument this is Type: [TradeDocumentType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentType "alpaca.broker.enums.TradeDocumentType") sub\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument.sub_type "Permalink to this definition") The subtype of the document. The API returns “” in the case of this not being specified, however we transform this case into None for convenience. Type: Optional\[ [TradeDocumentSubType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TradeDocumentSubType "alpaca.broker.enums.TradeDocumentSubType")\] date [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument.date "Permalink to this definition") Date on when this TradeDocument was generated Type: date ## W8BenDocument [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#w8bendocument "Permalink to this heading") _class_ alpaca.broker.models.documents.W8BenDocument( _\*_, _country\_citizen:str_, _date:date_, _date\_of\_birth:date_, _full\_name:str_, _ip\_address:Union\[IPv4Address,IPv6Address\]_, _permanent\_address\_city\_state:str_, _permanent\_address\_country:str_, _permanent\_address\_street:str_, _revision:str_, _signer\_full\_name:str_, _timestamp:datetime_, _additional\_conditions:Optional\[str\]=None_, _foreign\_tax\_id:Optional\[str\]=None_, _ftin\_not\_required:Optional\[bool\]=None_, _income\_type:Optional\[str\]=None_, _mailing\_address\_city\_state:Optional\[str\]=None_, _mailing\_address\_country:Optional\[str\]=None_, _mailing\_address\_street:Optional\[str\]=None_, _paragraph\_number:Optional\[str\]=None_, _percent\_rate\_withholding:Optional\[str\]=None_, _reference\_number:Optional\[str\]=None_, _residency:Optional\[str\]=None_, _tax\_id\_ssn:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument "Permalink to this definition") Represents the information normally contained in a W8BEN document as fields for convenience if you don’t want to upload a file. Please see [https://docs.alpaca.markets/docs/international-accounts](https://docs.alpaca.markets/docs/international-accounts) for more information. TODO: None of the docs or code explain what any of these fields mean. Guessing based on name alone for all of them; but we really need the docs updated. additional\_conditions [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.additional_conditions "Permalink to this definition") Any additional conditions to specify Type: Optional\[str\] country\_citizen [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.country_citizen "Permalink to this definition") The Country that the applicant is a citizen of Type: str date [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.date "Permalink to this definition") date signed Type: date date\_of\_birth [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.date_of_birth "Permalink to this definition") DOB of applicant Type: date foreign\_tax\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.foreign_tax_id "Permalink to this definition") Applicant’s tax id in their home country Type: Optional\[str\] ftin\_not\_required [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.ftin_not_required "Permalink to this definition") Required if foreign\_tax\_id and tax\_id\_ssn are empty. Type: Optional\[bool\] full\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.full_name "Permalink to this definition") Full name of applicant Type: str income\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.income_type "Permalink to this definition") income type of applicant Type: Optional\[str\] ip\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.ip_address "Permalink to this definition") ip address of applicant when signed Type: IPAddress mailing\_address\_city\_state [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.mailing_address_city_state "Permalink to this definition") mailing city/state of applicant Type: Optional\[str\] mailing\_address\_country [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.mailing_address_country "Permalink to this definition") mailing country for applicant Type: Optional\[str\] mailing\_address\_street [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.mailing_address_street "Permalink to this definition") mailing street address for applicant Type: Optional\[str\] paragraph\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.paragraph_number "Permalink to this definition") TODO: get documentation for this field Type: Optional\[str\] percent\_rate\_withholding [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.percent_rate_withholding "Permalink to this definition") TODO: get documentation for this field Type: Optional\[str\] permanent\_address\_city\_state [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.permanent_address_city_state "Permalink to this definition") permanent city/state of applicant Type: str permanent\_address\_country [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.permanent_address_country "Permalink to this definition") permanent country of residence of applicant Type: str permanent\_address\_street [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.permanent_address_street "Permalink to this definition") permanent street address of applicant Type: str reference\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.reference_number "Permalink to this definition") TODO: Get documentation for this field Type: Optional\[str\] residency [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.residency "Permalink to this definition") Country of residency of applicant TODO: get real documentation for this field. current is just guess based on example Type: Optional\[str\] revision [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.revision "Permalink to this definition") Revision of the W8BEN form Type: str signer\_full\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.signer_full_name "Permalink to this definition") Full name of signing user Type: str tax\_id\_ssn [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.tax_id_ssn "Permalink to this definition") TaxID/SSN of applicant Type: Optional\[str\] timestamp [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.W8BenDocument.timestamp "Permalink to this definition") timestamp when form data was gathered Type: datetime ## CIPKYCInfo [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#cipkycinfo "Permalink to this heading") _class_ alpaca.broker.models.cip.CIPKYCInfo( _\*_, _id:str_, _risk\_score:Optional\[int\]=None_, _risk\_level:Optional\[str\]=None_, _risk\_categories:Optional\[List\[str\]\]=None_, _applicant\_name:Optional\[str\]=None_, _email\_address:Optional\[str\]=None_, _nationality:Optional\[str\]=None_, _date\_of\_birth:Optional\[datetime\]=None_, _address:Optional\[str\]=None_, _postal\_code:Optional\[str\]=None_, _country\_of\_residency:Optional\[str\]=None_, _kyc\_completed\_at:Optional\[datetime\]=None_, _ip\_address:Optional\[str\]=None_, _check\_initiated\_at:Optional\[datetime\]=None_, _check\_completed\_at:Optional\[datetime\]=None_, _approval\_status:Optional\[ [CIPApprovalStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPApprovalStatus "alpaca.broker.enums.CIPApprovalStatus")\]=None_, _approved\_by:Optional\[str\]=None_, _approved\_reason:Optional\[str\]=None_, _approved\_at:Optional\[datetime\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo "Permalink to this definition") Represents Know Your Customer (KYC) info for a CIPInfo id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.id "Permalink to this definition") Your internal ID of check Type: str risk\_score [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.risk_score "Permalink to this definition") Overall risk score returned by KYC provider or assessed Type: Optional\[int\] risk\_level [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.risk_level "Permalink to this definition") Overall risk level returned by KYC provider or assessed Type: Optional\[str\] risk\_categories [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.risk_categories "Permalink to this definition") The list of risk categories returned by the KYC provider or assessed Type: Optional\[List\[str\]\] applicant\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.applicant_name "Permalink to this definition") Given and family name of applicant Type: Optional\[str\] email\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.email_address "Permalink to this definition") email address of applicant Type: Optional\[str\] nationality [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.nationality "Permalink to this definition") nationality of applicant Type: Optional\[str\] date\_of\_birth [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.date_of_birth "Permalink to this definition") DOB of applicant Type: Optional\[datetime\] address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.address "Permalink to this definition") Concatenated street address, city, state and country of applicant Type: Optional\[str\] postal\_code [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.postal_code "Permalink to this definition") postal code for address field Type: Optional\[str\] country\_of\_residency [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.country_of_residency "Permalink to this definition") country for address field Type: Optional\[str\] kyc\_completed\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.kyc_completed_at "Permalink to this definition") Datetime that KYC check was completed at Type: Optional\[datetime\] ip\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.ip_address "Permalink to this definition") ip address of applicant at time of KYC check Type: Optional\[str\] check\_initiated\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.check_initiated_at "Permalink to this definition") start datetime of KYC check Type: Optional\[datetime\] check\_completed\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.check_completed_at "Permalink to this definition") completion datetime of KYC check Type: Optional\[datetime\] approval\_status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.approval_status "Permalink to this definition") Approval status of KYC check Type: Optional\[ [CIPApprovalStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPApprovalStatus "alpaca.broker.enums.CIPApprovalStatus")\] approved\_by [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.approved_by "Permalink to this definition") Identifier of who approved KYC check Type: Optional\[str\] approved\_reason [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.approved_reason "Permalink to this definition") Reason for approving this KYC check Type: Optional\[str\] approved\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo.approved_at "Permalink to this definition") Datetime that this KYC check was approved Type: Optional\[datetime\] ## CIPDocument [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#cipdocument "Permalink to this heading") _class_ alpaca.broker.models.cip.CIPDocument( _\*_, _id:str_, _result:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _status:Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\]=None_, _created\_at:Optional\[datetime\]=None_, _date\_of\_birth:Optional\[datetime\]=None_, _date\_of\_expiry:Optional\[datetime\]=None_, _document\_numbers:Optional\[List\[str\]\]=None_, _document\_type:Optional\[str\]=None_, _first\_name:Optional\[str\]=None_, _last\_name:Optional\[str\]=None_, _gender:Optional\[str\]=None_, _issuing\_country:Optional\[str\]=None_, _nationality:Optional\[str\]=None_, _age\_validation:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _compromised\_document:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _police\_record:Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\]=None_, _data\_comparison:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _data\_comparison\_breakdown:Optional\[str\]=None_, _image\_integrity:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _image\_integrity\_breakdown:Optional\[str\]=None_, _visual\_authenticity:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument "Permalink to this definition") Represents results of checking a document for CIPInfo id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.id "Permalink to this definition") Your internal ID of check Type: str result [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.result "Permalink to this definition") Overall result of specific check Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.status "Permalink to this definition") Overall status of specific check Type: Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\] created\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.created_at "Permalink to this definition") Datetime for when this check was done Type: Optional\[datetime\] date\_of\_birth [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.date_of_birth "Permalink to this definition") DOB for applicant if found on document Type: Optional\[datetime\] date\_of\_expiry [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.date_of_expiry "Permalink to this definition") date of expiry for the checked document Type: Optional\[datetime\] document\_numbers [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.document_numbers "Permalink to this definition") Number of the document that was checked Type: Optional\[List\[str\]\] document\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.document_type "Permalink to this definition") Type of the document that was checked Type: Optional\[str\] first\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.first_name "Permalink to this definition") First name extracted from the document Type: Optional\[str\] last\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.last_name "Permalink to this definition") Last name extracted from the document Type: Optional\[str\] gender [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.gender "Permalink to this definition") Gender info extracted from the document Type: Optional\[str\] issuing\_country [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.issuing_country "Permalink to this definition") Country for which issued the document Type: Optional\[str\] nationality [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.nationality "Permalink to this definition") Nationality extracted from the document Type: Optional\[str\] age\_validation [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.age_validation "Permalink to this definition") Result of checks on whether the age calculated from the document’s date of birth data point is greater than or equal to the minimum accepted age set at account level Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] compromised\_document [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.compromised_document "Permalink to this definition") Result of check on whether the image of the document has been found in our internal database of compromised documents Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] police\_record [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.police_record "Permalink to this definition") Result of check on whether the document has been identified as lost, stolen or otherwise compromised Type: Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\] data\_comparison [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.data_comparison "Permalink to this definition") Result of check on whether data on the document is consistent with data provided when creating an applicant through the API Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] data\_comparison\_breakdown [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.data_comparison_breakdown "Permalink to this definition") json object representing the results of the various sub-checks done when calculating the result on data\_comparison. Example: {“date\_of\_birth”: “clear”, “date\_of\_expiry”: “clear” “document\_numbers”: “clear”, “document\_type”: “clear”, “first\_name”: “clear”, “gender”: “clear”, “issuing\_country”: “clear”, “last\_name”: “clear”} Type: Optional\[str\] image\_integrity [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.image_integrity "Permalink to this definition") Result of checks on whether the document was of sufficient quality to verify Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] image\_integrity\_breakdown [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.image_integrity_breakdown "Permalink to this definition") json object representing the results of the various sub-checks done when calculating the result on image\_integrity. Example: example: {“colour\_picture”: “clear”, “conclusive\_document\_quality”: “clear”, “image\_quality”: “clear”, “supported\_document”: “clear”} Type: Optional\[str\] visual\_authenticity [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument.visual_authenticity "Permalink to this definition") json object representing the the various sub-checks done when determening whether visual (non-textual) elements are correct given the document type. Example: { “digital\_tampering”: “clear”, “face\_detection”: “clear”, “fonts”: “clear”, “original\_document\_present”: “clear”, “picture\_face\_integrity”: “clear”, “security\_features”: “clear”, “template”: “clear”} Type: Optional\[str\] ## CIPPhoto [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#cipphoto "Permalink to this heading") _class_ alpaca.broker.models.cip.CIPPhoto( _\*_, _id:str_, _result:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _status:Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\]=None_, _created\_at:Optional\[datetime\]=None_, _face\_comparision:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _face\_comparison\_breakdown:Optional\[str\]=None_, _image\_integrity:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _image\_integrity\_breakdown:Optional\[str\]=None_, _visual\_authenticity:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _visual\_authenticity\_breakdown:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto "Permalink to this definition") Represents the results of checking a Photo for CIPInfo id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.id "Permalink to this definition") Your internal ID of check Type: str result [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.result "Permalink to this definition") Overall result of check Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.status "Permalink to this definition") Overall status of check Type: Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\] created\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.created_at "Permalink to this definition") datetime of when check happened Type: Optional\[datetime\] face\_comparision [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.face_comparision "Permalink to this definition") Checks whether the face in the document matches the face in the live photo Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] face\_comparison\_breakdown [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.face_comparison_breakdown "Permalink to this definition") a json object representing the breakdown of sub-checks done in face\_comparison. Example: {“face\_match”:{“result”: “clear”,“properties”:{“score”: “80”}}} Type: Optional\[str\] image\_integrity [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.image_integrity "Permalink to this definition") Checks whether the quality and integrity of the uploaded files were sufficient to perform a face comparison Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] image\_integrity\_breakdown [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.image_integrity_breakdown "Permalink to this definition") a json object representing the breakdown of sub-checks done in image\_integrity. Example {“face\_detected”:{“result”: “clear”},“source\_integrity”: {“result”: “clear”}} Type: Optional\[str\] visual\_authenticity [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.visual_authenticity "Permalink to this definition") Checks whether the person in the live photo is real (not a spoof) Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] visual\_authenticity\_breakdown [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto.visual_authenticity_breakdown "Permalink to this definition") a json object representing the breakdown of sub-checks don in visual\_authenticity. Example {“spoofing\_detection”: {“result”: “clear”,“properties”: {“score”: “26”}}}} Type: Optional\[str\] ## CIPIdentity [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#cipidentity "Permalink to this heading") _class_ alpaca.broker.models.cip.CIPIdentity( _\*_, _id:str_, _result:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _status:Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\]=None_, _created\_at:Optional\[datetime\]=None_, _matched\_address:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _matched\_addresses:Optional\[str\]=None_, _sources:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _sources\_breakdown:Optional\[str\]=None_, _address:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _address\_breakdown:Optional\[str\]=None_, _date\_of\_birth:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _date\_of\_birth\_breakdown:Optional\[str\]=None_, _tax\_id:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _tax\_id\_breakdown:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity "Permalink to this definition") Represents the results of running an identity check for a CIPInfo id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.id "Permalink to this definition") Your internal ID of check Type: str result [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.result "Permalink to this definition") Overall result of check Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.status "Permalink to this definition") Overall status of check Type: Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\] created\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.created_at "Permalink to this definition") datetime when identity check happened Type: Optional\[datetime\] matched\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.matched_address "Permalink to this definition") Represents of the address matched for the applicant Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] matched\_addresses [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.matched_addresses "Permalink to this definition") a json object representing the results of the check done in matched\_address Example: \[{“id”: “19099121”,“match\_types”:\[“credit\_agencies”,“voting\_register”\]}\] Type: Optional\[str\] sources [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.sources "Permalink to this definition") Shows the total number of sources found for applicant’s identity. (TODO: What? This doesnt make any sense its a CIPResult not a number but that’s whats in the docs) Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] sources\_breakdown [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.sources_breakdown "Permalink to this definition") a json object representing the breakdown of sources field. For example: {“total\_sources”: {“result”: “clear”,“properties”: {“total\_number\_of\_sources”: “3”}}} Type: Optional\[str\] address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.address "Permalink to this definition") Result if it was cleared against a data source Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] address\_breakdown [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.address_breakdown "Permalink to this definition") a json object representing the breakdown of the address field. For example: {“credit\_agencies”: {“result”: “clear”,“properties”:{“number\_of\_matches”:“1”}} Type: Optional\[str\] date\_of\_birth [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.date_of_birth "Permalink to this definition") Result if it was cleared against a data source Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] date\_of\_birth\_breakdown [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.date_of_birth_breakdown "Permalink to this definition") a json object representing the breakdown of the date\_of\_birth field. For example: example: {“credit\_agencies”:{“result”: “clear”,“properties”: {“number\_of\_matches”: “1”}} Type: Optional\[str\] tax\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.tax_id "Permalink to this definition") Result if it was cleared against a data source Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] tax\_id\_breakdown [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity.tax_id_breakdown "Permalink to this definition") a json object representing the breakdown of the tax\_id field Type: Optional\[str\] ## CIPWatchlist [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#cipwatchlist "Permalink to this heading") _class_ alpaca.broker.models.cip.CIPWatchlist( _\*_, _id:str_, _result:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _status:Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\]=None_, _created\_at:Optional\[datetime\]=None_, _records:Optional\[str\]=None_, _politically\_exposed\_person:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _sanction:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _adverse\_media:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_, _monitored\_lists:Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist "Permalink to this definition") Represents the result of checking to see if the applicant is in any watchlists for a CIPInfo TODO: We’re missing almost entirely documentation in prod for this as well as even internal documentation no clue what these fields are supposed to be or if they’re even close to correct. id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist.id "Permalink to this definition") Your internal ID of check Type: str result [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist.result "Permalink to this definition") Overall result of specific check Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist.status "Permalink to this definition") Overall status of specific check Type: Optional\[ [CIPStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPStatus "alpaca.broker.enums.CIPStatus")\] created\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist.created_at "Permalink to this definition") datetime when check happened Type: Optional\[datetime\] records [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist.records "Permalink to this definition") a json object. Example \[{“text”: “Record info”}\] Type: Optional\[str\] politically\_exposed\_person [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist.politically_exposed_person "Permalink to this definition") Result if it was cleared against a data source Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] sanction [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist.sanction "Permalink to this definition") Result if it was cleared against a data source Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] adverse\_media [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist.adverse_media "Permalink to this definition") Result if it was cleared against a data source Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] monitored\_lists [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist.monitored_lists "Permalink to this definition") Result if it was cleared against a data source Type: Optional\[ [CIPResult](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPResult "alpaca.broker.enums.CIPResult")\] ## CIPInfo [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#cipinfo "Permalink to this heading") _class_ alpaca.broker.models.cip.CIPInfo( _\*args_, _id:UUID_, _account\_id:UUID_, _provider\_name:List\[ [CIPProvider](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPProvider "alpaca.broker.enums.CIPProvider")\]_, _created\_at:datetime_, _updated\_at:datetime_, _kyc:Optional\[ [CIPKYCInfo](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo "alpaca.broker.models.cip.CIPKYCInfo")\]=None_, _document:Optional\[ [CIPDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument "alpaca.broker.models.cip.CIPDocument")\]=None_, _photo:Optional\[ [CIPPhoto](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto "alpaca.broker.models.cip.CIPPhoto")\]=None_, _identity:Optional\[ [CIPIdentity](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity "alpaca.broker.models.cip.CIPIdentity")\]=None_, _watchlist:Optional\[ [CIPWatchlist](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist "alpaca.broker.models.cip.CIPWatchlist")\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPInfo "Permalink to this definition") The Customer Identification Program (CIP) API allows you to submit the CIP results received from your KYC provider. This model is how to represent that information when talking to Alpaca Parameters: - **id** ( _UUID_) – ID of this CIPInfo - **account\_id** ( _UUID_) – UUID of the Account instance this CIPInfo is for - **provider\_name** ( _List_ _\[_ [_CIPProvider_](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.CIPProvider "alpaca.broker.enums.CIPProvider") _\]_) – List of KYC providers this information came from - **created\_at** ( _datetime_) – date and time this CIPInfo was first uploaded to Alpaca - **updated\_at** ( _datetime_) – date and time that this CIPInfo was last update - **kyc** ( _Optional_ _\[_ [_CIPKYCInfo_](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPKYCInfo "alpaca.broker.models.cip.CIPKYCInfo") _\]_) – KYC info for this Account if any - **document** ( _Optional_ _\[_ [_CIPDocument_](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPDocument "alpaca.broker.models.cip.CIPDocument") _\]_) – Any CIP documents uploaded for this Account - **photo** ( _Optional_ _\[_ [_CIPPhoto_](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPPhoto "alpaca.broker.models.cip.CIPPhoto") _\]_) – Any photos attached for CIP - **identity** ( _Optional_ _\[_ [_CIPIdentity_](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPIdentity "alpaca.broker.models.cip.CIPIdentity") _\]_) – Any CIP Identity information - **watchlist** ( _Optional_ _\[_ [_CIPWatchlist_](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.cip.CIPWatchlist "alpaca.broker.models.cip.CIPWatchlist") _\]_) – Any CIP watchlist information ## ACHRelationship [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#achrelationship "Permalink to this heading") _class_ alpaca.broker.models.funding.ACHRelationship( _\*_, _id:UUID_, _account\_id:UUID_, _created\_at:datetime_, _updated\_at:datetime_, _status:[ACHRelationshipStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ACHRelationshipStatus "alpaca.broker.enums.ACHRelationshipStatus")_, _account\_owner\_name:str_, _bank\_account\_type:[BankAccountType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankAccountType "alpaca.broker.enums.BankAccountType")_, _bank\_account\_number:str_, _bank\_routing\_number:str_, _nickname:Optional\[str\]=None_, _processor\_token:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship "Permalink to this definition")id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.id "Permalink to this definition") ID of Relationship Type: UUID account\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.account_id "Permalink to this definition") ID of the Account this ACHRelationship is tied to Type: UUID created\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.created_at "Permalink to this definition") Date and time this relationship was created Type: datetime updated\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.updated_at "Permalink to this definition") Date and time of when this relationship was last updated Type: datetime status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.status "Permalink to this definition") Current status of the relationship Type: [ACHRelationshipStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ACHRelationshipStatus "alpaca.broker.enums.ACHRelationshipStatus") account\_owner\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.account_owner_name "Permalink to this definition") Full name of the account owner Type: str bank\_account\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.bank_account_type "Permalink to this definition") The kind of bank account this relationship points to Type: [BankAccountType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankAccountType "alpaca.broker.enums.BankAccountType") bank\_account\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.bank_account_number "Permalink to this definition") The number of bank account that the relationship points to Type: str bank\_routing\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.bank_routing_number "Permalink to this definition") Routing number for the bank account Type: str nickname [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.nickname "Permalink to this definition") User provided name for account Type: str processor\_token [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship.processor_token "Permalink to this definition") If you are using Plaid, then this is a Plaid processor token. Type: Optional\[str\] ## Bank [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#bank "Permalink to this heading") _class_ alpaca.broker.models.funding.Bank( _\*_, _id:UUID_, _account\_id:UUID_, _created\_at:datetime_, _updated\_at:datetime_, _name:str_, _status:[BankStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankStatus "alpaca.broker.enums.BankStatus")_, _country:str_, _state\_province:str_, _postal\_code:str_, _city:str_, _street\_address:str_, _account\_number:str_, _bank\_code:str_, _bank\_code\_type:[IdentifierType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.IdentifierType "alpaca.broker.enums.IdentifierType")_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank "Permalink to this definition")id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.id "Permalink to this definition") ID of Bank. Type: UUID account\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.account_id "Permalink to this definition") ID of the Account this Bank is tied to. Type: UUID created\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.created_at "Permalink to this definition") Date and time this Bank was created. Type: datetime updated\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.updated_at "Permalink to this definition") Date and time of when this Bank was last updated. Type: datetime name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.name "Permalink to this definition") Name of the bank. Type: str status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.status "Permalink to this definition") The status of the bank connection. Type: [BankStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.BankStatus "alpaca.broker.enums.BankStatus") country [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.country "Permalink to this definition") Country where bank account is located. Type: str state\_province [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.state_province "Permalink to this definition") State/Province where bank is located. Type: str postal\_code [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.postal_code "Permalink to this definition") Postal code where bank is located. Type: str city [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.city "Permalink to this definition") City where bank is located. Type: str street\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.street_address "Permalink to this definition") Street address where bank is located. Type: str account\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.account_number "Permalink to this definition") The bank account number. Type: str bank\_code [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.bank_code "Permalink to this definition") The bank account code. Type: str bank\_code\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank.bank_code_type "Permalink to this definition") The bank identifier. Type: [IdentifierType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.IdentifierType "alpaca.broker.enums.IdentifierType") ## Transfer [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#transfer "Permalink to this heading") _class_ alpaca.broker.models.funding.Transfer( _\*_, _id:UUID_, _account\_id:UUID_, _created\_at:datetime_, _updated\_at:Optional\[datetime\]=None_, _expires\_at:Optional\[datetime\]=None_, _relationship\_id:Optional\[UUID\]=None_, _bank\_id:Optional\[UUID\]=None_, _amount:str_, _type:[TransferType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferType "alpaca.broker.enums.TransferType")_, _status:[TransferStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus "alpaca.broker.enums.TransferStatus")_, _direction:[TransferDirection](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferDirection "alpaca.broker.enums.TransferDirection")_, _reason:Optional\[str\]=None_, _requested\_amount:Optional\[str\]=None_, _fee:Optional\[str\]=None_, _fee\_payment\_method:Optional\[ [FeePaymentMethod](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FeePaymentMethod "alpaca.broker.enums.FeePaymentMethod")\]=None_, _additional\_information:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer "Permalink to this definition")id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.id "Permalink to this definition") ID of Transfer. Type: UUID account\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.account_id "Permalink to this definition") ID of the Account this Transfer is tied to. Type: UUID created\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.created_at "Permalink to this definition") Date and time when this Transfer was created. Type: datetime updated\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.updated_at "Permalink to this definition") Date and time of when this Transfer was last updated. Type: datetime expires\_at [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.expires_at "Permalink to this definition") Date and time of when this Transfer will expire. Type: datetime relationship\_id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.relationship_id "Permalink to this definition") ID of the funding relationship used to make the transfer. Type: UUID amount [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.amount "Permalink to this definition") The amount the recipient will receive after any applicable fees are deducted. Type: str type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.type "Permalink to this definition") The type of transfer. Type: [TransferType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferType "alpaca.broker.enums.TransferType") status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.status "Permalink to this definition") The status of the transfer. Type: [TransferStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferStatus "alpaca.broker.enums.TransferStatus") direction [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.direction "Permalink to this definition") The direction of the transfer. Type: [TransferDirection](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.TransferDirection "alpaca.broker.enums.TransferDirection") reason [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.reason "Permalink to this definition") Reasoning associated with the current status. Type: Optional\[str\] requested\_amount [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.requested_amount "Permalink to this definition") Amount entered upon creation of a transfer entity. Type: Optional\[str\] fee [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.fee "Permalink to this definition") Dollar amount of any applicable fees. Type: Optional\[str\] fee\_payment\_method [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.fee_payment_method "Permalink to this definition") Denotes how any applicable fees will be paid. Type: Optional\[ [FeePaymentMethod](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.FeePaymentMethod "alpaca.broker.enums.FeePaymentMethod")\] additional\_information [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer.additional_information "Permalink to this definition") Additional information provided with wire transfers. Type: Optional\[str\] ## Journal [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#journal "Permalink to this heading") _class_ alpaca.broker.models.journals.Journal( _\*_, _id:UUID_, _to\_account:UUID_, _from\_account:UUID_, _entry\_type:[JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "alpaca.broker.enums.JournalEntryType")_, _status:[JournalStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus "alpaca.broker.enums.JournalStatus")_, _net\_amount:Optional\[float\]=None_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _price:Optional\[float\]=None_, _description:Optional\[str\]=None_, _settle\_date:Optional\[date\]=None_, _system\_date:Optional\[date\]=None_, _transmitter\_name:Optional\[str\]=None_, _transmitter\_account\_number:Optional\[str\]=None_, _transmitter\_address:Optional\[str\]=None_, _transmitter\_financial\_institution:Optional\[str\]=None_, _transmitter\_timestamp:Optional\[str\]=None_, _currency:Optional\[SupportedCurrencies\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal "Permalink to this definition") Represents a transfer of cash or securities from one account to another. There are two types of journals Cash Journals and Security Journals. **Travel Rule** In an effort to fight the criminal financial transactions, FinCEN enacted the Travel Rule that applies to fund transfers of more than $3,000. When you use Journal API to bundle a bulk of transfers for the end-users, you will need to tell about the breakdown and each transmitter information using the optional fields of the POST request. Learn more about journals here: [https://alpaca.markets/docs/api-references/broker-api/journals/](https://alpaca.markets/docs/api-references/broker-api/journals/) id [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.id "Permalink to this definition") The journal ID Type: UUID to\_account [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.to_account "Permalink to this definition") The account ID that received the journal. Type: UUID from\_account [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.from_account "Permalink to this definition") The account ID that initiates the journal. Type: UUID entry\_type [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.entry_type "Permalink to this definition") Whether the journal is a cash or security journal. Type: [JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "alpaca.broker.enums.JournalEntryType") status [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.status "Permalink to this definition") The lifecycle status of the journal. Type: [JournalStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus "alpaca.broker.enums.JournalStatus") symbol [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.symbol "Permalink to this definition") For security journals, the symbol identifier of the security being journaled. Type: Optional\[str\] qty [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.qty "Permalink to this definition") For security journals, the quantity of the security being journaled. Type: Optional\[float\] price [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.price "Permalink to this definition") For security journals, the price at which the security is being journaled at. Type: Optional\[float\] net\_amount [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.net_amount "Permalink to this definition") For cash journals, the total cash amount journaled Type: Optional\[float\] description [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.description "Permalink to this definition") Journal description. It can include fixtures for sandbox API. Type: Optional\[str\] settle\_date [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.settle_date "Permalink to this definition")Type: Optional\[date\] system\_date [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.system_date "Permalink to this definition")Type: Optional\[date\] transmitter\_name [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.transmitter_name "Permalink to this definition") For cash journals, travel rule related name info. Type: Optional\[str\] transmitter\_account\_number [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.transmitter_account_number "Permalink to this definition") For cash journals, travel rule account number info. Type: Optional\[str\] transmitter\_address [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.transmitter_address "Permalink to this definition") For cash journals, travel rule related address info. Type: Optional\[str\] transmitter\_financial\_institution [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.transmitter_financial_institution "Permalink to this definition") For cash journals, travel rule related institution info. Type: Optional\[str\] transmitter\_timestamp [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal.transmitter_timestamp "Permalink to this definition") For cash journals, travel rule related timestamp info. Type: Optional\[str\] ## BatchJournalResponse [\#](https://alpaca.markets/sdks/python/api_reference/broker/models.html\#batchjournalresponse "Permalink to this heading") _class_ alpaca.broker.models.journals.BatchJournalResponse( _\*_, _id:UUID_, _to\_account:UUID_, _from\_account:UUID_, _entry\_type:[JournalEntryType](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalEntryType "alpaca.broker.enums.JournalEntryType")_, _status:[JournalStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.JournalStatus "alpaca.broker.enums.JournalStatus")_, _net\_amount:Optional\[float\]=None_, _symbol:Optional\[str\]=None_, _qty:Optional\[float\]=None_, _price:Optional\[float\]=None_, _description:Optional\[str\]=None_, _settle\_date:Optional\[date\]=None_, _system\_date:Optional\[date\]=None_, _transmitter\_name:Optional\[str\]=None_, _transmitter\_account\_number:Optional\[str\]=None_, _transmitter\_address:Optional\[str\]=None_, _transmitter\_financial\_institution:Optional\[str\]=None_, _transmitter\_timestamp:Optional\[str\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _error\_message:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.BatchJournalResponse "Permalink to this definition") Represents a journal response from a batch journal request. error\_message [#](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.BatchJournalResponse.error_message "Permalink to this definition") An message that contains error details for failed journals. Type: Optional\[str\] ## Alpaca Trading Orders ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Orders [\#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html\#orders "Permalink to this heading") The order endpoints allow you to create and manage orders made on your brokerage account. ## Create a New Order [\#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html\#create-a-new-order "Permalink to this heading") TradingClient.submit\_order( _order\_data:[OrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest "alpaca.trading.requests.OrderRequest")_)→Union\[ [Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#alpaca.trading.client.TradingClient.submit_order "Permalink to this definition") Creates an order to buy or sell an asset. Parameters: **order\_data** ( [_alpaca.trading.requests.OrderRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.OrderRequest "alpaca.trading.requests.OrderRequest")) – The request data for creating a new order. Returns: The resulting submitted order. Return type: [alpaca.trading.models.Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order") ## Get Orders [\#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html\#get-orders "Permalink to this heading") TradingClient.get\_orders( _filter:Optional\[ [GetOrdersRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest "alpaca.trading.requests.GetOrdersRequest")\]=None_)→Union\[List\[ [Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#alpaca.trading.client.TradingClient.get_orders "Permalink to this definition") Returns all orders. Orders can be filtered by parameters. Parameters: **filter** ( _Optional_ _\[_ [_GetOrdersRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest "alpaca.trading.requests.GetOrdersRequest") _\]_) – The parameters to filter the orders with. Returns: The queried orders. Return type: List\[ [alpaca.trading.models.Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order")\] ## Get Order By Id [\#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html\#get-order-by-id "Permalink to this heading") TradingClient.get\_order\_by\_id( _order\_id:Union\[UUID,str\]_, _filter:Optional\[ [GetOrderByIdRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrderByIdRequest "alpaca.trading.requests.GetOrderByIdRequest")\]=None_)→Union\[ [Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#alpaca.trading.client.TradingClient.get_order_by_id "Permalink to this definition") Returns a specific order by its order id. Parameters: - **order\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The unique uuid identifier for the order. - **filter** ( _Optional_ _\[_ [_GetOrderByIdRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrderByIdRequest "alpaca.trading.requests.GetOrderByIdRequest") _\]_) – The parameters for the query. Returns: The order that was queried. Return type: [alpaca.trading.models.Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order") ## Replace Order By Id [\#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html\#replace-order-by-id "Permalink to this heading") TradingClient.replace\_order\_by\_id( _order\_id:Union\[UUID,str\]_, _order\_data:Optional\[ [ReplaceOrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest "alpaca.trading.requests.ReplaceOrderRequest")\]=None_)→Union\[ [Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#alpaca.trading.client.TradingClient.replace_order_by_id "Permalink to this definition") Updates an order with new parameters. Parameters: - **order\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The unique uuid identifier for the order being replaced. - **order\_data** ( _Optional_ _\[_ [_ReplaceOrderRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest "alpaca.trading.requests.ReplaceOrderRequest") _\]_) – The parameters we wish to update. Returns: The updated order. Return type: [alpaca.trading.models.Order](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Order "alpaca.trading.models.Order") ## Cancel All Orders [\#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html\#cancel-all-orders "Permalink to this heading") TradingClient.cancel\_orders()→Union\[List\[ [CancelOrderResponse](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CancelOrderResponse "alpaca.trading.requests.CancelOrderResponse")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#alpaca.trading.client.TradingClient.cancel_orders "Permalink to this definition") Cancels all orders. Returns: The list of HTTP statuses for each order attempted to be cancelled. Return type: List\[ [CancelOrderResponse](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CancelOrderResponse "alpaca.trading.requests.CancelOrderResponse")\] ## Cancel Order By Id [\#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html\#cancel-order-by-id "Permalink to this heading") TradingClient.cancel\_order\_by\_id( _order\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/trading/orders.html#alpaca.trading.client.TradingClient.cancel_order_by_id "Permalink to this definition") Cancels a specific order by its order id. Parameters: **order\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The unique uuid identifier of the order being cancelled. Returns: None ## Alpaca API Enums ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/common/enums.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Enums [\#](https://alpaca.markets/sdks/python/api_reference/common/enums.html\#enums "Permalink to this heading") _enum_ alpaca.common.enums.BaseURL( _value_) Base urls for API endpoints Member Type: `str` Valid values are as follows: BROKER\_SANDBOX _=_BROKER\_PRODUCTION _=_TRADING\_PAPER _=_TRADING\_LIVE _=_DATA _=_DATA\_SANDBOX _=_MARKET\_DATA\_STREAM _=_TRADING\_STREAM\_PAPER _=_TRADING\_STREAM\_LIVE _=__enum_ alpaca.common.enums.PaginationType( _value_) An enum for choosing what type of pagination of results you’d like for BrokerClient functions that support pagination. NONE Requests that we perform no pagination of results and just return the single response the API gave us. FULL Requests that we perform all the pagination and return just a single List/dict/etc containing all the results. This is the default for most functions. ITERATOR Requests that we return an Iterator that yields one “page” of results at a time Member Type: `str` Valid values are as follows: NONE _=_FULL _=_ITERATOR _=__enum_ alpaca.common.enums.Sort( _value_)Member Type: `str` Valid values are as follows: ASC _=_DESC _=__enum_ alpaca.common.enums.SupportedCurrencies( _value_) The various currencies that can be supported for LCT. see [https://alpaca.markets/support/local-currency-trading-faq](https://alpaca.markets/support/local-currency-trading-faq) Member Type: `str` Valid values are as follows: USD _=_GBP _=_CHF _=_EUR _=_CAD _=_JPY _=_TRY _=_AUD _=_CZK _=_SEK _=_DKK _=_SGD _=_HKD _=_HUF _=_NZD _=_NOK _=_PLN _=_ ## Brokerage Account API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Accounts [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#accounts "Permalink to this heading") The accounts API allows you to create brokerage accounts on behalf of your users. It also lets you manage accounts under your custody. ## Create an Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#create-an-account "Permalink to this heading") BrokerClient.create\_account( _account\_data:[CreateAccountRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateAccountRequest "alpaca.broker.requests.CreateAccountRequest")_)→Union\[ [Account](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account "alpaca.broker.models.accounts.Account"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#alpaca.broker.client.BrokerClient.create_account "Permalink to this definition") Create an account. Parameters: **account\_data** ( [_CreateAccountRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateAccountRequest "alpaca.broker.requests.CreateAccountRequest")) – The data representing the Account you wish to create Returns: The newly created Account instance as returned from the API. Should now have id and other generated fields filled out. Return type: [Account](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account "alpaca.broker.models.accounts.Account") ## Get Account By ID [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#get-account-by-id "Permalink to this heading") BrokerClient.get\_account\_by\_id( _account\_id:Union\[UUID,str\]_)→Union\[ [Account](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account "alpaca.broker.models.accounts.Account"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#alpaca.broker.client.BrokerClient.get_account_by_id "Permalink to this definition") Get an Account by its associated account\_id. Note: If no account is found the api returns a 401, not a 404 Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the account you wish to get. str uuid values will be upcast - **instances** ( _into UUID_) – Returns: Returns the requested account. Return type: [Account](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account "alpaca.broker.models.accounts.Account") ## Update Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#update-account "Permalink to this heading") BrokerClient.update\_account( _account\_id:Union\[UUID,str\]_, _update\_data:[UpdateAccountRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdateAccountRequest "alpaca.broker.requests.UpdateAccountRequest")_)→Union\[ [Account](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account "alpaca.broker.models.accounts.Account"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#alpaca.broker.client.BrokerClient.update_account "Permalink to this definition") Updates data for an account with an id of account\_id. Note that not all data for an account is modifiable after creation so there is a special data type of AccountUpdateRequest representing the data that is allowed to be modified. see: [https://alpaca.markets/docs/api-references/broker-api/accounts/accounts/#updating-an-account](https://alpaca.markets/docs/api-references/broker-api/accounts/accounts/#updating-an-account) for more info Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id for the account you with to update. str uuid values will be upcast - **instances** ( _into UUID_) – - **update\_data** ( [_UpdateAccountRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UpdateAccountRequest "alpaca.broker.requests.UpdateAccountRequest")) – The data you wish to update this account to Returns: Returns an Account instance with the updated data as returned from the api Return type: [Account](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account "alpaca.broker.models.accounts.Account") ## Upload Documents to Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#upload-documents-to-account "Permalink to this heading") BrokerClient.upload\_documents\_to\_account( _account\_id:Union\[UUID,str\]_, _document\_data:List\[Union\[ [UploadDocumentRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadDocumentRequest "alpaca.broker.requests.UploadDocumentRequest"), [UploadW8BenDocumentRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadW8BenDocumentRequest "alpaca.broker.requests.UploadW8BenDocumentRequest")\]\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#alpaca.broker.client.BrokerClient.upload_documents_to_account "Permalink to this definition") Allows you to upload up to 10 documents at a time for an Account. Document data must be a binary objects whose contents are encoded in base64. Each encoded content size is limited to 10MB if you use Alpaca for KYCaaS. If you perform your own KYC there are no document size limitations. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the Account you wish to upload the document data to. - **document\_data** ( _List_ _\[_ [_UploadDocumentRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.UploadDocumentRequest "alpaca.broker.requests.UploadDocumentRequest") _\]_) – List of UploadDocumentRequest’s that contain the relevant Document data Returns: This function returns nothing on success and will raise an APIError in case of a failure Return type: None Raises: [**APIError**](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html#alpaca.common.exceptions.APIError "alpaca.common.exceptions.APIError") – this will be raised if the API didn’t return a 204 for your request. ## Delete Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#delete-account "Permalink to this heading") BrokerClient.delete\_account( _account\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#alpaca.broker.client.BrokerClient.delete_account "Permalink to this definition")DEPRECATED: delete\_account is deprecated and will be removed in a future version. Please use close\_account(account\_id) instead Parameters: **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the account to be closed Return type: None ## List All Accounts [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#list-all-accounts "Permalink to this heading") BrokerClient.list\_accounts( _search\_parameters:Optional\[ [ListAccountsRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ListAccountsRequest "alpaca.broker.requests.ListAccountsRequest")\]=None_)→Union\[List\[ [Account](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account "alpaca.broker.models.accounts.Account")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#alpaca.broker.client.BrokerClient.list_accounts "Permalink to this definition") Get a List of Accounts allowing for passing in some filters. Parameters: **search\_parameters** ( _Optional_ _\[_ [_ListAccountsRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.ListAccountsRequest "alpaca.broker.requests.ListAccountsRequest") _\]_) – The various filtering criteria you can specify. Returns: The filtered list of Accounts Return type: List\[ [Account](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.Account "alpaca.broker.models.accounts.Account")\] ## Get Trade Account By ID [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#get-trade-account-by-id "Permalink to this heading") BrokerClient.get\_trade\_account\_by\_id( _account\_id:Union\[UUID,str\]_)→Union\[ [TradeAccount](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount "alpaca.broker.models.accounts.TradeAccount"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#alpaca.broker.client.BrokerClient.get_trade_account_by_id "Permalink to this definition") Gets TradeAccount information for a given Account id. Parameters: **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The UUID identifier for the Account you wish to get the info for. str values will be upcast into UUID instances and checked for validity. Returns: TradeAccount info for the given account if found. Return type: [alpaca.broker.models.accounts.TradeAccount](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.accounts.TradeAccount "alpaca.broker.models.accounts.TradeAccount") ## Get Trade Configuration For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#get-trade-configuration-for-account "Permalink to this heading") BrokerClient.get\_trade\_configuration\_for\_account( _account\_id:Union\[UUID,str\]_)→Union\[ [AccountConfiguration](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration "alpaca.trading.models.AccountConfiguration"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#alpaca.broker.client.BrokerClient.get_trade_configuration_for_account "Permalink to this definition") Gets the TradeAccountConfiguration for a given Account. Parameters: **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the Account you wish to get the TradeAccountConfiguration for Returns: The resulting TradeAccountConfiguration for the Account Return type: TradeAccountConfiguration ## Update Trade Configuration For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html\#update-trade-configuration-for-account "Permalink to this heading") BrokerClient.update\_trade\_configuration\_for\_account( _account\_id:Union\[UUID,str\]_, _config:[AccountConfiguration](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration "alpaca.trading.models.AccountConfiguration")_)→Union\[ [AccountConfiguration](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.AccountConfiguration "alpaca.trading.models.AccountConfiguration"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/accounts.html#alpaca.broker.client.BrokerClient.update_trade_configuration_for_account "Permalink to this definition") Updates an Account with new TradeAccountConfiguration information. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the Account you wish to update. - **config** ( _UpdateTradeConfigurationRequest_) – The Updated Options you wish to set on the Account Returns: The resulting TradeAccountConfiguration with updates. Return type: TradeAccountConfiguration ## Funding API Overview ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Funding [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#funding "Permalink to this heading") ## Create ACH Relationship For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#create-ach-relationship-for-account "Permalink to this heading") BrokerClient.create\_ach\_relationship\_for\_account( _account\_id:Union\[UUID,str\]_, _ach\_data:Union\[ [CreateACHRelationshipRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHRelationshipRequest "alpaca.broker.requests.CreateACHRelationshipRequest"), [CreatePlaidRelationshipRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreatePlaidRelationshipRequest "alpaca.broker.requests.CreatePlaidRelationshipRequest")\]_)→Union\[ [ACHRelationship](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship "alpaca.broker.models.funding.ACHRelationship"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#alpaca.broker.client.BrokerClient.create_ach_relationship_for_account "Permalink to this definition") Creates a single ACH relationship for the given account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account that has the ACH Relationship. - **ach\_data** ( _Union_ _\[_ [_CreateACHRelationshipRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHRelationshipRequest "alpaca.broker.requests.CreateACHRelationshipRequest") _,_ [_CreatePlaidRelationshipRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreatePlaidRelationshipRequest "alpaca.broker.requests.CreatePlaidRelationshipRequest") _\]_) – The request data used to create the ACH relationship. Returns: The ACH relationship that was created. Return type: [ACHRelationship](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship "alpaca.broker.models.funding.ACHRelationship") ## Get ACH Relationships For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#get-ach-relationships-for-account "Permalink to this heading") BrokerClient.get\_ach\_relationships\_for\_account( _account\_id:Union\[UUID,str\]_, _statuses:Optional\[List\[ [ACHRelationshipStatus](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ACHRelationshipStatus "alpaca.broker.enums.ACHRelationshipStatus")\]\]=None_)→Union\[List\[ [ACHRelationship](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship "alpaca.broker.models.funding.ACHRelationship")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#alpaca.broker.client.BrokerClient.get_ach_relationships_for_account "Permalink to this definition") Gets the ACH relationships for an account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to get the ACH relationships for. - **statuses** ( _Optional_ _\[_ _List_ _\[_ [_ACHRelationshipStatus_](https://alpaca.markets/sdks/python/api_reference/broker/enums.html#alpaca.broker.enums.ACHRelationshipStatus "alpaca.broker.enums.ACHRelationshipStatus") _\]_ _\]_) – Optionally filter a subset of ACH relationship statuses. Returns: List of ACH relationships returned by the query. Return type: List\[ [ACHRelationship](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.ACHRelationship "alpaca.broker.models.funding.ACHRelationship")\] ## Delete ACH Relationship For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#delete-ach-relationship-for-account "Permalink to this heading") BrokerClient.delete\_ach\_relationship\_for\_account( _account\_id:Union\[UUID,str\]_, _ach\_relationship\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#alpaca.broker.client.BrokerClient.delete_ach_relationship_for_account "Permalink to this definition") Delete an ACH Relation by its ID. As the api itself returns a 204 on success this function returns nothing in the successful case and will raise an exception in any other case. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account which has the ACH relationship to be deleted. - **ach\_relationship\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the ACH relationship to delete. ## Create Bank For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#create-bank-for-account "Permalink to this heading") BrokerClient.create\_bank\_for\_account( _account\_id:Union\[UUID,str\]_, _bank\_data:[CreateBankRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest "alpaca.broker.requests.CreateBankRequest")_)→Union\[ [Bank](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank "alpaca.broker.models.funding.Bank"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#alpaca.broker.client.BrokerClient.create_bank_for_account "Permalink to this definition") Creates a single bank relationship for the given account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to create the bank connection for. - **bank\_data** ( [_CreateBankRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankRequest "alpaca.broker.requests.CreateBankRequest")) – The request data used to create the bank connection. Returns: The Bank that was created. Return type: [Bank](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank "alpaca.broker.models.funding.Bank") ## Get Banks For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#get-banks-for-account "Permalink to this heading") BrokerClient.get\_banks\_for\_account( _account\_id:Union\[UUID,str\]_)→Union\[List\[ [Bank](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank "alpaca.broker.models.funding.Bank")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#alpaca.broker.client.BrokerClient.get_banks_for_account "Permalink to this definition") Gets the Banks for an account. Parameters: **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to get the Banks for. Returns: List of Banks returned by the query. Return type: List\[ [Bank](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Bank "alpaca.broker.models.funding.Bank")\] ## Delete Bank For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#delete-bank-for-account "Permalink to this heading") BrokerClient.delete\_bank\_for\_account( _account\_id:Union\[UUID,str\]_, _bank\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#alpaca.broker.client.BrokerClient.delete_bank_for_account "Permalink to this definition") Delete a Bank by its ID. As the api itself returns a 204 on success this function returns nothing in the successful case and will raise an exception in any other case. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account which has the Bank to be deleted. - **bank\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Bank to delete. ## Create Transfer For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#create-transfer-for-account "Permalink to this heading") BrokerClient.create\_transfer\_for\_account( _account\_id:Union\[UUID,str\]_, _transfer\_data:Union\[ [CreateACHTransferRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHTransferRequest "alpaca.broker.requests.CreateACHTransferRequest"), [CreateBankTransferRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankTransferRequest "alpaca.broker.requests.CreateBankTransferRequest")\]_)→Union\[ [Transfer](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer "alpaca.broker.models.funding.Transfer"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#alpaca.broker.client.BrokerClient.create_transfer_for_account "Permalink to this definition") Creates a single Transfer for the given account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to create the bank connection for. - **transfer\_data** ( _Union_ _\[_ [_CreateACHTransferRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateACHTransferRequest "alpaca.broker.requests.CreateACHTransferRequest") _,_ [_CreateBankTransferRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBankTransferRequest "alpaca.broker.requests.CreateBankTransferRequest") _\]_) – The request data used to create the bank connection. Returns: The Transfer that was created. Return type: [Transfer](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer "alpaca.broker.models.funding.Transfer") ## Get Transfers For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#get-transfers-for-account "Permalink to this heading") BrokerClient.get\_transfers\_for\_account( _account\_id:Union\[UUID,str\]_, _transfers\_filter:Optional\[ [GetTransfersRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetTransfersRequest "alpaca.broker.requests.GetTransfersRequest")\]=None_, _max\_items\_limit:Optional\[int\]=None_, _handle\_pagination:Optional\[PaginationType\]=None_)→Union\[List\[ [Transfer](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer "alpaca.broker.models.funding.Transfer")\],Iterator\[List\[ [Transfer](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer "alpaca.broker.models.funding.Transfer")\]\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#alpaca.broker.client.BrokerClient.get_transfers_for_account "Permalink to this definition") Gets the transfers for an account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to create the bank connection for. - **transfers\_filter** ( _Optional_ _\[_ _GetTransferRequest_ _\]_) – The various filtering parameters to apply to the request. - **max\_items\_limit** ( _Optional_ _\[_ _int_ _\]_) – A maximum number of items to return over all for when handle\_pagination is of type PaginationType.FULL. Ignored otherwise. - **handle\_pagination** ( _Optional_ _\[_ _PaginationType_ _\]_) – What kind of pagination you want. If None then defaults to PaginationType.FULL. Returns: Either a list or an Iterator of lists of Transfer child classes. Return type: Union\[List\[ [Transfer](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer "alpaca.broker.models.funding.Transfer")\], Iterator\[List\[ [Transfer](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.funding.Transfer "alpaca.broker.models.funding.Transfer")\]\]\] ## Cancel Transfer For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html\#cancel-transfer-for-account "Permalink to this heading") BrokerClient.cancel\_transfer\_for\_account( _account\_id:Union\[UUID,str\]_, _transfer\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/broker/funding.html#alpaca.broker.client.BrokerClient.cancel_transfer_for_account "Permalink to this definition") Cancel a Transfer by its ID. As the api itself returns a 204 on success this function returns nothing in the successful case and will raise an exception in any other case. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account which has the Transfer to be canceled. - **transfer\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Transfer to cancel. ## Alpaca Asset Methods ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/assets.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Assets [\#](https://alpaca.markets/sdks/python/api_reference/broker/assets.html\#assets "Permalink to this heading") With the asset methods, you can query the list of assets that are available for trading and data consumption through Alpaca. ## Get All Assets [\#](https://alpaca.markets/sdks/python/api_reference/broker/assets.html\#get-all-assets "Permalink to this heading") BrokerClient.get\_all\_assets( _filter:Optional\[ [GetAssetsRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetAssetsRequest "alpaca.trading.requests.GetAssetsRequest")\]=None_)→Union\[List\[ [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/assets.html#alpaca.broker.client.BrokerClient.get_all_assets "Permalink to this definition") The assets API serves as the master list of assets available for trade and data consumption from Alpaca. Some assets are not tradable with Alpaca. These assets will be marked with the flag tradable=false. Parameters: **filter** ( _Optional_ _\[_ [_GetAssetsRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetAssetsRequest "alpaca.trading.requests.GetAssetsRequest") _\]_) – The parameters that can be assets can be queried by. Returns: The list of assets. Return type: List\[ [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset")\] ## Get a Single Asset [\#](https://alpaca.markets/sdks/python/api_reference/broker/assets.html\#get-a-single-asset "Permalink to this heading") BrokerClient.get\_asset( _symbol\_or\_asset\_id:Union\[UUID,str\]_)→Union\[ [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/assets.html#alpaca.broker.client.BrokerClient.get_asset "Permalink to this definition") Returns a specific asset by its symbol or asset id. If the specified asset does not exist a 404 error will be thrown. Parameters: **symbol\_or\_asset\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The symbol or asset id for the specified asset Returns: The asset if it exists. Return type: [Asset](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Asset "alpaca.trading.models.Asset") ## Alpaca TimeFrame API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # TimeFrame [\#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html\#timeframe "Permalink to this heading") ## TimeFrameUnit [\#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html\#timeframeunit "Permalink to this heading") _enum_ alpaca.data.timeframe.TimeFrameUnit( _value_) [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrameUnit "Permalink to this definition") Quantity of time used as unit Member Type: `str` Valid values are as follows: Minute _:str_ _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrameUnit.Minute "Permalink to this definition")Hour _:str_ _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrameUnit.Hour "Permalink to this definition")Day _:str_ _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrameUnit.Day "Permalink to this definition")Week _:str_ _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrameUnit.Week "Permalink to this definition")Month _:str_ _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrameUnit.Month "Permalink to this definition") ## TimeFrame [\#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html\#id1 "Permalink to this heading") _class_ alpaca.data.timeframe.TimeFrame( _amount_, _unit_) [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame "Permalink to this definition") A time interval specified in multiples of defined units (minute, day, etc) amount\_value [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame.amount_value "Permalink to this definition") The number of multiples of the TimeFrameUnit interval Type: int unit\_value [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame.unit_value "Permalink to this definition") The base unit of time interval that is used to measure the TimeFrame Type: [TimeFrameUnit](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrameUnit "alpaca.data.timeframe.TimeFrameUnit") Raises: **ValueError** – Raised if the amount\_value and unit\_value are not consistent with each other Day _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame.Day "Permalink to this definition")Hour _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame.Hour "Permalink to this definition")Minute _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame.Minute "Permalink to this definition")Month _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame.Month "Permalink to this definition")Week _=_ [#](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame.Week "Permalink to this definition") ## Trade Documents API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/documents.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Documents [\#](https://alpaca.markets/sdks/python/api_reference/broker/documents.html\#documents "Permalink to this heading") ## Get Trade Documents For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/documents.html\#get-trade-documents-for-account "Permalink to this heading") BrokerClient.get\_trade\_documents\_for\_account( _account\_id:Union\[UUID,str\]_, _documents\_filter:Optional\[ [GetTradeDocumentsRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetTradeDocumentsRequest "alpaca.broker.requests.GetTradeDocumentsRequest")\]=None_)→Union\[List\[ [TradeDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument "alpaca.broker.models.documents.TradeDocument")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/documents.html#alpaca.broker.client.BrokerClient.get_trade_documents_for_account "Permalink to this definition") Gets the list of TradeDocuments for an Account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the Account you wish to retrieve documents for. str values will attempt to be upcast into UUID instances - **documents\_filter** ( _Optional_ _\[_ [_GetTradeDocumentsRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetTradeDocumentsRequest "alpaca.broker.requests.GetTradeDocumentsRequest") _\]_) – The optional set of filters you can apply to filter the returned list. Returns: The filtered list of TradeDocuments Return type: List\[ [TradeDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument "alpaca.broker.models.documents.TradeDocument")\] ## Get Trade Document For Account By ID [\#](https://alpaca.markets/sdks/python/api_reference/broker/documents.html\#get-trade-document-for-account-by-id "Permalink to this heading") BrokerClient.get\_trade\_document\_for\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _document\_id:Union\[UUID,str\]_)→Union\[ [TradeDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument "alpaca.broker.models.documents.TradeDocument"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/documents.html#alpaca.broker.client.BrokerClient.get_trade_document_for_account_by_id "Permalink to this definition") Gets a single TradeDocument by its id Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the Account that owns the document - **document\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the TradeDocument Returns: The requested TradeDocument Return type: [TradeDocument](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.documents.TradeDocument "alpaca.broker.models.documents.TradeDocument") Raises: [**APIError**](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html#alpaca.common.exceptions.APIError "alpaca.common.exceptions.APIError") – Will raise an APIError if the account\_id or a matching document\_id for the account are not found. ## Download Trade Document For Account By ID [\#](https://alpaca.markets/sdks/python/api_reference/broker/documents.html\#download-trade-document-for-account-by-id "Permalink to this heading") BrokerClient.download\_trade\_document\_for\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _document\_id:Union\[UUID,str\]_, _file\_path:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/broker/documents.html#alpaca.broker.client.BrokerClient.download_trade_document_for_account_by_id "Permalink to this definition") Downloads a TradeDocument to file\_path Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – ID of the account to pull the document from - **document\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – ID of the document itself - **file\_path** ( _str_) – A full path for where to save the file to Return type: None ## Trading Stream API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/stream.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # TradingStream [\#](https://alpaca.markets/sdks/python/api_reference/trading/stream.html\#tradingstream "Permalink to this heading") _class_ alpaca.trading.stream.TradingStream( _api\_key:str_, _secret\_key:str_, _paper:bool=True_, _raw\_data:bool=False_, _url\_override:str=None_, _websocket\_params:Optional\[Dict\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/stream.html#alpaca.trading.stream.TradingStream "Permalink to this definition") This is a WebSocket client which allows you to streaming data from your trading account. Learn more here: [https://alpaca.markets/docs/api-references/trading-api/streaming/](https://alpaca.markets/docs/api-references/trading-api/streaming/) If using paper keys, make sure to set `paper` to True when instantiating the client. _async_ close()→None [#](https://alpaca.markets/sdks/python/api_reference/trading/stream.html#alpaca.trading.stream.TradingStream.close "Permalink to this definition") Closes the websocket connection. run()→None [#](https://alpaca.markets/sdks/python/api_reference/trading/stream.html#alpaca.trading.stream.TradingStream.run "Permalink to this definition") Starts up the websocket connection’s event loop stop()→None [#](https://alpaca.markets/sdks/python/api_reference/trading/stream.html#alpaca.trading.stream.TradingStream.stop "Permalink to this definition") Stops the websocket connection. _async_ stop\_ws()→None [#](https://alpaca.markets/sdks/python/api_reference/trading/stream.html#alpaca.trading.stream.TradingStream.stop_ws "Permalink to this definition") Signals websocket connection should close by adding a closing message to the stop\_stream\_queue subscribe\_trade\_updates( _handler:Callable_) [#](https://alpaca.markets/sdks/python/api_reference/trading/stream.html#alpaca.trading.stream.TradingStream.subscribe_trade_updates "Permalink to this definition") Subscribes to trade updates for your trading account. Parameters: **handler** ( _Callable_) – The async handler that will receive trade update data. Returns: None ## Crypto Market Data ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/crypto.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Crypto Market Data [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto.html\#crypto-market-data "Permalink to this heading") - [Historical Data](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html) - [CryptoHistoricalDataClient](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#cryptohistoricaldataclient) - [Get Crypto Bars](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#get-crypto-bars) - [Get Crypto Quotes](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#get-crypto-quotes) - [Get Crypto Trades](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#get-crypto-trades) - [Get Crypto Latest Quote](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#get-crypto-latest-quote) - [Get Crypto Latest Trade](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#get-crypto-latest-trade) - [Get Crypto Latest Bar](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#get-crypto-latest-bar) - [Get Crypto Snapshot](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#get-crypto-snapshot) - [Get Crypto Latest Orderbook](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#get-crypto-latest-orderbook) - [Real-Time Data](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html) - [CryptoDataStream](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#cryptodatastream) - [Requests](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html) - [BaseCryptoLatestDataRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#basecryptolatestdatarequest) - [CryptoBarsRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#cryptobarsrequest) - [CryptoQuoteRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#cryptoquoterequest) - [CryptoTradesRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#cryptotradesrequest) - [CryptoLatestQuoteRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#cryptolatestquoterequest) - [CryptoLatestTradeRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#cryptolatesttraderequest) - [CryptoSnapshotRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#cryptosnapshotrequest) ## Trading Watchlists API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Watchlists [\#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html\#watchlists "Permalink to this heading") The watchlist endpoints allow you to create lists of securities and track their performance. ## Create a New Watchlist [\#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html\#create-a-new-watchlist "Permalink to this heading") TradingClient.create\_watchlist( _watchlist\_data:[CreateWatchlistRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CreateWatchlistRequest "alpaca.trading.requests.CreateWatchlistRequest")_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#alpaca.trading.client.TradingClient.create_watchlist "Permalink to this definition") Creates a new watchlist. Parameters: **watchlist\_data** ( [_CreateWatchlistRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CreateWatchlistRequest "alpaca.trading.requests.CreateWatchlistRequest")) – The watchlist to create. Returns: The new watchlist. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Get All Watchlists [\#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html\#get-all-watchlists "Permalink to this heading") TradingClient.get\_watchlists()→Union\[List\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#alpaca.trading.client.TradingClient.get_watchlists "Permalink to this definition") Returns all watchlists. Returns: The list of all watchlists. Return type: List\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist")\] ## Get a Watchlist By Id [\#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html\#get-a-watchlist-by-id "Permalink to this heading") TradingClient.get\_watchlist\_by\_id( _watchlist\_id:Union\[UUID,str\]_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#alpaca.trading.client.TradingClient.get_watchlist_by_id "Permalink to this definition") Returns a specific watchlist by its id. Parameters: **watchlist\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The watchlist to retrieve. Returns: The watchlist. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Update Watchlist By Id [\#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html\#update-watchlist-by-id "Permalink to this heading") TradingClient.update\_watchlist\_by\_id( _watchlist\_id:Union\[UUID,str\]_, _watchlist\_data:[UpdateWatchlistRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.UpdateWatchlistRequest "alpaca.trading.requests.UpdateWatchlistRequest")_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#alpaca.trading.client.TradingClient.update_watchlist_by_id "Permalink to this definition") Updates a watchlist with new data. Parameters: - **watchlist\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The watchlist to be updated. - **watchlist\_data** ( [_UpdateWatchlistRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.UpdateWatchlistRequest "alpaca.trading.requests.UpdateWatchlistRequest")) – The new watchlist data. Returns: The watchlist with updated data. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Add Asset To Watchlist By Id [\#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html\#add-asset-to-watchlist-by-id "Permalink to this heading") TradingClient.add\_asset\_to\_watchlist\_by\_id( _watchlist\_id:Union\[UUID,str\]_, _symbol:str_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#alpaca.trading.client.TradingClient.add_asset_to_watchlist_by_id "Permalink to this definition") Adds an asset by its symbol to a specified watchlist. Parameters: - **watchlist\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The watchlist to add the symbol to. - **symbol** ( _str_) – The symbol for the asset to add. Returns: The updated watchlist. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Remove Asset From Watchlist By Id [\#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html\#remove-asset-from-watchlist-by-id "Permalink to this heading") TradingClient.remove\_asset\_from\_watchlist\_by\_id( _watchlist\_id:Union\[UUID,str\]_, _symbol:str_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#alpaca.trading.client.TradingClient.remove_asset_from_watchlist_by_id "Permalink to this definition") Removes an asset from a watchlist. Parameters: - **watchlist\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The watchlist to remove the asset from. - **symbol** ( _str_) – The symbol for the asset to add. Returns: The updated watchlist. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Delete Watchlist By Id [\#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html\#delete-watchlist-by-id "Permalink to this heading") TradingClient.delete\_watchlist\_by\_id( _watchlist\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/trading/watchlists.html#alpaca.trading.client.TradingClient.delete_watchlist_by_id "Permalink to this definition") Deletes a watchlist. This is permanent. Parameters: **watchlist\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The watchlist to delete. Returns: None ## Alpaca Journals API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Journals [\#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html\#journals "Permalink to this heading") ## Create a Journal [\#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html\#create-a-journal "Permalink to this heading") BrokerClient.create\_journal( _journal\_data:[CreateJournalRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest "alpaca.broker.requests.CreateJournalRequest")_)→Union\[ [Journal](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal "alpaca.broker.models.journals.Journal"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#alpaca.broker.client.BrokerClient.create_journal "Permalink to this definition") The journal API allows you to transfer cash and securities between accounts. Creates a new journal request. Parameters: **journal\_data** ( [_CreateJournalRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateJournalRequest "alpaca.broker.requests.CreateJournalRequest")) – THe journal to be submitted. Returns: The submitted journal. Return type: [Journal](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal "alpaca.broker.models.journals.Journal") ## Create a Batch Journal [\#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html\#create-a-batch-journal "Permalink to this heading") BrokerClient.create\_batch\_journal( _batch\_data:[CreateBatchJournalRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBatchJournalRequest "alpaca.broker.requests.CreateBatchJournalRequest")_)→Union\[List\[ [BatchJournalResponse](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.BatchJournalResponse "alpaca.broker.models.journals.BatchJournalResponse")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#alpaca.broker.client.BrokerClient.create_batch_journal "Permalink to this definition") A batch journal moves assets from one account into many others. Currently, cash batch journals are supported. Parameters: **batch\_data** ( [_CreateBatchJournalRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.CreateBatchJournalRequest "alpaca.broker.requests.CreateBatchJournalRequest")) – The batch journals to be submitted. Returns: The submitted batch journals. Return type: [BatchJournalResponse](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.BatchJournalResponse "alpaca.broker.models.journals.BatchJournalResponse") ## Create a Reverse Batch Journal [\#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html\#create-a-reverse-batch-journal "Permalink to this heading") BrokerClient.create\_reverse\_batch\_journal( _reverse\_batch\_data:CreateReverseBatchJournalRequest_)→Union\[List\[ [BatchJournalResponse](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.BatchJournalResponse "alpaca.broker.models.journals.BatchJournalResponse")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#alpaca.broker.client.BrokerClient.create_reverse_batch_journal "Permalink to this definition") A reverse batch journal moves assets into one account from many others. Currently, cash reverse batch journals are supported. Parameters: **reverse\_batch\_data** ( _CreateReverseBatchJournalRequest_) – The reverse batch journals to be submitted. Returns: The submitted reverse batch journals. Return type: [BatchJournalResponse](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.BatchJournalResponse "alpaca.broker.models.journals.BatchJournalResponse") ## Get all Journals [\#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html\#get-all-journals "Permalink to this heading") BrokerClient.get\_journals( _journal\_filter:Optional\[ [GetJournalsRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetJournalsRequest "alpaca.broker.requests.GetJournalsRequest")\]=None_)→Union\[List\[ [Journal](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal "alpaca.broker.models.journals.Journal")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#alpaca.broker.client.BrokerClient.get_journals "Permalink to this definition") Returns journals from the master list. Parameters: **journal\_filter** ( _Optional_ _\[_ [_GetJournalsRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.GetJournalsRequest "alpaca.broker.requests.GetJournalsRequest") _\]_) – The parameters to filter the query by. Returns: The journals from the query. Return type: List\[ [Journal](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal "alpaca.broker.models.journals.Journal")\] ## Get Journal by ID [\#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html\#get-journal-by-id "Permalink to this heading") BrokerClient.get\_journal\_by\_id( _journal\_id:Union\[UUID,str\]=None_)→Union\[ [Journal](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal "alpaca.broker.models.journals.Journal"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#alpaca.broker.client.BrokerClient.get_journal_by_id "Permalink to this definition") Returns a specific journal by its id. Parameters: **journal\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the journal to retrieve. Returns: The journal with given id. Return type: [Journal](https://alpaca.markets/sdks/python/api_reference/broker/models.html#alpaca.broker.models.journals.Journal "alpaca.broker.models.journals.Journal") ## Cancel Journal by ID [\#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html\#cancel-journal-by-id "Permalink to this heading") BrokerClient.cancel\_journal\_by\_id( _journal\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/broker/journals.html#alpaca.broker.client.BrokerClient.cancel_journal_by_id "Permalink to this definition") Cancels a specific journal by its id. Parameters: **journal\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The id of the journal to be cancelled. Returns: None ## Common API Classes ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/common.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Common [\#](https://alpaca.markets/sdks/python/api_reference/data/common.html\#common "Permalink to this heading") This module represents a bunch of classes that have common/shared functionality across the stock/crypto/options - [Requests](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html) - [BaseTimeseriesDataRequest](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#basetimeseriesdatarequest) - [BaseBarsRequest](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#basebarsrequest) ## Stock Market Data ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/stock.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Stock Market Data [\#](https://alpaca.markets/sdks/python/api_reference/data/stock.html\#stock-market-data "Permalink to this heading") - [Historical Data](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html) - [StockHistoricalDataClient](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#stockhistoricaldataclient) - [Get Stock Bars](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#get-stock-bars) - [Get Stock Quotes](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#get-stock-quotes) - [Get Stock Trades](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#get-stock-trades) - [Get Stock Latest Quote](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#get-stock-latest-quote) - [Get Stock Latest Trade](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#get-stock-latest-trade) - [Get Stock Latest Bar](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#get-stock-latest-bar) - [Get Stock Snapshot](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#get-stock-snapshot) - [Real-Time Data](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html) - [StockDataStream](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#stockdatastream) - [Requests](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html) - [BaseStockLatestDataRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#basestocklatestdatarequest) - [StockBarsRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#stockbarsrequest) - [StockQuotesRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#stockquotesrequest) - [StockTradesRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#stocktradesrequest) - [StockLatestQuoteRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#stocklatestquoterequest) - [StockLatestTradeRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#stocklatesttraderequest) - [StockSnapshotRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#stocksnapshotrequest) - [MostActivesRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#mostactivesrequest) - [MarketMoversRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#marketmoversrequest) - [Screener API](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html) - [ScreenerClient](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html#screenerclient) - [Get Most Actives](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html#get-most-actives) - [Get Market Movers](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html#get-market-movers) ## Account Details API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/account.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Account [\#](https://alpaca.markets/sdks/python/api_reference/trading/account.html\#account "Permalink to this heading") The account endpoint allow you to retrieve information about your account. ## Get Account Details [\#](https://alpaca.markets/sdks/python/api_reference/trading/account.html\#get-account-details "Permalink to this heading") TradingClient.get\_account()→Union\[ [TradeAccount](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount "alpaca.trading.models.TradeAccount"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/account.html#alpaca.trading.client.TradingClient.get_account "Permalink to this definition") Returns account details. Contains information like buying power, number of day trades, and account status. Returns: The account details Return type: [alpaca.trading.models.TradeAccount](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.TradeAccount "alpaca.trading.models.TradeAccount") ## Market Calendar API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/calendar.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Calendar [\#](https://alpaca.markets/sdks/python/api_reference/trading/calendar.html\#calendar "Permalink to this heading") The calendar endpoint allows you to view the market calendar. The market calendar contains a record of all trading days. ## Get Calendar [\#](https://alpaca.markets/sdks/python/api_reference/trading/calendar.html\#get-calendar "Permalink to this heading") TradingClient.get\_calendar( _filters:Optional\[ [GetCalendarRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCalendarRequest "alpaca.trading.requests.GetCalendarRequest")\]=None_)→Union\[List\[ [Calendar](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Calendar "alpaca.trading.models.Calendar")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/calendar.html#alpaca.trading.client.TradingClient.get_calendar "Permalink to this definition") The calendar API serves the full list of market days from 1970 to 2029. It can also be queried by specifying a start and/or end time to narrow down the results. In addition to the dates, the response also contains the specific open and close times for the market days, taking into account early closures. Parameters: **filters** – Any optional filters to limit the returned market days Returns: A list of Calendar objects representing the market days. Return type: List\[ [Calendar](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Calendar "alpaca.trading.models.Calendar")\] ## Market Clock API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/clock.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Clock [\#](https://alpaca.markets/sdks/python/api_reference/trading/clock.html\#clock "Permalink to this heading") The clock endpoint allows you to view the market clock. The market clock contains a record of the trading hours for a given day. ## Get Clock [\#](https://alpaca.markets/sdks/python/api_reference/trading/clock.html\#get-clock "Permalink to this heading") TradingClient.get\_clock()→Union\[ [Clock](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Clock "alpaca.trading.models.Clock"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/clock.html#alpaca.trading.client.TradingClient.get_clock "Permalink to this definition") Gets the current market timestamp, whether or not the market is currently open, as well as the times of the next market open and close. Returns: The market Clock data Return type: [Clock](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Clock "alpaca.trading.models.Clock") ## Trading API Reference ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/trading.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Trading [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading.html\#trading "Permalink to this heading") - [Orders](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html) - [Submit an Order For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#submit-an-order-for-account) - [Get All Orders For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#get-all-orders-for-account) - [Get an Order For Account By Id](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#get-an-order-for-account-by-id) - [Get an Order For Account By Client Id](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#get-an-order-for-account-by-client-id) - [Replace an Order For Account By Id](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#replace-an-order-for-account-by-id) - [Cancel All Orders For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#cancel-all-orders-for-account) - [Cancel an Order For Account By Id](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#cancel-an-order-for-account-by-id) - [Positions](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html) - [Get All Open Positions For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html#get-all-open-positions-for-account) - [Get A Open Position For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html#get-a-open-position-for-account) - [Close All Positions For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html#close-all-positions-for-account) - [Close A Position For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html#close-a-position-for-account) - [Portfolio History](https://alpaca.markets/sdks/python/api_reference/broker/trading/portfolio-history.html) - [Get Portfolio History For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/portfolio-history.html#get-portfolio-history-for-account) - [Watchlists](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html) - [Create a Watchlist For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#create-a-watchlist-for-account) - [Get All Watchlists For Account](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#get-all-watchlists-for-account) - [Get Watchlist For Account By Id](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#get-watchlist-for-account-by-id) - [Update Watchlist For Account By Id](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#update-watchlist-for-account-by-id) - [Delete Watchlist From Account By Id](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#delete-watchlist-from-account-by-id) - [Add Asset To Watchlist For Account By Id](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#add-asset-to-watchlist-for-account-by-id) - [Remove Asset From Watchlist For Account By Id](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#remove-asset-from-watchlist-for-account-by-id) ## Market Calendar API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/calendar.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Calendar [\#](https://alpaca.markets/sdks/python/api_reference/broker/calendar.html\#calendar "Permalink to this heading") ## Get Market Calendar [\#](https://alpaca.markets/sdks/python/api_reference/broker/calendar.html\#get-market-calendar "Permalink to this heading") BrokerClient.get\_calendar( _filters:Optional\[ [GetCalendarRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCalendarRequest "alpaca.trading.requests.GetCalendarRequest")\]=None_)→Union\[List\[ [Calendar](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Calendar "alpaca.trading.models.Calendar")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/calendar.html#alpaca.broker.client.BrokerClient.get_calendar "Permalink to this definition") The calendar API serves the full list of market days from 1970 to 2029. It can also be queried by specifying a start and/or end time to narrow down the results. In addition to the dates, the response also contains the specific open and close times for the market days, taking into account early closures. Parameters: **filters** – Any optional filters to limit the returned market days Returns: A list of Calendar objects representing the market days. Return type: List\[ [Calendar](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Calendar "alpaca.trading.models.Calendar")\] ## Alpaca API Exceptions ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Exceptions [\#](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html\#module-alpaca.common.exceptions "Permalink to this heading") _exception_ alpaca.common.exceptions.APIError( _error_, _http\_error=None_) [#](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html#alpaca.common.exceptions.APIError "Permalink to this definition") Represent API related error. error.status\_code will have http status code. _exception_ alpaca.common.exceptions.RetryException [#](https://alpaca.markets/sdks/python/api_reference/common/exceptions.html#alpaca.common.exceptions.RetryException "Permalink to this definition") Thrown by RESTClient’s internally to represent a request that should be retried. ## Option Market Data ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/option.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Option Market Data [\#](https://alpaca.markets/sdks/python/api_reference/data/option.html\#option-market-data "Permalink to this heading") - [Historical Data](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html) - [OptionHistoricalDataClient](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#optionhistoricaldataclient) - [Get Option Bars](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#get-option-bars) - [Get Option Trades](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#get-option-trades) - [Get Option Exchange Codes](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#get-option-exchange-codes) - [Get Option Latest Quote](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#get-option-latest-quote) - [Get Option Latest Trade](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#get-option-latest-trade) - [Get Option Snapshot](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#get-option-snapshot) - [Get Option Chain](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#get-option-chain) - [Real-Time Data](https://alpaca.markets/sdks/python/api_reference/data/option/live.html) - [OptionDataStream](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#optiondatastream) - [Requests](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html) - [BaseOptionLatestDataRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#baseoptionlatestdatarequest) - [OptionBarsRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#optionbarsrequest) - [OptionTradesRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#optiontradesrequest) - [OptionLatestQuoteRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#optionlatestquoterequest) - [OptionLatestTradeRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#optionlatesttraderequest) - [OptionSnapshotRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#optionsnapshotrequest) - [OptionChainRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#optionchainrequest) ## Market Clock API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/clock.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Clock [\#](https://alpaca.markets/sdks/python/api_reference/broker/clock.html\#clock "Permalink to this heading") ## Get Market Clock [\#](https://alpaca.markets/sdks/python/api_reference/broker/clock.html\#get-market-clock "Permalink to this heading") BrokerClient.get\_clock()→Union\[ [Clock](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Clock "alpaca.trading.models.Clock"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/clock.html#alpaca.broker.client.BrokerClient.get_clock "Permalink to this definition") Gets the current market timestamp, whether or not the market is currently open, as well as the times of the next market open and close. Returns: The market Clock data Return type: [Clock](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Clock "alpaca.trading.models.Clock") ## Corporate Actions Data ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Corporate Actions [\#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions.html\#corporate-actions "Permalink to this heading") - [Historical Data](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html) - [CorporateActionsClient](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html#corporateactionsclient) - [Get Corporate Actions](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html#get-corporate-actions) - [Requests](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html) - [CorporateActionsRequest](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#corporateactionsrequest) ## Python Data Requests API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Requests [\#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html\#requests "Permalink to this heading") ## BaseTimeseriesDataRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html\#basetimeseriesdatarequest "Permalink to this heading") _class_ alpaca.data.requests.BaseTimeseriesDataRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseTimeseriesDataRequest "Permalink to this definition") A base class for requests for time series data between a start and an end. This shouldn’t be instantiated directly. Instead, you should use one of the data type specific classes. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseTimeseriesDataRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] start [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseTimeseriesDataRequest.start "Permalink to this definition") The beginning of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseTimeseriesDataRequest.end "Permalink to this definition") The end of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseTimeseriesDataRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] currency [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseTimeseriesDataRequest.currency "Permalink to this definition") The currency the data should be returned in. Default to USD. Type: Optional\[SupportedCurrencies\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseTimeseriesDataRequest.sort "Permalink to this definition") (Optional\[Sort\]): The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[alpaca.common.enums.Sort\] ## BaseBarsRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html\#basebarsrequest "Permalink to this heading") _class_ alpaca.data.requests.BaseBarsRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_, _timeframe:[TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame "alpaca.data.timeframe.TimeFrame")_) [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseBarsRequest "Permalink to this definition") A base request object for retrieving bar data for securities. You most likely should not use this directly and instead use the asset class specific request objects. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseBarsRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] start [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseBarsRequest.start "Permalink to this definition") The beginning of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseBarsRequest.end "Permalink to this definition") The end of the time interval for desired data. Defaults to now. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseBarsRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] timeframe [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseBarsRequest.timeframe "Permalink to this definition") The period over which the bars should be aggregated. (i.e. 5 Min bars, 1 Day bars) Type: [TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame "alpaca.data.timeframe.TimeFrame") sort [#](https://alpaca.markets/sdks/python/api_reference/data/common/requests.html#alpaca.data.requests.BaseBarsRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] ## Alpaca Trading Orders ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Orders [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html\#orders "Permalink to this heading") ## Submit an Order For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html\#submit-an-order-for-account "Permalink to this heading") BrokerClient.submit\_order\_for\_account( _account\_id:Union\[UUID,str\]_, _order\_data:[OrderRequest](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest "alpaca.broker.requests.OrderRequest")_)→Union\[Order,Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#alpaca.broker.client.BrokerClient.submit_order_for_account "Permalink to this definition") Creates an order to buy or sell an asset for an account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account the order will be created for. - **order\_data** ( [_alpaca.broker.requests.OrderRequest_](https://alpaca.markets/sdks/python/api_reference/broker/requests.html#alpaca.broker.requests.OrderRequest "alpaca.broker.requests.OrderRequest")) – The request data for creating a new order. Returns: The resulting submitted order. Return type: alpaca.broker.models.OrderOrder ## Get All Orders For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html\#get-all-orders-for-account "Permalink to this heading") BrokerClient.get\_orders\_for\_account( _account\_id:Union\[UUID,str\]_, _filter:Optional\[ [GetOrdersRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest "alpaca.trading.requests.GetOrdersRequest")\]=None_)→Union\[List\[Order\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#alpaca.broker.client.BrokerClient.get_orders_for_account "Permalink to this definition") Returns all orders for an account. Orders can be filtered by parameters. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account to get the orders for. - **filter** ( _Optional_ _\[_ [_GetOrdersRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrdersRequest "alpaca.trading.requests.GetOrdersRequest") _\]_) – The parameters to filter the orders with. Returns: The queried orders. Return type: List\[alpaca.broker.models.Order\] ## Get an Order For Account By Id [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html\#get-an-order-for-account-by-id "Permalink to this heading") BrokerClient.get\_order\_for\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _order\_id:Union\[UUID,str\]_, _filter:Optional\[ [GetOrderByIdRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrderByIdRequest "alpaca.trading.requests.GetOrderByIdRequest")\]=None_)→Union\[Order,Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#alpaca.broker.client.BrokerClient.get_order_for_account_by_id "Permalink to this definition") Returns a specific order by its order id. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account to get the order for. - **order\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The unique uuid identifier for the order. - **filter** ( _Optional_ _\[_ [_GetOrderByIdRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetOrderByIdRequest "alpaca.trading.requests.GetOrderByIdRequest") _\]_) – The parameters for the query. Returns: The order that was queried. Return type: alpaca.broker.models.Order ## Get an Order For Account By Client Id [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html\#get-an-order-for-account-by-client-id "Permalink to this heading") BrokerClient.get\_order\_for\_account\_by\_client\_id( _account\_id:Union\[UUID,str\]_, _client\_id:str_)→Union\[Order,Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#alpaca.broker.client.BrokerClient.get_order_for_account_by_client_id "Permalink to this definition") Returns a specific order by its client order id. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account to get the order for. - **client\_id** ( _str_) – The client order identifier for the order. Returns: The queried order. Return type: alpaca.broker.models.Order ## Replace an Order For Account By Id [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html\#replace-an-order-for-account-by-id "Permalink to this heading") BrokerClient.replace\_order\_for\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _order\_id:Union\[UUID,str\]_, _order\_data:Optional\[ [ReplaceOrderRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest "alpaca.trading.requests.ReplaceOrderRequest")\]=None_)→Union\[Order,Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#alpaca.broker.client.BrokerClient.replace_order_for_account_by_id "Permalink to this definition") Updates an order with new parameters. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account to replace the order for. - **order\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The unique uuid identifier for the order being replaced. - **order\_data** ( _Optional_ _\[_ [_ReplaceOrderRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ReplaceOrderRequest "alpaca.trading.requests.ReplaceOrderRequest") _\]_) – The parameters we wish to update. Returns: The updated order. Return type: alpaca.broker.models.Order ## Cancel All Orders For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html\#cancel-all-orders-for-account "Permalink to this heading") BrokerClient.cancel\_orders\_for\_account( _account\_id:Union\[UUID,str\]_)→Union\[List\[ [CancelOrderResponse](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CancelOrderResponse "alpaca.trading.requests.CancelOrderResponse")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#alpaca.broker.client.BrokerClient.cancel_orders_for_account "Permalink to this definition") Cancels all orders. Parameters: **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account to cancel the orders for. Returns: The list of HTTP statuses for each order attempted to be cancelled. Return type: List\[ [CancelOrderResponse](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CancelOrderResponse "alpaca.trading.requests.CancelOrderResponse")\] ## Cancel an Order For Account By Id [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html\#cancel-an-order-for-account-by-id "Permalink to this heading") BrokerClient.cancel\_order\_for\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _order\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/orders.html#alpaca.broker.client.BrokerClient.cancel_order_for_account_by_id "Permalink to this definition") Cancels a specific order by its order id. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account to cancel the order for. - **order\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The unique uuid identifier of the order being cancelled. ## Historical Option Data ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Historical Data [\#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html\#historical-data "Permalink to this heading") ## OptionHistoricalDataClient [\#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html\#optionhistoricaldataclient "Permalink to this heading") _class_ alpaca.data.historical.option.OptionHistoricalDataClient( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_, _sandbox:bool=False_) [#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#alpaca.data.historical.option.OptionHistoricalDataClient "Permalink to this definition") The REST client for interacting with Alpaca Market Data API option data endpoints. Learn more on [https://docs.alpaca.markets/docs/about-market-data-api](https://docs.alpaca.markets/docs/about-market-data-api) \_\_init\_\_( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_, _sandbox:bool=False_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#alpaca.data.historical.option.OptionHistoricalDataClient.__init__ "Permalink to this definition") Instantiates a Historical Data Client. Parameters: - **api\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API key. Defaults to None. - **secret\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API secret key. Defaults to None. - **oauth\_token** ( _Optional_ _\[_ _str_ _\]_) – The oauth token if authenticating via OAuth. Defaults to None. - **use\_basic\_auth** ( _bool_ _,_ _optional_) – If true, API requests will use basic authorization headers. Set to true if using broker api sandbox credentials - **raw\_data** ( _bool_ _,_ _optional_) – If true, API responses will not be wrapped and raw responses will be returned from methods. Defaults to False. This has not been implemented yet. - **url\_override** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – If specified allows you to override the base url the client points to for proxy/testing. - **sandbox** ( _bool_) – True if using sandbox mode. Defaults to False. ## Get Option Bars [\#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html\#get-option-bars "Permalink to this heading") OptionHistoricalDataClient.get\_option\_bars( _request\_params:[OptionBarsRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionBarsRequest "alpaca.data.requests.OptionBarsRequest")_)→Union\[ [BarSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.BarSet "alpaca.data.models.bars.BarSet"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#alpaca.data.historical.option.OptionHistoricalDataClient.get_option_bars "Permalink to this definition") Returns bar data for an option contract or list of option contracts over a given time period and timeframe. Parameters: **request\_params** ( [_OptionBarsRequest_](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionBarsRequest "alpaca.data.requests.OptionBarsRequest")) – The request object for retrieving option bar data. Returns: The bar data either in raw or wrapped form Return type: Union\[ [BarSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.BarSet "alpaca.data.models.bars.BarSet"), RawData\] ## Get Option Trades [\#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html\#get-option-trades "Permalink to this heading") OptionHistoricalDataClient.get\_option\_trades( _request\_params:[OptionTradesRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionTradesRequest "alpaca.data.requests.OptionTradesRequest")_)→Union\[ [TradeSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.TradeSet "alpaca.data.models.trades.TradeSet"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#alpaca.data.historical.option.OptionHistoricalDataClient.get_option_trades "Permalink to this definition") The historical option trades API provides trade data for a list of contract symbols between the specified dates up to 7 days ago. Parameters: **request\_params** ( [_OptionTradesRequest_](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionTradesRequest "alpaca.data.requests.OptionTradesRequest")) – The request object for retrieving option trade data. Returns: The trade data either in raw or wrapped form Return type: Union\[ [TradeSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.TradeSet "alpaca.data.models.trades.TradeSet"), RawData\] ## Get Option Exchange Codes [\#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html\#get-option-exchange-codes "Permalink to this heading") OptionHistoricalDataClient.get\_option\_exchange\_codes()→Dict\[str,Any\] [#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#alpaca.data.historical.option.OptionHistoricalDataClient.get_option_exchange_codes "Permalink to this definition") Returns the mapping between the option exchange codes and the corresponding exchanges names. Parameters: **None** – Returns: The mapping between the option exchange codes and the corresponding exchanges names. Return type: RawData ## Get Option Latest Quote [\#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html\#get-option-latest-quote "Permalink to this heading") OptionHistoricalDataClient.get\_option\_latest\_quote( _request\_params:[OptionLatestQuoteRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestQuoteRequest "alpaca.data.requests.OptionLatestQuoteRequest")_)→Union\[Dict\[str, [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#alpaca.data.historical.option.OptionHistoricalDataClient.get_option_latest_quote "Permalink to this definition") Retrieves the latest quote for an option symbol or list of option symbols. Parameters: **request\_params** ( [_OptionLatestQuoteRequest_](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestQuoteRequest "alpaca.data.requests.OptionLatestQuoteRequest")) – The request object for retrieving the latest quote data. Returns: The latest quote in raw or wrapped format Return type: Union\[Dict\[str, [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote")\], RawData\] ## Get Option Latest Trade [\#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html\#get-option-latest-trade "Permalink to this heading") OptionHistoricalDataClient.get\_option\_latest\_trade( _request\_params:[OptionLatestTradeRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestTradeRequest "alpaca.data.requests.OptionLatestTradeRequest")_)→Union\[Dict\[str, [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#alpaca.data.historical.option.OptionHistoricalDataClient.get_option_latest_trade "Permalink to this definition") Retrieves the latest trade for an option symbol or list of option symbols. Parameters: **request\_params** ( [_OptionLatestTradeRequest_](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestTradeRequest "alpaca.data.requests.OptionLatestTradeRequest")) – The request object for retrieving the latest trade data. Returns: The latest trade in raw or wrapped format Return type: Union\[Dict\[str, [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade")\], RawData\] ## Get Option Snapshot [\#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html\#get-option-snapshot "Permalink to this heading") OptionHistoricalDataClient.get\_option\_snapshot( _request\_params:[OptionSnapshotRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionSnapshotRequest "alpaca.data.requests.OptionSnapshotRequest")_)→Union\[Dict\[str, [OptionsSnapshot](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot "alpaca.data.models.snapshots.OptionsSnapshot")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#alpaca.data.historical.option.OptionHistoricalDataClient.get_option_snapshot "Permalink to this definition") Returns snapshots of queried symbols. OptionsSnapshot contain latest trade, latest quote, implied volatility, and greeks for the queried symbols. Parameters: **request\_params** ( [_OptionSnapshotRequest_](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionSnapshotRequest "alpaca.data.requests.OptionSnapshotRequest")) – The request object for retrieving snapshot data. Returns: The snapshot data either in raw or wrapped form Return type: Union\[Dict\[str, [OptionsSnapshot](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot "alpaca.data.models.snapshots.OptionsSnapshot")\], RawData\] ## Get Option Chain [\#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html\#get-option-chain "Permalink to this heading") OptionHistoricalDataClient.get\_option\_chain( _request\_params:[OptionChainRequest](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest "alpaca.data.requests.OptionChainRequest")_)→Union\[Dict\[str, [OptionsSnapshot](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot "alpaca.data.models.snapshots.OptionsSnapshot")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/option/historical.html#alpaca.data.historical.option.OptionHistoricalDataClient.get_option_chain "Permalink to this definition") The option chain endpoint for underlying symbol provides the latest trade, latest quote, implied volatility, and greeks for each contract symbol of the underlying symbol. Parameters: **request\_params** ( [_OptionChainRequest_](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest "alpaca.data.requests.OptionChainRequest")) – The request object for retrieving snapshot data. Returns: The snapshot data either in raw or wrapped form Return type: Union\[Dict\[str, [OptionsSnapshot](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.OptionsSnapshot "alpaca.data.models.snapshots.OptionsSnapshot")\], RawData\] ## Alpaca Trading Watchlists ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Watchlists [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html\#watchlists "Permalink to this heading") ## Create a Watchlist For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html\#create-a-watchlist-for-account "Permalink to this heading") BrokerClient.create\_watchlist\_for\_account( _account\_id:Union\[UUID,str\]_, _watchlist\_data:[CreateWatchlistRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CreateWatchlistRequest "alpaca.trading.requests.CreateWatchlistRequest")_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#alpaca.broker.client.BrokerClient.create_watchlist_for_account "Permalink to this definition") Creates a new watchlist for a given account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account to create a new watchlist for. - **watchlist\_data** ( [_CreateWatchlistRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.CreateWatchlistRequest "alpaca.trading.requests.CreateWatchlistRequest")) – The watchlist to create. Returns: The new watchlist. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Get All Watchlists For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html\#get-all-watchlists-for-account "Permalink to this heading") BrokerClient.get\_watchlists\_for\_account( _account\_id:Union\[UUID,str\]_)→Union\[List\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#alpaca.broker.client.BrokerClient.get_watchlists_for_account "Permalink to this definition") Returns all watchlists for an account. Parameters: **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account to retrieve watchlists for Returns: The watchlists for that account Return type: List\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist")\] ## Get Watchlist For Account By Id [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html\#get-watchlist-for-account-by-id "Permalink to this heading") BrokerClient.get\_watchlist\_for\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _watchlist\_id:Union\[UUID,str\]_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#alpaca.broker.client.BrokerClient.get_watchlist_for_account_by_id "Permalink to this definition") Returns a specific watchlist by its id for a given account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account to retrieve watchlist data for. - **watchlist\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The watchlist to retrieve. Returns: The watchlist. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Update Watchlist For Account By Id [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html\#update-watchlist-for-account-by-id "Permalink to this heading") BrokerClient.update\_watchlist\_for\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _watchlist\_id:Union\[UUID,str\]_, _watchlist\_data:[UpdateWatchlistRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.UpdateWatchlistRequest "alpaca.trading.requests.UpdateWatchlistRequest")_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#alpaca.broker.client.BrokerClient.update_watchlist_for_account_by_id "Permalink to this definition") Updates a watchlist with new data. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account whose watchlist to be updated. - **watchlist\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The watchlist to be updated. - **watchlist\_data** ( [_UpdateWatchlistRequest_](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.UpdateWatchlistRequest "alpaca.trading.requests.UpdateWatchlistRequest")) – The new watchlist data. Returns: The watchlist with updated data. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Delete Watchlist From Account By Id [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html\#delete-watchlist-from-account-by-id "Permalink to this heading") BrokerClient.delete\_watchlist\_from\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _watchlist\_id:Union\[UUID,str\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#alpaca.broker.client.BrokerClient.delete_watchlist_from_account_by_id "Permalink to this definition") Deletes a watchlist. This is permanent. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account the watchlist belongs to. - **watchlist\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The watchlist to delete. Returns: None ## Add Asset To Watchlist For Account By Id [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html\#add-asset-to-watchlist-for-account-by-id "Permalink to this heading") BrokerClient.add\_asset\_to\_watchlist\_for\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _watchlist\_id:Union\[UUID,str\]_, _symbol:str_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#alpaca.broker.client.BrokerClient.add_asset_to_watchlist_for_account_by_id "Permalink to this definition") Adds an asset by its symbol to a specified watchlist for a given account. :param account\_id: The account id that the watchlist belongs to. :type account\_id: Union\[UUID, str\] :param watchlist\_id: The watchlist to add the symbol to. :type watchlist\_id: Union\[UUID, str\] :param symbol: The symbol for the asset to add. :type symbol: str Returns: The updated watchlist. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Remove Asset From Watchlist For Account By Id [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html\#remove-asset-from-watchlist-for-account-by-id "Permalink to this heading") BrokerClient.remove\_asset\_from\_watchlist\_for\_account\_by\_id( _account\_id:Union\[UUID,str\]_, _watchlist\_id:Union\[UUID,str\]_, _symbol:str_)→Union\[ [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/watchlists.html#alpaca.broker.client.BrokerClient.remove_asset_from_watchlist_for_account_by_id "Permalink to this definition") Removes an asset from a watchlist for a given account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The account the watchlist belongs to. - **watchlist\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The watchlist to remove the asset from. - **symbol** ( _str_) – The symbol for the asset to add. Returns: The updated watchlist. Return type: [Watchlist](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Watchlist "alpaca.trading.models.Watchlist") ## Live Option Data API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Real-Time Data [\#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html\#real-time-data "Permalink to this heading") ## OptionDataStream [\#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html\#optiondatastream "Permalink to this heading") _class_ alpaca.data.live.option.OptionDataStream( _api\_key:str_, _secret\_key:str_, _raw\_data:bool=False_, _feed:OptionsFeed=OptionsFeed.INDICATIVE_, _websocket\_params:Optional\[Dict\]=None_, _url\_override:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#alpaca.data.live.option.OptionDataStream "Permalink to this definition") A WebSocket client for streaming live option data. _async_ close()→None [#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#alpaca.data.live.option.OptionDataStream.close "Permalink to this definition") Closes the websocket connection. run()→None [#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#alpaca.data.live.option.OptionDataStream.run "Permalink to this definition") Starts up the websocket connection’s event loop stop()→None [#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#alpaca.data.live.option.OptionDataStream.stop "Permalink to this definition") Stops the websocket connection. _async_ stop\_ws()→None [#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#alpaca.data.live.option.OptionDataStream.stop_ws "Permalink to this definition") Signals websocket connection should close by adding a closing message to the stop\_stream\_queue subscribe\_quotes( _handler:Callable\[\[Union\[ [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#alpaca.data.live.option.OptionDataStream.subscribe_quotes "Permalink to this definition") Subscribe to quotes Parameters: - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Quote_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback function to handle the incoming data. - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything. subscribe\_trades( _handler:Callable\[\[Union\[ [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#alpaca.data.live.option.OptionDataStream.subscribe_trades "Permalink to this definition") Subscribe to trades. Parameters: - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Trade_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback function to handle the incoming data. - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything. unsubscribe\_quotes( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#alpaca.data.live.option.OptionDataStream.unsubscribe_quotes "Permalink to this definition") Unsubscribe from quotes Parameters: **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything. unsubscribe\_trades( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/option/live.html#alpaca.data.live.option.OptionDataStream.unsubscribe_trades "Permalink to this definition") Unsubscribe from trades Parameters: **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything. ## Stock Screener API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Screener API [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html\#screener-api "Permalink to this heading") ## ScreenerClient [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html\#screenerclient "Permalink to this heading") _class_ alpaca.data.historical.screener.ScreenerClient( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html#alpaca.data.historical.screener.ScreenerClient "Permalink to this definition") The REST client for interacting with Alpaca Screener API endpoints. Learn more on [https://docs.alpaca.markets/reference/mostactives](https://docs.alpaca.markets/reference/mostactives) \_\_init\_\_( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html#alpaca.data.historical.screener.ScreenerClient.__init__ "Permalink to this definition") Instantiates a Historical Data Client. Parameters: - **api\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API key. Defaults to None. - **secret\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API secret key. Defaults to None. - **oauth\_token** ( _Optional_ _\[_ _str_ _\]_) – The oauth token if authenticating via OAuth. Defaults to None. - **use\_basic\_auth** ( _bool_ _,_ _optional_) – If true, API requests will use basic authorization headers. - **raw\_data** ( _bool_ _,_ _optional_) – If true, API responses will not be wrapped and raw responses will be returned from methods. Defaults to False. This has not been implemented yet. - **url\_override** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – If specified allows you to override the base url the client points to for proxy/testing. ## Get Most Actives [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html\#get-most-actives "Permalink to this heading") ScreenerClient.get\_most\_actives( _request\_params:[MostActivesRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.MostActivesRequest "alpaca.data.requests.MostActivesRequest")_)→Union\[Dict\[str,Any\], [MostActives](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.MostActives "alpaca.data.models.screener.MostActives")\] [#](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html#alpaca.data.historical.screener.ScreenerClient.get_most_actives "Permalink to this definition") Returns most active stocks. ## Get Market Movers [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html\#get-market-movers "Permalink to this heading") ScreenerClient.get\_market\_movers( _request\_params:[MarketMoversRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.MarketMoversRequest "alpaca.data.requests.MarketMoversRequest")_)→Union\[Dict\[str,Any\], [Movers](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.screener.Movers "alpaca.data.models.screener.Movers")\] [#](https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html#alpaca.data.historical.screener.ScreenerClient.get_market_movers "Permalink to this definition") Return market movers. ## Live Crypto Data API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Real-Time Data [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html\#real-time-data "Permalink to this heading") ## CryptoDataStream [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html\#cryptodatastream "Permalink to this heading") _class_ alpaca.data.live.crypto.CryptoDataStream( _api\_key:str_, _secret\_key:str_, _raw\_data:bool=False_, _feed:[CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")=CryptoFeed.US_, _url\_override:Optional\[str\]=None_, _websocket\_params:Optional\[Dict\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream "Permalink to this definition") A WebSocket client for streaming live crypto data. _async_ close()→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.close "Permalink to this definition") Closes the websocket connection. run()→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.run "Permalink to this definition") Starts up the websocket connection’s event loop stop()→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.stop "Permalink to this definition") Stops the websocket connection. _async_ stop\_ws()→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.stop_ws "Permalink to this definition") Signals websocket connection should close by adding a closing message to the stop\_stream\_queue subscribe\_bars( _handler:Callable\[\[Union\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.subscribe_bars "Permalink to this definition") Subscribe to minute bars Parameters: - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Quote_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback function to handle the incoming data. - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything. subscribe\_daily\_bars( _handler:Callable\[\[Union\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.subscribe_daily_bars "Permalink to this definition") Subscribe to daily bars Parameters: - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Bar_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback function to handle the incoming data. - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything. subscribe\_orderbooks( _handler:Callable\[\[Union\[ [Orderbook](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.Orderbook "alpaca.data.models.orderbooks.Orderbook"),Dict\]\],Awaitable\[None\]\]_, _\*symbols_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.subscribe_orderbooks "Permalink to this definition") Subscribe to orderbooks Parameters: - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Bar_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback function to handle the incoming data. - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything. subscribe\_quotes( _handler:Callable\[\[Union\[ [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.subscribe_quotes "Permalink to this definition") Subscribe to quotes Parameters: - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Quote_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback function to handle the incoming data. - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything. subscribe\_trades( _handler:Callable\[\[Union\[ [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.subscribe_trades "Permalink to this definition") Subscribe to trades. Parameters: - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Trade_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_) – The coroutine callback\ function to handle the incoming data.\ \ - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything.\ \ \ subscribe\_updated\_bars( _handler:Callable\[\[Union\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.subscribe_updated_bars "Permalink to this definition")\ \ Subscribe to updated minute bars\ \ Parameters:\ \ - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Bar_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback\ function to handle the incoming data.\ \ - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything.\ \ \ unsubscribe\_bars( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.unsubscribe_bars "Permalink to this definition")\ \ Unsubscribe from minute bars\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_daily\_bars( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.unsubscribe_daily_bars "Permalink to this definition")\ \ Unsubscribe from daily bars\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_orderbooks( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.unsubscribe_orderbooks "Permalink to this definition")\ \ Unsubscribe from orderbooks\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_quotes( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.unsubscribe_quotes "Permalink to this definition")\ \ Unsubscribe from quotes\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_trades( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.unsubscribe_trades "Permalink to this definition")\ \ Unsubscribe from trades\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_updated\_bars( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/live.html#alpaca.data.live.crypto.CryptoDataStream.unsubscribe_updated_bars "Permalink to this definition")\ \ Unsubscribe from updated bars\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything. ## Options Data Requests ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Requests [\#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html\#requests "Permalink to this heading") ## BaseOptionLatestDataRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html\#baseoptionlatestdatarequest "Permalink to this heading") _class_ alpaca.data.requests.BaseOptionLatestDataRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _feed:Optional\[OptionsFeed\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.BaseOptionLatestDataRequest "Permalink to this definition") A base request object for retrieving the latest data for options. You most likely should not use this directly and instead use the asset class specific request objects. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.BaseOptionLatestDataRequest.symbol_or_symbols "Permalink to this definition") The option identifier or list of option identifiers. Type: Union\[str, List\[str\]\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.BaseOptionLatestDataRequest.feed "Permalink to this definition") The source feed of the data. opra or indicative. Default: opra if the user has the options subscription, indicative otherwise. Type: Optional\[OptionsFeed\] ## OptionBarsRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html\#optionbarsrequest "Permalink to this heading") _class_ alpaca.data.requests.OptionBarsRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_, _timeframe:[TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame "alpaca.data.timeframe.TimeFrame")_) [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionBarsRequest "Permalink to this definition") The request model for retrieving bar data for option contracts. See BaseBarsRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionBarsRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] timeframe [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionBarsRequest.timeframe "Permalink to this definition") The length of time (also known as time interval) for which each Bar represents (i.e. 5 Min bars, 1 Day bars). Type: [TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame "alpaca.data.timeframe.TimeFrame") start [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionBarsRequest.start "Permalink to this definition") The beginning of the time period for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionBarsRequest.end "Permalink to this definition") The end of the time period for desired data. Defaults to now. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionBarsRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionBarsRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] ## OptionTradesRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html\#optiontradesrequest "Permalink to this heading") _class_ alpaca.data.requests.OptionTradesRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionTradesRequest "Permalink to this definition") This request class is used to submit a request for option trade data. See BaseTimeseriesDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionTradesRequest.symbol_or_symbols "Permalink to this definition") The option identifier or list of option identifiers. Type: Union\[str, List\[str\]\] start [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionTradesRequest.start "Permalink to this definition") The beginning of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionTradesRequest.end "Permalink to this definition") The end of the time interval for desired data. Defaults to now. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionTradesRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionTradesRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] ## OptionLatestQuoteRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html\#optionlatestquoterequest "Permalink to this heading") _class_ alpaca.data.requests.OptionLatestQuoteRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _feed:Optional\[OptionsFeed\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestQuoteRequest "Permalink to this definition") This request class is used to submit a request for the latest option quote data. See BaseOptionLatestDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestQuoteRequest.symbol_or_symbols "Permalink to this definition") The option identifier or list of option identifiers. Type: Union\[str, List\[str\]\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestQuoteRequest.feed "Permalink to this definition") The source feed of the data. opra or indicative. Default: opra if the user has the options subscription, indicative otherwise. Type: Optional\[OptionsFeed\] ## OptionLatestTradeRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html\#optionlatesttraderequest "Permalink to this heading") _class_ alpaca.data.requests.OptionLatestTradeRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _feed:Optional\[OptionsFeed\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestTradeRequest "Permalink to this definition") This request class is used to submit a request for the latest option trade data. See BaseOptionLatestDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestTradeRequest.symbol_or_symbols "Permalink to this definition") The option identifier or list of option identifiers. Type: Union\[str, List\[str\]\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionLatestTradeRequest.feed "Permalink to this definition") The source feed of the data. opra or indicative. Default: opra if the user has the options subscription, indicative otherwise. Type: Optional\[OptionsFeed\] ## OptionSnapshotRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html\#optionsnapshotrequest "Permalink to this heading") _class_ alpaca.data.requests.OptionSnapshotRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _feed:Optional\[OptionsFeed\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionSnapshotRequest "Permalink to this definition") This request class is used to submit a request for snapshot data for options. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionSnapshotRequest.symbol_or_symbols "Permalink to this definition") The option identifier or list of option identifiers. Type: Union\[str, List\[str\]\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionSnapshotRequest.feed "Permalink to this definition") The source feed of the data. opra or indicative. Default: opra if the user has the options subscription, indicative otherwise. Type: Optional\[OptionsFeed\] ## OptionChainRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html\#optionchainrequest "Permalink to this heading") _class_ alpaca.data.requests.OptionChainRequest( _\*_, _underlying\_symbol:str_, _feed:Optional\[OptionsFeed\]=None_, _type:Optional\[ContractType\]=None_, _strike\_price\_gte:Optional\[float\]=None_, _strike\_price\_lte:Optional\[float\]=None_, _expiration\_date:Optional\[Union\[date,str\]\]=None_, _expiration\_date\_gte:Optional\[Union\[date,str\]\]=None_, _expiration\_date\_lte:Optional\[Union\[date,str\]\]=None_, _root\_symbol:Optional\[str\]=None_, _updated\_since:Optional\[datetime\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest "Permalink to this definition") This request class is used to submit a request for option chain data for options. underlying\_symbol [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.underlying_symbol "Permalink to this definition") The underlying\_symbol for option contracts. Type: str feed [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.feed "Permalink to this definition") The source feed of the data. opra or indicative. Default: opra if the user has the options subscription, indicative otherwise. Type: Optional\[OptionsFeed\] type [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.type "Permalink to this definition") Filter contracts by the type (call or put). Type: Optional\[ContractType\] strike\_price\_gte [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.strike_price_gte "Permalink to this definition") Filter contracts with strike price greater than or equal to the specified value. Type: Optional\[float\] strike\_price\_lte [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.strike_price_lte "Permalink to this definition") Filter contracts with strike price less than or equal to the specified value. Type: Optional\[float\] expiration\_date [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.expiration_date "Permalink to this definition") Filter contracts by the exact expiration date (format: YYYY-MM-DD). Type: Optional\[Union\[date, str\]\] expiration\_date\_gte [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.expiration_date_gte "Permalink to this definition") Filter contracts with expiration date greater than or equal to the specified date. Type: Optional\[Union\[date, str\]\] expiration\_date\_lte [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.expiration_date_lte "Permalink to this definition") Filter contracts with expiration date less than or equal to the specified date. Type: Optional\[Union\[date, str\]\] root\_symbol [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.root_symbol "Permalink to this definition") Filter contracts by the root symbol. Type: Optional\[str\] updated\_since [#](https://alpaca.markets/sdks/python/api_reference/data/option/requests.html#alpaca.data.requests.OptionChainRequest.updated_since "Permalink to this definition") Filter to snapshots that were updated since this timestamp. Type: Optional\[datetime\] ## Live Stock Data ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Real-Time Data [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html\#real-time-data "Permalink to this heading") ## StockDataStream [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html\#stockdatastream "Permalink to this heading") _class_ alpaca.data.live.stock.StockDataStream( _api\_key:str_, _secret\_key:str_, _raw\_data:bool=False_, _feed:[DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")=DataFeed.IEX_, _websocket\_params:Optional\[Dict\]=None_, _url\_override:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream "Permalink to this definition") A WebSocket client for streaming live stock data. _async_ close()→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.close "Permalink to this definition") Closes the websocket connection. register\_trade\_cancels( _handler:Callable\[\[Union\[TradeCancel,Dict\]\],Awaitable\[None\]\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.register_trade_cancels "Permalink to this definition") Register a trade cancel handler. You can only subscribe to trade cancels by subscribing to the underlying trades. Parameters: **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ _TradeCancel_ _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback function to handle the incoming data. register\_trade\_corrections( _handler:Callable\[\[Union\[TradeCorrection,Dict\]\],Awaitable\[None\]\]_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.register_trade_corrections "Permalink to this definition") Register a trade correction handler. You can only subscribe to trade corrections by subscribing to the underlying trades. Parameters: **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ _TradeCorrection_ _,_ _Dict_ _\]_ _\]_) – The coroutine callback\ function to handle the incoming data.\ \ run()→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.run "Permalink to this definition")\ \ Starts up the websocket connection’s event loop\ \ stop()→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.stop "Permalink to this definition")\ \ Stops the websocket connection.\ \ _async_ stop\_ws()→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.stop_ws "Permalink to this definition")\ \ Signals websocket connection should close by adding a closing message to the stop\_stream\_queue\ \ subscribe\_bars( _handler:Callable\[\[Union\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.subscribe_bars "Permalink to this definition")\ \ Subscribe to minute bars\ \ Parameters:\ \ - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Trade_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback\ function to handle the incoming data.\ \ - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything.\ \ \ subscribe\_daily\_bars( _handler:Callable\[\[Union\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.subscribe_daily_bars "Permalink to this definition")\ \ Subscribe to daily bars\ \ Parameters:\ \ - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Bar_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback\ function to handle the incoming data.\ \ - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything.\ \ \ subscribe\_quotes( _handler:Callable\[\[Union\[ [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.subscribe_quotes "Permalink to this definition")\ \ Subscribe to quotes\ \ Parameters:\ \ - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Trade_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback\ function to handle the incoming data.\ \ - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything.\ \ \ subscribe\_trades( _handler:Callable\[\[Union\[ [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.subscribe_trades "Permalink to this definition")\ \ Subscribe to trades.\ \ Parameters:\ \ - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Trade_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback\ function to handle the incoming data.\ \ - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything.\ \ \ subscribe\_trading\_statuses( _handler:Callable\[\[Union\[TradingStatus,Dict\]\],Awaitable\[None\]\]_, _\*symbols_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.subscribe_trading_statuses "Permalink to this definition")\ \ Subscribe to trading statuses (halts, resumes)\ \ Parameters:\ \ - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ _TradingStatus_ _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback\ function to handle the incoming data.\ \ - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything.\ \ \ subscribe\_updated\_bars( _handler:Callable\[\[Union\[ [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar"),Dict\]\],Awaitable\[None\]\]_, _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.subscribe_updated_bars "Permalink to this definition")\ \ Subscribe to updated minute bars\ \ Parameters:\ \ - **handler** ( _Callable_ _\[_ _\[_ _Union_ _\[_ [_Bar_](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar") _,_ _Dict_ _\]_ _\]_ _,_ _Awaitable_ _\[_ _None_ _\]_ _\]_) – The coroutine callback\ function to handle the incoming data.\ \ - **\*symbols** – List of ticker symbols to subscribe to. “\*” for everything.\ \ \ unsubscribe\_bars( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.unsubscribe_bars "Permalink to this definition")\ \ Unsubscribe from minute bars\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_daily\_bars( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.unsubscribe_daily_bars "Permalink to this definition")\ \ Unsubscribe from daily bars\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_quotes( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.unsubscribe_quotes "Permalink to this definition")\ \ Unsubscribe from quotes\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_trades( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.unsubscribe_trades "Permalink to this definition")\ \ Unsubscribe from trades\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_trading\_statuses( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.unsubscribe_trading_statuses "Permalink to this definition")\ \ Unsubscribe from trading statuses\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything.\ \ unsubscribe\_updated\_bars( _\*symbols:str_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/live.html#alpaca.data.live.stock.StockDataStream.unsubscribe_updated_bars "Permalink to this definition")\ \ Unsubscribe from updated bars\ \ Parameters:\ \ **\*symbols** ( _str_) – List of ticker symbols to unsubscribe from. “\*” for everything. ## Corporate Actions API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/corporate-actions.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Corporate Actions [\#](https://alpaca.markets/sdks/python/api_reference/broker/corporate-actions.html\#corporate-actions "Permalink to this heading") The corporate actions endpoints allow you to retrieve data for splits, mergers, and other corporate events. ## Get Corporate Actions [\#](https://alpaca.markets/sdks/python/api_reference/broker/corporate-actions.html\#get-corporate-actions "Permalink to this heading") BrokerClient.get\_corporate\_announcements( _filter:[GetCorporateAnnouncementsRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCorporateAnnouncementsRequest "alpaca.trading.requests.GetCorporateAnnouncementsRequest")_)→Union\[List\[ [CorporateActionAnnouncement](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement "alpaca.trading.models.CorporateActionAnnouncement")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/corporate-actions.html#alpaca.broker.client.BrokerClient.get_corporate_announcements "Permalink to this definition") Returns corporate action announcements data given specified search criteria. :param filter: The parameters to filter the search by. :type filter: GetCorporateAnnouncementsRequest Returns: The resulting announcements from the search. Return type: List\[ [CorporateActionAnnouncement](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement "alpaca.trading.models.CorporateActionAnnouncement")\] ## Get Corporate Action By ID [\#](https://alpaca.markets/sdks/python/api_reference/broker/corporate-actions.html\#get-corporate-action-by-id "Permalink to this heading") BrokerClient.get\_corporate\_announcement\_by\_id( _corporate\_announcment\_id:Union\[UUID,str\]_)→Union\[ [CorporateActionAnnouncement](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement "alpaca.trading.models.CorporateActionAnnouncement"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/corporate-actions.html#alpaca.broker.client.BrokerClient.get_corporate_announcement_by_id "Permalink to this definition") Returns a specific corporate action announcement. :param corporate\_announcment\_id: The id of the desired corporate action announcement Returns: The corporate action queried. Return type: [CorporateActionAnnouncement](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement "alpaca.trading.models.CorporateActionAnnouncement") ## Crypto Data Requests ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Requests [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html\#requests "Permalink to this heading") ## BaseCryptoLatestDataRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html\#basecryptolatestdatarequest "Permalink to this heading") _class_ alpaca.data.requests.BaseCryptoLatestDataRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.BaseCryptoLatestDataRequest "Permalink to this definition") A base request object for retrieving the latest data for crypto. You most likely should not use this directly and instead use the asset class specific request objects. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.BaseCryptoLatestDataRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] ## CryptoBarsRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html\#cryptobarsrequest "Permalink to this heading") _class_ alpaca.data.requests.CryptoBarsRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_, _timeframe:[TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame "alpaca.data.timeframe.TimeFrame")_) [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoBarsRequest "Permalink to this definition") The request model for retrieving bar data for cryptocurrencies. See BaseBarsRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoBarsRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] timeframe [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoBarsRequest.timeframe "Permalink to this definition") The period over which the bars should be aggregated. (i.e. 5 Min bars, 1 Day bars) Type: [TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame "alpaca.data.timeframe.TimeFrame") start [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoBarsRequest.start "Permalink to this definition") The beginning of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoBarsRequest.end "Permalink to this definition") The end of the time interval for desired data. Defaults to now. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoBarsRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoBarsRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] ## CryptoQuoteRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html\#cryptoquoterequest "Permalink to this heading") _class_ alpaca.data.requests.CryptoQuoteRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoQuoteRequest "Permalink to this definition") This request class is used to submit a request for crypto quote data. See BaseTimeseriesDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoQuoteRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] start [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoQuoteRequest.start "Permalink to this definition") The beginning of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoQuoteRequest.end "Permalink to this definition") The end of the time interval for desired data. Defaults to now. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoQuoteRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoQuoteRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] ## CryptoTradesRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html\#cryptotradesrequest "Permalink to this heading") _class_ alpaca.data.requests.CryptoTradesRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoTradesRequest "Permalink to this definition") This request class is used to submit a request for crypto trade data. See BaseTimeseriesDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoTradesRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] start [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoTradesRequest.start "Permalink to this definition") The beginning of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoTradesRequest.end "Permalink to this definition") The end of the time interval for desired data. Defaults to now. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoTradesRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoTradesRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] ## CryptoLatestQuoteRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html\#cryptolatestquoterequest "Permalink to this heading") _class_ alpaca.data.requests.CryptoLatestQuoteRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoLatestQuoteRequest "Permalink to this definition") This request class is used to submit a request for the latest crypto quote data. See BaseCryptoLatestDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoLatestQuoteRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] ## CryptoLatestTradeRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html\#cryptolatesttraderequest "Permalink to this heading") _class_ alpaca.data.requests.CryptoLatestTradeRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoLatestTradeRequest "Permalink to this definition") This request class is used to submit a request for the latest crypto trade data. See BaseCryptoLatestDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoLatestTradeRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] ## CryptoSnapshotRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html\#cryptosnapshotrequest "Permalink to this heading") _class_ alpaca.data.requests.CryptoSnapshotRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_) [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoSnapshotRequest "Permalink to this definition") This request class is used to submit a request for snapshot data for crypto. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoSnapshotRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] ## Alpaca Trading Positions ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Positions [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html\#positions "Permalink to this heading") ## Get All Open Positions For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html\#get-all-open-positions-for-account "Permalink to this heading") BrokerClient.get\_all\_positions\_for\_account( _account\_id:Union\[UUID,str\]_)→Union\[List\[ [Position](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position "alpaca.trading.models.Position")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html#alpaca.broker.client.BrokerClient.get_all_positions_for_account "Permalink to this definition") Gets all the current positions for an account. Parameters: **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to get the open positions for. Returns: List of open positions from the account. Return type: List\[ [Position](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position "alpaca.trading.models.Position")\] ## Get A Open Position For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html\#get-a-open-position-for-account "Permalink to this heading") BrokerClient.get\_open\_position\_for\_account( _account\_id:Union\[UUID,str\]_, _symbol\_or\_asset\_id:Union\[UUID,str\]_)→Union\[ [Position](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position "alpaca.trading.models.Position"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html#alpaca.broker.client.BrokerClient.get_open_position_for_account "Permalink to this definition") Gets the open position for an account for a single asset. Throws an APIError if the position does not exist. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to get the open position for. - **symbol\_or\_asset\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The symbol name of asset id of the position to get from the account. Returns: Open position of the asset from the account. Return type: [Position](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.Position "alpaca.trading.models.Position") ## Close All Positions For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html\#close-all-positions-for-account "Permalink to this heading") BrokerClient.close\_all\_positions\_for\_account( _account\_id:Union\[UUID,str\]_, _cancel\_orders:Optional\[bool\]=None_)→Union\[List\[ [ClosePositionResponse](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.ClosePositionResponse "alpaca.trading.models.ClosePositionResponse")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html#alpaca.broker.client.BrokerClient.close_all_positions_for_account "Permalink to this definition") Liquidates all positions for an account. Places an order for each open position to liquidate. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to close the positions for. - **cancel\_orders** ( _Optional_ _\[_ _bool_ _\]_) – If true is specified, cancel all open orders before liquidating all positions. Returns: A list of responses from each closed position containing the status code and order id. Return type: List\[ [ClosePositionResponse](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.ClosePositionResponse "alpaca.trading.models.ClosePositionResponse")\] ## Close A Position For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html\#close-a-position-for-account "Permalink to this heading") BrokerClient.close\_position\_for\_account( _account\_id:Union\[UUID,str\]_, _symbol\_or\_asset\_id:Union\[UUID,str\]_, _close\_options:Optional\[ [ClosePositionRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.ClosePositionRequest "alpaca.trading.requests.ClosePositionRequest")\]=None_)→Union\[Order,Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/positions.html#alpaca.broker.client.BrokerClient.close_position_for_account "Permalink to this definition") Liquidates the position for an account for a single asset. Places a single order to close the position for the asset. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to close the position for. - **symbol\_or\_asset\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The symbol name of asset id of the position to close on the account. - **close\_options** – The various close position request parameters. Returns: The order that was placed to close the position. Return type: alpaca.broker.models.Order ## Trading API Client ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/trading-client.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # TradingClient [\#](https://alpaca.markets/sdks/python/api_reference/trading/trading-client.html\#tradingclient "Permalink to this heading") _class_ alpaca.trading.client.TradingClient( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _paper:bool=True_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/trading/trading-client.html#alpaca.trading.client.TradingClient "Permalink to this definition") A client to interact with the trading API, in both paper and live mode. \_\_init\_\_( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _paper:bool=True_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_)→None [#](https://alpaca.markets/sdks/python/api_reference/trading/trading-client.html#alpaca.trading.client.TradingClient.__init__ "Permalink to this definition") Instantiates a client for trading and managing personal brokerage accounts. Parameters: - **api\_key** ( _Optional_ _\[_ _str_ _\]_) – The API key for trading. Use paper keys if paper is set to true. - **secret\_key** ( _Optional_ _\[_ _str_ _\]_) – The secret key for trading. Use paper keys if paper is set to true. - **oauth\_token** ( _Optional_ _\[_ _str_ _\]_) – The oauth token for trading on behalf of end user. - **paper** ( _bool_) – True is paper trading should be enabled. - **raw\_data** ( _bool_) – Whether API responses should be wrapped in data models or returned raw. This has not been implemented yet. - **url\_override** ( _Optional_ _\[_ _str_ _\]_) – If specified allows you to override the base url the client points to for proxy/testing. ## Historical Stock Data ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Historical Data [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html\#historical-data "Permalink to this heading") ## StockHistoricalDataClient [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html\#stockhistoricaldataclient "Permalink to this heading") _class_ alpaca.data.historical.stock.StockHistoricalDataClient( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_, _sandbox:bool=False_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#alpaca.data.historical.stock.StockHistoricalDataClient "Permalink to this definition") The REST client for interacting with Alpaca Market Data API stock data endpoints. Learn more on [https://alpaca.markets/docs/market-data/](https://alpaca.markets/docs/market-data/) \_\_init\_\_( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_, _sandbox:bool=False_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#alpaca.data.historical.stock.StockHistoricalDataClient.__init__ "Permalink to this definition") Instantiates a Historical Data Client. Parameters: - **api\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API key. Defaults to None. - **secret\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API secret key. Defaults to None. - **oauth\_token** ( _Optional_ _\[_ _str_ _\]_) – The oauth token if authenticating via OAuth. Defaults to None. - **use\_basic\_auth** ( _bool_ _,_ _optional_) – If true, API requests will use basic authorization headers. Set to true if using broker api sandbox credentials - **raw\_data** ( _bool_ _,_ _optional_) – If true, API responses will not be wrapped and raw responses will be returned from methods. Defaults to False. This has not been implemented yet. - **url\_override** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – If specified allows you to override the base url the client points to for proxy/testing. - **sandbox** ( _bool_) – True if using sandbox mode. Defaults to False. ## Get Stock Bars [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html\#get-stock-bars "Permalink to this heading") StockHistoricalDataClient.get\_stock\_bars( _request\_params:[StockBarsRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest "alpaca.data.requests.StockBarsRequest")_)→Union\[ [BarSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.BarSet "alpaca.data.models.bars.BarSet"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#alpaca.data.historical.stock.StockHistoricalDataClient.get_stock_bars "Permalink to this definition") Returns bar data for an equity or list of equities over a given time period and timeframe. Parameters: **request\_params** ( _GetStockBarsRequest_) – The request object for retrieving stock bar data. Returns: The bar data either in raw or wrapped form Return type: Union\[ [BarSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.BarSet "alpaca.data.models.bars.BarSet"), RawData\] ## Get Stock Quotes [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html\#get-stock-quotes "Permalink to this heading") StockHistoricalDataClient.get\_stock\_quotes( _request\_params:[StockQuotesRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest "alpaca.data.requests.StockQuotesRequest")_)→Union\[ [QuoteSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.QuoteSet "alpaca.data.models.quotes.QuoteSet"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#alpaca.data.historical.stock.StockHistoricalDataClient.get_stock_quotes "Permalink to this definition") Returns level 1 quote data over a given time period for a security or list of securities. Parameters: **request\_params** ( _GetStockQuotesRequest_) – The request object for retrieving stock quote data. Returns: The quote data either in raw or wrapped form Return type: Union\[ [QuoteSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.QuoteSet "alpaca.data.models.quotes.QuoteSet"), RawData\] ## Get Stock Trades [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html\#get-stock-trades "Permalink to this heading") StockHistoricalDataClient.get\_stock\_trades( _request\_params:[StockTradesRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest "alpaca.data.requests.StockTradesRequest")_)→Union\[ [TradeSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.TradeSet "alpaca.data.models.trades.TradeSet"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#alpaca.data.historical.stock.StockHistoricalDataClient.get_stock_trades "Permalink to this definition") Returns the price and sales history over a given time period for a security or list of securities. Parameters: **request\_params** ( _GetStockTradesRequest_) – The request object for retrieving stock trade data. Returns: The trade data either in raw or wrapped form Return type: Union\[ [TradeSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.TradeSet "alpaca.data.models.trades.TradeSet"), RawData\] ## Get Stock Latest Quote [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html\#get-stock-latest-quote "Permalink to this heading") StockHistoricalDataClient.get\_stock\_latest\_quote( _request\_params:[StockLatestQuoteRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestQuoteRequest "alpaca.data.requests.StockLatestQuoteRequest")_)→Union\[Dict\[str, [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#alpaca.data.historical.stock.StockHistoricalDataClient.get_stock_latest_quote "Permalink to this definition") Retrieves the latest quote for an equity symbol or list of equity symbols. Parameters: **request\_params** ( [_StockLatestQuoteRequest_](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestQuoteRequest "alpaca.data.requests.StockLatestQuoteRequest")) – The request object for retrieving the latest quote data. Returns: The latest quote in raw or wrapped format Return type: Union\[Dict\[str, [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote")\], RawData\] ## Get Stock Latest Trade [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html\#get-stock-latest-trade "Permalink to this heading") StockHistoricalDataClient.get\_stock\_latest\_trade( _request\_params:[StockLatestTradeRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestTradeRequest "alpaca.data.requests.StockLatestTradeRequest")_)→Union\[Dict\[str, [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#alpaca.data.historical.stock.StockHistoricalDataClient.get_stock_latest_trade "Permalink to this definition") Retrieves the latest trade for an equity symbol or list of equities. Parameters: **request\_params** ( [_StockLatestTradeRequest_](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestTradeRequest "alpaca.data.requests.StockLatestTradeRequest")) – The request object for retrieving the latest trade data. Returns: The latest trade in raw or wrapped format Return type: Union\[Dict\[str, [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade")\], RawData\] ## Get Stock Latest Bar [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html\#get-stock-latest-bar "Permalink to this heading") StockHistoricalDataClient.get\_stock\_latest\_bar( _request\_params:StockLatestBarRequest_)→Union\[Dict\[str, [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#alpaca.data.historical.stock.StockHistoricalDataClient.get_stock_latest_bar "Permalink to this definition") Retrieves the latest minute bar for an equity symbol or list of equity symbols. Parameters: **request\_params** ( _StockLatestBarRequest_) – The request object for retrieving the latest bar data. Returns: The latest minute bar in raw or wrapped format Return type: Union\[Dict\[str, [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar")\], RawData\] ## Get Stock Snapshot [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html\#get-stock-snapshot "Permalink to this heading") StockHistoricalDataClient.get\_stock\_snapshot( _request\_params:[StockSnapshotRequest](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockSnapshotRequest "alpaca.data.requests.StockSnapshotRequest")_)→Union\[Dict\[str, [Snapshot](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.Snapshot "alpaca.data.models.snapshots.Snapshot")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/stock/historical.html#alpaca.data.historical.stock.StockHistoricalDataClient.get_stock_snapshot "Permalink to this definition") Returns snapshots of queried symbols. Snapshots contain latest trade, latest quote, latest minute bar, latest daily bar and previous daily bar data for the queried symbols. Parameters: **request\_params** ( [_StockSnapshotRequest_](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockSnapshotRequest "alpaca.data.requests.StockSnapshotRequest")) – The request object for retrieving snapshot data. Returns: The snapshot data either in raw or wrapped form Return type: Union\[SnapshotSet, RawData\] ## Crypto Historical Data ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Historical Data [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#historical-data "Permalink to this heading") ## CryptoHistoricalDataClient [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#cryptohistoricaldataclient "Permalink to this heading") _class_ alpaca.data.historical.crypto.CryptoHistoricalDataClient( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _sandbox:bool=False_) [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient "Permalink to this definition") A REST client for retrieving crypto market data. This client does not need any authentication to use. You can instantiate it with or without API keys. However, authenticating increases your data rate limit. Learn more about crypto historical data here: [https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/](https://alpaca.markets/docs/api-references/market-data-api/crypto-pricing-data/historical/) \_\_init\_\_( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _sandbox:bool=False_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient.__init__ "Permalink to this definition") Instantiates a Historical Data Client for Crypto Data. Parameters: - **api\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API key. Defaults to None. - **secret\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API secret key. Defaults to None. - **oauth\_token** ( _Optional_ _\[_ _str_ _\]_) – The oauth token if authenticating via OAuth. Defaults to None. - **raw\_data** ( _bool_ _,_ _optional_) – If true, API responses will not be wrapped and raw responses will be returned from methods. Defaults to False. This has not been implemented yet. - **url\_override** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – If specified allows you to override the base url the client points to for proxy/testing. - **use\_basic\_auth** ( _bool_ _,_ _optional_) – If true, API requests will use basic authorization headers. Set to true if using broker api sandbox credentials - **sandbox** ( _bool_) – True if using sandbox mode. Defaults to False. ## Get Crypto Bars [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#get-crypto-bars "Permalink to this heading") CryptoHistoricalDataClient.get\_crypto\_bars( _request\_params:[CryptoBarsRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoBarsRequest "alpaca.data.requests.CryptoBarsRequest")_, _feed:[CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")=CryptoFeed.US_)→Union\[ [BarSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.BarSet "alpaca.data.models.bars.BarSet"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient.get_crypto_bars "Permalink to this definition") Gets bar/candle data for a cryptocurrency or list of cryptocurrencies. Parameters: - **request\_params** ( [_CryptoBarsRequest_](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoBarsRequest "alpaca.data.requests.CryptoBarsRequest")) – The parameters for the request. - **feed** ( [_CryptoFeed_](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")) – The data feed for crypto bars. Returns: The crypto bar data either in raw or wrapped form Return type: Union\[ [BarSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.BarSet "alpaca.data.models.bars.BarSet"), RawData\] ## Get Crypto Quotes [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#get-crypto-quotes "Permalink to this heading") CryptoHistoricalDataClient.get\_crypto\_quotes( _request\_params:[CryptoQuoteRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoQuoteRequest "alpaca.data.requests.CryptoQuoteRequest")_, _feed:[CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")=CryptoFeed.US_)→Union\[ [QuoteSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.QuoteSet "alpaca.data.models.quotes.QuoteSet"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient.get_crypto_quotes "Permalink to this definition") Returns the quote data for a cryptocurrency or list of cryptocurrencies. Parameters: - **request\_params** ( [_CryptoQuoteRequest_](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoQuoteRequest "alpaca.data.requests.CryptoQuoteRequest")) – The parameters for the request. - **feed** ( [_CryptoFeed_](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")) – The data feed for crypto quotes. Returns: The crypto quote data either in raw or wrapped form Return type: Union\[ [QuoteSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.QuoteSet "alpaca.data.models.quotes.QuoteSet"), RawData\] ## Get Crypto Trades [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#get-crypto-trades "Permalink to this heading") CryptoHistoricalDataClient.get\_crypto\_trades( _request\_params:[CryptoTradesRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoTradesRequest "alpaca.data.requests.CryptoTradesRequest")_, _feed:[CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")=CryptoFeed.US_)→Union\[ [TradeSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.TradeSet "alpaca.data.models.trades.TradeSet"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient.get_crypto_trades "Permalink to this definition") Returns the price and sales history over a given time period for a cryptocurrency or list of cryptocurrencies. Parameters: - **request\_params** ( [_CryptoTradesRequest_](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoTradesRequest "alpaca.data.requests.CryptoTradesRequest")) – The parameters for the request. - **feed** ( [_CryptoFeed_](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")) – The data feed for crypto trades. Returns: The trade data either in raw or wrapped form Return type: Union\[ [TradeSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.TradeSet "alpaca.data.models.trades.TradeSet"), RawData\] ## Get Crypto Latest Quote [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#get-crypto-latest-quote "Permalink to this heading") CryptoHistoricalDataClient.get\_crypto\_latest\_quote( _request\_params:[CryptoLatestQuoteRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoLatestQuoteRequest "alpaca.data.requests.CryptoLatestQuoteRequest")_, _feed:[CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")=CryptoFeed.US_)→Union\[Dict\[str, [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient.get_crypto_latest_quote "Permalink to this definition") Returns the latest quote for a coin. Parameters: - **request\_params** ( [_CryptoLatestQuoteRequest_](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoLatestQuoteRequest "alpaca.data.requests.CryptoLatestQuoteRequest")) – The parameters for the request. - **feed** ( [_CryptoFeed_](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")) – The data feed for the latest crypto quote. Returns: The latest quote in raw or wrapped format Return type: Union\[Dict\[str, [Quote](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.quotes.Quote "alpaca.data.models.quotes.Quote")\], RawData\] ## Get Crypto Latest Trade [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#get-crypto-latest-trade "Permalink to this heading") CryptoHistoricalDataClient.get\_crypto\_latest\_trade( _request\_params:[CryptoLatestTradeRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoLatestTradeRequest "alpaca.data.requests.CryptoLatestTradeRequest")_, _feed:[CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")=CryptoFeed.US_)→Union\[Dict\[str, [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient.get_crypto_latest_trade "Permalink to this definition") Returns the latest trade for a coin. Parameters: - **request\_params** ( [_CryptoLatestTradeRequest_](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoLatestTradeRequest "alpaca.data.requests.CryptoLatestTradeRequest")) – The parameters for the request. - **feed** ( [_CryptoFeed_](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")) – The data feed for the latest crypto trade. Returns: The latest trade in raw or wrapped format Return type: Union\[Dict\[str, [Trade](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.trades.Trade "alpaca.data.models.trades.Trade")\], RawData\] ## Get Crypto Latest Bar [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#get-crypto-latest-bar "Permalink to this heading") CryptoHistoricalDataClient.get\_crypto\_latest\_bar( _request\_params:CryptoLatestBarRequest_, _feed:[CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")=CryptoFeed.US_)→Union\[Dict\[str, [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient.get_crypto_latest_bar "Permalink to this definition") Returns the latest minute bar for a coin. Parameters: - **request\_params** ( _CryptoLatestBarRequest_) – The parameters for the request. - **feed** ( [_CryptoFeed_](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")) – The data feed for the latest crypto bar. Returns: The latest bar in raw or wrapped format Return type: Union\[Dict\[str, [Bar](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.bars.Bar "alpaca.data.models.bars.Bar")\], RawData\] ## Get Crypto Snapshot [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#get-crypto-snapshot "Permalink to this heading") CryptoHistoricalDataClient.get\_crypto\_snapshot( _request\_params:[CryptoSnapshotRequest](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoSnapshotRequest "alpaca.data.requests.CryptoSnapshotRequest")_, _feed:[CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")=CryptoFeed.US_)→Union\[ [Snapshot](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.snapshots.Snapshot "alpaca.data.models.snapshots.Snapshot"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient.get_crypto_snapshot "Permalink to this definition") Returns snapshots of queried crypto symbols. Snapshots contain latest trade, latest quote, latest minute bar, latest daily bar and previous daily bar data for the queried symbols. Parameters: - **request\_params** ( [_CryptoSnapshotRequest_](https://alpaca.markets/sdks/python/api_reference/data/crypto/requests.html#alpaca.data.requests.CryptoSnapshotRequest "alpaca.data.requests.CryptoSnapshotRequest")) – The parameters for the snapshot request. - **feed** ( [_CryptoFeed_](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")) – The data feed for crypto snapshots. Returns: The snapshot data either in raw or wrapped form Return type: Union\[SnapshotSet, RawData\] ## Get Crypto Latest Orderbook [\#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html\#get-crypto-latest-orderbook "Permalink to this heading") CryptoHistoricalDataClient.get\_crypto\_latest\_orderbook( _request\_params:CryptoLatestOrderbookRequest_, _feed:[CryptoFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")=CryptoFeed.US_)→Union\[Dict\[str, [Orderbook](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.Orderbook "alpaca.data.models.orderbooks.Orderbook")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/data/crypto/historical.html#alpaca.data.historical.crypto.CryptoHistoricalDataClient.get_crypto_latest_orderbook "Permalink to this definition") Returns the latest orderbook state for the queried crypto symbols. Parameters: - **request\_params** ( _CryptoOrderbookRequest_) – The parameters for the orderbook request. - **feed** ( [_CryptoFeed_](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CryptoFeed "alpaca.data.enums.CryptoFeed")) – The data feed for the latest crypto orderbook. Returns: The orderbook data either in raw or wrapped form. Return type: Union\[Dict\[str, [Orderbook](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.orderbooks.Orderbook "alpaca.data.models.orderbooks.Orderbook")\], RawData\] ## Corporate Actions API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/trading/corporate-actions.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Corporate Actions [\#](https://alpaca.markets/sdks/python/api_reference/trading/corporate-actions.html\#corporate-actions "Permalink to this heading") The corporate actions endpoints allow you to retrieve data for splits, mergers, and other corporate events. ## Get Corporate Actions [\#](https://alpaca.markets/sdks/python/api_reference/trading/corporate-actions.html\#get-corporate-actions "Permalink to this heading") TradingClient.get\_corporate\_announcements( _filter:[GetCorporateAnnouncementsRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetCorporateAnnouncementsRequest "alpaca.trading.requests.GetCorporateAnnouncementsRequest")_)→Union\[List\[ [CorporateActionAnnouncement](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement "alpaca.trading.models.CorporateActionAnnouncement")\],Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/corporate-actions.html#alpaca.trading.client.TradingClient.get_corporate_announcements "Permalink to this definition") Returns corporate action announcements data given specified search criteria. :param filter: The parameters to filter the search by. :type filter: GetCorporateAnnouncementsRequest Returns: The resulting announcements from the search. Return type: List\[ [CorporateActionAnnouncement](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement "alpaca.trading.models.CorporateActionAnnouncement")\] ## Get Corporate Action By ID [\#](https://alpaca.markets/sdks/python/api_reference/trading/corporate-actions.html\#get-corporate-action-by-id "Permalink to this heading") TradingClient.get\_corporate\_announcement\_by\_id( _corporate\_announcment\_id:Union\[UUID,str\]_)→Union\[ [CorporateActionAnnouncement](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement "alpaca.trading.models.CorporateActionAnnouncement"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/trading/corporate-actions.html#alpaca.trading.client.TradingClient.get_corporate_announcement_by_id "Permalink to this definition") Returns a specific corporate action announcement. :param corporate\_announcment\_id: The id of the desired corporate action announcement Returns: The corporate action queried. Return type: [CorporateActionAnnouncement](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.CorporateActionAnnouncement "alpaca.trading.models.CorporateActionAnnouncement") ## Broker API Client ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/broker-client.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # BrokerClient [\#](https://alpaca.markets/sdks/python/api_reference/broker/broker-client.html\#brokerclient "Permalink to this heading") _class_ alpaca.broker.client.BrokerClient( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _api\_version:str='v1'_, _sandbox:bool=True_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/broker-client.html#alpaca.broker.client.BrokerClient "Permalink to this definition") Client for accessing Broker API services **Note on the \`handle\_pagination\` param you’ll see across these methods** By default, these methods will attempt to handle the fact that the API paginates results for the specific endpoint for you by returning it all as one List. However, that could: 1\. Take a long time if there are many results to paginate or if you request a small page size and have moderate network latency 2\. Use up a large amount of memory to build all the results at once So for those cases where a single list all at once would be prohibitive you can specify what kind of pagination you want with the handle\_pagination parameter. Please see the PaginationType enum for an explanation as to what the different values mean for what you get back. \_\_init\_\_( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _api\_version:str='v1'_, _sandbox:bool=True_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/broker/broker-client.html#alpaca.broker.client.BrokerClient.__init__ "Permalink to this definition")Parameters: - **api\_key** ( _Optional_ _\[_ _str_ _\]_) – Broker API key - set sandbox to true if using sandbox keys. Defaults to None. - **secret\_key** ( _Optional_ _\[_ _str_ _\]_) – Broker API secret key - set sandbox to true if using sandbox keys. Defaults to None. - **api\_version** ( _str_) – API version. Defaults to ‘v1’. - **sandbox** ( _bool_) – True if using sandbox mode. Defaults to True. - **raw\_data** ( _bool_) – True if you want raw response instead of wrapped responses. Defaults to False. This has not been implemented yet. - **url\_override** ( _Optional_ _\[_ _str_ _\]_) – A url to override and use as the base url. ## Stock Data Requests ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Requests [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#requests "Permalink to this heading") ## BaseStockLatestDataRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#basestocklatestdatarequest "Permalink to this heading") _class_ alpaca.data.requests.BaseStockLatestDataRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _feed:Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\]=None_, _currency:Optional\[SupportedCurrencies\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.BaseStockLatestDataRequest "Permalink to this definition") A base request object for retrieving the latest data for stocks. You most likely should not use this directly and instead use the asset class specific request objects. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.BaseStockLatestDataRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.BaseStockLatestDataRequest.feed "Permalink to this definition") The stock data feed to retrieve from. Type: Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\] currency [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.BaseStockLatestDataRequest.currency "Permalink to this definition") The currency the data should be returned in. Default to USD. Type: Optional\[SupportedCurrencies\] ## StockBarsRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#stockbarsrequest "Permalink to this heading") _class_ alpaca.data.requests.StockBarsRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_, _timeframe:[TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame "alpaca.data.timeframe.TimeFrame")_, _adjustment:Optional\[ [Adjustment](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Adjustment "alpaca.data.enums.Adjustment")\]=None_, _feed:Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\]=None_, _asof:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest "Permalink to this definition") The request model for retrieving bar data for equities. See BaseBarsRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] timeframe [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.timeframe "Permalink to this definition") The period over which the bars should be aggregated. (i.e. 5 Min bars, 1 Day bars) Type: [TimeFrame](https://alpaca.markets/sdks/python/api_reference/data/timeframe.html#alpaca.data.timeframe.TimeFrame "alpaca.data.timeframe.TimeFrame") start [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.start "Permalink to this definition") The beginning of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.end "Permalink to this definition") The end of the time interval for desired data. Defaults to now. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] adjustment [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.adjustment "Permalink to this definition") The type of corporate action data normalization. Type: Optional\[ [Adjustment](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.Adjustment "alpaca.data.enums.Adjustment")\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.feed "Permalink to this definition") The stock data feed to retrieve from. Type: Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] asof [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.asof "Permalink to this definition") The asof date of the queried stock symbol(s) in YYYY-MM-DD format. Type: Optional\[str\] currency [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockBarsRequest.currency "Permalink to this definition") The currency of all prices in ISO 4217 format. Default is USD. Type: Optional\[SupportedCurrencies\] ## StockQuotesRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#stockquotesrequest "Permalink to this heading") _class_ alpaca.data.requests.StockQuotesRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_, _feed:Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\]=None_, _asof:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest "Permalink to this definition") This request class is used to submit a request for stock quote data. See BaseTimeseriesDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] start [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest.start "Permalink to this definition") The beginning of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest.end "Permalink to this definition") The end of the time interval for desired data. Defaults to now. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest.feed "Permalink to this definition") The stock data feed to retrieve from. Type: Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] asof [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest.asof "Permalink to this definition") The asof date of the queried stock symbol(s) in YYYY-MM-DD format. Type: Optional\[str\] currency [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockQuotesRequest.currency "Permalink to this definition") The currency of all prices in ISO 4217 format. Default is USD. Type: Optional\[SupportedCurrencies\] ## StockTradesRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#stocktradesrequest "Permalink to this heading") _class_ alpaca.data.requests.StockTradesRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _start:Optional\[datetime\]=None_, _end:Optional\[datetime\]=None_, _limit:Optional\[int\]=None_, _currency:Optional\[SupportedCurrencies\]=None_, _sort:Optional\[Sort\]=None_, _feed:Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\]=None_, _asof:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest "Permalink to this definition") This request class is used to submit a request for stock trade data. See BaseTimeseriesDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] start [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest.start "Permalink to this definition") The beginning of the time interval for desired data. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] end [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest.end "Permalink to this definition") The end of the time interval for desired data. Defaults to now. Timezone naive inputs assumed to be in UTC. Type: Optional\[datetime\] limit [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest.limit "Permalink to this definition") Upper limit of number of data points to return. Defaults to None. Type: Optional\[int\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest.feed "Permalink to this definition") The stock data feed to retrieve from. Type: Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] asof [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest.asof "Permalink to this definition") The asof date of the queried stock symbol(s) in YYYY-MM-DD format. Type: Optional\[str\] currency [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockTradesRequest.currency "Permalink to this definition") The currency of all prices in ISO 4217 format. Default is USD. Type: Optional\[SupportedCurrencies\] ## StockLatestQuoteRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#stocklatestquoterequest "Permalink to this heading") _class_ alpaca.data.requests.StockLatestQuoteRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _feed:Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\]=None_, _currency:Optional\[SupportedCurrencies\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestQuoteRequest "Permalink to this definition") This request class is used to submit a request for the latest stock quote data. See BaseStockLatestDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestQuoteRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestQuoteRequest.feed "Permalink to this definition") The stock data feed to retrieve from. Type: Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\] currency [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestQuoteRequest.currency "Permalink to this definition") The currency the data should be returned in. Default to USD. Type: Optional\[SupportedCurrencies\] ## StockLatestTradeRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#stocklatesttraderequest "Permalink to this heading") _class_ alpaca.data.requests.StockLatestTradeRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _feed:Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\]=None_, _currency:Optional\[SupportedCurrencies\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestTradeRequest "Permalink to this definition") This request class is used to submit a request for the latest stock trade data. See BaseStockLatestDataRequest for more information on available parameters. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestTradeRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestTradeRequest.feed "Permalink to this definition") The stock data feed to retrieve from. Type: Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\] currency [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockLatestTradeRequest.currency "Permalink to this definition") The currency the data should be returned in. Default to USD. Type: Optional\[SupportedCurrencies\] ## StockSnapshotRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#stocksnapshotrequest "Permalink to this heading") _class_ alpaca.data.requests.StockSnapshotRequest( _\*_, _symbol\_or\_symbols:Union\[str,List\[str\]\]_, _feed:Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\]=None_, _currency:Optional\[SupportedCurrencies\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockSnapshotRequest "Permalink to this definition") This request class is used to submit a request for snapshot data for stocks. symbol\_or\_symbols [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockSnapshotRequest.symbol_or_symbols "Permalink to this definition") The ticker identifier or list of ticker identifiers. Type: Union\[str, List\[str\]\] feed [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockSnapshotRequest.feed "Permalink to this definition") The stock data feed to retrieve from. Type: Optional\[ [DataFeed](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.DataFeed "alpaca.data.enums.DataFeed")\] currency [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.StockSnapshotRequest.currency "Permalink to this definition") The currency the data should be returned in. Default to USD. Type: Optional\[SupportedCurrencies\] ## MostActivesRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#mostactivesrequest "Permalink to this heading") _class_ alpaca.data.requests.MostActivesRequest( _\*_, _top:int=10_, _by:[MostActivesBy](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MostActivesBy "alpaca.data.enums.MostActivesBy")='volume'_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.MostActivesRequest "Permalink to this definition") This request class is used to submit a request for most actives screener endpoint. by [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.MostActivesRequest.by "Permalink to this definition") The metric used for ranking the most active stocks. Type: [MostActivesBy](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MostActivesBy "alpaca.data.enums.MostActivesBy") top [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.MostActivesRequest.top "Permalink to this definition") Number of top most active stocks to fetch per day. Type: int ## MarketMoversRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html\#marketmoversrequest "Permalink to this heading") _class_ alpaca.data.requests.MarketMoversRequest( _\*_, _top:int=10_, _market\_type:[MarketType](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MarketType "alpaca.data.enums.MarketType")=MarketType.STOCKS_) [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.MarketMoversRequest "Permalink to this definition") This request class is used to submit a request for most actives screener endpoint. market\_type [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.MarketMoversRequest.market_type "Permalink to this definition") Screen specific market (stocks or crypto). Type: [MarketType](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.MarketType "alpaca.data.enums.MarketType") top [#](https://alpaca.markets/sdks/python/api_reference/data/stock/requests.html#alpaca.data.requests.MarketMoversRequest.top "Permalink to this definition") Number of top most active stocks to fetch per day. Type: int ## Corporate Actions Requests ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Requests [\#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html\#requests "Permalink to this heading") ## CorporateActionsRequest [\#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html\#corporateactionsrequest "Permalink to this heading") _class_ alpaca.data.requests.CorporateActionsRequest( _\*_, _symbols:Optional\[List\[str\]\]=None_, _types:Optional\[List\[ [CorporateActionsType](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType "alpaca.data.enums.CorporateActionsType")\]\]=None_, _start:Optional\[date\]=None_, _end:Optional\[date\]=None_, _limit:Optional\[int\]=1000_, _sort:Optional\[Sort\]=Sort.ASC_) [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#alpaca.data.requests.CorporateActionsRequest "Permalink to this definition") This request class is used to submit a request for corporate actions data. ref. [https://docs.alpaca.markets/reference/corporateactions-1](https://docs.alpaca.markets/reference/corporateactions-1) symbols [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#alpaca.data.requests.CorporateActionsRequest.symbols "Permalink to this definition") The list of ticker identifiers. Type: Optional\[List\[str\]\] types [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#alpaca.data.requests.CorporateActionsRequest.types "Permalink to this definition") The types of corporate actions to filter by. (default: all types) Type: Optional\[List\[ [CorporateActionsType](https://alpaca.markets/sdks/python/api_reference/data/enums.html#alpaca.data.enums.CorporateActionsType "alpaca.data.enums.CorporateActionsType")\]\] start [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#alpaca.data.requests.CorporateActionsRequest.start "Permalink to this definition") The inclusive start of the interval. Format: YYYY-MM-DD. (default: current day) Type: Optional\[date\] end [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#alpaca.data.requests.CorporateActionsRequest.end "Permalink to this definition") The inclusive end of the interval. Format: YYYY-MM-DD. (default: current day) Type: Optional\[date\]) limit [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#alpaca.data.requests.CorporateActionsRequest.limit "Permalink to this definition") Upper limit of number of data points to return. (default: 1000) Type: Optional\[int\] sort [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#alpaca.data.requests.CorporateActionsRequest.sort "Permalink to this definition") The chronological order of response based on the timestamp. Defaults to ASC. Type: Optional\[Sort\] ## Historical Corporate Actions ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Historical Data [\#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html\#historical-data "Permalink to this heading") ## CorporateActionsClient [\#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html\#corporateactionsclient "Permalink to this heading") _class_ alpaca.data.historical.corporate\_actions.CorporateActionsClient( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_) [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html#alpaca.data.historical.corporate_actions.CorporateActionsClient "Permalink to this definition") The REST client for interacting with Alpaca Corporate Actions API endpoints. \_\_init\_\_( _api\_key:Optional\[str\]=None_, _secret\_key:Optional\[str\]=None_, _oauth\_token:Optional\[str\]=None_, _use\_basic\_auth:bool=False_, _raw\_data:bool=False_, _url\_override:Optional\[str\]=None_)→None [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html#alpaca.data.historical.corporate_actions.CorporateActionsClient.__init__ "Permalink to this definition") Instantiates a Corporate Actions Client. Parameters: - **api\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API key. Defaults to None. - **secret\_key** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – Alpaca API secret key. Defaults to None. - **oauth\_token** ( _Optional_ _\[_ _str_ _\]_) – The oauth token if authenticating via OAuth. Defaults to None. - **use\_basic\_auth** ( _bool_ _,_ _optional_) – If true, API requests will use basic authorization headers. - **raw\_data** ( _bool_ _,_ _optional_) – If true, API responses will not be wrapped and raw responses will be returned from methods. Defaults to False. This has not been implemented yet. - **url\_override** ( _Optional_ _\[_ _str_ _\]_ _,_ _optional_) – If specified allows you to override the base url the client points to for proxy/testing. ## Get Corporate Actions [\#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html\#get-corporate-actions "Permalink to this heading") CorporateActionsClient.get\_corporate\_actions( _request\_params:[CorporateActionsRequest](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#alpaca.data.requests.CorporateActionsRequest "alpaca.data.requests.CorporateActionsRequest")_)→Union\[Dict\[str,Any\], [CorporateActionsSet](https://alpaca.markets/sdks/python/api_reference/data/models.html#alpaca.data.models.corporate_actions.CorporateActionsSet "alpaca.data.models.corporate_actions.CorporateActionsSet")\] [#](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/historical.html#alpaca.data.historical.corporate_actions.CorporateActionsClient.get_corporate_actions "Permalink to this definition") Returns corporate actions data Parameters: **request\_params** ( [_CorporateActionsRequest_](https://alpaca.markets/sdks/python/api_reference/data/corporate_actions/requests.html#alpaca.data.requests.CorporateActionsRequest "alpaca.data.requests.CorporateActionsRequest")) – The request params to filter the corporate actions data ## Portfolio History API ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/api_reference/broker/trading/portfolio-history.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Portfolio History [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/portfolio-history.html\#portfolio-history "Permalink to this heading") ## Get Portfolio History For Account [\#](https://alpaca.markets/sdks/python/api_reference/broker/trading/portfolio-history.html\#get-portfolio-history-for-account "Permalink to this heading") BrokerClient.get\_portfolio\_history\_for\_account( _account\_id:Union\[UUID,str\]_, _history\_filter:Optional\[ [GetPortfolioHistoryRequest](https://alpaca.markets/sdks/python/api_reference/trading/requests.html#alpaca.trading.requests.GetPortfolioHistoryRequest "alpaca.trading.requests.GetPortfolioHistoryRequest")\]=None_)→Union\[ [PortfolioHistory](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory "alpaca.trading.models.PortfolioHistory"),Dict\[str,Any\]\] [#](https://alpaca.markets/sdks/python/api_reference/broker/trading/portfolio-history.html#alpaca.broker.client.BrokerClient.get_portfolio_history_for_account "Permalink to this definition") Gets the portfolio history statistics for an account. Parameters: - **account\_id** ( _Union_ _\[_ _UUID_ _,_ _str_ _\]_) – The ID of the Account to get the portfolio history for. - **history\_filter** – The various portfolio history request parameters. Returns: The portfolio history statistics for the account. Return type: [PortfolioHistory](https://alpaca.markets/sdks/python/api_reference/trading/models.html#alpaca.trading.models.PortfolioHistory "alpaca.trading.models.PortfolioHistory") ## Alpaca Python SDK ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/?ref=alpaca.markets#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Alpaca-py Documentation [\#](https://alpaca.markets/sdks/python/?ref=alpaca.markets\#alpaca-py-documentation "Permalink to this heading") ![The official Python SDK for Alpaca's APIs.](https://alpaca.markets/sdks/python/_images/alpaca-py-banner.png) [![GitHub stars](https://img.shields.io/github/stars/alpacahq/alpaca-py?style=social)](https://github.com/alpacahq/alpaca-py) [![PyPI version shields.io](https://img.shields.io/pypi/v/alpaca-py)](https://pypi.org/project/alpaca-py/) [![PyPI pyversions](https://img.shields.io/pypi/pyversions/alpaca-py)](https://pypi.org/project/alpaca-py/) * * * ## Introduction [\#](https://alpaca.markets/sdks/python/?ref=alpaca.markets\#introduction "Permalink to this heading") ![_images/introduction.png](https://alpaca.markets/sdks/python/_images/introduction.png) Learn more about what Alpaca-py offers and how it’s different from the previous SDK on the [Getting Started](https://alpaca.markets/sdks/python/getting_started.html#introduction) page. ## Broker [\#](https://alpaca.markets/sdks/python/?ref=alpaca.markets\#broker "Permalink to this heading") ![_images/broker.png](https://alpaca.markets/sdks/python/_images/broker.png) The Broker API allows you to build the full brokerage experiences for your end users around account opening, funding and trading. Learn more on the [Broker](https://alpaca.markets/sdks/python/broker.html#broker) page. ## Market Data [\#](https://alpaca.markets/sdks/python/?ref=alpaca.markets\#market-data "Permalink to this heading") ![_images/market-data.png](https://alpaca.markets/sdks/python/_images/market-data.png) The Market Data API gives you access to real time and historical data for equities, crypto and options. Learn more on the [Market Data](https://alpaca.markets/sdks/python/market_data.html#market-data) page. ## Trading [\#](https://alpaca.markets/sdks/python/?ref=alpaca.markets\#trading "Permalink to this heading") ![_images/trading.png](https://alpaca.markets/sdks/python/_images/trading.png) Trade stocks & crypto with Alpaca’s easy to use Trading API. Paper trading is free and available to all Alpaca users. Learn more on the [Trading](https://alpaca.markets/sdks/python/trading.html#trading) page. * * * ## Discover Python Finance Libraries [\#](https://alpaca.markets/sdks/python/?ref=alpaca.markets\#discover-python-finance-libraries "Permalink to this heading") Here are some libraries that work well with Alpaca-py. **Trading and Backtesting** - [Backtrader](https://github.com/backtrader/backtrader) \- Python Backtesting library for trading strategies. - [Vectorbt](https://github.com/polakowo/vectorbt) \- Find your trading edge, using a powerful toolkit for backtesting, algorithmic trading, and research. - [LiuAlgoTrader](https://github.com/amor71/LiuAlgoTrader/) \- A scalable, multi-process ML-ready framework for effective algorithmic trading. - [FinRL](https://github.com/AI4Finance-Foundation/FinRL) \- The first open-source project for financial reinforcement learning. **Portfolio Analytics** - [Pyfolio](https://github.com/quantopian/pyfolio) \- Portfolio and risk analytics in Python. - [FinQuant](https://github.com/fmilthaler/FinQuant) \- A program for financial portfolio management, analysis and optimisation. **FinTech Integrations** - [Plaid](https://github.com/plaid/plaid-python) \- Connect user banking information. - [Onfido](https://github.com/onfido/onfido-python) \- Identity verification / KYC. ## Alpaca Python SDK ContentsMenuExpandLight modeDark modeAuto light/dark mode [Back to top](https://alpaca.markets/sdks/python/index.html#) Toggle Light / Dark / Auto color theme Toggle table of contents sidebar # Alpaca-py Documentation [\#](https://alpaca.markets/sdks/python/index.html\#alpaca-py-documentation "Permalink to this heading") ![The official Python SDK for Alpaca's APIs.](https://alpaca.markets/sdks/python/_images/alpaca-py-banner.png) [![GitHub stars](https://img.shields.io/github/stars/alpacahq/alpaca-py?style=social)](https://github.com/alpacahq/alpaca-py) [![PyPI version shields.io](https://img.shields.io/pypi/v/alpaca-py)](https://pypi.org/project/alpaca-py/) [![PyPI pyversions](https://img.shields.io/pypi/pyversions/alpaca-py)](https://pypi.org/project/alpaca-py/) * * * ## Introduction [\#](https://alpaca.markets/sdks/python/index.html\#introduction "Permalink to this heading") ![_images/introduction.png](https://alpaca.markets/sdks/python/_images/introduction.png) Learn more about what Alpaca-py offers and how it’s different from the previous SDK on the [Getting Started](https://alpaca.markets/sdks/python/getting_started.html#introduction) page. ## Broker [\#](https://alpaca.markets/sdks/python/index.html\#broker "Permalink to this heading") ![_images/broker.png](https://alpaca.markets/sdks/python/_images/broker.png) The Broker API allows you to build the full brokerage experiences for your end users around account opening, funding and trading. Learn more on the [Broker](https://alpaca.markets/sdks/python/broker.html#broker) page. ## Market Data [\#](https://alpaca.markets/sdks/python/index.html\#market-data "Permalink to this heading") ![_images/market-data.png](https://alpaca.markets/sdks/python/_images/market-data.png) The Market Data API gives you access to real time and historical data for equities, crypto and options. Learn more on the [Market Data](https://alpaca.markets/sdks/python/market_data.html#market-data) page. ## Trading [\#](https://alpaca.markets/sdks/python/index.html\#trading "Permalink to this heading") ![_images/trading.png](https://alpaca.markets/sdks/python/_images/trading.png) Trade stocks & crypto with Alpaca’s easy to use Trading API. Paper trading is free and available to all Alpaca users. Learn more on the [Trading](https://alpaca.markets/sdks/python/trading.html#trading) page. * * * ## Discover Python Finance Libraries [\#](https://alpaca.markets/sdks/python/index.html\#discover-python-finance-libraries "Permalink to this heading") Here are some libraries that work well with Alpaca-py. **Trading and Backtesting** - [Backtrader](https://github.com/backtrader/backtrader) \- Python Backtesting library for trading strategies. - [Vectorbt](https://github.com/polakowo/vectorbt) \- Find your trading edge, using a powerful toolkit for backtesting, algorithmic trading, and research. - [LiuAlgoTrader](https://github.com/amor71/LiuAlgoTrader/) \- A scalable, multi-process ML-ready framework for effective algorithmic trading. - [FinRL](https://github.com/AI4Finance-Foundation/FinRL) \- The first open-source project for financial reinforcement learning. **Portfolio Analytics** - [Pyfolio](https://github.com/quantopian/pyfolio) \- Portfolio and risk analytics in Python. - [FinQuant](https://github.com/fmilthaler/FinQuant) \- A program for financial portfolio management, analysis and optimisation. **FinTech Integrations** - [Plaid](https://github.com/plaid/plaid-python) \- Connect user banking information. - [Onfido](https://github.com/onfido/onfido-python) \- Identity verification / KYC. # https://alpaca.markets/blog/ llms-full.txt ## SDK Release Notes # SDK Release Notes: May 2022 By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • June 02, 2022[0 Comments](https://alpaca.markets/blog/untitled/#disqus_thread) ![SDK Release Notes: May 2022](https://alpaca.markets/blog/content/images/2022/06/may-2022-sdk-release-notes.png) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. Only the CSharp SDK has been updated since last month’s change log. ``` python pip3 install alpaca-trade-api ``` Copy ``` javascript npm install @alpacahq/alpaca-trade-api ``` Copy ```# c dotnet add package Alpaca.Markets ``` Copy ``` go go get -u github.com/alpacahq/alpaca-trade-api-go/v2/alpaca ``` Copy PythonJavascriptC#Go ## [alpaca-trade-api-csharp v5.2.15](https://github.com/alpacahq/alpaca-trade-api-csharp?ref=alpaca.markets) ### New Features - Fixed problem with the ListExchangesAsync, ListTradeConditionsAsync, and ListQuoteConditionsAsync methods.  They work without any issues if a user provides the correct authentication data. (PR [#508](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/508?ref=alpaca.markets)) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/rahul/) About [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 12 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [1](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Funtitled%2F&t_d=SDK%20Release%20Notes%3A%20May%202022&t_t=SDK%20Release%20Notes%3A%20May%202022&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Funtitled%2F&t_d=SDK%20Release%20Notes%3A%20May%202022&t_t=SDK%20Release%20Notes%3A%20May%202022&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Funtitled%2F&t_d=SDK%20Release%20Notes%3A%20May%202022&t_t=SDK%20Release%20Notes%3A%20May%202022&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Funtitled%2F&t_d=SDK%20Release%20Notes%3A%20May%202022&t_t=SDK%20Release%20Notes%3A%20May%202022&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Funtitled%2F&t_d=SDK%20Release%20Notes%3A%20May%202022&t_t=SDK%20Release%20Notes%3A%20May%202022&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Funtitled%2F&t_d=SDK%20Release%20Notes%3A%20May%202022&t_t=SDK%20Release%20Notes%3A%20May%202022&s_o=default#) Sponsored [Previous Post : Join Alpaca in Austin For Consensus 2022](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) [Next Post : SDK Release Notes: April 2022](https://alpaca.markets/blog/sdk-release-notes-april/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept td.doubleclick.net # td.doubleclick.net is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ## Jungle DeFi Protocol # Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • October 31, 2022[0 Comments](https://alpaca.markets/blog/jungleprotocol/#disqus_thread) ![Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/content/images/2022/10/blog-announcement-jungle-4.png) Alpaca, a modern crypto and stock investing platform, is excited to announce that they will support and contribute to the creation of an innovative community driven DeFi protocol - Jungle. Jungle is a DeFi protocol that will mint and burn tokenized stocks in ERC20 format with a 1:1 collateral. This will eliminate barriers for people in the world to access various stocks with 24/7 liquidity and instant settlement on-chain, with various possibilities such as lending and DEX support to use in the DeFi ecosystem. _“Despite recent technological advancements, we still see a high barrier to entry for people from different countries to access financial services, such as the stock market, which are highly centralized and local to this day,” **said Hitoshi Harada, Co-Founder and CPO of**_ [**_Alpaca_**](https://alpaca.markets/?ref=alpaca.markets) _**.**“These challenges can be due to fragile financial systems in the local area or incompatible regulations between jurisdictions. To solve this problem, we propose Jungle, a DeFi protocol that will provide a token mechanism representing an equivalent value of different stocks with one-to-one collateral on a blockchain. This protocol implements the process of issuance, redemption, and corporate actions of a token, one-for-one collateralized by stock.”_ _“Alpaca is ecstatic to be the first member of Jungle, a community driven DeFi protocol that will shape a governance model where numerous members will participate, govern and help to build this protocol.” **said Yoshi Yokokawa, Co-Founder and CEO of**_ [**_Alpaca_**](https://alpaca.markets/?ref=alpaca.markets) _**. “** Leveraging our rich experiences in the traditional stock market and crypto business, we will actively support development efforts for this innovative protocol and deliver custody of stocks from different markets.”_ Jungle will open a new chapter for global financial systems aimed at overcoming barriers for people to access financial assets in a regulatory compliant manner by providing permissionless tokens in ERC20 format, backed by a 1:1 collateral. When launched, Jungle tokens will be restricted in some countries, including the USA, where tokens are potentially deemed unregistered securities that are not legal to sell within the jurisdiction. To learn more about Jungle and when it becomes available, check out [**https://jungleprotocol.org/**](https://jungleprotocol.org/?ref=alpaca.markets) [Jungle Protocol\\ \\ Jungle is a DeFi protocol that mints and burns tokenized stocks in ERC20 format with 1:1\\ collateral. It eliminates barriers for everyone in the world to access various stocks with 24/7 liquidity and instant\\ settlement on-chain, with infinite possibilities to use in the DeFi ecosystem.\\ \\ ![](https://jungleprotocol.org/img/jungle-protocol/apple-touch-icon.png)Jungle Protocol\\ \\ ![](https://alpaca.markets/static/images/meta-image-jungle.png)](https://jungleprotocol.org/?ref=alpaca.markets) **About Jungle** Jungle is a DeFi protocol that mints and burns tokenized stocks in ERC20 format with 1:1 collateral. It eliminates barriers for people in the world to access various stocks with 24/7 liquidity and instant settlement on-chain, with various possibilities to use in the DeFi ecosystem. To learn more, please visit [**https://jungleprotocol.org/**](https://jungleprotocol.org/?ref=alpaca.markets) **About Alpaca** Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator.To learn more about Alpaca, please visit [**https://alpaca.markets**](https://alpaca.markets/?ref=alpaca.markets). * * * Please note this article is for general informational purposes only and not intended to provide, and should not be relied on for tax or investment advice, and is not a recommendation for any security or trading strategy. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc., a third party that is unaffiliated with the owner of this website. Checking the boxes below constitutes your consent. You may withdraw your consent at any time by clicking [here](https://disqus.com/data-sharing-settings/). I have read and agree to Disqus' [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy).I consent to Disqus’ processing of my personal data, in accordance with our [Privacy Policy](https://disqus.com/privacy-policy), to the extent needed to authenticate me and enable me to post comments or use other Disqus services. I consent to Disqus collecting, using, and disclosing my personal data for marketing purposes, in accordance with its [Privacy Policy](https://disqus.com/data-sharing-settings/), including the use of tracking cookies for cross context behavioral advertising, which can include collecting information about the other websites I visit across the internet. - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fjungleprotocol%2F&t_d=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&t_t=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fjungleprotocol%2F&t_d=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&t_t=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fjungleprotocol%2F&t_d=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&t_t=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fjungleprotocol%2F&t_d=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&t_t=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fjungleprotocol%2F&t_d=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&t_t=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fjungleprotocol%2F&t_d=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&t_t=Meet%20Jungle%2C%20A%20Community%20Driven%20DeFi%20Protocol%20for%2024%2F7%20Stock%20Market%20Access&s_o=default#) Sponsored [Previous Post : Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) [Next Post : Alpaca Recognized on the CB Insights 2022 Fintech 250 List](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## OAuth Support Introduction # Alpaca Introduces OAuth Support By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 04, 2020[0 Comments](https://alpaca.markets/blog/oauth/#disqus_thread) ![Alpaca Introduces OAuth Support](https://alpaca.markets/blog/content/images/2020/03/alpaca-oauth.png) ## OAuth support is here For months we’ve been talking to developers and users and repeatedly hearing the same request: [please build OAuth support](https://github.com/alpacahq/Alpaca-API/issues/20?ref=alpaca.markets). Today, it’s here. ## What is OAuth? But what is OAuth? It’s a standard protocol used by many platforms—like Google, Slack, GitHub, Auth0, and more—that allows access to an API or service on behalf of the end user, without having to reveal information, like an API key ID or secret, directly to the user. Each app (OAuth client) gets a token with access scope—end users will also be able to see what information the app is accessing for transparency and security. With new OAuth support, the range of things you can do and build with the Alpaca API has widened. Examples include trading platforms, signal services, mobile apps for discretionary trading, robo-advisor apps, RIAs, and even non-US broker-dealers. Don’t believe us? Just check out any number of our existing integrations: TradingView, QuantFu, Passiv, and more. Now it’s your turn to build! Anyone with an Alpaca account can start generating one, or many, OAuth clients and start developing. Here’s exactly how to get started: ### You’ll need: An Alpaca account ### Get started: 1. Head to your Alpaca Dashboard. 2. On the left side, click “OAuth Apps” on the Menu. 3. Sign the agreement to create an OAuth client. 4. Fill out all the information requested (name, picture, callback URLs, etc). _Should your OAuth App offer services for live trading, your App is subject to review and approval prior to client use._ 5. Whenever authorization is needed, send the end user to the OAuth Authorization page. Use your Client ID and Secret as the Query String Parameter. 6. Alpaca will display the app information and prompt you/your user to authorize API access. 7. Your end user will be redirected to your service/app. When this happens, you’ll be sent the access token for the user as a part of the URL. If you have any questions please read the [documentation](https://docs.alpaca.markets/build-apps_services-with-alpaca/oauth-guide/?ref=alpaca.markets) and/or email us at support@alpaca.markets! We can’t wait to see what you build. * * * _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States)._ You should know that the use or granting of any third party access to your account information or place transactions in your account at your direction is solely at your risk. Alpaca does not warrant against loss of use or any direct, indirect or consequential damages or losses to you caused by your assent, expressed or implied, to a third party accessing your account or information, including access provided through any other third party apps, systems, or sites. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 18 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [7](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foauth%2F&t_d=Alpaca%20Introduces%20OAuth%20Support&t_t=Alpaca%20Introduces%20OAuth%20Support&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foauth%2F&t_d=Alpaca%20Introduces%20OAuth%20Support&t_t=Alpaca%20Introduces%20OAuth%20Support&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foauth%2F&t_d=Alpaca%20Introduces%20OAuth%20Support&t_t=Alpaca%20Introduces%20OAuth%20Support&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foauth%2F&t_d=Alpaca%20Introduces%20OAuth%20Support&t_t=Alpaca%20Introduces%20OAuth%20Support&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foauth%2F&t_d=Alpaca%20Introduces%20OAuth%20Support&t_t=Alpaca%20Introduces%20OAuth%20Support&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foauth%2F&t_d=Alpaca%20Introduces%20OAuth%20Support&t_t=Alpaca%20Introduces%20OAuth%20Support&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mafk0r1oatrpn&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Foauth%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.107775744579&uid=c7mafk0r1oatrpn&url=https%3A%2F%2Falpaca.markets%2Fblog%2Foauth%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mafk0r1oatrpn&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.15298599703) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) [Next Post : Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/passive-integration/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Bracket Orders Explained # Bracket Orders on Alpaca By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 10, 2020[0 Comments](https://alpaca.markets/blog/bracket-orders/#disqus_thread) ![Bracket Orders on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order.png) ## Bracket order to automate your trades You requested it. Now it’s here. Bracket orders are now available on Alpaca ( [and in our docs here](https://docs.alpaca.markets/trading-on-alpaca/orders/?ref=alpaca.markets#bracket-orders)) to better help you automate trades and mitigate risk. This is a new-to-Alpaca, advanced order type with three components: a primary order, a take-profit order, and a stop-loss order. ## How Bracket order works The first order sets everything up the way a normal order does, but it truly becomes a bracket order when it comes to deciding which of the two conditional orders remaining will be kept or canceled. Depending on where you set the low and high brackets, the order will wait to execute until it hits one of those two “max” or “min” numbers (optimized for profit or the most acceptable losses, respectively) and then cancel the remaining order type. For example (like in the chart below), if you set your “take-profit” number at $145 (yellow line) and “stop loss” at $95 (red line), corresponding with a primary order at $105 and the stock goes up to $125 but then the price drops, hitting $95 (before reaching $145), your “stop-loss” order will trigger and be executed, while also cancelling the “take-profit” order. All in all, bracket orders can be great when you are trying to stay within a target price range. ![](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order-1.png) Due to the way bracket orders work, it’s completely possible to set this logic up algorithmically/via API. However, the full functionality enabled within the Alpaca platform allows for better risk controls, which are provided to help minimize potentially costly mistakes. Alpaca is committed to providing better risk controls to help reduce the possibility of exactly those kinds of errors. ## How to set up Bracket order If you’re ready to dive in\*, you’ll need to add extra parameters to the POST /v2/orders endpoint to submit bracket orders via API and submit your order. 1. First, set the new parameter “order\_class” to “bracket”. Next, add two more parameters named “take\_profit” and “stop\_loss”—both should be nested JSON objects.  (see example JSON below) 1. When creating “take\_profit”, make sure to add “limit\_price” as a parameter that limits the price of the “take\_profit” order. 2. The “stop\_loss” will need fields for mandatory “stop\_price” and optional “limit\_price”. 3. If your “limit\_price” is specified within “stop\_loss”, your order will be queued as a “stop\_limit” order—otherwise it will be queued as a classic stop order. 4. Run it! _\*Consider testing a strategy in paper trading to see if and how it works before trying it in a live brokerage account._ ``` hljs json { "side": "buy", "symbol": "SPY", "type": "market", "qty": "100", "time_in_force": "gtc", "order_class": "bracket", "take_profit": { "limit_price": "301" }, "stop_loss": { "stop_price": "299", "limit_price": "298.5" } } ``` Copy * * * _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Conditional orders may have increased risk as a result of their reliance on trigger processing, market data, and other internal and external systems. Such orders are not sent to the market until specified conditions are met. During that time, issues such as system outages with downstream technologies or third parties may occur. Conditional orders triggering near the market close may fail to execute that day. Furthermore, our executing partner may impose controls on conditional orders to limit erroneous trades triggering downstream orders. Alpaca Securities may not always be made aware of such changes to external controls immediately, which may lead to some conditional orders not being executed. As such, it is important to monitor conditional orders for reasonability. Conditional orders are “Not Held” orders whose execution instructions are on a best efforts basis upon being triggered. Furthermore, conditional orders may be subject to the increased risks of stop orders and market orders outlined above. Given the increased potential risk of using conditional orders, the client agrees that Alpaca Securities cannot be held responsible for losses, damages, or missed opportunity costs associated with market data problems, systems issues, and user error, among other factors. By using conditional orders the client understands and accepts the risks outlined above. Alpaca Securities encourages leveraging the use of Paper accounts to become more comfortable with the intricacies associated with these orders._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 1 Response ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbracket-orders%2F&t_d=Bracket%20Orders%20on%20Alpaca&t_t=Bracket%20Orders%20on%20Alpaca&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbracket-orders%2F&t_d=Bracket%20Orders%20on%20Alpaca&t_t=Bracket%20Orders%20on%20Alpaca&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbracket-orders%2F&t_d=Bracket%20Orders%20on%20Alpaca&t_t=Bracket%20Orders%20on%20Alpaca&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbracket-orders%2F&t_d=Bracket%20Orders%20on%20Alpaca&t_t=Bracket%20Orders%20on%20Alpaca&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbracket-orders%2F&t_d=Bracket%20Orders%20on%20Alpaca&t_t=Bracket%20Orders%20on%20Alpaca&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbracket-orders%2F&t_d=Bracket%20Orders%20on%20Alpaca&t_t=Bracket%20Orders%20on%20Alpaca&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mafjp03p1ln1p&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fbracket-orders%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.356934943545&uid=c7mafjp03p1ln1p&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fbracket-orders%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mafjp03p1ln1p&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.341937102177) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Web Dashboard Gets A Facelift](https://alpaca.markets/blog/web-dashboard-update/) [Next Post : Alpaca Introduces OAuth Support](https://alpaca.markets/blog/oauth/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Competition # Join Us For the 1st Alpaca Trading Competition By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 03, 2020[0 Comments](https://alpaca.markets/blog/trading-competition/#disqus_thread) ![Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/content/images/2020/07/trading-competiton-1.png) We are excited to announce that Alpaca is hosting its first virtual Electronic Trading Contest, a two week-long contest where participants compete against each other in a simulated market using the Alpaca Paper Trading feature. There are cash prizes (aka the amazon gift card ?) for the winning participants. **\*\*\*1st contest entry has been filled and closed as of Aug 7th\*\*\*** We have been looking at trading competitions by Quantopian, Quantiacs, QuantConnect closely, and we decided to host our own version of contest. Objective of Alpaca's contest is a little different from others. Our focus is to expand the community of enthusiastic developers and tech-savvy people around trading, so we welcome any types of trading styles which don't need to be strictly quants algorithmic trading ( [TradingView](https://alpaca.markets/tradingview?ref=alpaca.markets) platform has been popular among the Alpaca users to support the algorithmic trading ?). Hence, we are not trying to recruit your algorithms into a fund. We want to create an occasion that gets you interested in trying the cross-road of tech x trading. [Alpaca + TradingView: Commission-free trading using TradingView charts\\ \\ Alpaca is a modern platform for trading. Alpaca’s API is the interface for your trading algorithms, bots, or applications to communicate with Alpaca’s brokerage and other services.\\ \\ ![](https://files.alpaca.markets/webassets/favicon-32x32.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/marketing.alpaca.markets/social/banners/alpaca-tradingview.png)](https://alpaca.markets/tradingview?ref=alpaca.markets) With that said, this competition is open to everyone globally, the US and non-US residents ?. ### \*\*\*The first competition starts on August 10th (MON), 2020\*\*\* ## How It Works ### 1\. Enter the Contest Firstly, [create an Alpaca account](https://app.alpaca.markets/signup?ref=alpaca.markets) with a new email address that you or your team can access the Alpaca Paper Trading feature. [Alpaca \| Algo Trading Commission Free with REST API\\ \\ Lower your cost, Maximize your profits. Algo trading commission free.\\ \\ ![](https://app.alpaca.markets/favicon-32x32.png)Algo Trading Commission Free with REST API\\ \\ ![](https://files.alpaca.markets/webassets/alpaca-markets-og-image.png)](https://app.alpaca.markets/signup?ref=alpaca.markets) Then, [enter the contest](https://forms.gle/poZo8tmmbcS7kJR9A?ref=alpaca.markets) by filling out this google form (make sure to use your new Alpaca account!) ### 2\. Track Your Performance We will update [this leaderboard](https://alpaca.markets/learn/leaderboard-00/?ref=alpaca.markets) of the top 10 performers every day during the two-week contest. Participants will be ranked by his/her Equity values. ![](https://alpaca.markets/blog/content/images/2020/08/equity-value.png)[Alpaca Trading Competition Vol 00 Leaderboard\\ \\ Leaderboard for Alpaca Trading Competition Vol 00, where all the quants, developers, tech-savvy traders can participate globally\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesAlpaca Team\\ \\ ![](https://alpaca.markets/learn/content/images/2020/08/leaderboard.png)](https://alpaca.markets/learn/leaderboard-00/?ref=alpaca.markets) ### 3\. Win Your Prize For this very first Alpaca Trading Competition, we are going to award top 3 participant winners with Amazon gift cards (yes, our google form asks for an email for us to send the gift card ?). The amount is planned to be $150 for #1, $30 for #2, and $20 for #3. ## How You Can Participate ### High Level Rules Please check out [Trading Contest Fine Print - Rules](https://alpaca.markets/learn/contest-rules/?ref=alpaca.markets) for the detail, but unlike other quant trading competitions, we do not set any strict algorithm criteria. We will simply measure who can generate the best returns during the set period. Participants are free to use your preferred algorithms and strategies. [Trading Contest Fine Print - Rules\\ \\ Contest rule for the Alpaca Trading Competition, where all the developers, quants, tech-savvy traders can participate globally\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesAlpaca Team\\ \\ ![](https://alpaca.markets/learn/content/images/2020/08/competition-fine-print.png)](https://alpaca.markets/learn/contest-rules/?ref=alpaca.markets) We are going to select winners who have the highest Equity value at the end of the contest day. There are multiple requirements, and we ask you not to reset the original Equity balance of $100,000 and require winners to result in positive returns. ### FAQ **(Q) How do I sign up?**(A) Create an Alpaca Paper Trading account from [here](https://app.alpaca.markets/signup?ref=alpaca.markets). Sign up for the contest with [this entry form](https://forms.gle/poZo8tmmbcS7kJR9A?ref=alpaca.markets). **(Q) What kind of algorithms are you looking for?** (A) This contest does not restrict you from using any specific strategies or algorithms. **(Q) Will you see my algorithm?** No, we will not look at your algorithm. Your code is private, visible only to you. **(Q) Do I need to pay an entry fee?**(A) No. **(Q) Is there a submission deadline?**(A) Yes, you need to sign up for the contest before the contest starts on \[August 10th\] market open. **(Q) Does Alpaca offer a backtesting tool?** (A) No, we do not offer backtest software. However, Alpaca integrates with several highly-regarded backtest applications such as QuantRocket and Blueshift. Please see the list [here](https://alpaca.markets/integrations?ref=alpaca.markets). [Alpaca Algorithmic Trading - Commission-Free API First Stock Brokerage\\ \\ Alpaca is a modern platform for trading. Alpaca’s API is the interface for your trading algorithms, bots, or applications to communicate with Alpaca’s brokerage and other services.\\ \\ ![](https://files.alpaca.markets/webassets/favicon-32x32.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/marketing.alpaca.markets/social/banners/alpaca-integrations.png)](https://alpaca.markets/integrations?ref=alpaca.markets) * * * _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by [Alpaca Securities LLC](https://alpaca.markets/?ref=alpaca.markets), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ _You can find us [@AlpacaHQ](https://twitter.com/AlpacaHQ?source=post_page---------------------------), if you use twitter._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrading-competition%2F&t_d=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&t_t=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrading-competition%2F&t_d=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&t_t=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrading-competition%2F&t_d=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&t_t=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrading-competition%2F&t_d=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&t_t=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrading-competition%2F&t_d=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&t_t=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrading-competition%2F&t_d=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&t_t=Join%20Us%20For%20the%201st%20Alpaca%20Trading%20Competition&s_o=default#) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Trailing Stop Orders on Alpaca!](https://alpaca.markets/blog/trailing-stop/) [Next Post : Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/non-us-live-trading-beta/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Fractional Trading Overview # Introducing Fractional Trading By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 03, 2021[0 Comments](https://alpaca.markets/blog/fractional-trading/#disqus_thread) ![Introducing Fractional Trading](https://alpaca.markets/blog/content/images/2021/03/Untitled--4-.png) Allowing everyone around the world to participate in an open and free market is Alpaca's ultimate goal. We started off giving access to developers and traders across the United States to our Trading API so they could build and run their algorithms in the real world. Today, as part of a much longer roadmap of providing and enabling access to the market to everyone, we are proud to announce that our trading APIs now support fractional trading. Fractional shares can allow you to take advantage of a newfound freedom in investments. But ultimately, a fractional trading capability enables everyone to participate in the market regardless of their economic capabilities and own as little as $1 worth of stock if they wanted to. * * * ## How It Works You can now pass a notional or a fractional quantity value through ### API There are two ways you can buy fractional shares through an API request. 1. You can simply pass in a notional (dollar) value in your requests. 2. You can input a fractional amount of shares in the QTY field. Both inputs are mutually exclusive, so make sure you pass the right type of market order. In the off chance you enter both a qty and notional value, the order will get rejected. ![](https://lh6.googleusercontent.com/-tR3SywiVJl39HiQfPU_ElxrnnodJk2cyQPP0oXB5BFZGXumXj_8o3KW77Ns-v9pQynVNTeFk4Zj5bHStUvP3dXYaDJ1ka1e8ZF9PJXFcHlvq8IvN9hard_V0D9_61rUQ4r2Gjq7)Example JSON object \*Please do note that this is for illustration only and is not a recommendation or suggestion of this trade or this stock\* ### "Algodash" - The Alpaca Web Dashboard 1. Navigate to `app.alpaca.markets` 2. Type in the symbol you want to buy 3. Choose **Order Type** \> **Market** 4. Choose **Buy in Dollars** or **Buy in Shares** 5. Input the value you wish to buy ![](https://lh3.googleusercontent.com/bd3BraqSV1AmmCDy0OXZVahtKK3WXEjcA7nR7uEHPnTicfXnW9RmlRXeUaztVRYUoUflqgHjAdTcjoX4G9RbfI8V3s5T2Ws10GsrOqKVXwA8sCvMnbNxcaqmLC3Razd77PBQRbA2)Algodash console \*Please do note that this is for illustration only and is not a recommendation or suggestion of this trade or this stock\* * * * ### The Backend of It All Our Fractional API is built in a compliant and approachable architecture to enable you to run your algorithms in more ways than you can imagine. We know that speed and reliability are important features in today’s market, so you can rest assured that notional and fractional orders will pass in the same way you have been used to with our ‘traditional’ market orders. Over the next few weeks we will expand our fractional trading coverage to include different order types such as bracket orders, stop loss and take profit. We will also expand our list of fractional tradable shares beyond the current 2,000 equities and ETFs we currently offer. * * * ### Start Using Fractional Trading Today! Fractional trading is enabled to everyone using Alpaca’ paper trading and live accounts. For more on how to use fractional trading you can view our tutorials here and for more info our docs are always updated. [How to Place an Order Using the Fractional Shares API?\\ \\ A guide on how to place an order with the fractional shares API\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesAlpaca Team\\ \\ ![](https://alpaca.markets/learn/content/images/2021/03/Untitled--4-.png)](https://alpaca.markets/learn/fractional-shares-api/?ref=alpaca.markets)[Orders - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://alpaca.markets/docs/images/alpacalogo.png)](https://alpaca.markets/docs/api-documentation/api-v2/orders/?ref=alpaca.markets) Happy trading! * * * In case of additional questions, please feel free to reach out to us on our [**Alpaca Forum**](https://forum.alpaca.markets/?ref=alpaca.markets) and the [**Alpaca Community Slack**](https://alpaca-community.slack.com/join/shared_invite/zt-lycgjntu-oDtZQN_TN~ewRewdZUJ5gQ?ref=alpaca.markets#/). _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by [**Alpaca Securities LLC**](https://alpaca.markets/?ref=alpaca.markets), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ _Please do note that this is for illustration only and is not a recommendation or suggestion of this trade or this stock._ You can find us [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?source=post_page---------------------------), if you use Twitter. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/mahmoud/) About [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ffractional-trading%2F&t_d=Introducing%20Fractional%20Trading&t_t=Introducing%20Fractional%20Trading&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ffractional-trading%2F&t_d=Introducing%20Fractional%20Trading&t_t=Introducing%20Fractional%20Trading&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ffractional-trading%2F&t_d=Introducing%20Fractional%20Trading&t_t=Introducing%20Fractional%20Trading&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ffractional-trading%2F&t_d=Introducing%20Fractional%20Trading&t_t=Introducing%20Fractional%20Trading&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ffractional-trading%2F&t_d=Introducing%20Fractional%20Trading&t_t=Introducing%20Fractional%20Trading&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ffractional-trading%2F&t_d=Introducing%20Fractional%20Trading&t_t=Introducing%20Fractional%20Trading&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mafk0927dg595&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Ffractional-trading%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.0564244588209&uid=c7mafk0927dg595&url=https%3A%2F%2Falpaca.markets%2Fblog%2Ffractional-trading%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mafk0927dg595&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.241670628791) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Market Data v2 Beta Status Update](https://alpaca.markets/blog/market-data-api-beta-update/) [Next Post : Important Update: Alpaca Launches Market Data API 2.0](https://alpaca.markets/blog/market-data-api-launch/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## OCO & OTO Orders # Now You Can Place OCO & OTO Orders on Alpaca! By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2020[0 Comments](https://alpaca.markets/blog/oco-oto/#disqus_thread) ![Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png) ## OCO & OTO Orders Are Now Available After [launching bracket orders](https://blog.alpaca.markets/blog/bracket-orders-on-alpaca?ref=alpaca.markets) last month, we listened to your feedback and made further improvements to our advanced order types. Today, we are excited to announce OCO (One-Cancels-Other) and OTO (One-Triggers-Other) as new additions to the growing list of advanced order types offered by [Alpaca Trading API](https://docs.alpaca.markets/trading-on-alpaca/orders/?ref=alpaca.markets). You can jump right into the [API doc here](https://docs.alpaca.markets/trading-on-alpaca/orders/?ref=alpaca.markets#oco-orders) [Understand Orders - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://docs.alpaca.markets/images/alpacalogo.png)](https://docs.alpaca.markets/trading-on-alpaca/orders/?ref=alpaca.markets#oco-orders) ## How OCO Works ![OCO sample.png](https://images.squarespace-cdn.com/content/v1/5ae76be68ab7221a1204c121/1583436885162-LYB753VBEMG4VR1HE7CE/ke17ZwdGBToddI8pDm48kJi7nhDoCxf_Y2GAj9T1xTYUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYy7Mythp_T-mtop-vrsUOmeInPi9iDjx9w8K4ZfjXt2dgCpiGQtdHkJRyB2uZ6W6QCi9KjPslqAmqDZwk3W2NSFCjLISwBs8eEdxAxTptZAUg/OCO+sample.png?format=1000w) In this example chart, let’s say you already have a position in this stock, and you are looking to take profit by selling when it hits the recent high ( **“take\_profit”** -\> **“limit\_price”** = **“325”**) or cut loss by selling when it goes lower than the recent low ( **“stop\_loss”** -\> **“stop\_price”** = **“250”**). In this scenario, you can call API with parameters like this In order to submit an OCO order, specify **“oco”** for the **order\_class** parameter. ``` json { "side": "sell", "symbol": "AAPL", "type": "limit", "qty": "10", "time_in_force": "gtc", "order_class": "oco", "take_profit": { "limit_price": "325" }, "stop_loss": { "stop_price": "250", "limit_price": "249.5" } } ``` Copy \*Please do note that this is for illustration only and is not a recommendation or suggestion of this trade or this stock\* For detail please see [the docs here](https://docs.alpaca.markets/trading-on-alpaca/orders/?ref=alpaca.markets#oco-orders). # How OTO Works ![](https://images.squarespace-cdn.com/content/v1/5ae76be68ab7221a1204c121/1583436930982-RIOYR2BZ15NNXH7HDM1E/ke17ZwdGBToddI8pDm48kJi7nhDoCxf_Y2GAj9T1xTYUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYy7Mythp_T-mtop-vrsUOmeInPi9iDjx9w8K4ZfjXt2dgCpiGQtdHkJRyB2uZ6W6QCi9KjPslqAmqDZwk3W2NSFCjLISwBs8eEdxAxTptZAUg/image-asset.png?format=1000w) Using the same example chart from above, let’s say you don’t have any position right now, but are looking to purchase this stock with the current price ( **“market”**), and you want to automatically place stop loss order ( **“stop\_loss”** -\> **“stop\_price”** = **“250”**) to the position that you purchase with the market order. In this scenario, you can call API with parameters like this The order submission is done with the **order\_class** parameter be **“oto”**. ``` json { "side": "buy", "symbol": "AAPL", "type": "market", "qty": "10", "time_in_force": "gtc", "order_class": "oto", "stop_loss": { "stop_price": "250", "limit_price": "249.5" } } ``` Copy _\*Please do note that this is for illustration only and is not a recommendation or suggestion of this trade or this stock\*_ For detail please see [the docs here](https://docs.alpaca.markets/trading-on-alpaca/orders/?ref=alpaca.markets#oto-orders). * * * [**Follow @AlpacaHQ on Twitter!**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) _Conditional orders may have increased risk as a result of their reliance on trigger processing, market data, and other internal and external systems. Such orders are not sent to the market until specified conditions are met. During that time, issues such as system outages with downstream technologies or third parties may occur. Conditional orders triggering near the market close may fail to execute that day. Furthermore, our executing partner may impose controls on conditional orders to limit erroneous trades triggering downstream orders. Alpaca Securities may not always be made aware of such changes to external controls immediately, which may lead to some conditional orders not being executed. As such, it is important to monitor conditional orders for reasonability. Conditional orders are “Not Held” orders whose execution instructions are on a best efforts basis upon being triggered. Furthermore, conditional orders may be subject to the increased risks of stop orders and market orders outlined above. Given the increased potential risk of using conditional orders, the client agrees that Alpaca Securities cannot be held responsible for losses, damages, or missed opportunity costs associated with market data problems, systems issues, and user error, among other factors. By using conditional orders the client understands and accepts the risks outlined above. Alpaca Securities encourages leveraging the use of Paper accounts to become more comfortable with the intricacies associated with these orders._ _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_FINRA_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_SIPC_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foco-oto%2F&t_d=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&t_t=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foco-oto%2F&t_d=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&t_t=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foco-oto%2F&t_d=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&t_t=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foco-oto%2F&t_d=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&t_t=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foco-oto%2F&t_d=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&t_t=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Foco-oto%2F&t_d=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&t_t=Now%20You%20Can%20Place%20OCO%20%26%20OTO%20Orders%20on%20Alpaca!&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mafjj5vtv3kt&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Foco-oto%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.679043037263&uid=c7mafjj5vtv3kt&url=https%3A%2F%2Falpaca.markets%2Fblog%2Foco-oto%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mafjj5vtv3kt&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.169096796475) [Previous Post : Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/portfolio-history-api/) [Next Post : Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Zapier Integration Overview # Zapier Integration & User Configuration Features By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 16, 2019[0 Comments](https://alpaca.markets/blog/zapier-integration/#disqus_thread) ![Zapier Integration & User Configuration Features](https://alpaca.markets/blog/content/images/2020/03/download.jpeg) Another productive month at Alpaca HQ! Read on for more details regarding Replace Order, User Settings through API, Zapier integration, and more. ## New Features ### Replace Order The new replace order feature allows you to replace an existing order in one step. You no longer need to separately cancel an existing open order and submit a new order. This feature could also be used to implement trailing stops through the client side. You can access replace order functionality through the `/v2/orders` API. This feature allows you to update order attributes of an existing order through a `PATCH`. The updatable attributes are `qty`, `time_in_force`, `limit_price`, and `stop_price`. The order replace request replaces an existing open order with a new order. However, a success return code from a replaced order does NOT guarantee the existing open order has been replaced. If the existing open order is filled before the replacing (new) order reaches the execution venue, the replacing (new) order is rejected, and these events are sent in the trade\_updates stream channel. [Read more about the trade stream updates here](https://docs.alpaca.markets/docs/websocket-streaming?ref=alpaca.markets). [Websocket Streaming\\ \\ Learn how to stream market data using Websockets.\\ \\ ![](https://files.readme.io/78d4f5a-small-favicon.png)Alpaca API Docs\\ \\ ![](https://files.readme.io/3e549f7-new-documentation-site-live-article_1.png)](https://docs.alpaca.markets/docs/websocket-streaming?ref=alpaca.markets) Also please note that while an order is being replaced, buying power is reduced by the larger of the two orders that have been placed (the old order being replaced, and the newly placed order to replace it). If you are replacing a buy entry order with a higher limit price than the original order, the buying power is calculated based on the newly placed order. If you are replacing it with a lower limit price, the buying power is calculated based on the old order. Please visit our [documentation](https://docs.alpaca.markets/docs/orders-at-alpaca?ref=alpaca.markets) for more details on how to replace an order. ## User Configurations Don’t want to receive confirmation emails for every trade execution? Want to disable shorting on our v2 API? You can now configure these options through API! The four user configurations we currently have enabled are: `dtbp_check`, `trade_confirm_email`, `suspend_trade`, and `no_shorting` . - `dtbp_check`: As you know from our [previous update](https://forum.alpaca.markets/t/new-product-update-7-29-2019/91/3?ref=alpaca.markets), we have enabled **Day Trade Margin Protections** to protect users from receiving margin calls for using more than the allowed day trade buying power. You can now modify your protections to `on_entry`, `on_exit`, or `both` directly through the API. We recommend that you keep your setting `on_entry` to be safe. - `trade_confirm_email`: You can now opt-out of trade confirm emails through the API. We recommend that you opt-in to review your trades. - `suspend_trade`: You can now stop your own trading with an API setting. This could be useful in various scenarios, for example, building your own emergency stop button. - `no_shorting`: Our v2 API allows for shorting, but some users have requested this feature be turned off for them. You can now toggle shorting capabilities through API. These settings have been added to our [documentation](https://docs.alpaca.markets/docs/account-plans?ref=alpaca.markets#sample-object). Please view the details here. ## Other News ### Zapier We have an invite only app on Zapier. If you use Zapier already, you can use the Alpaca application. Our in-progress Zapier integration application currently supports 2 triggers (orders and positions) and 6 actions (get account, close all positions, close position, cancel all orders, cancel order, create order). Please help us test it out and let us know if there’s any questions or issues that arise with using the integration. To try out the integration, visit this link on Zapier: [https://zapier.com/developer/public-invite/31338/88982ba24cdc49b12b6a2570814c2eae/](https://zapier.com/developer/public-invite/31338/88982ba24cdc49b12b6a2570814c2eae/?ref=alpaca.markets) [Login to Zapier \| The easiest way to automate your work\\ \\ Connect the apps you use everyday to automate your work and be more productive. 2,000+ apps and easy integrations - get started in minutes.\\ \\ ![](https://cdn.zapier.com/zapier/images/favicon.ico)ZapierZapier\\ \\ ![](https://cdn.zapier.com/zapier/images/logos/social.png)](https://zapier.com/developer/public-invite/31338/88982ba24cdc49b12b6a2570814c2eae/?source=post_page-----e11df09d43c1----------------------) ## Product Roadmap We’re working on a public roadmap to better communicate features that we’re working on and get your input on what you’d like to see us build! Details coming soon. * * * _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC, member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) ## Blueshift and Alpaca Integration # Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 29, 2020[0 Comments](https://alpaca.markets/blog/blueshift-backtest/#disqus_thread) ![Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-blueshift.png) We continue to focus on improving the experience for API users and traders. We are excited to announce that Alpaca is now fully integrated with [Blueshift, a web-based backtesting app](https://blueshift.quantinsti.com/?ref=alpaca.markets) that lets you write strategies on the browser to backtest them instantly and allows you to run them in [commission-free live trading on Alpaca](https://alpaca.markets/?ref=blog). Blueshift is built by a leading quant finance school [QuantInsti](https://www.quantinsti.com/?ref=alpaca.markets). QuantInsti and Alpaca team up to offer a super seamless experience in algo trading through Blueshift integration with [Alpaca commission-free trading API](https://alpaca.markets/?ref=blog). ## Connecting Backtesting and Live Trading Blueshift integration enables the seamless workflow when you test your strategies with backtesting instantly then run them in live trading without changing your environment. Blueshift team built a video tutorial on how you can signup and start using it now. Blueshift Backtesting and Live Trading. - YouTube QuantInsti Quantitative Learning 35K subscribers [Blueshift Backtesting and Live Trading.](https://www.youtube.com/watch?v=DegANUaZwOE) QuantInsti Quantitative Learning Search Info Shopping Tap to unmute If playback doesn't begin shortly, try restarting your device. You're signed out Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer. CancelConfirm Share Include playlist An error occurred while retrieving sharing information. Please try again later. Watch later Share Copy link Watch on 0:00 0:00 / 7:25 •Live • [Watch on YouTube](https://www.youtube.com/watch?v=DegANUaZwOE "Watch on YouTube") [https://www.youtube.com/watch?v=DegANUaZwOE&feature=youtu.be](https://www.youtube.com/watch?v=DegANUaZwOE&feature=youtu.be&ref=alpaca.markets) For you to start using either service, you can sign up and link your accounts by [signing up for Blueshift](https://blueshift.quantinsti.com/accounts/?ref=alpaca.markets), or [Alpaca](https://app.alpaca.markets/signup?ref=alpaca.markets). Get started today! _\*Keep in mind that all investments involve risk and the past performance of a security or financial product does not guarantee future results or returns._ \-\-\- **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API._ [_Relevant SEC and FINRA fees may apply._](https://support.alpaca.markets/hc/en-us/articles/360010814292-Regulatory-Fees-?ref=alpaca.markets) _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_FINRA_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_SIPC_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _You should know that the use or granting of any third party access to your account information or place transactions in your account at your direction is solely at your risk. Alpaca does not warrant against loss of use or any direct, indirect or consequential damages or losses to you caused by your assent, expressed or implied, to a third party accessing your account or information, including access provided through any other third party apps, systems, or sites._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fblueshift-backtest%2F&t_d=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&t_t=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fblueshift-backtest%2F&t_d=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&t_t=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fblueshift-backtest%2F&t_d=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&t_t=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fblueshift-backtest%2F&t_d=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&t_t=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fblueshift-backtest%2F&t_d=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&t_t=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fblueshift-backtest%2F&t_d=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&t_t=Backtesting%20to%20Live%20Trading%20in%20One%20Place%20Finally!%20Blueshift%20Integration%20with%20Alpaca&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mafk3c1rimad4&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fblueshift-backtest%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.894283921453&uid=c7mafk3c1rimad4&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fblueshift-backtest%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mafk3c1rimad4&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.282637504391) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) [Next Post : Web Dashboard Gets A Facelift](https://alpaca.markets/blog/web-dashboard-update/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Yoshi Yokokawa's Blog ![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x) ### Yoshi Yokokawa 35 Posts Co-founder & CEO of Alpaca ## [Web Dashboard Updates and Support Page Launch](https://alpaca.markets/blog/dashboard-and-support-page/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 18, 2021[0 Comments](https://alpaca.markets/blog/dashboard-and-support-page/#disqus_thread) [![Web Dashboard Updates and Support Page Launch](https://alpaca.markets/blog/content/images/2021/01/ania-archer-ybs5Q8Jk4p4-unsplash.jpg)](https://alpaca.markets/blog/dashboard-and-support-page/) We made multiple updates on the web dashboard of the Trading API and launched a long-awaited Support & Help page that collects many types of FAQs. [Continue Reading](https://alpaca.markets/blog/dashboard-and-support-page/) ## [Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started](https://alpaca.markets/blog/execution-broker-oms-dashboard/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 28, 2020[0 Comments](https://alpaca.markets/blog/execution-broker-oms-dashboard/#disqus_thread) [![Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started](https://alpaca.markets/blog/content/images/2020/10/Investigating-Alpaca.png)](https://alpaca.markets/blog/execution-broker-oms-dashboard/) Alpaca recently added new capabilities and upgraded our infrastructure for improved overall platform stability and performance. [Continue Reading](https://alpaca.markets/blog/execution-broker-oms-dashboard/) ## [API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/sdk-api-trade-contest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/sdk-api-trade-contest/#disqus_thread) [![API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/content/images/2020/10/update03.png)](https://alpaca.markets/blog/sdk-api-trade-contest/) These new features are to offer more flexibility when using Alpaca products and are to give you more visibility on the web-dashboard as well. [Continue Reading](https://alpaca.markets/blog/sdk-api-trade-contest/) ## [The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/2nd-trade-contest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/2nd-trade-contest/#disqus_thread) [![The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/content/images/2020/10/trade_contest.png)](https://alpaca.markets/blog/2nd-trade-contest/) The second Trade Contest is starting on Oct 26 (Mon), a 4-week-long contest where participants compete in a simulated market. [Continue Reading](https://alpaca.markets/blog/2nd-trade-contest/) ## [Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th](https://alpaca.markets/blog/algo-trading-conference/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 05, 2020[0 Comments](https://alpaca.markets/blog/algo-trading-conference/#disqus_thread) [![Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th](https://alpaca.markets/blog/content/images/2020/10/2020-10-16--7-.png)](https://alpaca.markets/blog/algo-trading-conference/) Alpaca is excited to host the series of algo trading conferences with fellow industry professionals. 1st one with Radovan of Quantpedia and Remy of Vauban. [Continue Reading](https://alpaca.markets/blog/algo-trading-conference/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca and Passiv Integration # Integrating Alpaca and Passiv for Better Passive Investing By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 10, 2019[0 Comments](https://alpaca.markets/blog/passive-integration/#disqus_thread) ![Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/content/images/2020/03/alpaca-passiv-integration.png) Today, more and more companies are working to accelerate the unbundling of financial services for the benefit of regular people. Passiv, a Canadian investment platform that lets you automate your brokerage account, is doing just that—helping people avoid high management expense ratios (MERs), move away from hefty Excel docs, and ease into passive investing. After launching in Canada, the Passiv team wanted to offer their service to American investors, so they started looking for an American brokerage partner that could integrate smoothly with their portfolio-managing webapp. The answer? Alpaca. Alpaca’s API integrated seamlessly into Passiv’s backend infrastructure. With the power of Alpaca’s API brokerage and Passiv working in sync, Americans are able to build their own free, personalized robo-advisor service (minus the advice) with the two platforms. As a result, they can save on wealth management fees and have more control over their portfolios. To use either service, all you have to do is sign up and link your accounts! Sign up for Passiv [here](https://getpassiv.com/app/register/?ref=alpaca.markets), or Alpaca [here](https://app.alpaca.markets/signup?ref=alpaca.markets). To start building your own robo-advisor with Passiv, login and link your Alpaca account, then set a target for your portfolio and follow the calculated trades. You’ll be notified whenever cash hits your account or your portfolio drifts off balance. Alpaca and Passiv are both free to use, but you can upgrade to unlock premium features like one-click trading on Passiv (to make rebalancing and trading a breeze). Get started today! * * * _Please note that Alpaca live trading accounts are only available for [US persons](https://support.alpaca.markets/hc/en-us/articles/360018381112-Eligibility-Requirements?ref=alpaca.markets)._ _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [FINRA](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [SIPC](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States)._ _You should know that the use or granting of any third party access to your account information or place transactions in your account at your direction is solely at your risk. Alpaca does not warrant against loss of use or any direct, indirect or consequential damages or losses to you caused by your assent, expressed or implied, to a third party accessing your account or information, including access provided through any other third party apps, systems, or sites._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpassive-integration%2F&t_d=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&t_t=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpassive-integration%2F&t_d=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&t_t=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpassive-integration%2F&t_d=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&t_t=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpassive-integration%2F&t_d=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&t_t=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpassive-integration%2F&t_d=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&t_t=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpassive-integration%2F&t_d=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&t_t=Integrating%20Alpaca%20and%20Passiv%20for%20Better%20Passive%20Investing&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mafuh813bvk80&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fpassive-integration%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.625427566997&uid=c7mafuh813bvk80&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fpassive-integration%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mafuh813bvk80&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.140670679063) [Previous Post : Alpaca Introduces OAuth Support](https://alpaca.markets/blog/oauth/) [Next Post : Alpaca Trading within TradingView](https://alpaca.markets/blog/tradingview-api-integration/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## MarketStore FAQ # 9 Most Commonly Asked Questions About MarketStore And Answers To Them By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) ![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg) I have posted three articles, and these articles generated a lot of great comments and questions. 1) _[MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/)_ 2) _[How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/)_ 3) _[50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/)_ Each of these articles seeks to explain the technology we build along with our [Alpaca algo trading brokerage](https://alpaca.markets/?ref=alpaca.markets). These articles led active discussions on Reddit and Medium, and it became clear to us that there is a lot of interest and a pretty large need in the community for a timeseries database dedicated for financial market data. The database world and software engineering in general have changed so much over the last decade as we’ve seen an explosion in open source programming and databases. We are seeing some people now actively using open source too and contributing some code in the [GitHub repository](https://github.com/alpacahq/marketstore?ref=alpaca.markets). [alpacahq/marketstore\\ \\ DataFrame Server for Financial Timeseries Data. Contribute to alpacahq/marketstore development by creating an account on GitHub.\\ \\ ![](https://github.githubassets.com/favicon.ico)GitHubalpacahq\\ \\ ![](https://avatars1.githubusercontent.com/u/30398729?s=400&v=4)](https://github.com/alpacahq/marketstore?ref=alpaca.markets) In social media and offline, we’ve been answering questions and responding to comments, but today we wanted to take the opportunity to put all the queries and responses together in one post and share it with the entire community so everyone can get a look at the responses on a single post. ### Q: Does MarketStore store data in memory? A: No. MarketStore is designed to run in a reasonable size of host without huge hardware investment. If you have lots of cash, software technology is irrelevant, but what software engineering can bring is that you can do a lot better job with cheaper hardware. MarketStore’s primary use case is to be able to store and distribute years of data at second level granularity for more than tens of thousands of series (US equities and crypto coins across exchanges can easily become this size). The data size can be a few terabytes, and it is not still very common to have this big size RAM in a commodity hardware. MarketStore instead stores everything in disk, but the on-disk format is nearly identical to the layout in the memory, and thanks to SSD evolution, MarketStore can load the data at the speed competitive to in-memory storage. ### Q: How does it make sense to compare with PostgreSQL and includes DataFrame loading? A: Even if you can store the data, offloading it from application processes, it is not useful if you cannot use it. MarketStore is mainly used in the context of AI machine learning and backtesting, and the application typically loads it into some tabular structure such as Pandas DataFrame. That is why MarketStore’s network protocol is byte sequence in MessagePack so the inefficient JSON deserialization can be avoided. The client can load the delivered byte data into memory as C array, which is what is used behind DataFrame. ### Q: How is it better compared to InfluxDB? A: We have not compared the performance with InfluxDB, but InfluxDB and other general-purpose timeseries databases use-case is as system metrics or activity log analysis. Those require more flexible data structure and don’t necessarily need specific functions such as timezone-aware aggregate. The flexibility comes with necessary overhead as tradeoffs as always, and MarketStore should be much faster and cost effective if the use case is the financial market data. ### Q: Why are you comparing with PostgreSQL when Timescale should be faster? A: You can send us the benchmark results if you have them, but in our internal experiments, Timescale is even slower than PostgreSQL compared to MarketStore. The loading time at the database server level for Timescale is 2–3x slower than PostgreSQL, since Timescale makes use of table partitioning (aka table constraints exclusion) that needs to open lots of files from disk. It will give advantage to filter a small slice of the data out of large amount of data, but it will not work better if you scan most of it. MarketStore stores the data in an optimal way on disk and reads sequentially direct to memory compared to those relational databases, so it is way faster. ### Q: MarketStore can be used only for historical data but not for real-time data right? A: There is a new feature coming soon to MarketStore that will allow streaming and realtime push on every new data write. MarketStore was originally designed to help our algo trading platform that builds trading algorithms using deep learning, and run them in the real market, and had JSON websocket streaming. The feature has been for the time being so that Marketstore can find a way to fit in larger use cases. But thankfully it is now back in as a plugin. We have been testing this with thousands of updates every few seconds and so far it is working perfectly. ### Q: Why do I need this for machine learning? I can load the data from disk without a problem A: If your training process doesn’t use much data (e.g. just daily bars from one stock), then yes probably you don’t need MarketStore for performance reasons. What we needed to do on Alpaca trading platform requires a server that is large enough to store an amount of intraday data across the entire market (can be up to terabyte range), and load the necessary series data back and forth. If you are familiar with typical machine learning training process, you can tell how the training iteration can load random data from the pool. That said, MarketStore is not just for performance, but also for the convenience to prove the uniformed way to access historical and real-time timeseries data the same way without worrying about how to manage local files etc. And the built-in data ingestor can load the data without even writing any code. ### Q: Where is the installer? A: Sorry, at the moment, we are not providing the one-click installer! But instead, we package the server process into a docker container image, so if you have docker, you can just start it in a second. ### Q: Why is it open sourced? A: Because there is a problem to be solved! MarketStore was implemented proprietary for our internal use and has been used in our production, but we have also seen the common problems affecting many people in the space. Our mission at Alpaca is to help individual investors with technology, and improve the algo trading environment, regardless of whether we give that information away to users or offer it in a premium package. This kind of product has only been accessible by financial institutions with large capital resources. But now we are making it available to anyone who is eager to try out! That’s awesome, isn’t it!? ### Q: I found a bug A: Please report it in the GitHub issue! ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 1 Response ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [1](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-faq%2F&t_d=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&t_t=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-faq%2F&t_d=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&t_t=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-faq%2F&t_d=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&t_t=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-faq%2F&t_d=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&t_t=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-faq%2F&t_d=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&t_t=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-faq%2F&t_d=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&t_t=9%20Most%20Commonly%20Asked%20Questions%20About%20MarketStore%20And%20Answers%20To%20Them&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mag40p2d32ial&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-faq%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.392291913281&uid=c7mag40p2d32ial&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-faq%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mag40p2d32ial&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.782646457368) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) [Next Post : 50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Trailing Stop Orders # Trailing Stop Orders on Alpaca! By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 11, 2020[0 Comments](https://alpaca.markets/blog/trailing-stop/#disqus_thread) ![Trailing Stop Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/09/trailing-stop.png) ## Launching Trailing Stop Orders _**(For details on how this works, please see the docs [here](https://alpaca.markets/blog/trailing-stop/For%20details%20on%20how%20you%20can%20place%20a%20trailing%20stop%20order%20via%20API,%20please%20see%20the%20docs%20here%20https://alpaca.markets/docs/trading-on-alpaca/orders/#trailing-stop-orders) [https://alpaca.markets/docs/trading-on-alpaca/orders/#trailing-stop-orders](https://alpaca.markets/docs/trading-on-alpaca/orders/?ref=alpaca.markets#trailing-stop-orders))**_ New types of advanced orders are always exciting! After launching [OCO/OTO](https://alpaca.markets/blog/oco-oto/) almost 6 months ago, we have been working on another hugely requested advanced order type, yes, Trailing Stop Orders! Today, we are excited to announce Trailing Stop Orders as a new addition to the list of advanced order types offered by [Alpaca Trading API](https://alpaca.markets/docs/trading-on-alpaca/orders/?ref=alpaca.markets). You can jump right into the API doc [here.](https://alpaca.markets/docs/trading-on-alpaca/orders/?ref=alpaca.markets#trailing-stop-orders) [Understand Orders - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://alpaca.markets/docs/images/alpacalogo.png)](https://alpaca.markets/docs/trading-on-alpaca/orders/?ref=alpaca.markets#trailing-stop-orders) ## How Trailing Stop Orders Work ![](https://alpaca.markets/blog/content/images/2020/09/trailing.png)_\*Please do note that this is for illustration only and is not a recommendation or suggestion of this trade_ Trailing stop orders allow you to continuously and automatically keep updating the stop price threshold based on the stock price movement. In order to decide how you want the stop price threshold to be automatically updated, you can request either: - a single order with a dollar offset value ( **trail\_price**: string a dollar value away from the highest water mark. If you set this to 2.00 for a sell trailing stop, the stop price is always **hwm - 2.00**.) or - percentage value ( **trail\_percent**: string a percent value away from the highest water mark. If you set this to 1.0 for a sell trailing stop, the stop price is always **hwm \* 0.99**.) as the trail to the latest stock price. The latest stop price of a trailing stop order automatically gets updated as the stock price moves in your favorable way, or it stays at the last level otherwise. This way, you may not need to monitor the price movement and keep sending replace requests to update the stop price that is close to the latest market movement. The stop price of a trailing stop order gets updated automatically. You can also read the explanation of Trailing Stop Orders from Investopedia. [Trailing Stop Definition and Uses\\ \\ A trailing stop is a stop order that tracks the price of an investment vehicle as it moves in one direction, but the order will not move in the opposite direction.\\ \\ ![](https://www.investopedia.com/static/1.118.0/icons/favicons/apple-touch-icon-180x180.png)InvestopediaCory Mitchell\\ \\ ![](https://www.investopedia.com/thmb/sSXv3yj0OsDPGfyI5H80EoS-s5A=/380x253/filters:fill(auto,1)/dv1410381-5bfc2b98c9e77c002630665d.jpg)](https://www.investopedia.com/terms/t/trailingstop.asp?ref=alpaca.markets) **Try Today!** For details on how you can place a trailing stop order via API, please see the docs [here](https://alpaca.markets/docs/trading-on-alpaca/orders/?ref=alpaca.markets#trailing-stop-orders). [Understand Orders - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://alpaca.markets/docs/images/alpacalogo.png)](https://alpaca.markets/docs/trading-on-alpaca/orders/?ref=alpaca.markets#trailing-stop-orders) Happy trading! \-\-\- **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Conditional orders may have increased risk as a result of their reliance on trigger processing, market data, and other internal and external systems. Such orders are not sent to the market until specified conditions are met. During that time, issues such as system outages with downstream technologies or third parties may occur. Conditional orders triggering near the market close may fail to execute that day. Furthermore, our executing partner may impose controls on conditional orders to limit erroneous trades triggering downstream orders. Alpaca Securities may not always be made aware of such changes to external controls immediately, which may lead to some conditional orders not being executed. As such, it is important to monitor conditional orders for reasonability. Conditional orders are “Not Held” orders whose execution instructions are on a best efforts basis upon being triggered. Furthermore, conditional orders may be subject to the increased risks of stop orders and market orders outlined above. Given the increased potential risk of using conditional orders, the client agrees that Alpaca Securities cannot be held responsible for losses, damages, or missed opportunity costs associated with market data problems, systems issues, and user error, among other factors. By using conditional orders the client understands and accepts the risks outlined above. Alpaca Securities encourages leveraging the use of Paper accounts to become more comfortable with the intricacies associated with these orders._ _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_FINRA_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_SIPC_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 1 Response ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [1](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrailing-stop%2F&t_d=Trailing%20Stop%20Orders%20on%20Alpaca!&t_t=Trailing%20Stop%20Orders%20on%20Alpaca!&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrailing-stop%2F&t_d=Trailing%20Stop%20Orders%20on%20Alpaca!&t_t=Trailing%20Stop%20Orders%20on%20Alpaca!&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrailing-stop%2F&t_d=Trailing%20Stop%20Orders%20on%20Alpaca!&t_t=Trailing%20Stop%20Orders%20on%20Alpaca!&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrailing-stop%2F&t_d=Trailing%20Stop%20Orders%20on%20Alpaca!&t_t=Trailing%20Stop%20Orders%20on%20Alpaca!&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrailing-stop%2F&t_d=Trailing%20Stop%20Orders%20on%20Alpaca!&t_t=Trailing%20Stop%20Orders%20on%20Alpaca!&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrailing-stop%2F&t_d=Trailing%20Stop%20Orders%20on%20Alpaca!&t_t=Trailing%20Stop%20Orders%20on%20Alpaca!&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mafuef2iqq3i6&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrailing-stop%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.0594899223599&uid=c7mafuef2iqq3i6&url=https%3A%2F%2Falpaca.markets%2Fblog%2Ftrailing-stop%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mafuef2iqq3i6&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.313765143543) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/tradingview-oco-tradetron/) [Next Post : Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Data Conference 2021 # Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders" By [Jason Bohne](https://alpaca.markets/blog/author/jason/) • February 11, 2021[0 Comments](https://alpaca.markets/blog/data-conference/#disqus_thread) ![Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/content/images/2021/02/blog_cover-1.jpg) ## Overview One of the most important components of algorithmic trading is the data used to generate signals. From market data to alternative data and all in between, traders now have more information at their fingertips than ever before. With that said, the **[Alpaca](https://alpaca.markets/?ref=alpaca.markets)** team is excited to host our second virtual conference **"Data: Modern Day Gold for Algorithmic Traders"** on March 5th, 2021. Along with our friends at [**Quiver Quantitative**](https://www.quiverquant.com/?ref=alpaca.markets) and [**TradingView**](https://www.tradingview.com/?ref=alpaca.markets), the conference will focus on the different types of data available to traders and developers along with examples of how one can integrate these into their trading algorithm. **Register for the event "Data: Modern Day Gold for Algorithmic Traders"below!** [Welcome! You are invited to join a webinar: Data: Modern Day Gold for Algorithmic Traders. After registering, you will receive a confirmation email about joining the webinar.\\ \\ The Alpaca team is excited to host our second virtual conference “Data: Modern Day Gold for Algorithmic Traders” on March 5th, 2021. Along with our friends at Quiver Quantitative and TradingView, the conference will focus on the different types of data available to traders and developers along with …\\ \\ ![](https://st1.zoom.us/zoom.ico)Zoom Video\\ \\ ![](https://st3.zoom.us/static/94150/image/thumb.png)](https://zoom.us/webinar/register/WN_ILt0WXZQSzWh-KGw2wjXfg?ref=alpaca.markets) * * * ## **Logistics** **"Data: Modern Day Gold for Algorithmic Traders"** will occur on **Friday, March 5th, 10:00 a.m.-11:35 a.m. CST.** We are incredibly lucky to have [**Yoshi Yokokawa**](https://twitter.com/iyoshyoshi?ref=alpaca.markets)\[CEOof  **Alpaca**\], [**James Kardatzke**](https://www.linkedin.com/in/james-kardatzke/?ref=alpaca.markets) and **[Christopher Kardatzke](https://www.linkedin.com/in/kardatzke1/?ref=alpaca.markets)** \[CEO and CTOof **[Quiver Quantitative](https://www.quiverquant.com/?ref=alpaca.markets)** respectively\],and **[Pierce Crosby](https://www.linkedin.com/in/piercecrosby/?ref=alpaca.markets)**\[General Managerof **[TradingView](https://www.tradingview.com/?ref=alpaca.markets)**\] as our keynote speakers for the event. ![Alpaca, Quiver Quantitative, TradingView](https://alpaca.markets/learn/content/images/2021/02/conference_logo-1.png)Alpaca, Quiver Quantitative, TradingView ## The Conference Schedule (CST) - 10:00 a.m.- 10:05 a.m. : **Introduction** - 10:05 a.m.- 10:25 a.m. : **Exchange to Algorithm: Implementing Market Data to Trade** hosted by **Jason Bohne** and **Yoshi Yokokawa** - 10:25 a.m.- 10:55 a.m. : **From WallStreetBets to Tracking Jets: Implementing Alternative Data into your Trading Algorithm** hosted by **James Kardatzke and Chris Kardatzke** - 10:55 a.m. -11:00 a.m. : **Break** - 11:00 a.m.- 11:30 a.m. : **Exploring the TradingView Environment** hosted by **Pierce Crosby** - 11:30 a.m.- 11:35 a.m. : **Closing Remarks and Contact Information** Please register for the event on this **Zoom Registration Page** where all of the information will be available. The Virtual Conference link can also be found below: [Welcome! You are invited to join a webinar: Data: Modern Day Gold for Algorithmic Traders. After registering, you will receive a confirmation email about joining the webinar.\\ \\ The Alpaca team is excited to host our second virtual conference “Data: Modern Day Gold for Algorithmic Traders” on March 5th, 2021. Along with our friends at Quiver Quantitative and TradingView, the conference will focus on the different types of data available to traders and developers along with …\\ \\ ![](https://st1.zoom.us/zoom.ico)Zoom Video\\ \\ ![](https://st3.zoom.us/static/94150/image/thumb.png)](https://zoom.us/webinar/register/WN_ILt0WXZQSzWh-KGw2wjXfg?ref=alpaca.markets) We are looking forward to everyone who attends. We will be recording the conference to share with the community at a later date. Please feel free to reach out if you have any questions. * * * ![Virtual Conference 5th March 2021](https://alpaca.markets/learn/content/images/2021/02/conference_banner.png)Virtual Conference 5th March 2021 _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by [**Alpaca Securities LLC**](https://alpaca.markets/?ref=alpaca.markets), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ You can find us [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?source=post_page---------------------------), if you use Twitter. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/02/2020-06-15--2-.png)](https://alpaca.markets/blog/author/jason/) About [Jason Bohne](https://alpaca.markets/blog/author/jason/) Events and Marketing at Alpaca Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 2 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [2](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdata-conference%2F&t_d=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&t_t=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdata-conference%2F&t_d=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&t_t=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdata-conference%2F&t_d=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&t_t=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdata-conference%2F&t_d=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&t_t=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdata-conference%2F&t_d=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&t_t=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdata-conference%2F&t_d=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&t_t=Our%20Next%20Virtual%20Conference%3A%20%22Data%3A%20Modern%20Day%20Gold%20for%20Algorithmic%20Traders%22&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mafu5h34ktni9&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fdata-conference%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.280836653975&uid=c7mafu5h34ktni9&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fdata-conference%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mafu5h34ktni9&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.527931401864) [Previous Post : Important Update: Alpaca Launches Market Data API 2.0](https://alpaca.markets/blog/market-data-api-launch/) [Next Post : Web Dashboard Updates and Support Page Launch](https://alpaca.markets/blog/dashboard-and-support-page/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## MOC and CORS Updates # MOC, WebSocket, CORS, Bug & Security Fixes By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 18, 2019[0 Comments](https://alpaca.markets/blog/websocket-moc-cors/#disqus_thread) ![MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/content/images/2020/03/0_P2DkWhzqgLWpM7Hk.jpeg) It’s only been about a week after our big launch of commission-free short selling and margin, but we had a productive cycle this week and delivered a lot of improvements in our platform and API. I felt it would be great to share with you guys what has been fixed and changed recently with some highlights. Before jumping into each, these improvements are the result of both the great team and user community as always. Kudos! ### Market-on-Close and Limit-on-Close Orders Support One of the biggest achievements this week was the support for Market-on-Close (MOC) and Limit-on-Close (LOC). These have been requested by a number of users for a number of reasons, and now it’s here! To use this feature, you can simply set the time-in-force parameter on our Trading API to “cls” to indicate the order is to target the market close. For example, if you are running the code that aims to stay flat everyday, now you can submit MOC orders during the market session and forget about it. This feature is available effective immediately in the API v2, including paper trading simulator. ### Fix for OPG (At-the-Open) Orders in Paper Trading Along with this MOC/LOC release, we have addressed the issue around OPG orders. OPG orders are orders that can be submitted to fill at the time of market opening. You can submit the orders earlier in the day before the market opens. Prior to the fix, the behavior in paper trading for OPG orders was not very consistent with the intended design. These issues have been addressed in this release. Try it for free in paper trading! ### Allow CORS for v2 API, or browser JavaScript Trading Algorithm [Cross-origin Resource Sharing, or CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing?ref=alpaca.markets) is the standard protocol to allow browser JavaScript program to access useful resources from different origin sites. Traditionally, browser JavaScript (typically Ajax) program was restricted to make such request to such sites, so that malicious websites may not be granted to read such data unexpectedly. But there are cases when there is reason to allow this especially when it comes to the public resource like our Trading API. CORS is to basically tell browsers that it is ok to do so. Until this release, Alpaca’s Trading API was not accepting Ajax request from JavaScript code in non-alpaca domain. After carefully evaluating the risk and placing the security protection, CORS is now allowed and you can call Trading API from JavaScript code running in any website in the world. What this means is that you can run your trading algorithm with only HTML and JavaScript! Often the challenges of the first step to the programming is to set up such an environment to run your program, but HTML and JavaScript is so easy since virtually everyone already has web browsers. Of course, not only trading algo, but you can also write your own trading UI calling Trading API. We will demonstrate more examples of doing this, and will post here later. ### Websockets migration from NATS For the real-time and historical market price data, Alpaca has been working closely with [Polygon](https://polygon.io/?ref=alpaca.markets). Our client SDK libraries and API integration have been using NATS protocol for the real-time data streaming, but we have completed the migration to websockets. This would help a lot in the latency in data delivery as well as address unresolved issues that were happening. We have released the new version of our [Python SDK](https://github.com/alpacahq/alpaca-trade-api-python?ref=alpaca.markets) last week first, but we will move on to [C#](https://github.com/alpacahq/alpaca-trade-api-csharp?ref=alpaca.markets), [JS](https://github.com/alpacahq/alpaca-trade-api-js?ref=alpaca.markets) and [Go](https://github.com/alpacahq/alpaca-trade-api-go?ref=alpaca.markets) SDK soon to support the same. ### Better Error Message for Insufficient Positions Developer experience (or DX) is one of our top priorities at Alpaca, as an API-first company. Last week, we picked up the long-time awaited request to improve the error message when a sell order is submitted with insufficient positions. Previously, the message was like ``` { “code”: 40310000, “message”: “insufficient position (100 < 0)” } ``` As of today, you will see something like this. ``` javascript { "available": "0", "code": 40310000, "existing_qty": "500", "held_for_orders": "500", "message": "insufficient qty available for order (requested 100, available: 0)", "symbol": "ALPACA" } ``` Copy This would help a lot of debugging with more information. ### Mobile Apps Update to Adapt to v2 Our showcase open-source [mobile app built in React Native](https://github.com/alpacahq/alpaca-rn-mobile?ref=alpaca.markets) has been updated and the binary has been released both for [Android](https://play.google.com/store/apps/details?id=app.alpaca.markets&hl=en&ref=alpaca.markets) and [iOS](https://apps.apple.com/us/app/alpaca-dashboard/id1448888086?ref=producthunt). This release supports the new API v2 for margin and shorting, as well as extended hours trading (MOC/LOC will be coming too.) ![](https://alpaca.markets/blog/content/images/2020/03/1_gnhVlZtRmUMi8XvjL8ab0w-1.png) Keep in mind that this app is open-source! You can take the code and improve it for your own needs, or even develop some great new features and share them back to the community! ### Notable Bug Fix If you were trading in the pre-market, there was a chance that the Position API _unrealized\_intraday\_pl_ field was calculating the profit/loss incorrectly. This has been resolved. ### Security Fixes As a trading platform, we are committed to building one of the highest security levels in the industry. We appreciate the feedback we have received from the community and will continue to enhance our security reporting program. Please stay tuned! Recently we have addressed these issues. - [X-Frame-Options](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options?ref=alpaca.markets) header is now set to “SAMEORIGIN”. This prevents clickjacking to our dashboard page. - The unnecessary authentication methods have been dropped from our Trading API endpoints to further bolster the security around the API. ### Dashboard Updates There are a number of small improvements in the dashboard, but most notably we have implemented the display of the withdraw-able amount you can transfer out and the input is verified against this value quickly. This will help you understand how much you can withdraw. ![](https://alpaca.markets/blog/content/images/2020/03/0_edQnDvgFFTIQ0a7e.png) * * * _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ( [alpaca.markets](https://alpaca.markets/?utm_source=medium&utm_medium=blog&utm_campaign=strategy_list&utm_content=part1)), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ **_You can find us_** [**_@AlpacaHQ_**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **_, if you use twitter._** ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored [by Taboola](https://popup.taboola.com/en/?template=colorbox&utm_source=disqus-widget-safetylevel20longtail09&utm_medium=referral&utm_content=thumbnails-a:{%22domain%22:%20%22https://alpaca.markets%22,%20%22experiment%22:%20%22network_default%22,%20%22position%22:%20%22top%22,%20%22shortname%22:%20%22example%22,%20%22variant%22:%20%22fallthrough%22}:) [by Taboola](https://popup.taboola.com/en/?template=colorbox&utm_source=disqus-widget-safetylevel20longtail09&utm_medium=referral&utm_content=thumbnails-a:{%22domain%22:%20%22https://alpaca.markets%22,%20%22experiment%22:%20%22network_default%22,%20%22position%22:%20%22top%22,%20%22shortname%22:%20%22example%22,%20%22variant%22:%20%22fallthrough%22}:) [Sponsored Links](https://popup.taboola.com/en/?template=colorbox&utm_source=disqus-widget-safetylevel20longtail09&utm_medium=referral&utm_content=thumbnails-a:{%22domain%22:%20%22https://alpaca.markets%22,%20%22experiment%22:%20%22network_default%22,%20%22position%22:%20%22top%22,%20%22shortname%22:%20%22example%22,%20%22variant%22:%20%22fallthrough%22}:) [Sponsored Links](https://popup.taboola.com/en/?template=colorbox&utm_source=disqus-widget-safetylevel20longtail09&utm_medium=referral&utm_content=thumbnails-a:{%22domain%22:%20%22https://alpaca.markets%22,%20%22experiment%22:%20%22network_default%22,%20%22position%22:%20%22top%22,%20%22shortname%22:%20%22example%22,%20%22variant%22:%20%22fallthrough%22}:) [Promoted Links](https://popup.taboola.com/en/?template=colorbox&utm_source=disqus-widget-safetylevel20longtail09&utm_medium=referral&utm_content=thumbnails-a:{%22domain%22:%20%22https://alpaca.markets%22,%20%22experiment%22:%20%22network_default%22,%20%22position%22:%20%22top%22,%20%22shortname%22:%20%22example%22,%20%22variant%22:%20%22fallthrough%22}:) [Promoted Links](https://popup.taboola.com/en/?template=colorbox&utm_source=disqus-widget-safetylevel20longtail09&utm_medium=referral&utm_content=thumbnails-a:{%22domain%22:%20%22https://alpaca.markets%22,%20%22experiment%22:%20%22network_default%22,%20%22position%22:%20%22top%22,%20%22shortname%22:%20%22example%22,%20%22variant%22:%20%22fallthrough%22}:) You May Like USHUAÏA IBIZA BEACH HOTELPalladium Hotel Group Book Now [How Can I Get a $500 Loan?MoneyLion\\ Learn More](https://www.moneylion.com/learn/how-can-i-get-a-500-loan "How Can I Get a $500 Loan?") TRS IBIZA HOTEL: Ultimate Ibiza Hotel ExperiencePalladium Hotel Group Shop Now [How to Transfer Money From Prepaid Card to Bank AccountMoneyLion\\ Learn More](https://www.moneylion.com/learn/how-to-transfer-money-from-prepaid-card-to-bank-account "How to Transfer Money From Prepaid Card to Bank Account") [The Most Wanted Comfy Orthopedic Shoes In 2025Mennee.com\\ Shop Now](https://mennee.com/products/%E2%AD%90-last-day-sale-50-off%F0%9F%94%A5vintage-premium-orthopedic-open-toe-summer-wedges-platform-sandals-2024f66f1850-9d75-408c-bafd-a3d1b4826cec "The Most Wanted Comfy Orthopedic Shoes In 2025") [Taking American businesses globalCIO \| Tata Communications](https://www.cio.com/article/3843291/taking-american-businesses-global.html "Taking American businesses global") imprnjmp.taboola.com # imprnjmp.taboola.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() us-match.taboola.com # us-match.taboola.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fwebsocket-moc-cors%2F&t_d=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&t_t=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fwebsocket-moc-cors%2F&t_d=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&t_t=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fwebsocket-moc-cors%2F&t_d=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&t_t=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fwebsocket-moc-cors%2F&t_d=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&t_t=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fwebsocket-moc-cors%2F&t_d=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&t_t=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fwebsocket-moc-cors%2F&t_d=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&t_t=MOC%2C%20WebSocket%2C%20CORS%2C%20Bug%20%26%20Security%20Fixes&s_o=default#) Sponsored . [Navigating the pressures facing CIOsCIO \| Tata Communications](https://www.cio.com/article/3839388/navigating-the-pressures-facing-cios.html "Navigating the pressures facing CIOs") [Transforming the WAN to future-proof the network infrastructureNetwork World \| Singtel](https://www.networkworld.com/article/3962505/transforming-the-wan-to-future-proof-the-network-infrastructure.html "Transforming the WAN to future-proof the network infrastructure") [Putting networks at the top of CIOs’ agendasCIO \| Tata Communications](https://www.cio.com/article/3843299/putting-networks-at-the-top-of-cios-agendas.html "Putting networks at the top of CIOs’ agendas") All-Inclusive Resort in Riviera NayaritPalladium Hotel Group USHUAÏA IBIZA BEACH HOTELPalladium Hotel Group Book Now [Intelligence at the edge opens up more risks: how unified SASE can solve itNetwork World \| Singtel](https://www.networkworld.com/article/3962528/intelligence-at-the-edge-opens-up-more-risks-how-unified-sase-can-solve-it.html "Intelligence at the edge opens up more risks: how unified SASE can solve it") imprnjmp.taboola.com # imprnjmp.taboola.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() us-match.taboola.com # us-match.taboola.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/position-liquidation-cancel-orders/) [Next Post : Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/commission-free-short-selling/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Algo Trading Conference # Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 05, 2020[0 Comments](https://alpaca.markets/blog/algo-trading-conference/#disqus_thread) ![Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th](https://alpaca.markets/blog/content/images/2020/10/2020-10-16--7-.png) ## Algorithmic Trading Ecosystem With all the options available nowadays for algorithmic traders, many people entering this industry might feel overwhelmed on where to even start. To add on, algorithmic trading demands a diverse skillset, such as knowledge of financial markets, experience working with API's and understanding of data analysis, to name a few. With that said, the [Alpaca](https://alpaca.markets/?ref=alpaca.markets) team is excited to host the virtual conference ["An Insight into the Algo Trading Industry"](https://www.eventbrite.com/e/122515151115?aff=efbneb&ref=alpaca.markets) on October 30, 2020 along with a series of conferences where we bring on fellow industry professionals to discuss the role each company plays in the ecosystem of [Algo Trading Landscape.](https://alpaca.markets/learn/algo-trading-landscape/?ref=alpaca.markets) **Register for the event " [An Insight into the Algo Trading Industry](https://www.eventbrite.com/e/122515151115?aff=efbneb&ref=alpaca.markets)" from [Eventbrite](https://www.eventbrite.com/e/122515151115?aff=efbneb&ref=alpaca.markets)!** [An Insight into the Algo Trading Industry: Online Conference - 10/30\\ \\ An Insight into the Algo Trading Industry: Online Conference with Alpaca, Quantpedia, Vauban and another participating company.\\ \\ ![](https://cdn.evbstatic.com/s3-build/perm_001/477279/django/images/favicons/favicon-194x194.png)Eventbrite\\ \\ ![](https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F112502235%2F477768752333%2F1%2Foriginal.20200924-065359?w=1000&auto=format%2Ccompress&q=75&sharp=10&rect=0%2C23%2C798%2C399&s=e24b9ee36e0d1d3bd6b4b165b6a8f75f)](https://www.eventbrite.com/e/122515151115?aff=efbneb&ref=alpaca.markets) * * * ## 1st Virtual Conference: October 30th 8:30am EST We will host our [first virtual conference](https://www.eventbrite.com/e/122515151115?aff=efbneb&ref=alpaca.markets) at **Friday, October 30th, 8:30 a.m.-10:15 a.m. EST** where we are incredibly lucky to have [Radovan Vojtko](https://twitter.com/quantpedia?ref=alpaca.markets) from [Quantpedia](https://quantpedia.com/?ref=alpaca.markets), [Rémy Astié](https://www.linkedin.com/in/remyastie/?ref=alpaca.markets) from [Vauban](https://vauban.io/?ref=alpaca.markets),  and [Prodipta Ghosh](https://www.linkedin.com/in/prodipta/?ref=alpaca.markets) from [QuantInsti](https://blog.quantinsti.com/?ref=alpaca.markets) to speak about their respective roles within the industry. Along with [Yoshi Yokokawa](https://twitter.com/iyoshyoshi?ref=alpaca.markets) from [Alpaca](https://alpaca.markets/?ref=alpaca.markets), the conference will center on the workflow of taking a trading algorithm from the idea generation stage all the way to execution. Each speaker will conduct a 15 minute presentation/Q&A session followed by a 30 minute group panel discussion. ### The Conference Schedule (EST) - 8:30-8:35 : Welcome speech - 8:35-8:50 : 1st session: 10min presentation, 5min Q&A (Yoshi Yokokawa from Alpaca) - 8:50-9:05 : 2nd session: 10min presentation, 5 min Q&A (Radovan Vojtko  from Quantpedia) _5 min break_ - 9:10-9:25 : 3rd session: 10min presentation, 5min Q&A (Rémy Astié from Vauban) - 9:25-9:40 : 4th session: 15 min presentation (Prodipta Ghosh from [QuantInsti](https://blog.quantinsti.com/?ref=alpaca.markets)) - 9:40-10:10 : Group panel session: 30min discussion - 10:10-10:15 : Closing Remarks Please register for the event on this [Eventbrite page](https://www.eventbrite.com/e/122515151115?aff=efbneb&ref=alpaca.markets) where all of information will be available. The Zoom link can also be found below: [Join our Cloud HD Video Meeting\\ \\ Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference room solution used around the world in board, confer…\\ \\ ![](https://zoom.us/zoom.ico)Zoom Video](https://zoom.us/j/98691246528?pwd=WndnNXFMN1Btc1BJQkx0RVRWL0lRUT09&ref=alpaca.markets)[An Insight into the Algo Trading Industry: Online Conference - 10/30\\ \\ An Insight into the Algo Trading Industry: Online Conference with Alpaca, Quantpedia, Vauban and another participating company.\\ \\ ![](https://cdn.evbstatic.com/s3-build/perm_001/477279/django/images/favicons/favicon-194x194.png)Eventbrite\\ \\ ![](https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F112502235%2F477768752333%2F1%2Foriginal.20200924-065359?w=1000&auto=format%2Ccompress&q=75&sharp=10&rect=0%2C23%2C798%2C399&s=e24b9ee36e0d1d3bd6b4b165b6a8f75f)](https://www.eventbrite.com/e/122515151115?aff=efbneb&ref=alpaca.markets) We are looking forward to everyone who attends. We will be recording the conference to share with Alpaca users at a later date. Please feel free to reach out if you have any questions. * * * _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by [**Alpaca Securities LLC**](https://alpaca.markets/?ref=alpaca.markets), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ You can find us [@AlpacaHQ](https://twitter.com/AlpacaHQ?source=post_page---------------------------), if you use twitter. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc., a third party that is unaffiliated with the owner of this website. Checking the boxes below constitutes your consent. You may withdraw your consent at any time by clicking [here](https://disqus.com/data-sharing-settings/). I have read and agree to Disqus' [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy).I consent to Disqus’ processing of my personal data, in accordance with our [Privacy Policy](https://disqus.com/privacy-policy), to the extent needed to authenticate me and enable me to post comments or use other Disqus services. I consent to Disqus collecting, using, and disclosing my personal data for marketing purposes, in accordance with its [Privacy Policy](https://disqus.com/data-sharing-settings/), including the use of tracking cookies for cross context behavioral advertising, which can include collecting information about the other websites I visit across the internet. - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgo-trading-conference%2F&t_d=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&t_t=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgo-trading-conference%2F&t_d=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&t_t=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgo-trading-conference%2F&t_d=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&t_t=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgo-trading-conference%2F&t_d=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&t_t=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgo-trading-conference%2F&t_d=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&t_t=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgo-trading-conference%2F&t_d=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&t_t=Virtual%20Conference%20%22An%20Insight%20into%20the%20Algo%20Trading%20Industry%22%20on%20Oct%2030th&s_o=default#) Sponsored [Previous Post : The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/2nd-trade-contest/) [Next Post : TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/tradingview-oco-tradetron/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Portfolio History API # Personalize Your Portfolio Performance View With Portfolio History API By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 16, 2020[0 Comments](https://alpaca.markets/blog/portfolio-history-api/#disqus_thread) ![Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/content/images/2020/03/photo-1461360370896-922624d12aa1.jpeg) ## More Broker API Features Are Coming We continue to add more API features so that you can build your DIY stock trading app and experience with ease. Today, we are excited to launch the [Portfolio History API](https://docs.alpaca.markets/api-documentation/api-v2/portfolio-history/?ref=alpaca.markets). [Portfolio History - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://docs.alpaca.markets/images/alpacalogo.png)](https://docs.alpaca.markets/api-documentation/api-v2/portfolio-history/?ref=alpaca.markets) Portfolio History API allows you to get the timeseries data for your portfolio performance in real-time. You can now personalize your portfolio performance view however you like the best. ![](https://alpaca.markets/blog/content/images/2020/03/portfolio-history-API.png) ## More Personalized Performance View With this API, you can plot your portfolio performance in your DIY app, your website, your live-streaming screen, or anywhere you want to show off to the world in however format you want. As you know, Alpaca’s web dashboard uses this API to display the portfolio performance. I am sure that you can make this more personalized and something that you would personally like ? ![](https://alpaca.markets/blog/content/images/2020/03/dashboard-example.png) If you are using this API to build your app for your app end-users, this works well with [OAuth integration](https://docs.alpaca.markets/build-apps_services-with-alpaca/oauth-guide/?ref=alpaca.markets), so that your end users can visually track his/her portfolio performance securely. Check out the documentation to learn more about [Portfolio History API](https://docs.alpaca.markets/api-documentation/api-v2/portfolio-history/?ref=alpaca.markets). Happy building! * * * **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_FINRA_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_SIPC_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fportfolio-history-api%2F&t_d=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&t_t=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fportfolio-history-api%2F&t_d=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&t_t=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fportfolio-history-api%2F&t_d=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&t_t=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fportfolio-history-api%2F&t_d=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&t_t=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fportfolio-history-api%2F&t_d=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&t_t=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fportfolio-history-api%2F&t_d=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&t_t=Personalize%20Your%20Portfolio%20Performance%20View%20With%20Portfolio%20History%20API&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7magppt2vms12i&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fportfolio-history-api%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.194709130401&uid=c7magppt2vms12i&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fportfolio-history-api%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7magppt2vms12i&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.712482281415) Sponsored [Previous Post : Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/stock-market-data-api/) [Next Post : Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Broker API # Introducing Alpaca Broker API By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • April 21, 2021[0 Comments](https://alpaca.markets/blog/introducing-broker-api/#disqus_thread) ![Introducing Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/04/broker-api-1.png) Alpaca is built on a simple mission: enable all people around the world to have access to investing in financial markets. Over the last few years, we doubled down on simplifying and improving the developer and trader experiences of our APIs. We’ve watched our community grow despite the pandemic and we know that we’ve just begun to scratch the surface of what our APIs can help create. ## End-to-End Brokerage Experience via API Today we’re excited to introduce **[Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets)**, a product that enables developers from across the world to connect their apps to the US stock market(1). Expanding on our vision that every app can be a fintech app, Alpaca Broker API streamlines the process of building the end-to-end experience of a trading app. [Alpaca Broker API - The full brokerage experience on your app\\ \\ Alpaca is a modern platform for trading. Alpaca’s API is the interface for your trading algorithms, bots, or applications to communicate with Alpaca’s brokerage and other services.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) Broker API is organized around REST, making it easy and intuitive to build on top of Alpaca’s infrastructure. Until now, integrating stock trading capabilities into an app was a tedious and linear process. Now, you can start building in a sandbox environment in parallel with becoming compliant with applicable rules and regulations. Alpaca Broker API features: 1. Onboard, open, and manage individual user brokerage accounts 2. Fund individual user accounts through our Plaid integration, wire transfers, or ACH transfers transfers 3. Leverage Alpaca’s KYC / CIP (Know Your Customer / Customer Identification Program) APIs to verify the identity of your customers 4. Journal cash or stocks between accounts to instantly fund user accounts or embed into your own growth strategies 5. Enable trading functionality for your users, from long and short positions to [fractional trading](https://alpaca.markets/blog/fractional-trading/) and complex order types, ex. bracket and limit orders 6. Download trade confirmations and account statements required by local compliance laws 7. Charge commissions(2) and manage them (restrictions may apply) ## Funding and Global KYC / CIP Compliance Staying true to our mission of enabling access to the financial markets, we are powering your operations with two highly flexible and global processes, funding, and KYC / CIP. You can now fund user brokerage accounts while leveraging highly customizable funding operations, designed specifically for your business goals. From a simple ACH integration to international instant deposits, we have the tools you’ll need and will be integrating more services as we grow. In addition, we have also integrated with the top KYC / CIP providers from around the world so you can pass that KYC information to Alpaca and leave the heavy lifting to us. ## Fractional Shares, Rewards, Market Data With Broker API, you are creating the ability for your users to invest in the stock market with as little as $1. This means that people from all over the world will be able to own portions of companies and ETFs that they would have otherwise not been able to access and invest in. Broker API also allows you to instantly journal funds into user accounts and can be leveraged to provide instantaneous funding. With this, you are now empowered to build and offer referral programs, sign-up rewards, and enable other incentive strategies to activate and grow your user base. We also offer access to our market data through Broker API. You can build historical charts and provide additional information about stocks to give better experiences without other third-party integrations. ## First Batch of Fintech Partners on Broker API We started offering our Broker API at the end of 2020. With the help of our key partners, we have continued to develop and fine-tune our platform. Today, we’re thrilled to announce [**Gotrade**](https://www.heygotrade.com/?ref=alpaca.markets) and [**Midas**](https://www.getmidas.com/?ref=alpaca.markets) as our first fintech partners (both registered broker-dealers in their respective jurisdictions) that have built and launched their apps using Alpaca Broker API. [Gotrade \| Commission Free Fractional US Stocks\\ \\ Invest in fractions of US stocks from as little as $1.\\ \\ ![](https://www.heygotrade.com/icons/icon-512x512.png?v=dd8ad687c19392ec50880bff88df1da8)Commission Free Fractional US Stocks\\ \\ ![](https://www.heygotrade.com/images/meta-image.png)](https://www.heygotrade.com/?ref=alpaca.markets)[Midas - Özgür Yatırım\\ \\ Türk ve Amerikan Hisselerine Kolayca Yatırım Yap, Dünyaca Ünlü Şirketlerin Hikayelerine Ortak Ol. Hemen Bekleme Listesine Katıl!\\ \\ ![](https://images.squarespace-cdn.com/content/v1/60041f144616fd2204d5562b/1612779931446-OHSMSPIA5TOIHA1K2TUL/ke17ZwdGBToddI8pDm48kLXCf88_9uNTKXkq27cF4sB7gQa3H78H3Y0txjaiv_0fDoOvxcdMmMKkDsyUqMSsMWxHk725yiiHCCLfrh8O1z5QHyNOqBUUEtDDsRWrJLTmwbA6upbL5Bu97tJociXJklKprRMdH2Tl4F1PjaoPT3YUs5wkl5ojCV1O900UJ7ME/favicon.ico?format=100w)Midas\\ \\ ![](http://static1.squarespace.com/static/60041f144616fd2204d5562b/t/60211220b4eb9322e8a3d62f/1612780066651/App_store_1024_1x.png?format=1500w)](https://www.getmidas.com/?ref=alpaca.markets) ## Get Started! [Sign-up today](https://alpaca.markets/broker?ref=alpaca.markets) and grab your API keys to start building in our sandbox environment. You won’t have to worry about the live market, real money, and compliance until you’re ready. Once you’re ready to go live, our partnership team will guide you through the rest of the onboarding process. Happy building! _1 This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States)._ _2 Subject to limitations and restrictions. Typically available only for registered broker-dealers._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/mahmoud/) About [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-broker-api%2F&t_d=Introducing%20Alpaca%20Broker%20API&t_t=Introducing%20Alpaca%20Broker%20API&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-broker-api%2F&t_d=Introducing%20Alpaca%20Broker%20API&t_t=Introducing%20Alpaca%20Broker%20API&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-broker-api%2F&t_d=Introducing%20Alpaca%20Broker%20API&t_t=Introducing%20Alpaca%20Broker%20API&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-broker-api%2F&t_d=Introducing%20Alpaca%20Broker%20API&t_t=Introducing%20Alpaca%20Broker%20API&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-broker-api%2F&t_d=Introducing%20Alpaca%20Broker%20API&t_t=Introducing%20Alpaca%20Broker%20API&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-broker-api%2F&t_d=Introducing%20Alpaca%20Broker%20API&t_t=Introducing%20Alpaca%20Broker%20API&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mag5hmllec59&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-broker-api%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.607947989823&uid=c7mag5hmllec59&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-broker-api%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mag5hmllec59&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.0353919441175) Sponsored [Previous Post : REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/reg-taf-fees/) [Next Post : Market Data v2 Beta Status Update](https://alpaca.markets/blog/market-data-api-beta-update/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## REG/TAF Fee Updates # REG/TAF Fee Updates with Alpaca By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • May 03, 2021[0 Comments](https://alpaca.markets/blog/reg-taf-fees/#disqus_thread) ![REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/content/images/2021/05/Alpaca-1.png) ## TL; DR We’re excited to announce some enhancements that went into effect April 26, 2021. First, based on feedback from our customers, the **REG/TAF fee calculation has changed for all Alpaca customers**. Second, for greater clarity and transparency, these fees are now listed as a separate line item in the account activity records on both the dashboard or through the API on any sales transactions. * * * ## A little bit about the REG/TAF Fee Every time you sell your stocks, the SEC and FINRA charge fees on the sale. The SEC charges $8  for every $1,000,000 (or $0.000008 per dollar), and FINRA charges $166 for every 1,000,000 shares (or $0.000166 per share) sold up to a maximum of $8.30 per trade. We denote the former as REG fee, and the latter as TAF fee. These fees are used by regulators to help offset the costs associated with regulating the equities market. Regulators assess these fees on broker-dealers who report transactions. Broker-dealers, in turn, are allowed to pass these fees on to customers. Alpaca currently passes these fees on to customers who effect a sale transaction on a daily basis at the end of each trading day. * * * ## Why does it matter? In February 2021, Alpaca migrated to a new clearing broker partner, Velox. As part of this migration, Alpaca transitioned to its own back-office system that was built in-house. This transition included a change to how the REG/TAF fees were calculated on sale transactions. Below is an explanation of the difference; we call the first method a “Daily-consolidated” calculation and the second method a “Per-transaction” calculation. * * * ## “Daily-consolidated” vs “Per-transaction” Let’s say, you sold 100 shares of XYZ at $100 per share. Your proceeds are $10,000. The REG fee is $0.08 (10,000 \* 8.00/ 1,000,000). In order to book this value in the accounting system and charge it appropriately, we need to account for the $0.001 (0.1 cents). Alpaca currently rounds up to the nearest cent for any fractional cents. For a small number of sales transactions per day, this “Per-transaction” approach has a negligible impact on customers. However, a potential problem arises when you have a lot of sales transactions in a day. Let’s say you had 100 sales of 1 share each for $100 per share. If we use the “Daily-consolidated” approach, then the REG fee will be: roundup(100 \* 8 / 1,000,000 \* 100) = roundup($0.08) = **$0.08** but if we take the “Per-transaction” approach, roundup(100 \* 8 / 1,000,000) \* 100 = roundup($0.0008) \* 100 = **$1.00** As you can see, the only difference is the timing when you round up the fee amount. When we transitioned to our own back-office system in February 2021, we began using the “Per-transaction” method to calculate the REG/TAF fee. This resulted in some customers being assessed a larger than normal REG fee. When we were made aware of this issue, we conducted a thorough analysis of our internal accounting methods, revisited our bookkeeping model, and assessed the impact to our operations. * * * ## What changed and where we are going Effective April 26th, the calculation has switched to the “Daily-consolidated” model. In parallel with this change, you should find a new activity record in your dashboard and the account activities API with the activity type called FEE every day you have a sales transaction. This should provide greater clarity with regard to the REG/TAF fees assessed on your sales transactions Please note that you may find two records for each REG and TAF if you traded with fractional shares. This is because what it is payable to is different, the street side transaction vs Alpaca’s inventory management transaction. Of course, the biggest change with this switch is that you should see fewer charges in total as the unnecessary roundups were skipped. As a commission-free broker surrounded by a great trader and dedicated developer community, we always appreciate your feedback. While this change wasn’t easy for us, your feedback led us in the right direction. Please give us your feedback any time you find something! * * * In case of additional questions, please feel free to reach out to us on our [**Alpaca Forum**](https://forum.alpaca.markets/?ref=alpaca.markets) and the [**Alpaca Community Slack**](https://alpaca-community.slack.com/join/shared_invite/zt-lycgjntu-oDtZQN_TN~ewRewdZUJ5gQ?ref=alpaca.markets#/). _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by [**Alpaca Securities LLC**](https://alpaca.markets/?ref=alpaca.markets), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ You can find us [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?source=post_page---------------------------), if you use Twitter. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/645a315440aea33bd45204259f424a4b?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/hitoshi/) About [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 1 Response ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [1](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Freg-taf-fees%2F&t_d=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&t_t=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Freg-taf-fees%2F&t_d=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&t_t=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Freg-taf-fees%2F&t_d=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&t_t=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Freg-taf-fees%2F&t_d=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&t_t=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Freg-taf-fees%2F&t_d=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&t_t=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Freg-taf-fees%2F&t_d=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&t_t=REG%2FTAF%20Fee%20Updates%20with%20Alpaca&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mafucr3eh23te&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Freg-taf-fees%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.679335669724&uid=c7mafucr3eh23te&url=https%3A%2F%2Falpaca.markets%2Fblog%2Freg-taf-fees%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mafucr3eh23te&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.0524367337885) [Previous Post : Alpaca Launches Data API](https://alpaca.markets/blog/market-data-apiv2/) [Next Post : Introducing Alpaca Broker API](https://alpaca.markets/blog/introducing-broker-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Web Dashboard Update # Web Dashboard Gets A Facelift By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 18, 2020[0 Comments](https://alpaca.markets/blog/web-dashboard-update/#disqus_thread) ![Web Dashboard Gets A Facelift](https://alpaca.markets/blog/content/images/2020/03/alpaca-ui-update.png) We’re not above getting a little face lift—and that’s exactly what we did… to our web dashboard. There are various improvements to make your visual, and usability, experience even better. In case you don’t spot them all right away, we made a list. ### **1\. Profile** ![Navigation](https://images.squarespace-cdn.com/content/v1/5ae76be68ab7221a1204c121/1582063196422-G6ZFITLKNO6YX0GS2X19/ke17ZwdGBToddI8pDm48kK9GjzNc5-3HrGf2wYglkPAUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYxCRW4BPu10St3TBAUQYVKczoNTI7MjnOGpADOdAogDxXhdBVxYfc46a0N4JzlhQQHdR-K35oFI-MAvzlD2L_mN/1+go+to+acct.png?format=750w)![Settings](https://images.squarespace-cdn.com/content/v1/5ae76be68ab7221a1204c121/1582063195103-10FALNYUVWWEW6MRIS6X/ke17ZwdGBToddI8pDm48kITWN3oEA4rUUI8MhSia8kNZw-zPPgdn4jUwVcJE1ZvWQUxwkmyExglNqGp0IvTJZamWLI2zvYWH8K3-s_4yszcp2ryTI0HqTOaaUohrI8PIy2yv-AgKO3Qpm8hxuivdZ6m2_Xcr2MBpVQloVcsOYVk/2+settings.png?format=750w) Find all sorts of new ways to configure your account, without going through the API, because they’re all in your dashboard now! Navigate there by clicking your profile image and then selecting “Settings”. - View your name, address, and phone on file in the Profile section or adjust other settings. - Security allows for password changes and 2FA encryption to keep your account secure. - Account Configuration is where you can make other big decisions, like whether you want to turn-off (or turn back on) short-selling on your account. You can also choose between paper and live accounts here! All of these configuration details can be adjusted via API, or from your handy new dashboard view. - Last but not least, upload a cute pic to represent you while you trade (if you so choose). ### **2\. Banking** ![Bank Transfer](https://images.squarespace-cdn.com/content/v1/5ae76be68ab7221a1204c121/1582063262426-7PABDPLK02WC1JITDQEG/ke17ZwdGBToddI8pDm48kIJd2NOxJkDOR9O-EpbVYDsUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYxCRW4BPu10St3TBAUQYVKcmznc9vzbTyJjj7m_hcNo_g1-Zvh9zWLVfI-sCqUNPHKp3VVN0-qpN3dWcAiZ317Z/3+bank+transfer.png?format=750w)![Deposit Modal](https://images.squarespace-cdn.com/content/v1/5ae76be68ab7221a1204c121/1582063262697-0CUXVAXK3XUARYCRID0D/ke17ZwdGBToddI8pDm48kDGku8ItrdRILVoIAmhm7aoUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYxCRW4BPu10St3TBAUQYVKcmB8MNZxxc2CDaaon07m5F0OW0hDe5_CfU3aUrhMV5yiTQfo2NW5zAUY0VOYkokYT/4+deposit+modal.png?format=750w) Got a live account? Lucky you! Banking pages just got some major upgrades. Thanks to user feedback, the design has been clarified. You now have the option to simply click “$5,000” (or $2,000 or $10,000) and instantly, that is the amount that will be sent. No more manual typing and/or extra steps with this shortcut! One click to open, one click to choose your transfer. Get back to trading in no time. ### **3\. Activities** ![Account Activity](https://images.squarespace-cdn.com/content/v1/5ae76be68ab7221a1204c121/1582063431412-9NOLG76PTH76D3GL6LQ6/ke17ZwdGBToddI8pDm48kMRzPXUc8NhVSH2zktStpdMUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYxCRW4BPu10St3TBAUQYVKcD2mmeLjdNc1q-JFGbHLfzoHRaaNihA47nmsW-SC0tga7UGhBceh5JKJ2TocPVM0N/Account+Activity?format=1000w) You might know Account Activities from the Account Activities API—but now it has its own page in the web dashboard. Take a look at all of your trades, transfers, dividends, and more from a single page. Plus, use filters to find the exact transactions you’re looking for. Tracking your trading just became even clearer. Have more requests or another area of the dashboard giving you strife? Send us an email—we can’t wait to hear from you. In the meantime, happy trading! * * * _**Follow [Alpaca on Twitter](https://twitter.com/AlpacaHQ?ref=alpaca.markets).**_ _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc.This is for illustrative purposes only and is not an offer, solicitation of an offer, or advice to buy or sell securities._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fweb-dashboard-update%2F&t_d=Web%20Dashboard%20Gets%20A%20Facelift&t_t=Web%20Dashboard%20Gets%20A%20Facelift&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fweb-dashboard-update%2F&t_d=Web%20Dashboard%20Gets%20A%20Facelift&t_t=Web%20Dashboard%20Gets%20A%20Facelift&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fweb-dashboard-update%2F&t_d=Web%20Dashboard%20Gets%20A%20Facelift&t_t=Web%20Dashboard%20Gets%20A%20Facelift&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fweb-dashboard-update%2F&t_d=Web%20Dashboard%20Gets%20A%20Facelift&t_t=Web%20Dashboard%20Gets%20A%20Facelift&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fweb-dashboard-update%2F&t_d=Web%20Dashboard%20Gets%20A%20Facelift&t_t=Web%20Dashboard%20Gets%20A%20Facelift&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fweb-dashboard-update%2F&t_d=Web%20Dashboard%20Gets%20A%20Facelift&t_t=Web%20Dashboard%20Gets%20A%20Facelift&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mah1nr2790ftq&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fweb-dashboard-update%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.24352052901&uid=c7mah1nr2790ftq&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fweb-dashboard-update%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mah1nr2790ftq&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.462008505845) Sponsored [Previous Post : Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) [Next Post : Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Paper Trading API # Introducing the Alpaca Paper Trading API By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) ![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg) In our continuous effort to make automated trading more accessible, we are pleased to announce the [**Alpaca Paper Trading API**](https://alpaca.markets/?ref=alpaca.markets) to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. You don’t need to open a brokerage account to use the API. ### Key Benefits - No need for a brokerage account to use the API - No requirement to be a US resident to use the API - Unlimited testing of your algos and bots for free - No limitation in setting the paper account balance - Switch to live-trading with exactly the same code (live-trading and securities are offered through Alpaca Securities LLC) ### Data API Beta Launch As a part of this release, we are also launching [**Data API Beta**](https://docs.alpaca.markets/web-api/market-data/?ref=alpaca.markets). Data API is a suite of API that aims to be the next level of market-related data support. We provide an alternative endpoint to support multi-symbol query for price data called Bars through this Data API. As of today, Data API Bars supports IEX minute-level price and daily price data, but we plan to add features and data coverage over the time. Please read the Market Data section in our documentation for more details. ### Python SDK Our official [Python SDK](https://docs.alpaca.markets/libraries/?ref=alpaca.markets) with the Data API support has been released, and other language SDKs follow soon. No existing functionality changes at this point and your API calls will continue to work unless we announce otherwise in the future. * * * Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ( [alpaca.markets](https://alpaca.markets/?utm_source=medium&utm_medium=blog&utm_campaign=strategy_list&utm_content=part1)), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc. **_You can find us_** [**_@AlpacaHQ_**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **_, if you use twitter._** ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpaper-trading-api%2F&t_d=Introducing%20the%20Alpaca%20Paper%20Trading%20API&t_t=Introducing%20the%20Alpaca%20Paper%20Trading%20API&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpaper-trading-api%2F&t_d=Introducing%20the%20Alpaca%20Paper%20Trading%20API&t_t=Introducing%20the%20Alpaca%20Paper%20Trading%20API&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpaper-trading-api%2F&t_d=Introducing%20the%20Alpaca%20Paper%20Trading%20API&t_t=Introducing%20the%20Alpaca%20Paper%20Trading%20API&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpaper-trading-api%2F&t_d=Introducing%20the%20Alpaca%20Paper%20Trading%20API&t_t=Introducing%20the%20Alpaca%20Paper%20Trading%20API&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpaper-trading-api%2F&t_d=Introducing%20the%20Alpaca%20Paper%20Trading%20API&t_t=Introducing%20the%20Alpaca%20Paper%20Trading%20API&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fpaper-trading-api%2F&t_d=Introducing%20the%20Alpaca%20Paper%20Trading%20API&t_t=Introducing%20the%20Alpaca%20Paper%20Trading%20API&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mahspp2c5btpb&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fpaper-trading-api%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.463542902655&uid=c7mahspp2c5btpb&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fpaper-trading-api%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mahspp2c5btpb&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.787600556244) Sponsored [Previous Post : Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/submit-queue-order-stock-trading/) [Next Post : The Automation of Wealth Management](https://alpaca.markets/blog/automation-of-wealth-management/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Case Studies ### Tag: Alpaca Broker API Case Study Total 30 Posts Introducing apps and services that leverage Alpaca Broker API to build innovative products. ## [Dime!: Revolutionizing Investing in Thailand with Alpaca](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • March 10, 2025[0 Comments](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/#disqus_thread) [![Dime!: Revolutionizing Investing in Thailand with Alpaca](https://alpaca.markets/blog/content/images/2025/03/dime_customer-story.png)](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) Learn more about how Dime! is bringing fun and accessible investing to Thailand through fractional shares, affordable tax filing and more. [Continue Reading](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) ## [tyba: Creating Investment Access in Latin America](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 12, 2024[0 Comments](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/#disqus_thread) [![tyba: Creating Investment Access in Latin America](https://alpaca.markets/blog/content/images/2024/12/tyba-customer-story.png)](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) tyba has enabled over 10,000 clients to invest in US equities across Colombia and Peru, generating $7 million in AUM, using Alpaca's Broker API. [Continue Reading](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) ## [Sarwa first fintech to launch Options Trading in the Middle East](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • October 09, 2024[0 Comments](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/#disqus_thread) [![Sarwa first fintech to launch Options Trading in the Middle East](https://alpaca.markets/blog/content/images/2024/10/sarwa-options-announcement.png)](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) Sarwa now offers options trading to their customers, becoming the first fintech platform in the Middle East to do so. Sarwa and Alpaca’s partnership has grown significantly since 2021, and we are excited to congratulate them on this impressive, first-to-market milestone! [Continue Reading](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) ## [Thndr: Opening Investing Accessibility in MENA with Alpaca](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 14, 2024[0 Comments](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/#disqus_thread) [![Thndr: Opening Investing Accessibility in MENA with Alpaca](https://alpaca.markets/blog/content/images/2024/06/thndr-customer-story_1.png)](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) Thndr is an emerging force in MENA, who’s team is on a mission to increase access to personal investing. [Continue Reading](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) ## [eccuity: Simplifying the Complex for Kiwi Investors](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 01, 2024[0 Comments](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/#disqus_thread) [![eccuity: Simplifying the Complex for Kiwi Investors](https://alpaca.markets/blog/content/images/2024/09/eccuity_customer_story@3x.png)](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) Driven by democratizing access to investment information and assets, eccuity is bridging the gap between DIY platforms and traditional wealth management services in New Zealand. [Continue Reading](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Data API # Alpaca Launches Data API By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • May 26, 2021[0 Comments](https://alpaca.markets/blog/market-data-apiv2/#disqus_thread) ![Alpaca Launches Data API](https://alpaca.markets/blog/content/images/2021/05/Gallery--3-Data-1@2x--1--2.png) Data is the backbone of API access to the market, and we have established our very own data product that integrates seamlessly with the Alpaca platform. The idea for us to build our own stack from scratch to consume high-velocity data reliably was born out of a mission to set new standards for data accessibility and aims to empower innovation across the Alpaca community. Our goal is to continue designing delightful APIs for makers and developers to build trading/investing applications and algorithmic trading strategies. * * * ### **About Alpaca Data API v2** **US Stock market coverage** Alpaca’s new data feed is coming direct from exchanges known as SIP. This provides ultra-low latency and high reliability as the data comes directly into our physical hardware located in New Jersey next to market participants. Received from the CTA (administered by NYSE) and UTP (administered by Nasdaq) SIPs, the two combined offer 100% market volume. Another source that is available on the Free plan is provided by Investors Exchange and accounts for 2.5% of the market volume. **Unlimited Real-Time and Historical Data** Designed for developers with a focus on high data accuracy and built around robust systems to ensure data availability. You can use our market data without any constraints via WebSockets for streaming real-time stock data or REST APIs to query data dating back to Jan 1, 2016. **Rest APIs and SDKs** Get started quickly, access datasets in minutes with the easy-to-use API, and build your application in any major programming language you are familiar with. We provide SDKs written in Python, Go, NodeJS, and C#. Some features that you will be using: - Trades/latest trade: historical trade data for a given ticker symbol on a specified date - Quotes/latest quote: NBBO quotes for a given ticker symbol on a specified date - Bars: returns aggregate OHLC historical data - Snapshot: provides the latest trade, latest quote, minute bar, daily bar and previous daily bar data for the given ticker symbol(s) **Flexible Pricing Plans for Developers** Alpaca has designed flexible pricing plans around the needs of different types of developers, with the intention of making sure that everyone can find an option that works for them. - **Free:** This plan is included in both paper-only and live trading accounts as the default plan for $0/mo. It is best suited for those who use data less actively and don’t require data from all US stock exchanges. - **Unlimited:** Accessible for both paper-only and live trading accounts for $9/mo. Best for people who want to have unlimited access to data with 100% market coverage (SIP data feed) for US stocks. - **Business:** Internal business use and/or personal use of the professional subscriber for $99/device/mo. ![](https://lh5.googleusercontent.com/0SD-6QlPcSe7ODm82CjR-0lcfj42eWiJYmEC0-3cUFqR7r4KzpWefH1GXHerwezxm8ERtoI1Op_Nns3d244ygCeoaoaKTDQ6o5FSj-ESahyoKo5-VQhrk3xOSAFYDxuOvLVnoGXH)Plans for Alpaca Market Data API v2 ### **Offering data to the next wave of entrepreneurs** A challenge that we saw our earlier partners run into is finding quality financial and market data. Hidden fees, restrictions on the use of data, poorly written APIs and exchange requirements are just some of the factors, in addition to costs, that can make it difficult for new fintech companies to survive. As part of offering an end-to-end brokerage experience via [API](https://alpaca.markets/broker?ref=alpaca.markets) you can now utilize Alpaca’s own market data. Now with Alpaca you can spend less time worrying about data and more time creating your applications. * * * ### **Get Started!** [**Sign-up today**](https://app.alpaca.markets/signup?ref=alpaca.markets) and grab your API keys to start building! [Alpaca \| Algo Trading Commission Free with REST API\\ \\ Lower your cost, Maximize your profits. Algo trading commission free.\\ \\ ![](https://app.alpaca.markets/favicon-32x32.png)Algo Trading Commission Free with REST API\\ \\ ![](https://files.alpaca.markets/webassets/alpaca-markets-og-image.png)](https://app.alpaca.markets/signup?ref=alpaca.markets) Sign-up for Alpaca Market Data API v2 **The old v1 Data API will be deprecated** 3 months from the launch on **August 26th, 2021**, so please make sure to update any existing systems to use the new endpoint before that date. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/abel/) About [Abel Sohajda](https://alpaca.markets/blog/author/abel/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc., a third party that is unaffiliated with the owner of this website. Checking the boxes below constitutes your consent. You may withdraw your consent at any time by clicking [here](https://disqus.com/data-sharing-settings/). I have read and agree to Disqus' [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy).I consent to Disqus’ processing of my personal data, in accordance with our [Privacy Policy](https://disqus.com/privacy-policy), to the extent needed to authenticate me and enable me to post comments or use other Disqus services. I consent to Disqus collecting, using, and disclosing my personal data for marketing purposes, in accordance with its [Privacy Policy](https://disqus.com/data-sharing-settings/), including the use of tracking cookies for cross context behavioral advertising, which can include collecting information about the other websites I visit across the internet. - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-apiv2%2F&t_d=Alpaca%20Launches%20Data%20API&t_t=Alpaca%20Launches%20Data%20API&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-apiv2%2F&t_d=Alpaca%20Launches%20Data%20API&t_t=Alpaca%20Launches%20Data%20API&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-apiv2%2F&t_d=Alpaca%20Launches%20Data%20API&t_t=Alpaca%20Launches%20Data%20API&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-apiv2%2F&t_d=Alpaca%20Launches%20Data%20API&t_t=Alpaca%20Launches%20Data%20API&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-apiv2%2F&t_d=Alpaca%20Launches%20Data%20API&t_t=Alpaca%20Launches%20Data%20API&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-apiv2%2F&t_d=Alpaca%20Launches%20Data%20API&t_t=Alpaca%20Launches%20Data%20API&s_o=default#) [Previous Post : US Stock Trading for Everyone](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) [Next Post : REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/reg-taf-fees/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Contest # The 2nd Trading Competition Starts on Oct 26th By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/2nd-trade-contest/#disqus_thread) ![The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/content/images/2020/10/trade_contest.png) We are excited to announce that Alpaca is hosting its second virtual Electronic Trading Contest, a **four-week-long contest** where participants compete against each other in a simulated market using the Alpaca Paper Trading feature. There are cash prizes (Amazon gift cards ?) for the winning participants. After a successful inaugural trading contest last August, we decided to host a second contest with the same objective. Our focus is to expand the community of enthusiastic developers and tech-savvy people around trading. We welcome a variety of trading styles and not just quants algorithmic trading (the [**TradingView**](https://alpaca.markets/tradingview?ref=alpaca.markets) platform is popular among Alpaca users to support algorithmic trading ?). Our goal for this event is to allow you to explore the crossroads of technology and trading. With that said, this competition is open to everyone globally, the US and non-US residents ?. Join our dedicated Slack channel _["2nd\_trading\_competition"](https://alpaca.markets/slack?ref=alpaca.markets)_ ### **\*\*\*The competition starts on October 26th (MON), 2020\*\*\*** * * * ## How It Works ### 1\. Enter the Contest Firstly, [**create or use an Alpaca account**](https://app.alpaca.markets/signup?ref=alpaca.markets) with an email address that you or your team can access the Alpaca Paper Trading feature. Then, enter the contest by clicking the button in your paper trading account. ![](https://lh3.googleusercontent.com/bz3NhV82XKVhDPL_TZPsV6dcH-isHuXYpzGdiba4wnjyJ6goFUVy1j7alZK2tB-SlJuW6nlSvTkwZIlak2wgeo0x4NcdIRryTjbPYIQOCDTtZiKzfFuNx2E4kZgYrzjsGBxn4xE1) ### 2\. Track Your Performance We have built a complete [new leaderboard](https://app.alpaca.markets/contest?ref=alpaca.markets) so that you can track your performance in real-time. Participants will be ranked by his/her Equity values. ![](https://lh4.googleusercontent.com/nxo_BT0JCTdr8pW9hftavCoQEUJRLsjVk4yANxht9Wlq-fC_pow8v9Fk2tEaP5ZXMlo-VSuA-wYubQ78xymAFiayizidhpwBSQzPtDxDraeGi36u64G0Dv1paLAndKVNvaGqyoi0) ### 3\. Win Your Prize For the second Alpaca Trading Competition, the top 3 participants will win Amazon gift cards. The amount will be $150 for #1, $30 for #2, and $20 for #3. ## How You Can Participate ### High Level Rules Please check out the [**Trading Contest Fine Print - Rules**](https://alpaca.markets/learn/contest-rules/?ref=alpaca.markets) for details. Unlike other quant trading competitions, we do not set any strict algorithm criteria. We will simply measure who generates the best returns during the set period. Participants are free to use your preferred algorithms and strategies. [Trading Contest Fine Print - Rules\\ \\ Contest rule for the Alpaca Trading Competition, where all the developers, quants, tech-savvy traders can participate globally\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesAlpaca Team\\ \\ ![](https://alpaca.markets/learn/content/images/2020/08/competition-fine-print.png)](https://alpaca.markets/learn/contest-rules/?ref=alpaca.markets) We are going to select winners who have the highest Equity value at the end of the contest day. There are multiple requirements, and we ask you not to reset the original Equity balance of $100,000 and require winners to result in positive returns. ### FAQ **(Q) How do I sign up?**(A) Create an Alpaca Paper Trading account from [**here**](https://app.alpaca.markets/signup?ref=alpaca.markets). Sign up for the contest directly on your paper trading account. **(Q) What kind of algorithms are you looking for?** (A) This contest does not restrict you from using any specific strategies or algorithms. **(Q) Will you see my algorithm?** No, we will not look at your algorithm. Your code is private, visible only to you. **(Q) Do I need to pay an entry fee?**(A) No. **(Q) Is there a submission deadline?**(A) Yes, you need to sign up for the contest before the contest starts on **October 26th** market open. **(Q) Does Alpaca offer a backtesting tool?** (A) No, we do not offer backtest software. However, Alpaca integrates with several highly-regarded backtest applications such as QuantRocket and Blueshift. Please see the list [**here**](https://alpaca.markets/integrations?ref=alpaca.markets). * * * _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by_ [_**Alpaca Securities LLC**_](https://alpaca.markets/?ref=alpaca.markets) _, member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ _You can find us_ [_**@AlpacaHQ**_](https://twitter.com/AlpacaHQ?source=post_page---------------------------) _, if you use twitter._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2F2nd-trade-contest%2F&t_d=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&t_t=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2F2nd-trade-contest%2F&t_d=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&t_t=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2F2nd-trade-contest%2F&t_d=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&t_t=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2F2nd-trade-contest%2F&t_d=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&t_t=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2F2nd-trade-contest%2F&t_d=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&t_t=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2F2nd-trade-contest%2F&t_d=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&t_t=The%202nd%20Trading%20Competition%20Starts%20on%20Oct%2026th&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7magvdq26n1v6p&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2F2nd-trade-contest%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.147557322448&uid=c7magvdq26n1v6p&url=https%3A%2F%2Falpaca.markets%2Fblog%2F2nd-trade-contest%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7magvdq26n1v6p&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.0341686065004) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/sdk-api-trade-contest/) [Next Post : Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th](https://alpaca.markets/blog/algo-trading-conference/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## TradingView OCO & Tradetron # TradingView OCO & Tradetron Launch By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 22, 2020[0 Comments](https://alpaca.markets/blog/tradingview-oco-tradetron/#disqus_thread) ![TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/content/images/2020/09/friends.jpg) We are committed to becoming an infrastructure for innovating applications that can utilize Alpaca's unique commission-free US stock trading API, so that our partner applications can offer commission-free trading to their end-users. ## **OCO Order on TradingView** Today, we are excited to launch One-Cancels-Other (OCO) orders from [TradingView dashboard](https://alpaca.markets/tradingview?ref=alpaca.markets). We launched [OCO Orders](https://alpaca.markets/blog/oco-oto/) on the Alpaca Trading API a few months ago, and it has been one of the favorite features by our community. [Now You Can Place OCO & OTO Orders on Alpaca!\\ \\ New advanced order types supported by Alpaca - this time we are launching OCO (One-Cancels-Other) and OTO (One-Triggers-Other)\\ \\ ![](https://alpaca.markets/blog/favicon.png)AlpacaYoshi Yokokawa\\ \\ ![](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png)](https://alpaca.markets/blog/oco-oto/)![](https://alpaca.markets/blog/content/images/2020/09/image-1.png)In this example chart, let’s say you already have a position in this stock, and you are looking to take profit by selling when it hits the recent high ( **“take\_profit”** -\> **“limit\_price”** = **“325”**) or cut loss by selling when it goes lower than the recent low ( **“stop\_loss”** -\> **“stop\_price”** = **“250”**). \*Please do note that this is for illustration only and is not a recommendation or suggestion of this trade or this stock\* Now you can place OCO Orders on the [TradingView dashboard](https://alpaca.markets/tradingview?ref=alpaca.markets). ![](https://alpaca.markets/blog/content/images/2020/09/TV-OCO-01-1.png)\*Please do note that this is for illustration only and is not a recommendation or suggestion of this trade or this stock\*![](https://alpaca.markets/blog/content/images/2020/09/TV-OCO-02.png)\*Please do note that this is for illustration only and is not a recommendation or suggestion of this trade or this stock\* For instructions on how you can connect your Alpaca account with TradingView, please see [here on our Docs](https://alpaca.markets/docs/alpaca-works-with/tradingview/?ref=alpaca.markets). [TradingView - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://alpaca.markets/docs/images/alpacalogo.png)](https://alpaca.markets/docs/alpaca-works-with/tradingview/?ref=alpaca.markets) * * * ## Tradetron Launch with Alpaca ![](https://alpaca.markets/blog/content/images/2020/09/image-3.png)[http://tradetron.tech/](http://tradetron.tech/?ref=alpaca.markets) The no-code trend is happening for algorithmic trading as well. [Tradetron](http://tradetron.tech/?ref=alpaca.markets) allows you to build algo strategies without coding, and its platform allows other users to subscribe to your algorithms. Also, [Tradetron](http://tradetron.tech/?ref=alpaca.markets) provides an algorithmic trading strategy marketplace for the US and Indian stock markets. ![](https://alpaca.markets/blog/content/images/2020/09/image-4.png)[http://tradetron.tech/](http://tradetron.tech/?ref=alpaca.markets) [Tradetron](http://tradetron.tech/?ref=alpaca.markets) offers users to deploy trading strategies in your Alpaca trading account without coding, where you can receive notifications via various methods including SMS, Whatsapp, Email, and phone call. * * * **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Conditional orders may have increased risk as a result of their reliance on trigger processing, market data, and other internal and external systems. Such orders are not sent to the market until specified conditions are met. During that time, issues such as system outages with downstream technologies or third parties may occur. Conditional orders triggering near the market close may fail to execute that day. Furthermore, our executing partner may impose controls on conditional orders to limit erroneous trades triggering downstream orders. Alpaca Securities may not always be made aware of such changes to external controls immediately, which may lead to some conditional orders not being executed. As such, it is important to monitor conditional orders for reasonability. Conditional orders are “Not Held” orders whose execution instructions are on a best efforts basis upon being triggered. Furthermore, conditional orders may be subject to the increased risks of stop orders and market orders outlined above. Given the increased potential risk of using conditional orders, the client agrees that Alpaca Securities cannot be held responsible for losses, damages, or missed opportunity costs associated with market data problems, systems issues, and user error, among other factors. By using conditional orders the client understands and accepts the risks outlined above. Alpaca Securities encourages leveraging the use of Paper accounts to become more comfortable with the intricacies associated with these orders._ _Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API._ [_Relevant SEC and FINRA fees may apply._](https://alpaca.markets/learn/regulatory-fees/?ref=alpaca.markets) _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_**FINRA**_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_**SIPC**_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). Sponsored [Previous Post : Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th](https://alpaca.markets/blog/algo-trading-conference/) [Next Post : Trailing Stop Orders on Alpaca!](https://alpaca.markets/blog/trailing-stop/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept td.doubleclick.net # td.doubleclick.net is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ## Open Source Financial Database # MarketStore, the financial time series database, is now open source By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2018[0 Comments](https://alpaca.markets/blog/marketstore-opensource-database/#disqus_thread) ![MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/content/images/2020/03/fruits.jpeg) We are happy to announce [MarketStore](https://github.com/alpacahq/marketstore?ref=alpaca.markets) is now open source! MarketStore is a database server optimized for financial timeseries data written in pure [Go](https://golang.org/?ref=alpaca.markets), designed and developed by [Alpaca](https://alpaca.markets/?ref=alpaca.markets). You can think of it as an extensible [DataFrame](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html?ref=alpaca.markets) service that is accessible from anywhere in your system, at higher scalability. It is designed from the ground up to address scalability issues around handling large amounts of financial market data used in algorithmic trading backtesting, charting, and analyzing price history with data spanning many years, including tick-level for the all US equities or the exploding crypto currencies space. If you are struggling with managing lots of [HDF5](https://support.hdfgroup.org/HDF5/?ref=alpaca.markets) files, this is perfect solution to your problem. ### The Problem A few years ago, Alpaca started developing [AlpacaAlgo](http://algo.alpaca.ai/?ref=alpaca.markets) which helps retail traders to transform their own idea into trading algos without writing any lines of code. The platform trains a deep learning model to capture the trading idea using historical price data for each and runs backtesting quickly. You can then turn on the algo to live mode which should perform the same calculation as backtesting. Then followed [AlpacaScan](https://scan.alpaca.ai/?ref=alpaca.markets), which offers pre-built algorithm results for all the US equities with quick backtesting results. Running complicated logics against eight thousands symbols instantly in a timeseries manner is not an easy task to do. In doing so, we found the access to more than ten years of tick-level historical price data with thousands of symbols was the performance bottleneck of the system and a pain point to the user experience. Most of our application layer is written in python using PyData libraries including Pandas DataFrame, but these are more focused on the calculation and analysis, and it was clear that something was necessary to improve fast access to the huge amount of data in different parts. ### The Solution Back then, the easiest way of handling the financial market timeseries data was storing DataFrame in HDF5. It is the defacto storage format for small use cases but it did not fit our case for the scalability reason. Then we sat together and explored the possibility. The idea popped quickly that we would need some kind of database that serves DataFrame on demand. It should be an HTTP-based API service for easy access, store tera-bytes of price data on disk, provide simple data management on the filesystem, be able to update 10k+ symbol prices every second, and respond to 10k+ clients with sub-second latency. Looking around github for possible solutions out there, many timeseries databases were there but mainly for general-purpose timeseries data, targeting IoT sensor data or system monitoring metrics and designed for JSON. Financial timeseries data in particular has different requirements, in which the data is pretty dense, more structured, and long history is demanded. We couldn’t find the best solution for this particular use case. It was obvious that not just we but also anyone who works on this financial timeseries data would need this solution. In the coming age where more and more people write automated trading systems or analyze this kind of data, it is inevitable to handle it very efficiently. The database server should be written cleanly and be reusable to be open sourced one day for everyone to use. That’s how we started developing MarketStore, a pure Go-based database designed for financial timeseries data. We designed it with a true database architecture. Luke, one of the co-founders and CTO of the successful MPP database [Greenplum](https://greenplum.org/?ref=alpaca.markets), joined the conversation and designed the storage layer. Hitoshi, who used to work for Greenplum and [Pivotal](https://pivotal.io/?ref=alpaca.markets) as the architect of Greenplum and major contributor of [PostgreSQL](https://www.postgresql.org/?ref=alpaca.markets), developed the code base around query and plugin architecture. ### Features - **HTTP-based API with MessagePack binary serialization** Many of the traditional databases have their proprietary wire protocol. In this cloud age, though, it makes more sense to follow the standard HTTP-based API for MarketStore. HTTP is mostly text-based, but for efficiency MarketStore uses MessagePack as the data serialization format, which allows the optimal data exchange between server and client. - **Time indexed row orientation storage format for optimal reads and writes** Everything stored inside MarketStore is assumed to be timeseries. Rows can be addressed at the precise byte-offset by the timestamp they are associated. In many analytics databases, data is column-oriented to optimize reads; MarketStore’s requirements are continuous write to thousands of symbols at the same time and updates are small, yet the time-index data structure allows the read to be optimized. - **Utilizing filesystem holes to make the file size minimal with the market open time in mind** Modern filesystems offer holes in files, meaning you can allocate the file bytes in advance with zero bytes without actually occupying the underlying disk. In other words, it is a virtual allocation. Because MarketStore knows how big each file is going to be in many cases, it allocates the file first and fills the holes to optimize the storage usage. - **Time aggregate for different time resolution with single source of truth** The most common operation in financial timeseries databases is time aggregation. Having 1 minute bar data, you may want to downsample to 1 hour, or 1 day bars. This is done via the [trigger plugin system](https://github.com/alpacahq/marketstore/tree/master/contrib/ondiskagg?ref=alpaca.markets) and you will have pre-aggregated, downsampled data upon the write to the underlying level. The pre-aggregated data gives higher query performance for many use cases. - **Custom plugins to support different asset classes and markets** Different upstream data sources, as well as different types of asset classes, have different requirements when it comes to data integration. MarketStore’s core engine does the best job for common work for financial market data, and it offers custom plugin support to address each different use case. - **Timezone support** The timezone is one of the biggest headaches in time-oriented applications. MarketStore supports system-wide timezone to accommodate different markets. For example at Alpaca, US equity market data uses Eastern time and aggregates 1 day bars at the Eastern time boundary, while crypto and FX data are aggregated at UTC. ### Client Support There are native [Go](https://github.com/alpacahq/marketstore/blob/master/frontend/client/client.go?ref=alpaca.markets) as well as [Python](https://github.com/alpacahq/pymarketstore?ref=alpaca.markets) clients and both perform very well. The Python client easily converts the server response into DataFrame and you notice almost no difference from reading the data from local disk, with the bonus of higher scalability. ### Data Ingestion One of the common challenges in database software is the data import layer. That is no exception for our financial data system as well. Different asset classes have different characteristics, and each one of the upstream data providers offer different data formats. In order to address this issue, MarketStore has the plugin system for the data ingestion layer. It comes with the default plugin for data ingestion both from [GDAX API](https://docs.gdax.com/?ref=alpaca.markets#get-historic-rates) and [Slait](https://github.com/alpacahq/slait?ref=alpaca.markets), which is another open source product of ours. We will discuss Slait in another post. With the [GDAX plugin](https://github.com/alpacahq/marketstore/tree/master/contrib/gdaxfeeder?ref=alpaca.markets), you can immediately start consuming and storing Bitcoin, Ethereum, Bitcoin Cash, and Litecoin data from the moment you start MarketStore. Since it is a plugin architecture, you can write your own data ingestion for your own needs. Also, Go and Python clients support writing data from remote. ### Availability MarketStore is available today as an open source project on GitHub and is production ready. Given the ease of the build system in Go, it is pretty straightforward to build it on your own. A Docker container is also built for every release for easy access. Inside Alpaca, from our trading management system to deep learning modeling to charting, almost all applications use MarketStore as the backend both in development and production. We hope open sourcing MarketStore can help more people working in a similar domain and contribute to the community. Alpaca’s mission is always to help individuals to have more technology power in the financial markets, and that doesn’t mean only our end-products. By providing technology this way, we wish to help everyone. ### Try it now! Try it today and let us know what works for you and does not. We are also more than happy to receive help around feature development and documentation. There will be more posts here about details around the usage of MarketStore. Last but not least, we are [close to the launch of our product so check it out](https://alpaca.markets/?ref=alpaca.markets) and stay tuned. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 1 Response ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [1](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-opensource-database%2F&t_d=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&t_t=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-opensource-database%2F&t_d=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&t_t=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-opensource-database%2F&t_d=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&t_t=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-opensource-database%2F&t_d=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&t_t=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-opensource-database%2F&t_d=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&t_t=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-opensource-database%2F&t_d=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&t_t=MarketStore%2C%20the%20financial%20time%20series%20database%2C%20is%20now%20open%20source&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7magv3g2l7irev&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-opensource-database%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.554624621915&uid=c7magv3g2l7irev&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarketstore-opensource-database%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7magv3g2l7irev&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.183505988765) [Previous Post : How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) [Next Post : Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/algorithmic-trading-puzzle/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Manual Trading Widget # Manual Trading Widget on Alpaca By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 11, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-widget/#disqus_thread) ![Manual Trading Widget on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-manual-trading.png) ## Now you can place orders manually We are excited to announce a manual trading widget on the [main dashboard](https://app.alpaca.markets/?utm_source=medium) today! We recognize that trading with an API or algos doesn’t always need to be fully automated, and we hope you find a manual trading widget useful and convenient. You can always check our [user documentation](https://docs.alpaca.markets/?utm_source=medium) for how orders work at Alpaca. [Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://docs.alpaca.markets/images/alpacalogo.png)](https://docs.alpaca.markets/?utm_source=medium) At Alpaca, we are committed to building the go-to investing platform for the developer community. With that said, in the next couple of months, we will be working on adding basic trading features on the dashboard that enhance Alpaca’s core [API offering](https://docs.alpaca.markets/?utm_source=medium). Also, we will be planning off-line meetups here and there as well. Please stay tuned for that! Thank you for your support and please do not hesitate to reach out to us with any feedback or any issues that you may find. The Alpaca Team ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmanual-trading-widget%2F&t_d=Manual%20Trading%20Widget%20on%20Alpaca&t_t=Manual%20Trading%20Widget%20on%20Alpaca&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmanual-trading-widget%2F&t_d=Manual%20Trading%20Widget%20on%20Alpaca&t_t=Manual%20Trading%20Widget%20on%20Alpaca&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmanual-trading-widget%2F&t_d=Manual%20Trading%20Widget%20on%20Alpaca&t_t=Manual%20Trading%20Widget%20on%20Alpaca&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmanual-trading-widget%2F&t_d=Manual%20Trading%20Widget%20on%20Alpaca&t_t=Manual%20Trading%20Widget%20on%20Alpaca&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmanual-trading-widget%2F&t_d=Manual%20Trading%20Widget%20on%20Alpaca&t_t=Manual%20Trading%20Widget%20on%20Alpaca&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmanual-trading-widget%2F&t_d=Manual%20Trading%20Widget%20on%20Alpaca&t_t=Manual%20Trading%20Widget%20on%20Alpaca&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mah1io2sua92e&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fmanual-trading-widget%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.645528268568&uid=c7mah1io2sua92e&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fmanual-trading-widget%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mah1io2sua92e&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.0394057332534) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Trading within TradingView](https://alpaca.markets/blog/tradingview-api-integration/) [Next Post : Zapier Integration & User Configuration Features](https://alpaca.markets/blog/zapier-integration/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Integration # Alpaca Trading within TradingView By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • November 11, 2019[0 Comments](https://alpaca.markets/blog/tradingview-api-integration/#disqus_thread) ![Alpaca Trading within TradingView](https://alpaca.markets/blog/content/images/2020/03/alpaca-tradingview.png) ## Using data to trade on TradingView Nothing goes better with algorithmic trading than tons of data. That's why we're delighted to announce our integration with TradingView to give you deep insights into markets, stocks, etc, all while seamlessly using Alpaca's commission-free API trading platform. [Alpaca + TradingView: Commission-free trading using TradingView charts\\ \\ Alpaca is a modern platform for trading. Alpaca’s API is the interface for your trading algorithms, bots, or applications to communicate with Alpaca’s brokerage and other services.\\ \\ ![](https://files.alpaca.markets/webassets/favicon-32x32.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/marketing.alpaca.markets/social/banners/alpaca-tradingview.png)](https://alpaca.markets/tradingview?ref=alpaca.markets) Want to know exactly how? We've got you covered. ### What you'll need to get started: An Alpaca account (make one [here](https://app.alpaca.markets/signup?ref=alpaca.markets)!) A TradingView account (make one [here](https://www.tradingview.com/?ref=alpaca.markets) by clicking "join for free") Once you're logged into both accounts, open a chart in TradingView (via the "Chart" tab). ![](https://alpaca.markets/blog/content/images/2020/03/image-1.png) When you're looking at a chart, there will be a menu bar below it. On the far right is the option "Trading Panel"—select that one. ![](https://alpaca.markets/blog/content/images/2020/03/image-2.png) Oodles of options will appear in the Trading Panel—select Alpaca to continue with your Alpaca trading account! It'll open into a "continue" and, subsequently, an authorization modal. ![](https://alpaca.markets/blog/content/images/2020/03/tradingview-auth-1.png) Once you have your Alpaca account set up and authorized you will be able to start trading from TradingView! Where you saw "Trading Panel" before, you should now see "Alpaca". Click on it, and view insights like your current positions, orders, history and notifications. On the right side of the page a trading modal will be available to execute on trades. ![](https://alpaca.markets/blog/content/images/2020/03/image-3.png) Have fun, and good luck out there! * * * _Please note that technology and services are offered by AlpacaDB, Inc. and brokerage services are provided by Alpaca Securities LLC, member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States)._ _You should know that the use or granting of any third party access to your account information or place transactions in your account at your direction is solely at your risk. Alpaca does not warrant against loss of use or any direct, indirect or consequential damages or losses to you caused by your assent, expressed or implied, to a third party accessing your account or information, including access provided through any other third party apps, systems, or sites._ Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. [Relevant SEC and FINRA fees may apply.](https://support.alpaca.markets/hc/en-us/articles/360010814292-Regulatory-Fees-?ref=alpaca.markets) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). [Previous Post : Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/passive-integration/) [Next Post : Manual Trading Widget on Alpaca](https://alpaca.markets/blog/manual-trading-widget/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Challenge # Are You a Winner of the Alpaca Algo Trading Coding Challenge? By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 26, 2018[0 Comments](https://alpaca.markets/blog/algorithmic-trading-puzzle/#disqus_thread) ![Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/content/images/2020/03/coding.gif) Here’s the challenge we issued on May 3. ![](https://alpaca.markets/blog/content/images/2020/03/Medium---Puzzle-Snippet.png) Many tried, but few succeeded in solving this puzzle. In fact, fewer than half (39 percent) of those who submitted answers were able to get the correct answer. Others found their way to the front of the line by sharing the coding challenge with friends. Today we’re releasing the emails of those who solved the challenge and are sitting on their royal thrones right at the front of our waitlist. ### See all the winners [here](https://alpaca.markets/puzzle?ref=alpaca.markets). — — — — — — — — — — — — — — — — — — — — If you gave it a shot, but didn’t quite get the answer right, here’s the way the puzzle was solved: Overall it looks like a python code snippet but also includes some pseudo-math type of expressions. Let’s start by taking apart this puzzle line by line. ### Line 1 This line talks about a URL to the JSON file. If you open this URL with your browser, it should start like this. ``` {“date”: [“2015–07–10”, “2015–07–11”, “2015–07–12”, “2015–07–13”, “2015–07–14”, “2015–07–15”, “2015–07–16”, “2015–07–17”, “2015–07–18”, “2015–07–19”, “2015–07–21”, “2015–07–21”, “2015–07–22”, “2015–07–23”, “2015–07–24”, “2015–07–25”, “2015–07–26”, “2015–07–27”, “2015–07–28”, “2015–07–29”, “2015–07–31”, “2015–07–31”, “2015–08–01”, “2015–08–02”, “2015–08–03”, “2015–08–04”, “2015–08–05”, “2015–08–06”, “2015–08–07”, “2015–08–08”, “2015–08–09”, “2015–08–11”, “2015–08–11”, “2015–08–12”, “2015–08…\ \ ```\ \ Yes, it is a JSON with keys of “date”, “open”, “high”, “low”, “close” and “volume”. Looks like some kind of historical price data. Makes sense. Alpaca is about algo trading.\ \ ### Line 2\ \ This line was apparently a bit tricky. The quiz meant to be as simple as literal python code to slice the string variable “file” and get “-100” as an integer but some people thought it was meant to slice the content of JSON file.\ \ ### Line 3\ \ MA here is the Moving Average function, which is a basic indicator derived from some historical price data, and typically it takes the input data and the time period of average as the parameters.\ \ ### Line 4\ \ Calculates MA but with unknown X, and X is the set of number that satisfies this condition.\ \ ### Line 5\ \ What is the minimum value in X?\ \ In short, the puzzle is asking:\ \ ### Using this historical price data (line 1), let m be the 5-day moving average of open prices on 100 days (line 2) before 04/01/2018 (line 3). Find the minimal (line 5) day moving average of close prices on the same day whose absolute difference from m is bigger than the fraction of square root 2 (line 4)?\ \ If you use python and pandas, you can find the answer in a few tens of line of code with brute-force loop and **get the answer of 61**. This is the correct answer.\ \ ### Interested in learning more about Broker API?\ \ Don't miss out on any updates about our Broker API suite of solutions!\ Share your details with us and be the first to know about our latest content.\ \ \ ![Close modal](https://alpaca.markets/img/x.png)\ \ [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/)\ \ About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/)\ \ Co-founder & CEO of Alpaca\ \ \ tempest.services.disqus.com\ \ # tempest.services.disqus.com is blocked\ \ This page has been blocked by an extension\ \ - Try disabling your extensions.\ \ ERR\_BLOCKED\_BY\_CLIENT\ \ Reload\ \ \ This page has been blocked by an extension\ \ ![]()![]()\ \ Disqus Comments\ \ We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/).\ \ What do you think?\ \ 0 Responses\ \ ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png)\ \ Upvote\ \ ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png)\ \ Funny\ \ ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png)\ \ Love\ \ ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png)\ \ Surprised\ \ ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png)\ \ Angry\ \ ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png)\ \ Sad\ \ G\ \ Start the discussion…\ \ \ \ Comment\ \ ###### Log in with\ \ ###### or sign up with Disqus or pick a name\ \ ### Disqus is a discussion network\ \ - Don't be a jerk or do anything illegal. Everything is easier that way.\ \ [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/)\ \ This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to:\ \ - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data.\ - Contact me or enable others to contact me by email with offers for goods or services\ - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information\ \ - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgorithmic-trading-puzzle%2F&t_d=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&t_t=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&s_o=default# "Favorite this discussion")\ \ - ## Discussion Favorited!\ \ \ \ Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos!\ \ \ [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn)\ \ [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgorithmic-trading-puzzle%2F&t_d=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&t_t=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&s_o=default#)\ \ - Tweet this discussion\ \ - Share this discussion on Facebook\ \ - Share this discussion via email\ \ - Copy link to discussion\ \ \ - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgorithmic-trading-puzzle%2F&t_d=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&t_t=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&s_o=default#)\ - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgorithmic-trading-puzzle%2F&t_d=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&t_t=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&s_o=default#)\ - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgorithmic-trading-puzzle%2F&t_d=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&t_t=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&s_o=default#)\ \ Be the first to comment.\ \ [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falgorithmic-trading-puzzle%2F&t_d=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&t_t=Are%20You%20a%20Winner%20of%20the%20Alpaca%20Algo%20Trading%20Coding%20Challenge%3F&s_o=default#)\ \ ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7magv0l1o93o8q&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Falgorithmic-trading-puzzle%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.164885842547&uid=c7magv0l1o93o8q&url=https%3A%2F%2Falpaca.markets%2Fblog%2Falgorithmic-trading-puzzle%2F&gdpr=0&gdpr_pd=0&gdpr_consent=)\ \ live.rezync.com\ \ # live.rezync.com is blocked\ \ This page has been blocked by an extension\ \ - Try disabling your extensions.\ \ ERR\_BLOCKED\_BY\_CLIENT\ \ Reload\ \ \ This page has been blocked by an extension\ \ ![]()![]()\ \ pippio.com\ \ # pippio.com is blocked\ \ This page has been blocked by an extension\ \ - Try disabling your extensions.\ \ ERR\_BLOCKED\_BY\_CLIENT\ \ Reload\ \ \ This page has been blocked by an extension\ \ ![]()![]()\ \ ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7magv0l1o93o8q&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.49773059301)\ \ tempest.services.disqus.com\ \ # tempest.services.disqus.com is blocked\ \ This page has been blocked by an extension\ \ - Try disabling your extensions.\ \ ERR\_BLOCKED\_BY\_CLIENT\ \ Reload\ \ \ This page has been blocked by an extension\ \ ![]()![]()\ \ [Previous Post : MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/)\ \ ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto\ \ ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto\ \ ×Welcome back! You've successfully signed in.\ \ ×Success! Your account is fully activated, you now have access to all content.\ \ Alpaca and selected third parties use cookies on this website as specified\ in the\ [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers\ by pressing ‘Accept’, closing this notice, or logging into your account.\ \ \ Accept ## Python 3.6 End of Life # Deprecation Notice: Python 3.6 Has Reached Its End of Life By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/python36-end-of-life/#disqus_thread) ![Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/content/images/2021/12/How-to-Use-OAuth-to-Create-Your-Own-Trading-App-With-NodeJS_blog-4.png) On December 23rd 2021, Python 3.6 will reach its [end of life](https://endoflife.date/python?ref=alpaca.markets) and it will stop being maintained. There will not be any new updates to Python 3.6 after that date, including any bug fixes or security patches. Alpaca will follow accordingly by removing support for Python 3.6 from our Python SDKs, including [alpaca-trade-api-python](https://github.com/alpacahq/alpaca-trade-api-python?ref=alpaca.markets), [alpaca-backtrader](https://github.com/alpacahq/alpaca-backtrader-api?ref=alpaca.markets), and [pylivetrader](https://github.com/alpacahq/pylivetrader?ref=alpaca.markets). This doesn’t mean you can’t continue to use Python 3.6 with our Python packages. However, bugs may appear if you decide to upgrade your package versions, due to lack of Python 3.6 support in newer releases. You’ll need to keep track of SDK dependencies, such as numpy and pandas, on your own in order to support Python 3.6. Looking ahead, Python 3.7’s end of life is on June 27 2023. Until then, we’ll continue to support and maintain our packages for all Python versions 3.7 and above. ## Questions & Answers ### Q: What does this mean for me? Python developers will not be receiving any further updates and support for Python 3.6 in future releases of our Python packages. ### Q: What do I need to do? Your existing Python 3.6 projects will continue working with Alpaca’s current python releases. For future releases you might see issues and the need to upgrade your projects if you want to receive the latest updates. If you are already using Python 3.7+ in your projects, this change will not affect you in any way. You will be able to update your project to our future releases. ### Q: What happens next? We will remove Python 3.6 support from our continuous integration checks on Wednesday December 22nd 2021. Current versions of our packages will continue to work with Python 3.6, but future versions may break. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/rahul/) About [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). Sponsored [Previous Post : Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) [Next Post : Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Crypto Trading API # Alpaca Launches Developer-Friendly Crypto Trading API By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • October 26, 2021[0 Comments](https://alpaca.markets/blog/alpaca-launches-crypto-trading/#disqus_thread) ![Alpaca Launches Developer-Friendly Crypto Trading API](https://alpaca.markets/blog/content/images/2021/10/Crypto-GTM-Launch_Blog-cover-1.png) Alpaca is excited to launch the public beta of its newest product: [Alpaca Crypto API](https://alpaca.markets/crypto?ref=alpaca.markets). Crypto continues to have a major impact on our society and the overall financial market. Offering crypto brings us one step closer to achieving our goal of making investing accessible for people everywhere. ![](https://alpaca.markets/blog/content/images/2021/10/Crypto-GTM-Launch_Quote-card.png) ## Low Cost & API Trading Ready To provide a competitive offering, we partnered with global crypto leader ErisX. This partnership enables us to offer customers crypto trading with fast execution, a reliable technology infrastructure, and superior custody of digital assets. Top features of Alpaca Crypto API include: - Easy to use, developer-friendly API - Unified stock and crypto account - Trade cryptocurrencies direct via API ## Real-Time Data and Multiple Supported SDKs Our APIs are built by developers, for developers. Alpaca Trading API is the interface for your trading algorithm to communicate with Alpaca’s brokerage service. Trading API allows your trading algorithm to access real-time prices and fundamentals, place orders, and manage your portfolio, in either REST or streaming style. With the launch of Crypto API, developers now have access to trade crypto direct via API. ### Developer API Features - SDKs are available in Python, .NET/C#, Go, Node, and more - Paper trading and live trading both come with real-time market data - Test your strategy on Paper trading before deploying to production ## Around-the-Clock Global Support Crypto trading is offered 24 hours a day, every day. To provide help when you need it, our global support team is also available around the clock. ## Build Your Crypto App In the coming months, crypto trading will be supported by [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets), a suite of APIs that enable developers to build their own trading apps. Apps built with Broker API will be able to offer both crypto and stock trading to their users. [Join the waitlist](https://landingspot.alpaca.markets/crypto?ref=alpaca.markets) to get notified when crypto becomes available on Broker API. ![](https://alpaca.markets/blog/content/images/2021/10/Crypto-GTM-Launch_Quote-card_2-1.png) For more information about Alpaca Crypto API, please read our [step-by-step guide](https://alpaca.markets/learn/getting-started-with-alpaca-crypto-api/?ref=alpaca.markets) on how to get started, check out our [documentation](https://alpaca.markets/docs/trading-on-alpaca/crypto-trading/?ref=alpaca.markets), or visit our [FAQs](https://alpaca.markets/support/?ref=alpaca.markets) page. [Getting Started with Crypto Trading API on Alpaca\\ \\ If you’re new to Alpaca and are interested in trading crypto, please follow the directions below to sign up for a brokerage account to get started.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesSasha Cotterell\\ \\ ![](https://alpaca.markets/learn/content/images/2021/10/Crypto-GTM-Launch_Learn-article-cover-1.png)](https://alpaca.markets/learn/getting-started-with-alpaca-crypto-api/?ref=alpaca.markets) * * * _Alpaca Crypto LLC is not affiliated with FTX.US, ErisX, and Silvergate._ _Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency is not regulated or is lightly regulated in most countries. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading._ _Cryptocurrency services are provided by Alpaca Crypto LLC (“Alpaca Crypto”), a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto LLC is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-crypto-trading%2F&t_d=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&t_t=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-crypto-trading%2F&t_d=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&t_t=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-crypto-trading%2F&t_d=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&t_t=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-crypto-trading%2F&t_d=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&t_t=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-crypto-trading%2F&t_d=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&t_t=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-crypto-trading%2F&t_d=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&t_t=Alpaca%20Launches%20Developer-Friendly%20Crypto%20Trading%20API&s_o=default#) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Breaking Change Notification for Account Creation Tax ID Requirement](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) [Next Post : Hacktoberfest 2021 ? Celebrate Open Source with Alpaca](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Connect Marketplace # Introducing Alpaca Connect Marketplace By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • June 15, 2022[0 Comments](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/#disqus_thread) ![Introducing Alpaca Connect Marketplace](https://alpaca.markets/blog/content/images/2022/06/Alpaca-Connect-announcement_blog.png) At Alpaca, we’re always looking for ways to give you deeper insights and a more seamless trading experience. That’s why we’re excited to announce the **beta launch of Alpaca Connect Marketplace**, which helps you discover apps and tools from around the world and easily integrate them with your Alpaca account. Starting today, with your Alpaca Account you can connect to platforms like [TradingView](https://www.tradingview.com/?ref=alpaca.markets), [Blueshift](https://blueshift.quantinsti.com/?ref=alpaca.markets), and [Arcade Trader](https://arcadetrader.com/?ref=alpaca.markets) in just a few clicks. ## Alpaca Connect Marketplace As we roll out Alpaca Connect, we’re beginning with an app marketplace that’s easily accessible from our web dashboard. For this beta launch, we are bringing you eight apps built by developers and companies you know and love. Alpaca Connect enables you to discover apps built by traders just like you. From apps that help you build strategies using drag-and-drop tools to market data integrations, there are apps for traders of all levels, and we are just getting started. The OAuth integration is a secure integration type, and every app is approved by our compliance team. Apps can either have read only access to your account (eg. charting apps) or they can have read/write access to your account and place trades on your behalf (eg. automated strategies). ## Integrate With Apps in Just a Few Clicks ![](https://alpaca.markets/blog/content/images/2022/06/Screen-Shot-2022-06-15-at-1.23.06-PM.png) When you log in to our web dashboard, you’ll see **Alpaca Connect** on the left panel. Once you click to access the marketplace, you will be able to view all supported apps that integrate with your Alpaca account. ## Alpaca Connect Marketplace Key Features - Connect to apps that meet your trading needs - Secure OAuth integration - Easily discover new apps directly from Alpaca’s web dashboard - Quickly integrate with apps in just a few clicks ## Coming Soon - Apps and integrations built by Alpaca - Developer Dashboard to allow developers to track their business on Alpaca, launch rewards, onboard users directly on Alpaca, and much more! Ready to start exploring apps you can connect with to enhance your trading? [Log in](https://app.alpaca.markets/login?ref=alpaca.markets) to our web dashboard and click on Alpaca Connect to get started! * * * Please note that this article is for general informational purposes only. All screenshots are for illustrative purposes only. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Depending on your location, cryptocurrency services may be provided by West Realm Shires Services, Inc., d/b/a FTX US (NMLS #1957771). Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities, Alpaca Crypto, or FTX US respectively, are not registered or licensed, as applicable ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-alpaca-connect-marketplace%2F&t_d=Introducing%20Alpaca%20Connect%20Marketplace&t_t=Introducing%20Alpaca%20Connect%20Marketplace&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-alpaca-connect-marketplace%2F&t_d=Introducing%20Alpaca%20Connect%20Marketplace&t_t=Introducing%20Alpaca%20Connect%20Marketplace&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-alpaca-connect-marketplace%2F&t_d=Introducing%20Alpaca%20Connect%20Marketplace&t_t=Introducing%20Alpaca%20Connect%20Marketplace&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-alpaca-connect-marketplace%2F&t_d=Introducing%20Alpaca%20Connect%20Marketplace&t_t=Introducing%20Alpaca%20Connect%20Marketplace&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-alpaca-connect-marketplace%2F&t_d=Introducing%20Alpaca%20Connect%20Marketplace&t_t=Introducing%20Alpaca%20Connect%20Marketplace&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-alpaca-connect-marketplace%2F&t_d=Introducing%20Alpaca%20Connect%20Marketplace&t_t=Introducing%20Alpaca%20Connect%20Marketplace&s_o=default#) Sponsored [Previous Post : Display Logos of Popular Crypto & Stock Symbols with Broker API](https://alpaca.markets/blog/display-logos-of-popular-crypto/) [Next Post : Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept td.doubleclick.net # td.doubleclick.net is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ## API Features Update # New API Features & Dashboard Updates, Quantopian-Closing By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • December 11, 2020[0 Comments](https://alpaca.markets/blog/api-dashboard-update-quantopian/#disqus_thread) ![New API Features & Dashboard Updates, Quantopian-Closing](https://alpaca.markets/blog/content/images/2020/12/alpaca.jpeg) Last month, we launched multiple API features and dashboard updates. Also, after hearing about Quantopian closing their services, we decided to take a proactive approach to support the community to ensure the migration process. ## API Features ### Canceling Open Orders When Liquidating with Positions API Many users have provided us feedback that it is important to have a quick way to cancel all orders when requesting liquidation of open positions. We have just added this capability in the Liquidation API with an additional parameter called cancel\_orders=true. If you specify this, order cancel is performed first before liquidation is performed. See more details in the [Positions API page](https://alpaca.markets/docs/api-documentation/api-v2/positions/?ref=alpaca.markets) for the reference. ![](https://alpaca.markets/blog/content/images/2020/12/cancel-all-orders.png)[https://alpaca.markets/docs/api-documentation/api-v2/positions/](https://alpaca.markets/docs/api-documentation/api-v2/positions/?ref=alpaca.markets) ### Filter by Symbols in Orders API To respond to user requests, we have implemented a new parameter to filter orders by symbol names. If you specify the symbol parameter, the list response is filtered to only orders with the specified symbols. You can specify multiple symbols by delimiting by comma such as “AAPL,SPY” See more details in the [Orders API page](https://alpaca.markets/docs/api-documentation/api-v2/orders/?ref=alpaca.markets) for the reference. ![](https://alpaca.markets/blog/content/images/2020/12/comma.png)[https://alpaca.markets/docs/api-documentation/api-v2/orders/](https://alpaca.markets/docs/api-documentation/api-v2/orders/?ref=alpaca.markets) ### Trailing Stop Orders - How To Trailing stop orders are one of the newest advanced order types that we added recently. We added code snippets for this order type in the [Order Example page](https://alpaca.markets/docs/api-documentation/how-to/orders/?ref=alpaca.markets). ![](https://alpaca.markets/blog/content/images/2020/12/trailing-stop.png)[https://alpaca.markets/docs/api-documentation/how-to/orders/](https://alpaca.markets/docs/api-documentation/how-to/orders/?ref=alpaca.markets) ## Dashboard Updates We have added a bunch of information about your positions and balances as well as account settings in one place under “Account” in the left menu. ![](https://alpaca.markets/blog/content/images/2020/12/acct-config.png)Configure various settings for your account here![](https://alpaca.markets/blog/content/images/2020/12/statement.png)View statements here![](https://alpaca.markets/blog/content/images/2020/12/detail.png)Check out the detailed view of your balance here ## Quantopian Closing After we heard about Quantopian closing their services, we have been in close contact with the community to understand how to best support this transition and how to make it as smooth as possible. For this, we announced Zipline-Trader supporting multiple brokerages including Alpaca and IBKR in order to offer a suitable and sustainable replacement for users that want to run their algorithmic trading on their own using open source tools without relying on online services. Please read [this post](https://alpaca.markets/learn/quantopian-zipline-transition/?ref=alpaca.markets) for more information. [Supporting Quantopian Users to Make Transition\\ \\ Quantopian is closing, and Alpaca launches Zipline-Trader to support the community to make smooth transition.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesShlomi Kushchi\\ \\ ![](https://alpaca.markets/learn/content/images/2020/11/Q-closing-1.png)](https://alpaca.markets/learn/quantopian-zipline-transition/?ref=alpaca.markets) **\-\-\--** **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_FINRA_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_SIPC_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/abel/) About [Abel Sohajda](https://alpaca.markets/blog/author/abel/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fapi-dashboard-update-quantopian%2F&t_d=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&t_t=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fapi-dashboard-update-quantopian%2F&t_d=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&t_t=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fapi-dashboard-update-quantopian%2F&t_d=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&t_t=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fapi-dashboard-update-quantopian%2F&t_d=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&t_t=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fapi-dashboard-update-quantopian%2F&t_d=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&t_t=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fapi-dashboard-update-quantopian%2F&t_d=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&t_t=New%20API%20Features%20%26%20Dashboard%20Updates%2C%20Quantopian-Closing&s_o=default#) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Web Dashboard Updates and Support Page Launch](https://alpaca.markets/blog/dashboard-and-support-page/) [Next Post : Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started](https://alpaca.markets/blog/execution-broker-oms-dashboard/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Business Accounts # Launching Alpaca Business Trading Accounts Beta By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 17, 2020[0 Comments](https://alpaca.markets/blog/business-brokerage-account-beta/#disqus_thread) ![Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/content/images/2020/07/Alpaca_Business_Account.png) ## Commission-Free Trading Accounts for Your Business Entities As we see the Alpaca platform grow, we are receiving more inquiries about opening live trading accounts for business entities. Today, we are excited to launch [Alpaca business trading accounts Beta](https://alpaca.markets/business-account?ref=alpaca.markets). [Alpaca Business Trading Accounts - Commission-Free API First Stock Brokerage\\ \\ Alpaca is a modern platform for trading. Alpaca’s API is the interface for your trading algorithms, bots, or applications to communicate with Alpaca’s brokerage and other services.\\ \\ ![](https://files.alpaca.markets/webassets/favicon-32x32.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/Alpaca_Business_Account.png)](https://alpaca.markets/business-account?ref=alpaca.markets) To build this from the ground up, we have partnered with [Zaam (YC W20)](https://www.zaam.io/?ref=alpaca.markets) to simplify the extremely complex process of collecting necessary information for the business onboarding. Today’s Beta accepts select US Corporations, LLCs, and we continue to expand the coverage of eligible business entity types. (You will be asked to do the initial survey before submitting a bunch of other information & documents ?) Because this Beta program is specifically for business entities that intend to use Alpaca for trading purposes, there are several points to be noted including: - No charge to open a business trading account - Having a $30,000 account minimum - Having access to the [Alpaca Data API](https://alpaca.markets/docs/api-documentation/api-v2/market-data/?ref=alpaca.markets) but not to Polygon’s consolidated market data [Market Data - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://alpaca.markets/docs/images/alpacalogo.png)](https://alpaca.markets/docs/api-documentation/api-v2/market-data/?ref=alpaca.markets) ### Why open accounts using your business entities? There are multiple reasons why you would want to open live trading accounts with your business entities. We have witnessed that an API-first trading platform tends to attract sophisticated users. With the popularity of easy to learn programming languages such as Python, there are a number of individuals capable of automating their trading or building trading and investing applications. These pursuits may start out as hobbies or pet projects, but they can be conducive to business opportunities. Perhaps you are building the next great Robo-Advisor algorithm, or you’ve developed a trading strategy using machine learning that significantly outperforms the S&P 500 that you want to use to manage other people’s money. We previously wrote " [Algorithmic Trading through a Business Account at Alpaca](https://alpaca.markets/learn/algorithmic-trading-business-account/?ref=alpaca.markets)" and talked about specific use cases for trading under a business that we count among our customers today. The post talks about the cases for hedge funds, proprietary trading companies, and technology companies. [Algorithmic Trading through a Business Account at Alpaca\\ \\ Alpaca now supports business accounts who want to do algorithmic trading. This post should help you to find why useful to trade through a business entity such as a startup hedge fund, prop trading firm etc.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesAlpaca Team\\ \\ ![](https://alpaca.markets/learn/content/images/2020/03/alpaca-hedge-fund-business-account.jpeg)](https://alpaca.markets/learn/algorithmic-trading-business-account/?ref=alpaca.markets) ### Looking to build apps/services as a business? If you are looking for a business account because you are building apps/services, this Alpaca business trading account is not for you ?. Instead, to start integration and build apps using Alpaca API, please refer to [this part of our documentation](https://alpaca.markets/docs/build-apps_services-with-alpaca/?ref=alpaca.markets) ? [Build Apps/Services with Alpaca - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://alpaca.markets/docs/images/alpacalogo.png)](https://alpaca.markets/docs/build-apps_services-with-alpaca/?ref=alpaca.markets) ## How Alpaca Business Trading Accounts Beta Works ### (1) Start by logging in or signing up to the Alpaca account Each business trading account is connected to each Alpaca account (each Alpaca account is connected to each email address). Hence, if your existing Alpaca account is already connected to an existing individual live-trading account, please create another Alpaca account by using the email address and password you want to use for your business trading account from the [Alpaca account signup page](https://app.alpaca.markets/signup?ref=alpaca.markets). ![](https://alpaca.markets/blog/content/images/2020/08/06.png)[https://app.alpaca.markets/signup](https://app.alpaca.markets/signup?ref=alpaca.markets) ### (2) Follow the instructions ![](https://alpaca.markets/blog/content/images/2020/08/02.png)![](https://alpaca.markets/blog/content/images/2020/08/03.png) ### (3) Check your business entity's eligibility On the first screen, you are asked for basic information to move forward to open a business trading account. ![](https://alpaca.markets/blog/content/images/2020/09/01-filtr-1.png)The first screen to answer basic information about your business ### (4) Submit information & documents step by step Please go through the business account opening process as instructed! ![](https://alpaca.markets/blog/content/images/2020/09/next-step.png) ### (Waitlisted) Certain restrictions of the beta program If you are sent to the interest indication form, please bear with us as we work to expand the eligibility criteria of the Alpaca business trading accounts ?. We are going to update you as we expand the coverage, and please feel free to contact us for questions with regards to your business' eligibility to support at alpaca.markets. ![](https://alpaca.markets/blog/content/images/2020/09/waitlist.png) Thank you for your continued support of Alpaca! * * * **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Commission-Free trading means that there are no commission charges for Alpaca brokerage accounts that trade U.S. listed securities through an API. Relevant SEC and FINRA fees may apply._ _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC, member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States)._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss, in a down market. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). Sponsored [Previous Post : Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/non-us-live-trading-beta/) [Next Post : Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/stock-market-data-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Commission-Free Short Selling # Commission-Free Short Selling & More on Alpaca By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 08, 2019[0 Comments](https://alpaca.markets/blog/commission-free-short-selling/#disqus_thread) ![Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/content/images/2020/03/1_canI2LSf-psNSf7FlPn_HQ.png) ## Hack Financial Systems Since launching the [Alpaca Trading API](https://alpaca.markets/?ref=alpaca.markets) only 9 months ago, we have had the pleasure of supporting the activity of a growing number of individuals and businesses, from hobbyist coders to hedge funds. Using our API, you have built beautiful applications and charting tools. You have experimented and refined with our paper trading environment. You have traded all types of strategies, some generating thousands of trades a day, completely commission-free. You have helped each other maximize the power of programming to “hack financial systems” through your active participation in our community. ## New Features that Empower Your Trading Today, we are excited to announce the addition of several new features available through the Alpaca Trading API “ [Web API v2](https://alpaca.markets/docs/api-documentation/?ref=alpaca.markets)”. [API v2 - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://docs.alpaca.markets/images/alpacalogo.png)](https://docs.alpaca.markets/api-documentation/api-v2/?source=post_page-----24f2aec23028----------------------) These include commission-free short selling, margin trading with margin rate of 3.75% amongst the lowest in the industry, pre market & after hours trading, and business account onboarding. These are highly requested features from you, and we are excited to see how you will take advantage of them. - [Commission-free short selling](https://alpaca.markets/docs/trading/margin-and-shorting/?ref=alpaca.markets): Trade without directional bias. Alpaca’s commission-free trading API gives you the ability to run long/short or market neutral strategies. - [Margin trading with 3.75% margin rate](https://alpaca.markets/docs/trading/margin-and-shorting/?ref=alpaca.markets#margin-interest-rate): Alpaca offers a 3.75% margin interest rate, providing you affordable leverage for up to 4X intraday & 2X overnight buying power. - [Pre market & after hours trading](https://alpaca.markets/docs/trading/orders/?ref=alpaca.markets#extended-hours-trading): Expand your opportunity set. You can trade outside of Regular Trading Hours. We offer 9:00am to 6:00pm Eastern Time. - [Business account onboarding](https://alpaca.markets/docs/trading/account-plans/?ref=alpaca.markets#business): This is for those of you who operate or are starting a proprietary trading firm or hedge fund. _Securities are offered through Alpaca Securities LLC. Important Disclosures (link to https://alpaca.markets/disclosures)_ ### API-first, Developer-first We are committed to building a software infrastructure that enables all of us to interact with the financial market seamlessly. We have built the building blocks to hack the financial markets — What do _YOU_ plan to do with them? Make sure to join the [community on Slack](https://alpaca.markets/slack?ref=alpaca.markets). You can always find our ongoing open source projects under [alpacahq](https://github.com/alpacahq/?ref=alpaca.markets) and can submit your requests here. [Alpaca\\ \\ Alpaca builds a commission free API-first stock brokerage - Alpaca\\ \\ ![](https://github.githubassets.com/favicon.ico)GitHub\\ \\ ![](https://avatars2.githubusercontent.com/u/30398729?s=280&v=4)](https://github.com/alpacahq/?source=post_page-----24f2aec23028----------------------) * * * Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ( [alpaca.markets](https://alpaca.markets/?utm_source=medium&utm_medium=blog&utm_campaign=strategy_list&utm_content=part1)), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc. **_You can find us_** [**_@AlpacaHQ_**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **_, if you use twitter._** ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcommission-free-short-selling%2F&t_d=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&t_t=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcommission-free-short-selling%2F&t_d=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&t_t=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcommission-free-short-selling%2F&t_d=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&t_t=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcommission-free-short-selling%2F&t_d=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&t_t=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcommission-free-short-selling%2F&t_d=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&t_t=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcommission-free-short-selling%2F&t_d=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&t_t=Commission-Free%20Short%20Selling%20%26%20More%20on%20Alpaca&s_o=default#) [Previous Post : MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) [Next Post : Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/manual-trading-stocks/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Dashboard and Broker Updates # Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 28, 2020[0 Comments](https://alpaca.markets/blog/execution-broker-oms-dashboard/#disqus_thread) ![Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started](https://alpaca.markets/blog/content/images/2020/10/Investigating-Alpaca.png) We recently added new capabilities and upgraded our infrastructure for improved overall platform stability and performance. Although these upgrades are not necessarily visible, they support a growing amount of activity that we are witnessing on the Alpaca platform. \-\-\- ## Order Details Page & Replacing Orders in Dashboard ### Orders Page Click on one of the row items on the Orders page. You can see more details about your order, including a detailed order trail history of your current and/or replaced orders (if applicable). ![](https://lh4.googleusercontent.com/iJfk1J0bq6O4JqHJHZgvXzZfu-HUdJFFAd04FWHS0YILztKS3yEiWZB-eWAAnnH-tu94Z2dn_a9o05CUWTkIdsfnChV5BnVcNnf-FHYnD7F0jheqzYm3I-xmgwP0_dEZ3Ji734gb)You can now replace (update) your open orders from the Web Dashboard. This has been available through the API but is now available on the GUI. ### Replacing Order When you have trouble with a particular order and need to contact Alpaca’s support team, you can find out the **Order ID** here. Including the Order ID in your support request helps us understand and resolve your issue quickly! ![](https://lh3.googleusercontent.com/X1LiTsol2XAr87olJPYp-PbsjuQJqe_Q-N9d0lFrK6IgJGVALLkMmumfYcilslB_APUdHNytLYZqFuDxOzXsEg3RFZEd9j0p46F88p--B-S5f0kqksEXR9SkVdY5-giDFOrO0cM-) * * * ## Adding Execution Broker Partners We added two new execution broker partners, Citadel and Virtu. We have been testing the connection for a few months with them, and the integration with these new execution broker partners is now in production. Citadel and Virtu come as the addition to Wolverine that we have been working with. We are extremely happy about this update as this helps improve the stability of Alpaca’s trading platform and something that our users have been waiting for. At the same time, we are also enhancing our backbone physical infrastructure with our execution brokers in the NJ data center, so the latency improves, and our platform continues to be scalable to keep up with our user base growth. * * * ## More Robust Order Management System (“OMS”) We recently made a significant improvement in our OMS. We have been working hard to upgrade the OMS as this influences the performance of the paper and the live trading system greatly. Our most recent OMS update improves performance by 25%. We were also able to improve TPS around the core business logic by 300% in processing speed. We continue to maintain and upgrade our backend infrastructure to keep up with the activity growth on Alpaca’s platform, and we are extremely thankful for your involvement and participation! * * * ## 2nd Trade Contest Started ![](https://alpaca.markets/blog/content/images/2020/10/image-3.png)[https://app.alpaca.markets/contest](https://app.alpaca.markets/contest?ref=alpaca.markets) We started Alpaca’s 2nd trade contest on Monday, Oct 26th. This is going to last for four weeks, and we are going to update the [ranking on a real-time basis](https://app.alpaca.markets/contest?ref=alpaca.markets) in the newly launched leadership board. Our focus is to expand the community of enthusiastic developers and tech-savvy people around trading. Our goal for this event is to allow you to explore the crossroads of technology and trading. [Trading Contest Fine Print - Rules\\ \\ Contest rule for the Alpaca Trading Competition, where all the developers, quants, tech-savvy traders can participate globally\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesAlpaca Team\\ \\ ![](https://alpaca.markets/learn/content/images/2020/08/competition-fine-print.png)](https://alpaca.markets/learn/contest-rules/?ref=alpaca.markets) * * * **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_**FINRA**_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_**SIPC**_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fexecution-broker-oms-dashboard%2F&t_d=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&t_t=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fexecution-broker-oms-dashboard%2F&t_d=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&t_t=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fexecution-broker-oms-dashboard%2F&t_d=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&t_t=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fexecution-broker-oms-dashboard%2F&t_d=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&t_t=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fexecution-broker-oms-dashboard%2F&t_d=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&t_t=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fexecution-broker-oms-dashboard%2F&t_d=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&t_t=Dashboard%20Update%2C%20More%20Execution%20Brokers%2C%20OMS%20Upgrade%2C%20Trade%20Contest%20Started&s_o=default#) [iframe](cid:frame-209EEE931B24FA2CC483A98997E0195C@mhtml.blink) Sponsored [Previous Post : New API Features & Dashboard Updates, Quantopian-Closing](https://alpaca.markets/blog/api-dashboard-update-quantopian/) [Next Post : API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/sdk-api-trade-contest/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept td.doubleclick.net # td.doubleclick.net is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ## API Order Management # Cancel All Orders & Position Liquidations Through API By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 29, 2019[0 Comments](https://alpaca.markets/blog/position-liquidation-cancel-orders/#disqus_thread) ![Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/content/images/2020/03/0_Z9_c0uNWOKn8-Yt7.jpeg) ## New Features ### Cancel All Orders through API Previously, Alpaca users could cancel all open orders through the Alpaca web dashboard. Now, users can cancel all open orders through an API call, too! When the following endpoint is called, all open orders will be canceled. Each cancel request works the same way as the single order cancel API. ``` python DELETE /v2/orders ``` Copy In addition, the following JSON failure and success responses are provided (and are for illustrative purposes only): ``` python [\ {\ "id": "edf0239d-77c1-418f-bb58-5f0e95288505",\ "status": 500,\ "body": {\ "code": 50010000,\ "message": "failed to cancel order: error submitting cancel order request",\ "order": {\ "asset_class": "us_equity",\ "asset_id": "fbaa7510-3ea0-4f8e-83b5-d6f527129f48",\ "canceled_at": null,\ "client_order_id": "f888f584-13fb-4991-8749-0433d48b0a54",\ "created_at": "2019-07-19T22:47:08.002688Z",\ "expired_at": null,\ "failed_at": null,\ "filled_at": null,\ "filled_avg_price": null,\ "filled_qty": "0",\ "id": "edf0239d-77c1-418f-bb58-5f0e95288505",\ "limit_price": "201",\ "order_type": "limit",\ "qty": "7",\ "side": "buy",\ "status": "accepted",\ "stop_price": null,\ "submitted_at": "2018-11-15T14:30:28.763971Z",\ "symbol": "AAPL",\ "time_in_force": "gtc",\ "type": "limit",\ "updated_at": "2019-07-24T22:51:28.064664Z"\ }\ }\ },\ {\ "id": "b2967af1-d2ed-43e9-ba2f-9923cb9251af",\ "status": 200,\ "body": {\ "asset_class": "us_equity",\ "asset_id": "fbaa7510-3ea0-4f8e-83b5-d6f527129f48",\ "canceled_at": null,\ "client_order_id": "8564cd3a-acea-4c64-bba8-c22d72747e86",\ "created_at": "2019-07-23T08:01:34.639534Z",\ "expired_at": null,\ "failed_at": null,\ "filled_at": null,\ "filled_avg_price": null,\ "filled_qty": "0",\ "id": "b2967af1-d2ed-43e9-ba2f-9923cb9251af",\ "limit_price": "195",\ "order_type": "limit",\ "qty": "3",\ "side": "buy",\ "status": "new",\ "stop_price": null,\ "submitted_at": "2018-11-15T14:31:20.018938Z",\ "symbol": "AAPL",\ "time_in_force": "gtc",\ "type": "limit",\ "updated_at": "2019-07-24T22:53:36.234571Z"\ }\ }\ ] ``` Copy ### Liquidate Positions through API You can now liquidate your positions through API (previously only accessible through web dashboard). When the following endpoint is called, orders will be submitted to liquidate all positions for that symbol. This action works for both long and short positions. ``` python DELETE /v2/positions/ ``` Copy You can also liquidate **all** open positions within your account by omitting the symbol path element. Both the Cancel All Open Orders API and the Liquidate Positions API return HTTP [207 Multi-Status](https://httpstatuses.com/207?ref=alpaca.markets). The response body is an JSON array with each element having different sub-status for each operation. * * * ## Other News ### Web Forum [We’ve launched our forum!](https://forum.alpaca.markets/?ref=alpaca.markets) Here you can visit and contribute to the conversations about algo-trading, general trading, or about the Alpaca platform. [Alpaca Forums\\ \\ Hack Financial Systems, Commission Free API Trading\\ \\ ![](https://aws1.discourse-cdn.com/standard14/uploads/alp/optimized/1X/8dda2402e41774a0fa2c3252d3163dc3d715fb6d_2_180x180.png)Alpaca Forums\\ \\ ![](https://aws1.discourse-cdn.com/standard14/uploads/alp/original/1X/8dda2402e41774a0fa2c3252d3163dc3d715fb6d.png)](https://forum.alpaca.markets/?ref=alpaca.markets) Our Slack server has over 2,500 users, and we will continue to maintain and respond through Slack. However, we did see a gap in searchability and indexing with Slack, which led us to consider a forum as a medium of open discussion. The forum will allow our users to search through old topics much more easily and find questions that have been asked before by fellow forum members. We hope you find it useful! ### Infrastructure Updates We believe that service reliability and availability is one of the most important aspects of a trading service. To help minimize the risk of execution failures and decrease the latency of trades, we have upgraded the connectivity between Alpaca cloud servers and the physical market exchange servers in New Jersey. This change should reduce the network latency for trade communication and reliability by two orders of magnitude (10–100x). * * * ### Coming Soon We’re constantly working on new features to make the experience on our platform better. Here are several improvements that we will be releasing very soon! **Margin Call Protections** In an effort to protect users from receiving day trade buying power ( **DTBP**) margin calls, we are enabling two types of margin call protections. All users will be defaulted to DTBP margin call protections **on entry**, meaning that you will be prevented from entering positions that may cause a DTBP margin call. There will be an option to switch on protections **on exit**, in which case you will be prevented from exiting positions that may cause a DTBP margin call. We will be enabling these protections beginning Monday 8/5/2019. Please [contact our support](https://support.alpaca.markets/hc/en-us/requests/new?ref=alpaca.markets) should you need to modify your DTBP margin call protection setting. * * * _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by [Alpaca Securities LLC](https://alpaca.markets/?ref=alpaca.markets), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ _You can find us [@AlpacaHQ](https://twitter.com/AlpacaHQ?source=post_page---------------------------), if you use twitter._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fposition-liquidation-cancel-orders%2F&t_d=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&t_t=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fposition-liquidation-cancel-orders%2F&t_d=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&t_t=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fposition-liquidation-cancel-orders%2F&t_d=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&t_t=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fposition-liquidation-cancel-orders%2F&t_d=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&t_t=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fposition-liquidation-cancel-orders%2F&t_d=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&t_t=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fposition-liquidation-cancel-orders%2F&t_d=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&t_t=Cancel%20All%20Orders%20%26%20Position%20Liquidations%20Through%20API&s_o=default#) [Previous Post : Zapier Integration & User Configuration Features](https://alpaca.markets/blog/zapier-integration/) [Next Post : MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca API Updates # API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/sdk-api-trade-contest/#disqus_thread) ![API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/content/images/2020/10/update03.png) We are constantly adding new features in our API as well as in the web-dashboard. These features are to offer more flexibility when using Alpaca products and are to give your more visibility on the web-dashboard as well. * * * ## Liquidate a Part of Your Position via API The position API now accepts a new parameter \`qty\` in the \`DELETE /v2/positions/{symbol}\` endpoint. This allows you to specify the number of shares to liquidate instead of all the shares you are holding which is the default behavior when you don’t specify. Please check out the API reference in the [documentation](https://alpaca.markets/docs/api-documentation/api-v2/positions/?ref=alpaca.markets#close-a-position). [Positions - Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://alpaca.markets/docs/images/alpacalogo.png)](https://alpaca.markets/docs/api-documentation/api-v2/positions/?ref=alpaca.markets#close-a-position) The same functionality is now available in the Positions Page on the web-dashboard. ![](https://alpaca.markets/blog/content/images/2020/10/image.png) * * * ## Hosting the 2nd Trade Contest (Starts on 10/26) We are excited to announce that Alpaca is hosting its second virtual Electronic Trading Contest starting on Oct 26 (Monday), a four-week-long contest where participants compete against each other in a simulated market using the Alpaca Paper Trading feature. There are cash prizes (Amazon gift cards ?) for the winning participants. For detail, please visit [here](https://alpaca.markets/blog/2nd-trade-contest/). [2nd Trade Contest - 10/26 Monday\\ \\ The second Trade Contest is starting on Oct 26 (Mon), a 4-week-long contest where participants compete in a simulated market.\\ \\ ![](https://alpaca.markets/blog/favicon.png)AlpacaYoshi Yokokawa\\ \\ ![](https://alpaca.markets/blog/content/images/2020/10/trade_contest.png)](https://alpaca.markets/blog/2nd-trade-contest/) * * * ## Balances Page on the Web-Dashboard A new page, Balances Page, has been added to give you more visibility about your account balances. This page shows detail information about your cash position, maintenance margin requirements, RegT vs day trading buying power etc for real time and beginning of day. ![](https://alpaca.markets/blog/content/images/2020/10/image-1.png) This update comes with a minor change in the Positions Page which now has a pie chart to visualize the ratio between your cash position and stock values. ![](https://alpaca.markets/blog/content/images/2020/10/image-2.png) * * * ## SDK Updates We have added support in several SDKs for [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets) which allows you to run multiple strategies in parallel under one websocket. Please see the [project on Github](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets) and step-by-step [how to set it up](https://alpaca.markets/learn/alpaca-proxy-agent-01/?ref=alpaca.markets) here. And there are more SDK updates as well! [shlomikushchi/alpaca-proxy-agent\\ \\ Contribute to shlomikushchi/alpaca-proxy-agent development by creating an account on GitHub.\\ \\ ![](https://github.githubassets.com/favicons/favicon.svg)GitHubshlomikushchi\\ \\ ![](https://avatars2.githubusercontent.com/u/7924802?s=400&v=4)](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets)[Run Multiple Algorithms on Alpaca - Alpaca Proxy Agent (Part I)\\ \\ Showing you how to run multiple algorithms on Alpaca using the Alpaca Proxy Agent and one websocket.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesShlomi Kushchi\\ \\ ![](https://alpaca.markets/learn/content/images/2020/10/alpaca-proxy.png)](https://alpaca.markets/learn/alpaca-proxy-agent-01/?ref=alpaca.markets) ### [Python SDK 0.51.0](https://github.com/alpacahq/alpaca-trade-api-python/releases/tag/v0.51.0?ref=alpaca.markets) In this release, we add support for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets). Also: - Add a new simple stream example to demonstrate how to use the streaming service. It's under examples/websocket\_example.py - Cleaner look for the documentation (README file) - Explain exactly how to use get\_barset() ### [JS SDK 1.4.2](https://github.com/alpacahq/alpaca-trade-api-js/releases/tag/v1.4.2?ref=alpaca.markets) In this release, we add support for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets). Also, a fix was added to example code: long-short.js ### [pylivetrader 0.5.1](https://github.com/alpacahq/pylivetrader/releases/tag/v0.5.1?ref=alpaca.markets) In this release, we make this project compatible for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets). Also: - mchanged can\_trade to be more resilient - fixed minor issues with the smoke-util ### [backtrader-api 0.11.0](https://github.com/alpacahq/alpaca-backtrader-api/releases/tag/v0.11.0?ref=alpaca.markets) In this release, we add support for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets). Also: - Fix issue in which a custom order id was not stored with the order object - Update the url for live trading (wasn't set) - Enhance the sample code and fix constants - Update trading\_calendars ### [Go SDK 1.6.2](https://github.com/alpacahq/alpaca-trade-api-go/releases/tag/v1.6.2?ref=alpaca.markets) In this release, we add support for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets). * * * **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [**_FINRA_**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [**_SIPC_**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-api-trade-contest%2F&t_d=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&t_t=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-api-trade-contest%2F&t_d=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&t_t=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-api-trade-contest%2F&t_d=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&t_t=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-api-trade-contest%2F&t_d=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&t_t=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-api-trade-contest%2F&t_d=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&t_t=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-api-trade-contest%2F&t_d=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&t_t=API%20%26%20Web-Dashboard%20Updates%2C%20Trade%20Contest%2C%20SDK%20Updates%20for%20alpaca-proxy-agent&s_o=default#) [Previous Post : Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started](https://alpaca.markets/blog/execution-broker-oms-dashboard/) [Next Post : The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/2nd-trade-contest/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Market Data API Launch # Important Update: Alpaca Launches Market Data API 2.0 By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • February 24, 2021[0 Comments](https://alpaca.markets/blog/market-data-api-launch/#disqus_thread) ![Important Update: Alpaca Launches Market Data API 2.0](https://alpaca.markets/blog/content/images/2021/02/update-1.png) ### Greetings! Data is one of the most important components of algorithmic trading and is the backbone for generating signals. Here at Alpaca, we continue to improve our product offerings as well as your Alpaca experience and hence we are excited to announce our Alpaca Data API version 2! The API v2.0 will consist of real time and historical price data and will evolve with more upgrades with time. Starting from the 27th February 2021, the Alpaca Data API v2.0 will replace the existing Polygon.io data feed that has been offered to live accounts. Furthermore, this switch means that all Polygon.io services through Alpaca will soon be discontinued. * * * ### About Alpaca Data API v2.0 We are introducing two market data plans for our customers. - **Free:** This plan is included in both paper-only and live trading accounts as the default plan for free. It is best suited for those who only use data less actively and don’t require data from all US stock exchanges. - **Unlimited:** Accessible for both paper-only and live trading accounts for $49 per month. Best for people who want to have unlimited access to data with a 100% market coverage (SIP data feed) for US stocks. **You can see more details about the new pricing here:** ![](https://alpaca.markets/blog/content/images/2021/03/Screenshot-2021-03-25-at-14.19.25.png) * * * ### Next Steps **Paper-trading accounts:** Previously our paper trading accounts used the Alpaca Market Data API v1. With the introduction of version 2, all paper trading accounts will have default access to the Free plan, but also have the option to subscribe to the Unlimited plan. Please make sure to read through our [documentation](https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-data-api-v2/?ref=alpaca.markets) so that you can make the appropriate changes. **Live accounts:** As of Feb 28, 2021, access to Polygon.io data feed via your Alpaca API key will be phased out. In order to make the transition as smooth as possible, together with Polygon.io we are providing a **100% discount coupon for March** to our live users who are currently using Polygon.io data and would like to continue their usage. You need to take action to ensure you retain your access and will need to create an account on [Polygon.io](https://polygon.io/?ref=alpaca.markets)’s website. Please use the **coupon code** \- that was sent out in an email - during checkout on Polygon.io to claim your **free month**. After you sign up, you will need to replace your legacy Polygon API keys with those associated with your newly created Polygon account. ![](https://lh5.googleusercontent.com/JShkI5_JQEXdlyjpG_GuEBlrX_jjnZ3_5K-_rQCrhFReMtnlMmcVnQCiocV_BdnfVAtUt6Ox3g95BKkg4LJwY5tdfljq5hA6i1E4gv0dB5j0z40_9ov5vJbUfg8Yo1513c4tbyAg)![](https://lh3.googleusercontent.com/Bk5xGOcZxciTQoZsIM9wI4o8KeQJO2KtPT_x288INClN9GiS182Ynxc9_hnYR8IM9zLZfHK4y2XqvEWJwSlQVSE9h_B3J87XYSMZm8PAQDbVNe0DuOTVh3-ogDWwJL-07DMhPuR8) After your free month, you will be charged the regular price for Polygon.io. For the pricing details, please visit [https://polygon.io/pricing](https://polygon.io/pricing?ref=alpaca.markets). If you would like to start using the new Alpaca Data API v2, check our [documentation](https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-data-api-v2/?ref=alpaca.markets). In case of additional questions, please feel free to reach out to us on our [Alpaca Forum](https://forum.alpaca.markets/?ref=alpaca.markets) and the [Alpaca Community Slack](https://alpaca-community.slack.com/join/shared_invite/zt-lycgjntu-oDtZQN_TN~ewRewdZUJ5gQ?ref=alpaca.markets#/). _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by [**Alpaca Securities LLC**](https://alpaca.markets/?ref=alpaca.markets), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ You can find us [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?source=post_page---------------------------), if you use Twitter. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/abel/) About [Abel Sohajda](https://alpaca.markets/blog/author/abel/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-api-launch%2F&t_d=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&t_t=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-api-launch%2F&t_d=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&t_t=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-api-launch%2F&t_d=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&t_t=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-api-launch%2F&t_d=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&t_t=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-api-launch%2F&t_d=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&t_t=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fmarket-data-api-launch%2F&t_d=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&t_t=Important%20Update%3A%20Alpaca%20Launches%20Market%20Data%20API%202.0&s_o=default#) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Introducing Fractional Trading](https://alpaca.markets/blog/fractional-trading/) [Next Post : Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/data-conference/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Low Latency Ledger Upgrade # Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 27, 2023[0 Comments](https://alpaca.markets/blog/low-latency-ledger-upgrade/#disqus_thread) ![Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/content/images/2023/04/asyn-mode-product-blog.png) At Alpaca, our vision is to build a global de facto standard infrastructure for investing, and for that, it is critical that we continue to provide unparalleled technology infrastructure to support this vision. We prioritize our API platform, designed with developers in mind, and constantly strive to enhance our underlying technology to ensure that your customers can trade with confidence. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-6.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=platform-upgrade-latency) In a financial business, the ledger is particularly important as it enables accurate and up-to-date transaction records that adhere to strict control requirements in order to ensure the integrity of our system of record. Traditional ledger systems, including Alpaca’s proprietary book of records that has allowed us to innovate quickly throughout the trading stack, relied on large ‘end of day’ periods where transactions could not be processed until these end-of-day calculations were complete. This has become an impediment to the nature of 24/7 access to multiple asset classes, such as US stocks and crypto. Slow ledger transactions and journal processing make it challenging and frustrating to offer quick onboarding or funding flows that customers expect today. To address this concern, we are excited to share that we have significantly improved our ledger, resulting in meaningful enhancements to our transaction processing times. ### Goal: Improve Transaction Processing Times We started this initiative with the goal of being able to process transactions at any time of day without any delays caused by batch processing. This is important because you (our partner) depend on the timely processing of transactions. For instance, if an account must be funded before it can trade, then an account cannot trade until the cash deposit or cash journal transaction that adds funds to it is processed. Traditionally, we carried out synchronous updates to relevant accounts' snapshots for the day to ensure that End of Day (EoD) processes were carried out correctly. However, this method had its limitations, as activities were blocked at certain times of the day, leading to delays in transaction processing times. ### How We Addressed Challenges and Resolved This Issue? To address this limitation, Alpaca moved away from synchronous blocking EoD processes to an asynchronous EoD process. This means that EoD processes and activities to the next day can be run concurrently, leading to significant improvements in transaction processing times. With the new asynchronous EoD process, Alpaca can run EoD processes and book activities for the next day concurrently. This has led to a marked improvement in transaction processing around EoD, bringing down the median processing time during this window from over 15 seconds to under 250ms (0.25 seconds). We aim to reduce the journaling time by another 50% over the coming months to set the industry standard in journal processing times. ### To Wrap Up By reducing transaction processing times, we ensure our partners can execute stock and crypto trades quickly and efficiently. This is critical in the fast-paced world of trading, where delays can lead to missed opportunities and lost profits. The improvements in transaction processing times demonstrate our commitment to providing a great technology infrastructure for investing. By continuously improving its underlying technology, we aim to provide partners with the confidence to trade successfully. * * * ## Contact Us reCAPTCHA Recaptcha requires verification. protected by **reCAPTCHA** [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) [Alpaca Broker API - Modern Infrastructure for Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) * * * Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flow-latency-ledger-upgrade%2F&t_d=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&t_t=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flow-latency-ledger-upgrade%2F&t_d=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&t_t=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flow-latency-ledger-upgrade%2F&t_d=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&t_t=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flow-latency-ledger-upgrade%2F&t_d=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&t_t=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flow-latency-ledger-upgrade%2F&t_d=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&t_t=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flow-latency-ledger-upgrade%2F&t_d=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&t_t=Alpaca%20Platform%20Upgrade%3A%2024%2F7%20sub-250ms%20Latency%20Transaction%20Processing&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mai8kn157qh9h&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Flow-latency-ledger-upgrade%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.393225211129&uid=c7mai8kn157qh9h&url=https%3A%2F%2Falpaca.markets%2Fblog%2Flow-latency-ledger-upgrade%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mai8kn157qh9h&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.901376538934) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) [Next Post : Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept reCAPTCHA ## SDK Release Notes # SDK Release Notes: February 2022 By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/release-notes-feb-2022/#disqus_thread) ![SDK Release Notes: February 2022](https://alpaca.markets/blog/content/images/2022/03/February-2022_SDK-Release-Notes-5.png) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. You can install the Alpaca Trade SDK using one of the following language specific CLI commands. ``` python pip3 install alpaca-trade-api ``` Copy ``` javascript npm install @alpacahq/alpaca-trade-api ``` Copy ```# c dotnet add package Alpaca.Markets ``` Copy ``` go go get -u github.com/alpacahq/alpaca-trade-api-go/v2/alpaca ``` Copy PythonJavascriptC#Go ## [alpaca-trade-api-python v1.5.](https://github.com/alpacahq/alpaca-trade-api-python?ref=alpaca.markets) 1 ### New Features - Python 3.10 is now supported. - Updated bars now have their own subscription handler. Use `subscribe_updated_bars` to receive updated bar data. ### Improvements - The Long-Short example algorithm had been outdated for some time.  We’ve fixed some bugs in the example algorithm and it is now functional. Keep in mind you need a premium data subscription to properly run the example. ## [alpaca-trade-api-csharp v5.2.](https://github.com/alpacahq/alpaca-trade-api-csharp?ref=alpaca.markets) 9 ### New Features - Added support for updated bars subscriptions for both stocks and crypto streaming clients. ## [alpaca-trade-api-go v2.2.](https://github.com/alpacahq/alpaca-trade-api-go?ref=alpaca.markets) 1 ### Improvements - Fixed the error handling when connection issues arise with the live streaming client. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/rahul/) About [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 5 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [1](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Frelease-notes-feb-2022%2F&t_d=SDK%20Release%20Notes%3A%20February%202022&t_t=SDK%20Release%20Notes%3A%20February%202022&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Frelease-notes-feb-2022%2F&t_d=SDK%20Release%20Notes%3A%20February%202022&t_t=SDK%20Release%20Notes%3A%20February%202022&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Frelease-notes-feb-2022%2F&t_d=SDK%20Release%20Notes%3A%20February%202022&t_t=SDK%20Release%20Notes%3A%20February%202022&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Frelease-notes-feb-2022%2F&t_d=SDK%20Release%20Notes%3A%20February%202022&t_t=SDK%20Release%20Notes%3A%20February%202022&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Frelease-notes-feb-2022%2F&t_d=SDK%20Release%20Notes%3A%20February%202022&t_t=SDK%20Release%20Notes%3A%20February%202022&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Frelease-notes-feb-2022%2F&t_d=SDK%20Release%20Notes%3A%20February%202022&t_t=SDK%20Release%20Notes%3A%20February%202022&s_o=default#) [Previous Post : Alpaca Crypto Extends to Broker API](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) [Next Post : Alpaca Named to Y Combinator’s Top Companies of 2022 List](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Dashboard and Support Updates # Web Dashboard Updates and Support Page Launch By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 18, 2021[0 Comments](https://alpaca.markets/blog/dashboard-and-support-page/#disqus_thread) ![Web Dashboard Updates and Support Page Launch](https://alpaca.markets/blog/content/images/2021/01/ania-archer-ybs5Q8Jk4p4-unsplash.jpg) _(Photo by [Ania Archer](https://unsplash.com/@ania44?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/alpaca?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText))_ Happy new year! We continue to improve our product offering and made multiple updates on the web dashboard of the Trading API. Also, we launched a long-awaited Support & Help page that collects many types of FAQs as well as information based on each category. * * * ## Web Dashboard Updates It’s important for us to shape our products considering users’ suggestions. That’s why this new version is dedicated to give a fresh look to the dashboard. ### Easier Navigation Between Accounts (paper/live) Improved visual representation helps users to instantly draw the difference between paper and live accounts. To make the navigation even more convenient, we have included account numbers below each account. ![](https://alpaca.markets/blog/content/images/2021/01/Screenshot-2021-01-13-at-0.40.39.png)Switch account at the top of side nav bar ### Wire Initiation for Velox Accounts Another useful feature added to make users’ life easier is the initiation of wire transfers. Now users can add a bank account and submit outgoing wire transfer on the Banking page. International users also have the opportunity to withdraw money to their international bank accounts from the dashboard. ![](https://alpaca.markets/blog/content/images/2021/01/Screenshot-2021-01-13-at-0.56.19.png)Submit wire transfer on Banking page ### A Search Bar with Clear Purpose We have seemingly made the search bar more intuitive for users to access timely information about a stock by typing a symbol or name. Pro tip! Keyboard shortcut to search for stocks: **Command or Control + S** ![](https://alpaca.markets/blog/content/images/2021/01/Screenshot-2021-01-13-at-0.54.19.png)Improved search bar Check out the dashboard for more updates, and stay tuned for more interesting updates are yet to come! * * * ## Help & Support Page Launch ![](https://alpaca.markets/blog/content/images/2021/01/image-1.png)[https://alpaca.markets/support/](https://alpaca.markets/support/?ref=alpaca.markets) Our offerings have expanded, and we decided to put all the help & support information in one place. This page also includes our contact information such as Alpaca Support Team and a request form for partnerships. We will continue to add more FAQs as we receive questions and requests from you. We will also add sections as we launch new product lines. * * * **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [**_FINRA_**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [**_SIPC_**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdashboard-and-support-page%2F&t_d=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&t_t=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdashboard-and-support-page%2F&t_d=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&t_t=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdashboard-and-support-page%2F&t_d=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&t_t=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdashboard-and-support-page%2F&t_d=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&t_t=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdashboard-and-support-page%2F&t_d=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&t_t=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fdashboard-and-support-page%2F&t_d=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&t_t=Web%20Dashboard%20Updates%20and%20Support%20Page%20Launch&s_o=default#) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/data-conference/) [Next Post : New API Features & Dashboard Updates, Quantopian-Closing](https://alpaca.markets/blog/api-dashboard-update-quantopian/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Faster Bitcoin Trading # 50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) ![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg) In our last post “ [How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/)”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source [MarketStore](https://github.com/alpacahq/marketstore?ref=alpaca.markets). [alpacahq/marketstore\\ \\ DataFrame Server for Financial Timeseries Data. Contribute to alpacahq/marketstore development by creating an account on GitHub.\\ \\ ![](https://github.githubassets.com/favicon.ico)GitHubalpacahq\\ \\ ![](https://avatars1.githubusercontent.com/u/30398729?s=400&v=4)](https://github.com/alpacahq/marketstore?ref=alpaca.markets) ### The data speed is really important Today, I wanted to tell you how fast MarketStore is using the same data so that you can see the performance benefit of using the awesome open source financial timeseries database. ### Faster data means more backtesting and more training in machine learning Faster data means more backtesting and more training in machine learning for our trading algorithm.  We are seeing a number of successful machine learning-based trading algos in the space, but one of the key points we learned is **the data speed is really important**. It's important not just for backtesting, but also for **training AI-style algorithms since it by nature requires an iterative process**. This is another post to walk you through step by step. But TL;DR, it is really fast. ### Setup ![](https://alpaca.markets/blog/content/images/2020/03/structure.001.jpeg) Last time, we showed how to setup the historical daily bitcoin price data with MarketStore. This time, we store all the minute-level historical prices using the same mechanism called background worker, but with a slightly different configuration. ``` hljs python root_directory: /project/data/mktsdb listen_port: 5993() # timezone: "America/New_York" log_level: info queryable: true stop_grace_period: 0 wal_rotate_interval: 5 enable_add: trueenable_remove: false enable_last_known: false triggers: - module: ondiskagg.so on: "*/1Min/OHLCV" config: destinations: - 5Min - 15Min - 1H - 1D bgworkers: - module: gdaxfeeder.so name: GdaxFetcher config: query_start: "2016-01-01 00:00" base_timefame:“1Min” - BTC ``` Copy ### _Almost 2.5 years with more than 1 million bars_ The difference from last time is that background worker is configured to fetch 1-minute bar data instead of 1-day bar data, starting from 2016-01-01.  That is **almost 2.5 years with more than 1 million bars**. You will need to keep the server up and running for a day or so to fill all the data, since GDAX’s historical price API does not allow you to fetch that many data points quickly. Again, the data fetch worker carefully controls the data fetch speed in case the API returns “Rate Limit” error. So you just need to sleep on it. Additional configuration here is something called “on-disk aggregate” trigger.  What it does is to aggregate 1-minute bar data for lower resolutions (here 5 minutes, 15 minutes, 1 hour, and 1 day). ### _Check the longer time horizon to verify the entry/exit signals_ In a typical trading strategy, **you will need to check the longer time horizon to verify the entry/exit signals even if you are working on the minute level**. So it is a pretty important feature. You would need pretty complicated LEFT JOIN query to achieve the same time-windowed aggregate in SQL. But with MarketStore, all you need is this small section in the configuration file. The machine we are using for this test is a typical Ubuntu virtual machine with 8 of Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz, 32GB RAM and SSD. ## The Benchmark ### Unfortunately lots of people in this space are using some sort of SQL database We are going to have a DataFrame object in python which holds all the minute level historical price data of bitcoin since January of 2016 from the server.  We compare **MarketStore** and **PostgreSQL**. PostgreSQL is not really meant to be the data store for this type of data, but **unfortunately lots of people in this space are using some sort of SQL database** for this purpose since there is no other alternative.  That’s why we built MarketStore. The table definition of the bitcoin data in PostgreSQL side looks like this. ``` hljs python btc=#: prices Table "public.prices" Column | Type | Modifiers ----------------+--------------------------------+------------- t | timestamp without time zone | open | double precision | high | double precision | low | double precision | close | double precision | volume | double precision | ``` Copy The code ``` hljs python # For postgres def get_df_from_pg_one(conn, symbol): tbl = f'""' cur = conn.cursor() # order by timestamp, so the client doesn’t have to do it cur.execute (f"SELECT t, open, high, low, close, volume FROM ORDER BY t") times = [] opens = [] highs = [] lows = [] closes = [] volumes = [] for t, open, high, low, close, volume in cur.fetchall(): times.append(t) opens.append(open) highs.append(high) lows.append(low) closes.append(close) volumes.append(volume) return pd.DataFrame(dict( open = opens high = highs low = lows close = closes volume = volumes ), index=times) # For MarketStore def get_df_from_mkts_one(symbol): params pymkts.Params(symbol, '1Min', 'OHLCV') return pymkts.Client('http://localhost:6000/rpc').query(params).first().df() You don’t need much client code to get the DataFrame object ``` Copy The input and output is basically the same, in that one symbol name is given, query the remote server over the network, and get one DataFrame.  One strong benefit of MarketStore is **you don’t need much client code to get the DataFrame object** since the wire protocol is designed to give an array of numbers efficiently. ## The Result ### First, PostgreSQL ``` hljs python %time df = example.get_df_from_pg_one(conn, 'prices') CPU times: user 8.11 s, sys: 414 ms, total: 8.53 s, Wall time: 15.3 s ``` Copy ### And MarketStore ``` hljs python %time df = example.get_df_from_mkts_one('BTC') CPU times: user 109 ms, sys: 69.5 ms, total: 192 ms, Wall time: 291 ms ``` Copy Both results of course look the same like below. ``` hljs python In [21] df.head() Out[21]: open high low close volume 2016-01-01 00:00:00 430.35 430.39 430.35 430.39 0.0727 2016-01-01 00:01:00 430.38 430.40 430.38 430.40 0.9478 2016-01-01 00:02:00 430.40 430.40 430.40 430.40 1.6334 2016-01-01 00:03:00 430.39 430.39 430.36 430.36 12.5663 2016-01-01 00:04:00 430.39 430.39 430.39 430.39 1.9530 ``` Copy ### 50 times difference A bitcoin was about $430 back then… Anyway, **you can see the difference between 0.3 vs 15 seconds which is about 50 times difference**. Remember, you may need to get the same data again and again for different kinds of backtesting and optimization as well as ML training. Also you may want to query not just bitcoins but also other coins, stocks and fiat currencies, since the entire database wouldn’t fit into your main memory usually. ### Scalability advantage in MarketStore MarketStore can serve multiple symbol/timeframe in one query pretty efficiently, whereas with PostgreSQL and other relational databases you will need to query one table at a time, so there is also scalability advantage in MarketStore when you need multiple instruments. ### Querying 7.7K symbols for US stocks To give some sense of this power, here is the result of querying 7.7K symbols for US stocks done as an ``` hljs python %time df = example.get_dfs_from_pg(symbols) CPU times: user 52.9 s, sys: 2.33 s, total: 55.3 s, Wall time: 1min 26s %time df = example.get_dfs_from_mkts(symbols) CPU times: user 814 ms, sys: 313 ms, total: 1.13 s, Wall time: 6.24 s ``` Copy Again, the amount of data is the same, and in this case each DataFrame is not as large as the bitcoin case, yet the difference to expand to large number of instruments is significant (more than 10 times).  You can imagine in real life these two (per instrument and multi-instruments) factors multiply the data cost. ### Alpaca has been using MarkStore in our production Alpaca has been using MarkStore in our production for algo trading use cases both in our proprietary customers and our own purposes.  It is actually amazing that this software is available to everyone for free, and we leverage this technology to help our algo trading customers. Thanks for reading and enjoy algo trading! ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-marketstore-algorithmic-trading%2F&t_d=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&t_t=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-marketstore-algorithmic-trading%2F&t_d=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&t_t=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-marketstore-algorithmic-trading%2F&t_d=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&t_t=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-marketstore-algorithmic-trading%2F&t_d=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&t_t=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-marketstore-algorithmic-trading%2F&t_d=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&t_t=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-marketstore-algorithmic-trading%2F&t_d=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&t_t=50x%20Faster%20Bitcoin%20Price%20Data%20Powered%20by%20MarketStore%20for%20AI%20Trading&s_o=default#) [Previous Post : 9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) [Next Post : How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Data API # Alpaca Data API - API for Free Real-Time Stock Market Data By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 07, 2020[0 Comments](https://alpaca.markets/blog/stock-market-data-api/#disqus_thread) ![Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/content/images/2020/05/01.jpg) ![Alpaca Data API - Free real-time stock market data API | Product Hunt](https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=199296&theme=light)[https://www.producthunt.com/posts/alpaca-data-api](https://www.producthunt.com/posts/alpaca-data-api?ref=alpaca.markets) ## Alpaca Data API to Access Real-Time Stock Market Data for Free Market data matters when you trade. That’s why we are excited to announce the [Alpaca Data API](https://alpaca.markets/data?ref=alpaca.markets), a brand new data product that we built from scratch to create the de facto standard market data offering for developers. We have worked hard to make the [Alpaca Data API](https://alpaca.markets/data?ref=alpaca.markets) your go-to data API for building your algorithmic trading strategies or trading/investing applications. The Alpaca Data API provides real-time stock price data with up to 99.95% price accuracy\* compared to other expensive consolidated market data feeds. Best of all, it’s completely free to use. All Alpaca users, regardless of account type or country of residence, can now access the Alpaca Data API. [Free real-time stock market data API \| Alpaca Data API\\ \\ Alpaca is a modern platform for trading. Alpaca’s API is the interface for your trading algorithms, bots, or applications to communicate with Alpaca’s brokerage and other services.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://files.alpaca.markets/webassets/Alpaca-data-API_1200+x+630.png)](https://alpaca.markets/data?ref=alpaca.markets) _(\*as measured using 10-second snapshots of the Alpaca Data API last price vs. the SIP last price)_ ## Key Offerings of Alpaca Data API ### 5 Stock Exchanges, up to 99.95% Price Accuracy\* With the Alpaca Data API, you get access to data from 5 top US stock exchanges, providing you with comprehensive coverage of trading activity across the entire US stock market. This robust consolidated data feed enables you to research, develop, and run your trading strategies with more confidence. It also allows you to build trading applications where your end users can enjoy the benefits of high-quality display data. That’s because there is up to 99.95% price accuracy\* between the Alpaca Data API and the SIP feed (100% coverage data feed) for actively traded stocks and ETFs. _(\*as measured using 10-second snapshots of the Alpaca Data API last price vs. the SIP last price)_ ### True Streaming Market Data via Websockets Regardless of your Alpaca account type, all Alpaca users now have access to true event-based streaming market data via Websockets, instead of being limited to pulling minute or daily bar data. This allows you to reduce your API calls and be more aware of market movements. You can also expect more stability in running your trading strategies and trading apps. ### Large Historical Data Set The Alpaca Data API provides you with 5 years of historical data, allowing you to develop and test your strategies with confidence. ### Customizable Bar Data Why be limited to only one period of bar data? The Alpaca Data API gives you access to 1, 5, 15, 30, and 60 minute bar data, in addition to daily, weekly, and monthly bar data. This helps enable strategy development across multiple time horizons, from intraday scalping algorithms to long-term asset allocation or buy and hold strategies. ## Evolution of the Alpaca Data API ![](https://alpaca.markets/blog/content/images/2020/05/04.jpg)[https://alpaca.markets/docs/](https://alpaca.markets/docs/?ref=alpaca.markets) We strongly believe that market data is an essential piece of the user journey for developers when we build anything related to the financial market. With that said, we plan to continue to upgrade and work on Alpaca Data API such as we have been making many updates to the [Alpaca Trading API](https://alpaca.markets/docs/api-documentation/?ref=alpaca.markets). We truly appreciate your support for Alpaca’s API products, and we are looking forward to hearing from you about how you can utilize the Alpaca Data API. Please tweet your work and share them with us mentioning [@AlpacaHQ](https://twitter.com/AlpacaHQ?ref=alpaca.markets)! * * * **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_FINRA_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_SIPC_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Market prices, data and other information available through Alpaca are not warranted as to completeness or accuracy and are subject to change without notice. **System response and account access times may vary due to a variety of factors, including trading volumes, market conditions, system performance, and other factors.** A more complete description of the impact these factors may have can be found in our_ [_**risks of automated trading systems section**_](https://alpaca.markets/learn/risks-of-automated-trading-systems/?ref=alpaca.markets) _._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fstock-market-data-api%2F&t_d=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&t_t=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fstock-market-data-api%2F&t_d=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&t_t=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fstock-market-data-api%2F&t_d=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&t_t=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fstock-market-data-api%2F&t_d=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&t_t=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fstock-market-data-api%2F&t_d=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&t_t=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fstock-market-data-api%2F&t_d=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&t_t=Alpaca%20Data%20API%20-%20API%20for%20Free%20Real-Time%20Stock%20Market%20Data&s_o=default#) Sponsored [Previous Post : Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/business-brokerage-account-beta/) [Next Post : Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/portfolio-history-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## SDK Release Notes # SDK Release Notes: April 2022 By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • May 06, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-april/#disqus_thread) ![SDK Release Notes: April 2022](https://alpaca.markets/blog/content/images/2022/05/April-2022--SDK-Release-Notes.png) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. Live crypto orderbook data is available in this release of the SDKs. You can install the Alpaca Trade SDK using one of the following language specific CLI commands. ``` python pip3 install alpaca-trade-api ``` Copy ``` javascript npm install @alpacahq/alpaca-trade-api ``` Copy ```# c dotnet add package Alpaca.Markets ``` Copy ``` go go get -u github.com/alpacahq/alpaca-trade-api-go/v2/alpaca ``` Copy PythonJavascriptC#Go ## [alpaca-trade-api-python v2.1.0](https://github.com/alpacahq/alpaca-trade-api-python?ref=alpaca.markets) ### New Features - Adds live streaming of crypto orderbook data. You can subscribe to the orderbook data through the Stream class using `subscribe_crypto_orderbooks` ( [#597](https://github.com/alpacahq/alpaca-trade-api-python/pull/597?ref=alpaca.markets)) ### Improvements - Previously filtering by side of the order was not possible when using `list_orders`. This PR allows filtering by side. ( [#610](https://github.com/alpacahq/alpaca-trade-api-python/pull/610?ref=alpaca.markets)) - Improved existing issue template. Added a new general SDK questions issue template. ( [#606](https://github.com/alpacahq/alpaca-trade-api-python/pull/606?ref=alpaca.markets) and [#608](https://github.com/alpacahq/alpaca-trade-api-python/pull/608?ref=alpaca.markets)) ## [alpaca-trade-api-js v2.15.0](https://github.com/alpacahq/alpaca-trade-api-csharp?ref=alpaca.markets) ### New Features - Crypto orderbook stream for crypto websocket ( [#206](https://github.com/alpacahq/alpaca-trade-api-js/pull/206?ref=alpaca.markets)) - `newTimeframe()` function to validate `timeframes` for getting bar data ( [#208](https://github.com/alpacahq/alpaca-trade-api-js/pull/208?ref=alpaca.markets)) ### Improvements - Fixes some simple cases of not checking for null/undefined ( [#213](https://github.com/alpacahq/alpaca-trade-api-js/pull/213?ref=alpaca.markets)) - Bug Fix 109: Added the symbol param in the get order call ( [#143](https://github.com/alpacahq/alpaca-trade-api-js/pull/143?ref=alpaca.markets)) ## [alpaca-trade-api-csharp v5.2.15](https://github.com/alpacahq/alpaca-trade-api-csharp?ref=alpaca.markets) ### New Features - Added support for the corporate actions retrieval APIs into the `IAlpacaTradingClient` interface. ( [#476](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/476?ref=alpaca.markets)) - The FTX was added to the list of supported crypto exchanges. ( [#475](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/475?ref=alpaca.markets)) - Added support for the new historical bar time frames - Week and Month values of `BarTimeFrameUnit` enumeration. ( [#461](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/461?ref=alpaca.markets)) - Added multi-symbols requests support for the latest bars, quotes, and trades into stock and crypto data clients.Added some pre-defined values into the `BarTimeFrame` type for a week, month, quarter, etc. ### Improvements - Fixed the problem with data streaming connectivity on .NET Standard 2.0 and .NET 5+ targets. ( [#486](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/486?ref=alpaca.markets)) - Fixed problem with fractional order quantity validation for market and bracket orders. ( [#481](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/481?ref=alpaca.markets)) ## [alpaca-trade-api-go v2.2.](https://github.com/alpacahq/alpaca-trade-api-go?ref=alpaca.markets) 1 ### New Features - Added OAuth support for trade updates ( [#198](https://github.com/alpacahq/alpaca-trade-api-go/pull/198?ref=alpaca.markets)) - Added the ListOrdersWithRequest function ( [#196](https://github.com/alpacahq/alpaca-trade-api-go/pull/196?ref=alpaca.markets)) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/rahul/) About [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 2 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [1](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-release-notes-april%2F&t_d=SDK%20Release%20Notes%3A%20April%202022&t_t=SDK%20Release%20Notes%3A%20April%202022&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-release-notes-april%2F&t_d=SDK%20Release%20Notes%3A%20April%202022&t_t=SDK%20Release%20Notes%3A%20April%202022&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-release-notes-april%2F&t_d=SDK%20Release%20Notes%3A%20April%202022&t_t=SDK%20Release%20Notes%3A%20April%202022&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-release-notes-april%2F&t_d=SDK%20Release%20Notes%3A%20April%202022&t_t=SDK%20Release%20Notes%3A%20April%202022&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-release-notes-april%2F&t_d=SDK%20Release%20Notes%3A%20April%202022&t_t=SDK%20Release%20Notes%3A%20April%202022&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fsdk-release-notes-april%2F&t_d=SDK%20Release%20Notes%3A%20April%202022&t_t=SDK%20Release%20Notes%3A%20April%202022&s_o=default#) [iframe](cid:frame-1011BB2DB2952DA4166C538A90CBB5FD@mhtml.blink) [Previous Post : SDK Release Notes: May 2022](https://alpaca.markets/blog/untitled/) [Next Post : Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Crypto Rewards # Alpaca Crypto Rewards Program By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 21, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-rewards-program/#disqus_thread) ![Alpaca Crypto Rewards Program](https://alpaca.markets/blog/content/images/2022/03/Crypto-Rewards-Promo_blog.png) We believe that participating in both centralized and decentralized markets is how people will invest moving forward. Just like any other financial investment in stocks and Exchange Traded Funds (ETFs), investing in crypto has become quite popular. Crypto has made its way into the mainstream financial infrastructure, and for the foreseeable future will be a key asset in a growing portfolio and strategic investment strategy. Understanding the current and future impact of crypto, we recently expanded Alpaca Crypto to include over 20 coins (with more to come!) and enabled access to 49 states in the U.S. and select jurisdictions globally. > **Earn $100 in Crypto For Every $100K in Trading Volume** ## Crypto Rewards Program We are proud to announce a new rewards program for the next two months (starting today March 21st, 2022 and ending on May 20th, 2022) to celebrate our latest crypto release. All users that reach a crypto trading volume of $100,000 will be rewarded with $100 worth of cryptos, deposited directly into their account. There are no limitations to how often this reward can be earned, every single $100,000 in crypto trading volume will automatically trigger the reward to be pushed to your account. Please click here for the full terms and conditions. To learn more about Alpaca Crypto check out our [docs](https://alpaca.markets/docs/trading/crypto-trading/?ref=alpaca.markets) and [FAQs](https://alpaca.markets/support/tag/cryptocurrency/?ref=alpaca.markets). _\* [Terms and conditions apply](https://files.alpaca.markets/disclosures/library/MarketingCampaignTC.pdf?ref=alpaca.markets)_ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/mahmoud/) About [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) [Previous Post : Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) [Next Post : Alpaca Crypto Extends to Broker API](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Bitcoin Trading Setup # How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 08, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/#disqus_thread) ![How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data.png) > _One of the great benefits of algorithmic trading is that you can test your trading strategy against historical data._ Especially for new strategies you developed on your own, you don’t really know how it will perform without testing it against reliable data. Algo trading is not that different from software development. Today, most good software code is continuously tested. As the code evolves, developers continually test it against real use cases to make sure that alterations won’t result in future failures. You want to test your algo when you drop the very first version. But you also want to test the algo when you make changes or adjustments while the algo is running. ### Here is one problem you face; data. While it is always good to test as many angles as possible, running a number of backtests is going to be a very data-intensive workload that requires access to enough data to have visibility into a very long history. This is why you cannot run this iteration using GDAX API directly. You need to store the data somewhere for your own purposes. ### The Tutorial So the first question to come to mind is always how to get the data and prepare it for successful backtesting. Well, today I am going to tell you **how to use MarketStore to acquire a long history of Bitcoin price data for this purpose of running the most accurate backtest possible**. And this setup tutorial is going to be quick. Don’t waste your time setting up this and that. All you need is: - docker (either on Windows, Mac or Linux), - a console terminal, - and a big cup of strong coffee! ☕ Got’em? Alright, let’s get started. ### Architecture ![](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data1.png) Here is the high level picture of today’s system. We will start a MarketStore instance using docker container, and run a background worker that calls GDAX price API so that we can pull the bitcoin historical price from their endpoint quickly and make it available for backtest clients to query over HTTP. We will start another container for the client using python anaconda with python3 image. We use the official client package named pymarkestore. You will get a DataFrame from MarketStore. ### Setup MarkeStore Server There is the official build of MarketStore docker image today publicly available in DockerHub, but first, let’s write a config file for the server. In the github repository you can find an example config file in YAML format: [https://github.com/alpacahq/marketstore/blob/master/mkts.yml](https://github.com/alpacahq/marketstore/blob/master/mkts.yml?ref=alpaca.markets) but I’m putting our example here. ``` root_directory:/project/data/mktsdb listen_port: 5993 log_level: info queryable: true stop_grace_period: 0 wal_rotate_interval: 5 enable_add: true enable_remove: false enable_last_known: false bgworkers: - module: gdaxfeeder.so name: GdaxFetcher config: symbols: - BTC: base_timeframe: "1D" query_start: "2018-01-01 00:00" ``` This configures the server so that it fetches the GDAX historical price API for 1-day bars since 2018–01–01. Save this config as $PWD/mkts.yml file. The server listens on the port 5993 as default. Now let’s bring up the server. ``` python $ docker : run -v $PWD/mktsdb:/project/data/mktsdb -v $PWD/mkts.yml:/tmp/mkts.yml --net host alpacamarkets/marketstore: marketstore -config /tmp/mkts.yml ``` Copy The server should automatically download the docker images from DockerHub if you haven’t, and start the server process with the config. Hopefully, you will see something like this.. ``` python I0430 05:54:56.091770 1 log.go:14] Disabling "enable_last_known" feature until it is fixed... I0430 05:54:56.092200 1 log.go:14] Initializing MarketStore... I0430 05:54:56.092236 1 log.go:14] WAL Setup: initCatalog true, initWALCache true, backgroundSync true, WALBypass false: I0430 05:54:56.092340 1 log.go:14] Root Directory: /project/data/mktsdb I0430 05:54:56.097066 1 log.go:14] My WALFILE: WALFile.1525067696092950500.walfile I0430 05:54:56.097104 1 log.go:14] Found a WALFILE: WALFile.1525067686432055600.walfile, entering replay... I0430 05:54:56.100352 1 log.go:14] Beginning WAL Replay I0430 05:54:56.100725 1 log.go:14] Partial Read I0430 05:54:56.100746 1 log.go:14] Entering replay of TGData I0430 05:54:56.100762 1 log.go:14] Replay of WAL file /project/data/mktsdb/WALFile.1525067686432055600.walfile finished I0430 05:54:56.101506 1 log.go:14] Finished replay of TGData I0430 05:54:56.109380 1 plugins.go:14] InitializeTriggers I0430 05:54:56.110664 1 plugins.go:42] InitializeBgWorkers I0430 05:54:56.110742 1 log.go:14] Launching rpc data server... I0430 05:54:56.110800 1 log.go:14] Launching heartbeat service... I0430 05:54:56.110822 1 log.go:14] Enabling Query Access... I0430 05:54:56.110844 1 log.go:14] Launching tcp listener for all services... ``` Copy If you see something like “Response error: Rate limit exceeded”, that’s a good sign, not a bad one, since it means the background worker successfully fetched the price data and reached to rate limit. The fetch worker will suspend for a while and restart to catch up to the current price automatically. You just need to keep it running. ### Client Side MarketStore implements JSON-RPC and MessagePack-RPC for query. MessagePack-RPC is particularly important for performance of a query on a large dataset. Thankfully, there is already python and go client library so you don’t have to implement the protocol. In this article, we use python. We start from miniconda3 image from another terminal. ``` python $ docker : run -it --rm -v $PWD/client.py:/tmp/client.py --net host continuumio/miniconda3 bash# pip install ipython pymarketstore ``` Copy We have installed ipython and pymarketstore, including their dependencies. From this terminal, let’s start an ipython shell and query MarketStore data. ``` #ipython (base) root@hq-dev-01:/# :$PWD/client.py:ipython Python 3.6.4 |Anaconda, Inc.|(default, Jan 2018, 18:10:19) Type 'copyright', 'credits' or 'license' for more information IPython 6.3.1 -- An enhanced Interactive Python. Type '?' for help. ``` ``` python In [1]: import pymarketstore as pymkts ``` Copy ``` python In [2]: param pymkts.Params('BTC', '1D', 'OHLCV', limit=100) ``` Copy ``` python In [3]: df pymkts.Client(' http://localhost:5993/rpc') , query(param).first().df() ``` Copy ``` In [4]:df[-10:]Out[4]: Open High Low Close Volume Epoch 2018-04-14 00:00:00+00:00 7893.19 8150.00 7830.00 8003.11 9209.196953 2018-04-15 00:00:00+00:00 8003.12 8392.56 8003.11 8355.25 9739.103514 2018-04-16 00:00:00+00:00 8355.24 8398.98 7905.99 8048.93 13137.432715 2018-04-17 00:00:00+00:00 8048.92 8162.50 7822.00 7892.10 10537.460361 2018-04-18 00:00:00+00:00 7892.11 8243.99 7879.80 8152.05 10673.642535 2018-04-19 00:00:00+00:00 8152.05 8300.00 8101.47 8274.00 11788.032811 2018-04-20 00:00:00+00:00 8274.00 8932.57 8216.21 8866.27 16076.648797 2018-04-21 00:00:00+00:00 8866.27 9038.87 8610.70 8915.42 11944.464063 2018-04-22 00:00:00+00:00 8915.42 9015.00 8754.01 8795.01 7684.827002 2018-04-23 00:00:00+00:00 8795.00 8991.00 8775.10 8940.00 3685.109169 ``` Voila! You just got the daily bitcoin price in hand in the DataFrame format. Note the second line (param = …) determines which symbol and timeframe to query, with some query predicates such as the number of rows or date range to query. From here, you can do a number of things including calculating indicators such as moving average and bollinger band, or find the statistical volume anomaly using some scipy package. ### Conclusion I want to emphasize that **it is very important to build a performant historical dataset to study and develop a trading algorithm**, and you can do it quickly with MarketStore as we have just walked through. This article demonstrated how to work with the bitcoin prices from GDAX, but you can hook up other data sources as well pretty easily using pymarketstore’s write method. You can also write your own custom background data fetcher. Again, the query performance is going to be critical when in comes to backtesting, since you want to iterate quickly to get the results. now You may wonder how fast MarketStore can be. I will show the lightning fast query speed with huge data set in the next post. In the meantime, **please leave any questions in the comments or ask** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **regarding this tutorial**. **Leave your email below** so we can notify you when we can grant access to the full trading platform! You can also check us out at [https://alpaca.markets](https://alpaca.markets/?ref=alpaca.markets). Join the Alpaca Waitlist! Join the Alpaca Waitlist! Securities offered through Alpaca Securities LLC,  [https://alpaca.markets/disclosure](https://alpaca.markets/disclosure) [Sign in to Google](https://accounts.google.com/Login?continue=https%3A%2F%2Fdocs.google.com%2Fforms%2Fd%2Fe%2F1FAIpQLSeJx78UNUGExYAKzTDhivZS1ydPmFHC0zs1P-B3F7popRqEKA%2Fviewform%3Ffbzx%3D3836883088562718183) to save your progress. Learn more What's your email address? Your answer Submit Clear form Never submit passwords through Google Forms. [![Google](https://www.gstatic.com/images/branding/googlelogo/svg/googlelogo_dark_clr_74x24px.svg)Forms](https://www.google.com/forms/about/?utm_source=product&utm_medium=forms_logo&utm_campaign=forms) This form was created inside of Alpaca. [Report Abuse](https://drive.google.com/abuse?id=AKkXjoyNZTyVi1ut-Fb7X7tg7Z70fSPrUW8BxoQYl4J6VOS4DzJyGfziUa6BvX0UaVLr0mEnoBR_X3oRWAXfDUs:0&docurl=https://docs.google.com/forms/d/e/1FAIpQLSeJx78UNUGExYAKzTDhivZS1ydPmFHC0zs1P-B3F7popRqEKA/viewform?embedded%3Dtrue) [Terms of Service](https://policies.google.com/terms) [Privacy Policy](https://policies.google.com/privacy) Help and feedback - Help Forms improve - Report Happy algo trading! ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 0 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-algorithmic-trading-data%2F&t_d=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&t_t=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-algorithmic-trading-data%2F&t_d=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&t_t=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-algorithmic-trading-data%2F&t_d=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&t_t=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-algorithmic-trading-data%2F&t_d=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&t_t=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-algorithmic-trading-data%2F&t_d=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&t_t=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-algorithmic-trading-data%2F&t_d=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&t_t=How%20to%20Setup%20Bitcoin%20Historical%20Price%20Data%20for%20Algo%20Trading%20in%20Five%20Minutes&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mai8t0145kjnm&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-algorithmic-trading-data%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.343691224134&uid=c7mai8t0145kjnm&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fbitcoin-algorithmic-trading-data%2F&gdpr=0&gdpr_pd=0&gdpr_consent=)[iframe](cid:frame-843287DA6A60A919B89BEDDDFA3D3188@mhtml.blink)[iframe](cid:frame-BD2771EDE3B6151AF3FC045A82D30312@mhtml.blink)![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mai8t0145kjnm&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.49249260507) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : 50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) [Next Post : MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Automation in Wealth Management # The Automation of Wealth Management By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 03, 2018[0 Comments](https://alpaca.markets/blog/automation-of-wealth-management/#disqus_thread) ![The Automation of Wealth Management](https://alpaca.markets/blog/content/images/2020/03/1_4_oIV6jsM4ZHPmuaeMQGdQ--1-.jpeg) ## A Budding Developer’s Perspective ### Software-Driven Automation is Everywhere Software-driven automation is rapidly transforming the social and economic landscape, with some of the most prominent examples being autonomous vehicles and home assistants. All aspects of society and the economy are experiencing automation, though, and finance will not be left untouched. The retail investor tasted automation from the home with the advent of online brokers that could accept trades through a web interface. For the most part, these online brokers, or the online segments of traditional brokers, also employed human brokers. The human brokers could always be consulted on trades, be engaged in conversation for the purposes of education, and be a soothing voice when the markets turned sour. Unfortunately, those human brokers are expensive, they get tired or ill, and they make mistakes. Of course there are plenty of human brokers around today, but a new force has recently evolved along with the explosion of fully-online services like digital-only banks. That force is robo-advisory. ### What is a Robo-Advisor? The term robo-advisor encompasses those services that are largely automated and tend to lack a human element on the execution side. There are only machines on the backend, and this setup is particularly appealing, more trustworthy, and more familiar to many, [particularly younger cohorts](https://www.cnbc.com/2018/09/14/a-new-generation-puts-its-trust-in-tech-over-traditional-banks.html?ref=alpaca.markets), who often prefer digital interfaces. Robo-advisors are frequently designed for passive wealth management, wherein the customer answers a questionnaire regarding risk tolerance and an algorithm determines the optimal portfolio for that individual. The portfolio may be continually turned over, but the turnover is performed algorithmically and, from the customer’s perspective, the investment can remain untouched — or perhaps un-interacted-with, for lack of a better term. Robo-advisors might also be more interactive, and sometimes they offer direct control over the portfolio via APIs, allowing the end user to completely automate their trading system while simultaneously cutting costs thanks to a reduction in the need to employ and pay salaries to humans. [Whether API-driven investment is suitable](https://support.alpaca.markets/hc/en-us/articles/360018232292-Is-an-Alpaca-Securities-LLC-account-right-for-me-?ref=alpaca.markets) for any investor is up to each particular individual, but those who have a programming background may be particularly interested in the ability to set up a fully-automated trading system with a broker offering such API capabilities. ### Why Are Robo-Advisors Becoming More Popular? One reason robo-advisors are becoming more popular is the [loss of trust in financial institutions](https://www.americanbanker.com/opinion/banks-are-running-out-of-time-to-regain-public-trust?ref=alpaca.markets), especially since the Financial Crisis of 2007–8. People no longer trust a human, particularly a banker, to accurately or reliably handle investments. Another cause of distrust is the lack of accountability, wherein very few Wall Streeters were punished for the financial collapse and even received taxpayer-funded bailouts while Main Streeters suffered a long, arduous recession. There is also the economic pressure of fees, which can be substantial and numerous for traditional brokerage houses but often constitute a razor thin slice of assets for robo-advisors. After all, robo-advisors mostly consist of tireless servers doing all the legwork, with either development teams at the company creating software or individual investor-developers creating their own software. Where the trend will develop from here ranges from the optimistic for small, nimble fintech firms to the [opposite view](https://www.morningstar.com/blog/2018/07/11/robo-advisors.html?ref=alpaca.markets) that big, traditional brokerage houses will either co-opt the technology for themselves and crush the fintechs or simply buy the smaller guys. Whoever the provider of the services is, it seems highly likely they will retain the ability of individual retail investors to automate their trading systems through APIs and home internet access. ### What Can Be Automated? Decades ago, trading pit participants would yell out trades on the floors of the world’s stock exchanges. Then came automated trading between the broker-dealers. Clients would still speak to a broker, who could enter a trade electronically. Then came online brokers, whereby clients could enter trades via a website and the order would be passed through an electronic, automated chain to the exchange, where it was electronically executed. The next natural step is for clients to automate their own trading based on their own systems, and the entire process will become completely automated. So, what can be automated in trading? Nearly everything that can be put into a computer can be automated, and that is where APIs become interesting. Those in the readership who code have likely heard of APIs, even if there has been no direct interaction. There are plenty of services, such as social media platforms that offer APIs that gather streams of data to a local (or cloud) drive. The street runs both ways, though, and information can be pushed over to the platform’s servers for publication there. It is the same for financial services. Finance APIs comprise three main categories: market data, account data, and trade execution. All financial information and activity can be processed and acted upon through these three concepts. As for the flow of information, most APIs on the market offer limited REST (pull) capabilities, wherein the system must actively make each request to the API, but many services also offer equally capable streaming push services. For those actively trading, push services are critical, as trading systems will need to gather timely information, process it, and make decisions quickly. Push allows these systems to simply listen for the incoming information as events unfold without making requests and waiting for responses for each iteration. Of course, those who are longer-term traders or investors can still use push, but may simply want to make one or two REST requests per day to reduce storage needs and network congestion. REST is ideal for backtesting algorithms and trading strategies as well, so most investor-developers are going to make REST requests at some point, even if they are daytrading on the order of seconds. Thus, for those who only need historical data or a few pieces of information a day, REST is sufficient. However, those actively trading will likely want to use a broker who offers streaming data services through their API. ### Why Automate? There are plenty of reasons to automate, with lower fees, faster trading, and being able to step away from the market being predominant among them. The fees charged by online brokers can [cut deeply into returns](https://www.sec.gov/investor/alerts/ib_fees_expenses.pdf?ref=alpaca.markets), even if the fee itself seems rather inconsequential. However, years of compounding fees do add up. Moreover, for those who have little need for a human interface, trading via traditional brokers will still carry the overhead of paying salaries, regardless of whether the investor in question actually utilizes the human-driven service or not. Why pay for someone else’s need to have a human broker? An additional benefit of removing humans from the equation is the ability to process information and execute trades more quickly. Human traders may make trades every few seconds, but automated systems will be able to process more information and make more accurate decisions based on that information than even seasoned day traders. Even if one trades on a weeklong timeframe, an algorithm can simply consume and output more data than a human could. For those who want to passively invest yet maintain an edge, automation allows one to unglue oneself from the screen during trading hours. A buy-and-hold strategy might be desirable, but savvy investors can squeeze a few more basis points of return out of that strategy via a fitting algorithmic system. The system can either trade on their behalf or simply alert them with the relevant information at the relevant time. A further reason to automate is impartiality, in which emotions are completely removed from trading. A common pitfall for unseasoned traders is trading emotionally, as it can be extremely difficult to distance oneself from emotions in live markets, but a well-thought-out system, developed purely on logical principles, will have no concept of emotional trading and therefore remove the emotional element altogether. ### How to Automate This fully-automated, miniscule-fee, pure-logic trading concept seems utopian. Are there really firms that offer straight-API services with no GUI, no humans, and the real savings that accompany those two characteristics? There sure are. One of them is [Alpaca](https://alpaca.markets/?ref=alpaca.markets), which offers a bare-bones, API-driven investment service for those who want to do-the-markets-themselves. You can dig into the documentation [here](https://docs.alpaca.markets/getting-started/?ref=alpaca.markets), and if you’re new to investing, you can start off with a “ [paper account](https://docs.alpaca.markets/broker-functions/papertrading/?ref=alpaca.markets)”, in which you will not risk any real capital. ### Are Robo-Advisors Safe? A major concern we’d like to address is the safety of robo-advisors. The cryptocurrency and ICO craze of 2017 may have spooked some technically-capable investors who began to distrust [ICO scams](https://www.sec.gov/oiea/investor-alerts-and-bulletins/ib_coinofferings?ref=alpaca.markets) and rampant problems with crypto exchanges. Robo-advisors, however, deal in traditional securities and must follow certain regulations. For example, [FINRA requires those who day trade](https://www.sec.gov/fast-answers/answerspatterndaytraderhtm.html?ref=alpaca.markets) to maintain account balances of at least $25,000, significantly reducing participation by novices in the white-knuckle world of day trading. Furthermore, equity brokers must be licensed and registered, and they are subject to fiduciary duties. Potential clients can even investigate their chosen advisor through FINRA’s [BrokerCheck](https://brokercheck.finra.org/?ref=alpaca.markets) or the SEC’s [Investment Adviser’s Public Disclosure system](https://adviserinfo.sec.gov/IAPD/Default.aspx?ref=alpaca.markets). The equity market is very well regulated, and advisors who want access will need to prove themselves trustworthy before starting. The biggest risk to individuals who want to automate their trading is the risk to capital posed by their own trading systems, assumptions, and logic. The advisors themselves, as long as they’re registered with FINRA or the SEC, will be closely supervised and reliable. * * * _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ( [alpaca.markets](https://alpaca.markets/?utm_source=medium&utm_medium=blog&utm_campaign=strategy_list&utm_content=part1)), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ _You can find us [@AlpacaHQ](https://twitter.com/AlpacaHQ?ref=alpaca.markets), if you use twitter._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca [iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=top&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fautomation-of-wealth-management%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fautomation-of-wealth-management%2F&disqus_version=current&sourceless=false)[iframe](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fautomation-of-wealth-management%2F&t_d=The%20Automation%20of%20Wealth%20Management&t_t=The%20Automation%20of%20Wealth%20Management&s_o=default#version=3aff0245248612911681b2f961ab8531)[iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=bottom&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fautomation-of-wealth-management%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fautomation-of-wealth-management%2F&disqus_version=current&sourceless=false) [Previous Post : Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) [Next Post : Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca API Updates ## [Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • October 16, 2024[0 Comments](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/#disqus_thread) [![Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/content/images/2024/10/IRA-blog_1@3x.png)](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) Alpaca has officially announced our High-Yield Cash API, a top-of-funnel growth mechanism that empowers our partners to win cash deposits from both new and existing customers. [Continue Reading](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) ## [Sarwa first fintech to launch Options Trading in the Middle East](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • October 09, 2024[0 Comments](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/#disqus_thread) [![Sarwa first fintech to launch Options Trading in the Middle East](https://alpaca.markets/blog/content/images/2024/10/sarwa-options-announcement.png)](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) Sarwa now offers options trading to their customers, becoming the first fintech platform in the Middle East to do so. Sarwa and Alpaca’s partnership has grown significantly since 2021, and we are excited to congratulate them on this impressive, first-to-market milestone! [Continue Reading](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) ## [Alpaca Continues Its Partnership with GITEX GLOBAL 2024](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • September 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/#disqus_thread) [![Alpaca Continues Its Partnership with GITEX GLOBAL 2024](https://alpaca.markets/blog/content/images/2024/09/gitex-article-1.png)](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) We are delighted to announce our continued partnership with GITEX GLOBAL in 2024 at the Dubai World Trade Center as a community partner. Register and save now. [Continue Reading](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) ## [IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • September 03, 2024[0 Comments](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/#disqus_thread) [![IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/content/images/2024/09/IRA-blog.png)](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) Alpaca now offers Individual Retirement Arrangements (IRAs) accounts for your customers – learn how to enable this tax-advantaged option that drives business impact. [Continue Reading](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) ## [Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 19, 2024[0 Comments](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/#disqus_thread) [![Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/content/images/2024/07/v02_Stop-Limit-on-Fractional.png)](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) Alpaca’s Local Currency Trading API now supports limit, stop, and stop limit for both nominal and fractional order types. LCT now offers extended hours trading for limit orders too. [Continue Reading](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Fintech Insights by Patrick ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Patrick Valoppi 15 Posts ## [Sarwa first fintech to launch Options Trading in the Middle East](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • October 09, 2024[0 Comments](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/#disqus_thread) [![Sarwa first fintech to launch Options Trading in the Middle East](https://alpaca.markets/blog/content/images/2024/10/sarwa-options-announcement.png)](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) Sarwa now offers options trading to their customers, becoming the first fintech platform in the Middle East to do so. Sarwa and Alpaca’s partnership has grown significantly since 2021, and we are excited to congratulate them on this impressive, first-to-market milestone! [Continue Reading](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) ## [Alpaca Continues Its Partnership with GITEX GLOBAL 2024](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • September 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/#disqus_thread) [![Alpaca Continues Its Partnership with GITEX GLOBAL 2024](https://alpaca.markets/blog/content/images/2024/09/gitex-article-1.png)](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) We are delighted to announce our continued partnership with GITEX GLOBAL in 2024 at the Dubai World Trade Center as a community partner. Register and save now. [Continue Reading](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) ## [IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • September 03, 2024[0 Comments](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/#disqus_thread) [![IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/content/images/2024/09/IRA-blog.png)](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) Alpaca now offers Individual Retirement Arrangements (IRAs) accounts for your customers – learn how to enable this tax-advantaged option that drives business impact. [Continue Reading](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) ## [Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 19, 2024[0 Comments](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/#disqus_thread) [![Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/content/images/2024/07/v02_Stop-Limit-on-Fractional.png)](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) Alpaca’s Local Currency Trading API now supports limit, stop, and stop limit for both nominal and fractional order types. LCT now offers extended hours trading for limit orders too. [Continue Reading](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) ## [Thndr: Opening Investing Accessibility in MENA with Alpaca](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 14, 2024[0 Comments](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/#disqus_thread) [![Thndr: Opening Investing Accessibility in MENA with Alpaca](https://alpaca.markets/blog/content/images/2024/06/thndr-customer-story_1.png)](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) Thndr is an emerging force in MENA, who’s team is on a mission to increase access to personal investing. [Continue Reading](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca HFT Insights ### Tag: hft Total 2 Posts ## [Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/business-brokerage-account-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 17, 2020[0 Comments](https://alpaca.markets/blog/business-brokerage-account-beta/#disqus_thread) [![Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/content/images/2020/07/Alpaca_Business_Account.png)](https://alpaca.markets/blog/business-brokerage-account-beta/) Alpaca is launching business trading brokerage accounts Beta, the commission-free trading accounts for your business entities. [Continue Reading](https://alpaca.markets/blog/business-brokerage-account-beta/) ## [Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/position-liquidation-cancel-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 29, 2019[0 Comments](https://alpaca.markets/blog/position-liquidation-cancel-orders/#disqus_thread) [![Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/content/images/2020/03/0_Z9_c0uNWOKn8-Yt7.jpeg)](https://alpaca.markets/blog/position-liquidation-cancel-orders/) New API features include cancelling orders & position liquidations. [Continue Reading](https://alpaca.markets/blog/position-liquidation-cancel-orders/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Jason Bohne's Insights ![Author image](https://alpaca.markets/blog/content/images/2021/02/2020-06-15--2-.png) ### Jason Bohne 1 Post Events and Marketing at Alpaca ## [Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/data-conference/) By [Jason Bohne](https://alpaca.markets/blog/author/jason/) • February 11, 2021[0 Comments](https://alpaca.markets/blog/data-conference/#disqus_thread) [![Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/content/images/2021/02/blog_cover-1.jpg)](https://alpaca.markets/blog/data-conference/) The Alpaca team is excited to host our second virtual conference "Data: Modern Day Gold for Algorithmic Traders" on March 5th, 2021 featuring speakers from Quiver Quantitative and TradingView. [Continue Reading](https://alpaca.markets/blog/data-conference/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Financial News ## [Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • January 28, 2022[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/#disqus_thread) [![Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data](https://alpaca.markets/blog/content/images/2022/01/Benzinga-Announcement-Blog--1-.png)](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) In partnership with Benzinga, Alpaca expands its Market Data API offering to include financial news and company logos. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) ## [Market Data API v1 Sunset Notification](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • January 24, 2022[0 Comments](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/#disqus_thread) [![Market Data API v1 Sunset Notification](https://alpaca.markets/blog/content/images/2022/01/Data-API-v1-Breaking-Change--2-.png)](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) Market Data API v1 endpoints and documentation will sunset on March 15, 2022. [Continue Reading](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) ## [Alpaca 2021 Year in Review](https://alpaca.markets/blog/alpaca-2021-year-in-review/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • January 11, 2022[0 Comments](https://alpaca.markets/blog/alpaca-2021-year-in-review/#disqus_thread) [![Alpaca 2021 Year in Review](https://alpaca.markets/blog/content/images/2022/01/Alpaca-Year-in-Review-2021.png)](https://alpaca.markets/blog/alpaca-2021-year-in-review/) With 2021 in the rearview mirror and a new year in front of us, we’re taking a moment to reflect on the milestones that have shaped Alpaca in the last twelve months. [Continue Reading](https://alpaca.markets/blog/alpaca-2021-year-in-review/) ## [Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 22, 2021[0 Comments](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/#disqus_thread) [![Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Stonks_announcement_blog.png)](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) Powered by Broker API, Stonks Trading is a user-owned trading platform that enables users to buy, sell, and short U.S. stocks commission-free. [Continue Reading](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) ## [Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/python36-end-of-life/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/python36-end-of-life/#disqus_thread) [![Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/content/images/2021/12/How-to-Use-OAuth-to-Create-Your-Own-Trading-App-With-NodeJS_blog-4.png)](https://alpaca.markets/blog/python36-end-of-life/) On December 23rd 2021, Python 3.6 will reach its end of life and it will stop being maintained. There will not be any new updates to Python 3.6 after that date, including any bug fixes or security patches. [Continue Reading](https://alpaca.markets/blog/python36-end-of-life/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Hitoshi Harada's Blog ![Author image](https://www.gravatar.com/avatar/645a315440aea33bd45204259f424a4b?s=250&d=mm&r=x) ### Hitoshi Harada 2 Posts ## [Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • April 18, 2024[0 Comments](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/#disqus_thread) [![Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/content/images/2024/04/DTCC-Self-Clearing-Status-1.png)](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ? We are thrilled to announce that Alpaca has successfully transitioned to self-clearing at DTCC, marking a significant milestone in our journey. [Continue Reading](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ## [REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/reg-taf-fees/) By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • May 03, 2021[0 Comments](https://alpaca.markets/blog/reg-taf-fees/#disqus_thread) [![REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/content/images/2021/05/Alpaca-1.png)](https://alpaca.markets/blog/reg-taf-fees/) In this blog, we provide an update on the REG/TAF Fee calculation which has changed for all Alpaca customers [Continue Reading](https://alpaca.markets/blog/reg-taf-fees/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## MarketStore Insights ### Tag: MarketStore Total 4 Posts ## [9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) [![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg)](https://alpaca.markets/blog/marketstore-faq/) I have posted three articles, and these articles generated a lot of great comments and questions. [Continue Reading](https://alpaca.markets/blog/marketstore-faq/) ## [50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) [![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg)](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) In our last post “How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source MarketStore. [Continue Reading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) ## [How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 08, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/#disqus_thread) [![How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data.png)](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) You want to test your algo when you drop the very first version. But you also want to test the algo when you make changes or adjustments while the algo is running. [Continue Reading](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) ## [MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2018[0 Comments](https://alpaca.markets/blog/marketstore-opensource-database/#disqus_thread) [![MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/content/images/2020/03/fruits.jpeg)](https://alpaca.markets/blog/marketstore-opensource-database/) We are happy to announce MarketStore is now open source! MarketStore is a database server optimized for financial timeseries data written in pure Go, designed and developed by Alpaca. [Continue Reading](https://alpaca.markets/blog/marketstore-opensource-database/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca 2024 Overview ## [Alpaca’s 2024 Year in Review](https://alpaca.markets/blog/alpaca-2024-year-in-review/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 20, 2024[0 Comments](https://alpaca.markets/blog/alpaca-2024-year-in-review/#disqus_thread) [![Alpaca’s 2024 Year in Review](https://alpaca.markets/blog/content/images/2024/12/2024-recap-blog.png)](https://alpaca.markets/blog/alpaca-2024-year-in-review/) Alpaca had a landmark year in 2024, becoming a fully self-clearing broker-dealer, launching options trading, and developing more advanced Broker API products. [Continue Reading](https://alpaca.markets/blog/alpaca-2024-year-in-review/) ## [tyba: Creating Investment Access in Latin America](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 12, 2024[0 Comments](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/#disqus_thread) [![tyba: Creating Investment Access in Latin America](https://alpaca.markets/blog/content/images/2024/12/tyba-customer-story.png)](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) tyba has enabled over 10,000 clients to invest in US equities across Colombia and Peru, generating $7 million in AUM, using Alpaca's Broker API. [Continue Reading](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) ## [Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/#disqus_thread) [![Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/content/images/2024/12/benzinga-2024-graphic.png)](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) Alpaca wins "Best Brokerage for Sophisticated Traders" at the 2024 Benzinga Global Fintech Awards, marking its third consecutive award at the event. [Continue Reading](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) ## [Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 10, 2024[0 Comments](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/#disqus_thread) [![Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally](https://alpaca.markets/blog/content/images/2024/12/derayah-announcement.png)](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) Alpaca and Saudi's Derayah Financial announce a strategic partnership to expand financial accessibility in the Middle East. [Continue Reading](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) ## [FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • November 11, 2024[0 Comments](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/#disqus_thread) [![FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/content/images/2024/11/fix-api-blog.png)](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) With this FIX API integration, Alpaca continues to meet industry-standard expectations while delivering exceptional performance to our partners. [Continue Reading](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Luke West's Trading Insights ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Luke West 16 Posts ## [Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 20, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/#disqus_thread) [![Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets](https://alpaca.markets/blog/content/images/2025/05/blog_24-5_trading.png)](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) Alpaca announces the launch of 24/5 Trading for Broker API, allowing partners to meet global demand. Learn how Alpaca's infrastructure supports brokers in this shift. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) ## [Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 15, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/#disqus_thread) [![Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits](https://alpaca.markets/blog/content/images/2025/05/V03_high-yield-cash_LPCA.png)](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) With Alpaca's High-Yield Cash program for Trading API, you can earn interest on your idle cash, increasing account buying power and flexibility. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) ## [Alpaca Launches Fully Paid Securities Lending for Broker API](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 13, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/#disqus_thread) [![Alpaca Launches Fully Paid Securities Lending for Broker API](https://alpaca.markets/blog/content/images/2025/05/FPSL-blog-announcement.png)](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) Alpaca launches Fully Paid Securities Lending for Broker API, allowing partners to build and deliver more passive yield opportunities to their clients. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) ## [Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 01, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/#disqus_thread) [![Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow](https://alpaca.markets/blog/content/images/2025/05/fixed-income_blog-annoucement-copy.png)](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) Alpaca launches US Treasuries trading and custody, expanding their asset class offerings for Broker API with an equities-like trading experience, non-predatory fees, and path to $1 order minimums. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) ## [Kraken Offers US Securities Through Strategic Partnership with Alpaca](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • April 28, 2025[0 Comments](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/#disqus_thread) [![Kraken Offers US Securities Through Strategic Partnership with Alpaca](https://alpaca.markets/blog/content/images/2025/04/kraken-announcement.png)](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) Kraken brings US securities trading to their platform, furthering their position as a multi-asset-class trading platform in partnership with Alpaca. [Continue Reading](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca and Citadel Partnership ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Nezar Mansour 1 Post ## [Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) By [Nezar Mansour](https://alpaca.markets/blog/author/nezar/) • July 25, 2024[0 Comments](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/#disqus_thread) [![Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/content/images/2024/07/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-header.png)](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) Alpaca and Citadel Securities expand their Japan partnership, enhancing access to advanced trading and execution services for U.S. securities. [Continue Reading](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## WebSocket Updates ### Tag: websocket Total 1 Post ## [MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 18, 2019[0 Comments](https://alpaca.markets/blog/websocket-moc-cors/#disqus_thread) [![MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/content/images/2020/03/0_P2DkWhzqgLWpM7Hk.jpeg)](https://alpaca.markets/blog/websocket-moc-cors/) Launching market-on-close, limit-on-close orders, WebSocket, and more and more! [Continue Reading](https://alpaca.markets/blog/websocket-moc-cors/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Financial Updates ## [Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • March 22, 2022[0 Comments](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/#disqus_thread) [![Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/content/images/2022/03/Global-Stocks_Blog.png)](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) You can now invest in whole and fractional shares of international stocks like Nintendo, Adidas, Heineken, and Volkswagen via American depository receipts (ADRs). [Continue Reading](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) ## [Alpaca Crypto Rewards Program](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 21, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-rewards-program/#disqus_thread) [![Alpaca Crypto Rewards Program](https://alpaca.markets/blog/content/images/2022/03/Crypto-Rewards-Promo_blog.png)](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) Earn $100 in crypto for every $100K in trading volume. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) ## [Alpaca Crypto Extends to Broker API](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/#disqus_thread) [![Alpaca Crypto Extends to Broker API](https://alpaca.markets/blog/content/images/2022/03/Blog---Crypto-for-Broker-API-1.png)](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) Available in 49 U.S states and select international jurisdictions, Crypto for Broker API enables your end-users to access and trade more than 20 crypto coins. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) ## [SDK Release Notes: February 2022](https://alpaca.markets/blog/release-notes-feb-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/release-notes-feb-2022/#disqus_thread) [![SDK Release Notes: February 2022](https://alpaca.markets/blog/content/images/2022/03/February-2022_SDK-Release-Notes-5.png)](https://alpaca.markets/blog/release-notes-feb-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. These are the SDK updates for February 2022. [Continue Reading](https://alpaca.markets/blog/release-notes-feb-2022/) ## [Alpaca Named to Y Combinator’s Top Companies of 2022 List](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • March 09, 2022[0 Comments](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/#disqus_thread) [![Alpaca Named to Y Combinator’s Top Companies of 2022 List](https://alpaca.markets/blog/content/images/2022/03/top-company-2022-Twitter-alpaca.png)](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) We’re excited to announce that Alpaca has been recognized on Y Combinator’s Top Companies 2022 list. [Continue Reading](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Innovations ## [Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 08, 2024[0 Comments](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/#disqus_thread) [![Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/content/images/2024/07/elite-blog-graphic.png)](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) Alpaca Elite provides a cost-effective, advanced algo trading experience with white-glove account support. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) ## [Alpaca Secures "Best API" Award from Postman at POST/CON 2024](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 15, 2024[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/#disqus_thread) [![Alpaca Secures "Best API" Award from Postman at POST/CON 2024](https://alpaca.markets/blog/content/images/2024/05/postman-2024-award.png)](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) Alpaca has been recognized in the developer community by receiving the "Best API" award from Postman during their annual 2024 API Network Awards. [Continue Reading](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) ## [Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • May 13, 2024[0 Comments](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/#disqus_thread) [![Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/content/images/2024/05/v04_entity-accounts.png)](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) We've upgraded our business account onboarding process to make it faster and simpler than ever before! [Continue Reading](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) ## [Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 08, 2024[0 Comments](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/#disqus_thread) [![Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/content/images/2024/05/broker-options-blog.png)](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) Today, we’re thrilled to announce another development milestone for Alpaca’s Broker and Trading API – offering options to our global community. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) ## [eccuity: Simplifying the Complex for Kiwi Investors](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 01, 2024[0 Comments](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/#disqus_thread) [![eccuity: Simplifying the Complex for Kiwi Investors](https://alpaca.markets/blog/content/images/2024/09/eccuity_customer_story@3x.png)](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) Driven by democratizing access to investment information and assets, eccuity is bridging the gap between DIY platforms and traditional wealth management services in New Zealand. [Continue Reading](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Crest Saechao's Insights ![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg) ### Crest Saechao 12 Posts ## [Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • July 19, 2022[0 Comments](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/#disqus_thread) [![Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion](https://alpaca.markets/blog/content/images/2022/07/A-AJ.jpeg)](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) Alpaca, a crypto and stock investing platform for businesses from startups to Fortune 500s, announced it has closed the acquisition of a Japanese licensed broker-dealer, AlpacaJapan Co.,Ltd. (“AlpacaJapan”). [Continue Reading](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) ## [Shorting Prevention Breaking Change Notification](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 30, 2021[0 Comments](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/#disqus_thread) [![Shorting Prevention Breaking Change Notification](https://alpaca.markets/blog/content/images/2021/09/Shorting-Prevention-Breaking-Change-Notification_blog-cover-6.png)](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) In order to prevent mixed notional and quantity sell sequences outside of market hours, we will introduce a breaking change. [Continue Reading](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) ## [Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 07, 2021[0 Comments](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/#disqus_thread) [![Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security](https://alpaca.markets/blog/content/images/2021/08/2-1.png)](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) At Alpaca, we are committed to building a secure and trusted experience. As part of that commitment, we are pleased to announce that Alpaca has successfully completed its SOC 2 Type 2 compliance assessment. [Continue Reading](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) ## [Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 07, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/#disqus_thread) [![Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/content/images/2021/09/ErisX-Announcement-Blog-5.png)](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) We’re excited to announce our partnership with ErisX. Eris Exchange and Eris Clearing, together ErisX, is a spot and regulated futures exchange and clearinghouse. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) ## [Alpaca Raises $50 Million Series B & Announces Crypto Offering](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 30, 2021[0 Comments](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/#disqus_thread) [![Alpaca Raises $50 Million Series B & Announces Crypto Offering](https://alpaca.markets/blog/content/images/2021/08/Series-B_V04@4x.png)](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) Alpaca Raises $50 Million Series B & Announces Crypto Offering. Tribe Capital Leads Round As Alpaca Reports 1500 Percent Growth YTD With Over 100,000 Accounts, And Expanded Partnerships in Europe, SE Asia, Africa, Latin Americas [Continue Reading](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca API and Dashboard Updates ## [Important Update: Alpaca Launches Market Data API 2.0](https://alpaca.markets/blog/market-data-api-launch/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • February 24, 2021[0 Comments](https://alpaca.markets/blog/market-data-api-launch/#disqus_thread) [![Important Update: Alpaca Launches Market Data API 2.0](https://alpaca.markets/blog/content/images/2021/02/update-1.png)](https://alpaca.markets/blog/market-data-api-launch/) Alpaca is excited to announce version 2 of Alpaca Market Data API! The API will consist of real time and historical price data and will evolve with more upgrades with time. [Continue Reading](https://alpaca.markets/blog/market-data-api-launch/) ## [Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/data-conference/) By [Jason Bohne](https://alpaca.markets/blog/author/jason/) • February 11, 2021[0 Comments](https://alpaca.markets/blog/data-conference/#disqus_thread) [![Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/content/images/2021/02/blog_cover-1.jpg)](https://alpaca.markets/blog/data-conference/) The Alpaca team is excited to host our second virtual conference "Data: Modern Day Gold for Algorithmic Traders" on March 5th, 2021 featuring speakers from Quiver Quantitative and TradingView. [Continue Reading](https://alpaca.markets/blog/data-conference/) ## [Web Dashboard Updates and Support Page Launch](https://alpaca.markets/blog/dashboard-and-support-page/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 18, 2021[0 Comments](https://alpaca.markets/blog/dashboard-and-support-page/#disqus_thread) [![Web Dashboard Updates and Support Page Launch](https://alpaca.markets/blog/content/images/2021/01/ania-archer-ybs5Q8Jk4p4-unsplash.jpg)](https://alpaca.markets/blog/dashboard-and-support-page/) We made multiple updates on the web dashboard of the Trading API and launched a long-awaited Support & Help page that collects many types of FAQs. [Continue Reading](https://alpaca.markets/blog/dashboard-and-support-page/) ## [New API Features & Dashboard Updates, Quantopian-Closing](https://alpaca.markets/blog/api-dashboard-update-quantopian/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • December 11, 2020[0 Comments](https://alpaca.markets/blog/api-dashboard-update-quantopian/#disqus_thread) [![New API Features & Dashboard Updates, Quantopian-Closing](https://alpaca.markets/blog/content/images/2020/12/alpaca.jpeg)](https://alpaca.markets/blog/api-dashboard-update-quantopian/) Last month, we launched multiple API features and dashboard updates. Also, we took a proactive approach to support the community after the Quantopian closing. [Continue Reading](https://alpaca.markets/blog/api-dashboard-update-quantopian/) ## [Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started](https://alpaca.markets/blog/execution-broker-oms-dashboard/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 28, 2020[0 Comments](https://alpaca.markets/blog/execution-broker-oms-dashboard/#disqus_thread) [![Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started](https://alpaca.markets/blog/content/images/2020/10/Investigating-Alpaca.png)](https://alpaca.markets/blog/execution-broker-oms-dashboard/) Alpaca recently added new capabilities and upgraded our infrastructure for improved overall platform stability and performance. [Continue Reading](https://alpaca.markets/blog/execution-broker-oms-dashboard/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Quants Blog ### Tag: Quants Total 2 Posts ## [Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • August 15, 2024[0 Comments](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/#disqus_thread) [![Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/content/images/2024/08/blog-quantconnect-article.png)](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) Explore Alpaca's integration with QuantConnect, enabling you to create, backtest, and trade algorithmic strategies with ease. [Continue Reading](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) ## [Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/data-conference/) By [Jason Bohne](https://alpaca.markets/blog/author/jason/) • February 11, 2021[0 Comments](https://alpaca.markets/blog/data-conference/#disqus_thread) [![Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/content/images/2021/02/blog_cover-1.jpg)](https://alpaca.markets/blog/data-conference/) The Alpaca team is excited to host our second virtual conference "Data: Modern Day Gold for Algorithmic Traders" on March 5th, 2021 featuring speakers from Quiver Quantitative and TradingView. [Continue Reading](https://alpaca.markets/blog/data-conference/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Crypto Updates ### Tag: Crypto Total 8 Posts ## [Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 16, 2023[0 Comments](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/#disqus_thread) [![Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/content/images/2023/08/new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service.png)](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ? Big News Alert! Alpaca Crypto is about to take your trading experience to the next level! Get ready for new cryptocurrencies, expanded USDC pairs, and seamless ERC-20 transactions. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ## [Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/jungleprotocol/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • October 31, 2022[0 Comments](https://alpaca.markets/blog/jungleprotocol/#disqus_thread) [![Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/content/images/2022/10/blog-announcement-jungle-4.png)](https://alpaca.markets/blog/jungleprotocol/) Alpaca accelerates its crypto business and introduces a DeFi protocol - Jungle - that will mint and burn tokenized stocks in ERC20 format with a 1:1 collateral. [Continue Reading](https://alpaca.markets/blog/jungleprotocol/) ## [Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 25, 2022[0 Comments](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/#disqus_thread) [![Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/content/images/2022/07/blog_crypto-wallets-and-coin-pair.png)](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) Alpaca Crypto Wallets and Coin Pair Trading with 48 BTC, USDT, & USD Pairs is now available. Unlock a new level of crypto trading with a better way to deposit, withdraw and trade with Alpaca Crypto. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) ## [Join Alpaca in Austin For Consensus 2022](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • June 03, 2022[0 Comments](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/#disqus_thread) [![Join Alpaca in Austin For Consensus 2022](https://alpaca.markets/blog/content/images/2022/06/consensus-real-alpaca-party-1.png)](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) Consensus 2022 runs from June 9-12 in Austin, TX. Come pet real alpacas with us and find out how Alpaca can help you embed crypto trading into your app. [Continue Reading](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) ## [Alpaca Crypto Rewards Program](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 21, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-rewards-program/#disqus_thread) [![Alpaca Crypto Rewards Program](https://alpaca.markets/blog/content/images/2022/03/Crypto-Rewards-Promo_blog.png)](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) Earn $100 in crypto for every $100K in trading volume. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Crystal Xue's Alpaca Insights ![Author image](https://alpaca.markets/blog/content/images/2021/10/Image-from-iOS--1-.jpg) ### Crystal Xue 6 Posts ## [Alpaca Recognized on the CB Insights 2022 Fintech 250 List](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 06, 2022[0 Comments](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/#disqus_thread) [![Alpaca Recognized on the CB Insights 2022 Fintech 250 List](https://alpaca.markets/blog/content/images/2022/10/blog_cbinsights-fintech-250-list-social-graphic.png)](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) CB Insights has named Alpaca to the 2022 Fintech 250, a list that honors the 250 most promising private fintech companies. [Continue Reading](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) ## [Join Alpaca in Austin For Consensus 2022](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • June 03, 2022[0 Comments](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/#disqus_thread) [![Join Alpaca in Austin For Consensus 2022](https://alpaca.markets/blog/content/images/2022/06/consensus-real-alpaca-party-1.png)](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) Consensus 2022 runs from June 9-12 in Austin, TX. Come pet real alpacas with us and find out how Alpaca can help you embed crypto trading into your app. [Continue Reading](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) ## [Alpaca Named to Y Combinator’s Top Companies of 2022 List](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • March 09, 2022[0 Comments](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/#disqus_thread) [![Alpaca Named to Y Combinator’s Top Companies of 2022 List](https://alpaca.markets/blog/content/images/2022/03/top-company-2022-Twitter-alpaca.png)](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) We’re excited to announce that Alpaca has been recognized on Y Combinator’s Top Companies 2022 list. [Continue Reading](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) ## [Alpaca 2021 Year in Review](https://alpaca.markets/blog/alpaca-2021-year-in-review/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • January 11, 2022[0 Comments](https://alpaca.markets/blog/alpaca-2021-year-in-review/#disqus_thread) [![Alpaca 2021 Year in Review](https://alpaca.markets/blog/content/images/2022/01/Alpaca-Year-in-Review-2021.png)](https://alpaca.markets/blog/alpaca-2021-year-in-review/) With 2021 in the rearview mirror and a new year in front of us, we’re taking a moment to reflect on the milestones that have shaped Alpaca in the last twelve months. [Continue Reading](https://alpaca.markets/blog/alpaca-2021-year-in-review/) ## [Breaking Change Notification for Account Creation Tax ID Requirement](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 28, 2021[0 Comments](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/#disqus_thread) [![Breaking Change Notification for Account Creation Tax ID Requirement](https://alpaca.markets/blog/content/images/2021/10/Account-Creation-Tax-ID-Requirement-Breaking-Change-Notificatio_blog-2.png)](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) As part of the onboarding process for Broker API user accounts, we require specific attributes to be passed in at the time of account creation. [Continue Reading](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Blog Highlights ## [Join Alpaca in Austin For Consensus 2022](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • June 03, 2022[0 Comments](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/#disqus_thread) [![Join Alpaca in Austin For Consensus 2022](https://alpaca.markets/blog/content/images/2022/06/consensus-real-alpaca-party-1.png)](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) Consensus 2022 runs from June 9-12 in Austin, TX. Come pet real alpacas with us and find out how Alpaca can help you embed crypto trading into your app. [Continue Reading](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) ## [SDK Release Notes: May 2022](https://alpaca.markets/blog/untitled/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • June 02, 2022[0 Comments](https://alpaca.markets/blog/untitled/#disqus_thread) [![SDK Release Notes: May 2022](https://alpaca.markets/blog/content/images/2022/06/may-2022-sdk-release-notes.png)](https://alpaca.markets/blog/untitled/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/untitled/) ## [SDK Release Notes: April 2022](https://alpaca.markets/blog/sdk-release-notes-april/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • May 06, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-april/#disqus_thread) [![SDK Release Notes: April 2022](https://alpaca.markets/blog/content/images/2022/05/April-2022--SDK-Release-Notes.png)](https://alpaca.markets/blog/sdk-release-notes-april/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-april/) ## [Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 12, 2022[0 Comments](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/#disqus_thread) [![Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/04/Composer-Partnership-Announcement.png)](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) Composer, a trading platform, uses Alpaca Broker API to offer retail investors access to systematic investing strategies. [Continue Reading](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) ## [SDK Release Notes: March 2022](https://alpaca.markets/blog/sdk-release-notes-march-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • April 08, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-march-2022/#disqus_thread) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. These are the monthly release notes. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-march-2022/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Mahmoud Sherif's Blog ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Mahmoud Sherif 3 Posts ## [Alpaca Crypto Rewards Program](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 21, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-rewards-program/#disqus_thread) [![Alpaca Crypto Rewards Program](https://alpaca.markets/blog/content/images/2022/03/Crypto-Rewards-Promo_blog.png)](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) Earn $100 in crypto for every $100K in trading volume. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) ## [Introducing Alpaca Broker API](https://alpaca.markets/blog/introducing-broker-api/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • April 21, 2021[0 Comments](https://alpaca.markets/blog/introducing-broker-api/#disqus_thread) [![Introducing Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/04/broker-api-1.png)](https://alpaca.markets/blog/introducing-broker-api/) Open brokerage accounts, enable commission-free trading, and manage the ongoing user experience with Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/introducing-broker-api/) ## [Introducing Fractional Trading](https://alpaca.markets/blog/fractional-trading/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 03, 2021[0 Comments](https://alpaca.markets/blog/fractional-trading/#disqus_thread) [![Introducing Fractional Trading](https://alpaca.markets/blog/content/images/2021/03/Untitled--4-.png)](https://alpaca.markets/blog/fractional-trading/) We are proud to announce that our trading APIs now support fractional shares [Continue Reading](https://alpaca.markets/blog/fractional-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Sonia Sethi's Blog ![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png) ### Sonia Sethi 38 Posts ## [Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • May 13, 2024[0 Comments](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/#disqus_thread) [![Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/content/images/2024/05/v04_entity-accounts.png)](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) We've upgraded our business account onboarding process to make it faster and simpler than ever before! [Continue Reading](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) ## [Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 29, 2024[0 Comments](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/#disqus_thread) [![Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/content/images/2024/02/fractional-limit-orders_extended-hours.png)](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) Alpaca now supports limit orders and extended hours trading for fractional shares trading. [Continue Reading](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) ## [Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 28, 2023[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/#disqus_thread) [![Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023](https://alpaca.markets/blog/content/images/2023/09/gitex-article@4x--1-.png)](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023 [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) ## [Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 12, 2023[0 Comments](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/#disqus_thread) [![Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/content/images/2023/09/funding-wallets_gtm--1-.png)](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) ? Introducing Funding Wallets for Broker API: Simplify fund management and elevate user experience with seamless deposits and withdrawals in local currency using local rails. [Continue Reading](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) ## [Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/#disqus_thread) [![Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/content/images/2023/09/v03_excess-sipc-coverage.png)](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection [Continue Reading](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Trading Insights ![Author image](https://alpaca.markets/blog/content/images/2023/01/symbol-alpaca-logo.png) ### Alpaca Team 3 Posts ## [Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • August 15, 2024[0 Comments](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/#disqus_thread) [![Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/content/images/2024/08/blog-quantconnect-article.png)](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) Explore Alpaca's integration with QuantConnect, enabling you to create, backtest, and trade algorithmic strategies with ease. [Continue Reading](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) ## [Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • October 12, 2023[0 Comments](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/#disqus_thread) [![Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business](https://alpaca.markets/blog/content/images/2023/10/v02_sbi-holdings-partnership-announcement.png)](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) Alpaca Surpasses 150 Businesses Launching on its Brokerage Platform and Prepares for Accelerated Growth With Strategic Partners For Each Key Region [Continue Reading](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) ## [Quantbase Launches Investment Platform with Alpaca Broker API](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • January 23, 2023[0 Comments](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/#disqus_thread) [![Quantbase Launches Investment Platform with Alpaca Broker API](https://alpaca.markets/blog/content/images/2023/01/blog_quantbase-launches-investment-platform-with-alpaca-broker-api.png)](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) Quantbase, an SEC-registered investment advisor, helps make it simple for financial companies and individuals to turn research data points into an investable strategy. Check out how they partnered with Alpaca Broker API to make this experience seamless. [Continue Reading](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Sasha Cotterell's Alpaca Insights ![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG) ### Sasha Cotterell 13 Posts ## [Introducing Alpaca Connect Marketplace](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • June 15, 2022[0 Comments](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/#disqus_thread) [![Introducing Alpaca Connect Marketplace](https://alpaca.markets/blog/content/images/2022/06/Alpaca-Connect-announcement_blog.png)](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/) We’re excited to announce the beta launch of Alpaca Connect Marketplace, which helps you discover apps and tools from around the world and easily integrate them with your Alpaca trading account. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/) ## [Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • March 22, 2022[0 Comments](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/#disqus_thread) [![Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/content/images/2022/03/Global-Stocks_Blog.png)](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) You can now invest in whole and fractional shares of international stocks like Nintendo, Adidas, Heineken, and Volkswagen via American depository receipts (ADRs). [Continue Reading](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) ## [Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 22, 2022[0 Comments](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/#disqus_thread) [![Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/content/images/2022/02/Corporate-Actions---Learn-Article---blog_cover-.png)](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) Corporate Actions API: Announcements provides information on previous and upcoming dividends, mergers, spinoffs, and stock splits. [Continue Reading](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) ## [Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 07, 2022[0 Comments](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/#disqus_thread) [![Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/content/images/2022/02/News_API_Illustration.png)](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) Alpaca extends Market Data API to include News API, which provides developers with access to real-time and historical financial news. [Continue Reading](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) ## [Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • January 28, 2022[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/#disqus_thread) [![Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data](https://alpaca.markets/blog/content/images/2022/01/Benzinga-Announcement-Blog--1-.png)](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) In partnership with Benzinga, Alpaca expands its Market Data API offering to include financial news and company logos. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Integrations ### Tag: integrations Total 7 Posts ## [Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 24, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/#disqus_thread) [![Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/content/images/2021/08/Alpaca-Integration-with-Plaid.png)](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) We’re excited to announce our latest integration and partnership with Plaid, a data network powering the digital financial ecosystem. With Plaid, Alpaca is working to fuel the acceleration and growth of new fintech startups and tech innovators around the world. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) ## [TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/tradingview-oco-tradetron/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 22, 2020[0 Comments](https://alpaca.markets/blog/tradingview-oco-tradetron/#disqus_thread) [![TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/content/images/2020/09/friends.jpg)](https://alpaca.markets/blog/tradingview-oco-tradetron/) Announcing TradingView OCO & Tradetron launch on Alpaca. Alpaca continues to add the integration partners. [Continue Reading](https://alpaca.markets/blog/tradingview-oco-tradetron/) ## [Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 29, 2020[0 Comments](https://alpaca.markets/blog/blueshift-backtest/#disqus_thread) [![Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-blueshift.png)](https://alpaca.markets/blog/blueshift-backtest/) A leading quant finance school QuantInsti and Alpaca team up to offer a super seamless experience in algo trading through Blueshift integration with Alpaca commission-free trading API [Continue Reading](https://alpaca.markets/blog/blueshift-backtest/) ## [Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/passive-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 10, 2019[0 Comments](https://alpaca.markets/blog/passive-integration/#disqus_thread) [![Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/content/images/2020/03/alpaca-passiv-integration.png)](https://alpaca.markets/blog/passive-integration/) Canadian-based financial startup, Passiv, and American brokerage Alpaca combine forces to bring you passive investing without high management expense ratios. [Continue Reading](https://alpaca.markets/blog/passive-integration/) ## [Alpaca Trading within TradingView](https://alpaca.markets/blog/tradingview-api-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • November 11, 2019[0 Comments](https://alpaca.markets/blog/tradingview-api-integration/#disqus_thread) [![Alpaca Trading within TradingView](https://alpaca.markets/blog/content/images/2020/03/alpaca-tradingview.png)](https://alpaca.markets/blog/tradingview-api-integration/) Stock trading with Alpaca from TradingView platform - Now you can get all the benefits of real-time market data, charting, and algorithmic trading together in one place. [Continue Reading](https://alpaca.markets/blog/tradingview-api-integration/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Abel Sohajda's Alpaca Posts ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Abel Sohajda 4 Posts ## [Alpaca Launches Data API](https://alpaca.markets/blog/market-data-apiv2/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • May 26, 2021[0 Comments](https://alpaca.markets/blog/market-data-apiv2/#disqus_thread) [![Alpaca Launches Data API](https://alpaca.markets/blog/content/images/2021/05/Gallery--3-Data-1@2x--1--2.png)](https://alpaca.markets/blog/market-data-apiv2/) Alpaca is excited to launch Alpaca Data API. Access unlimited real-time stock data through rest APIs and SDKs. Data API is built to be simple, powerful, and scalable. [Continue Reading](https://alpaca.markets/blog/market-data-apiv2/) ## [Market Data v2 Beta Status Update](https://alpaca.markets/blog/market-data-api-beta-update/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • March 25, 2021[0 Comments](https://alpaca.markets/blog/market-data-api-beta-update/#disqus_thread) [![Market Data v2 Beta Status Update](https://alpaca.markets/blog/content/images/2021/03/blog_img-4.png)](https://alpaca.markets/blog/market-data-api-beta-update/) We launched our data v2 in public beta at the end of February after launching v1 last May. Read our status update on or new beta product. [Continue Reading](https://alpaca.markets/blog/market-data-api-beta-update/) ## [Important Update: Alpaca Launches Market Data API 2.0](https://alpaca.markets/blog/market-data-api-launch/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • February 24, 2021[0 Comments](https://alpaca.markets/blog/market-data-api-launch/#disqus_thread) [![Important Update: Alpaca Launches Market Data API 2.0](https://alpaca.markets/blog/content/images/2021/02/update-1.png)](https://alpaca.markets/blog/market-data-api-launch/) Alpaca is excited to announce version 2 of Alpaca Market Data API! The API will consist of real time and historical price data and will evolve with more upgrades with time. [Continue Reading](https://alpaca.markets/blog/market-data-api-launch/) ## [New API Features & Dashboard Updates, Quantopian-Closing](https://alpaca.markets/blog/api-dashboard-update-quantopian/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • December 11, 2020[0 Comments](https://alpaca.markets/blog/api-dashboard-update-quantopian/#disqus_thread) [![New API Features & Dashboard Updates, Quantopian-Closing](https://alpaca.markets/blog/content/images/2020/12/alpaca.jpeg)](https://alpaca.markets/blog/api-dashboard-update-quantopian/) Last month, we launched multiple API features and dashboard updates. Also, we took a proactive approach to support the community after the Quantopian closing. [Continue Reading](https://alpaca.markets/blog/api-dashboard-update-quantopian/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Crypto Rewards ### Tag: rewards Total 1 Post ## [Alpaca Crypto Rewards Program](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 21, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-rewards-program/#disqus_thread) [![Alpaca Crypto Rewards Program](https://alpaca.markets/blog/content/images/2022/03/Crypto-Rewards-Promo_blog.png)](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) Earn $100 in crypto for every $100K in trading volume. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca GitHub Blog ### Tag: github Total 3 Posts ## [SDK Release Notes - January 2022](https://alpaca.markets/blog/sdk-release-notes-january-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • February 02, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-january-2022/#disqus_thread) [![SDK Release Notes - January 2022](https://alpaca.markets/blog/content/images/2022/02/SDK-Release-Notes-January-2022_blog-1.png)](https://alpaca.markets/blog/sdk-release-notes-january-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-january-2022/) ## [Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/python36-end-of-life/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/python36-end-of-life/#disqus_thread) [![Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/content/images/2021/12/How-to-Use-OAuth-to-Create-Your-Own-Trading-App-With-NodeJS_blog-4.png)](https://alpaca.markets/blog/python36-end-of-life/) On December 23rd 2021, Python 3.6 will reach its end of life and it will stop being maintained. There will not be any new updates to Python 3.6 after that date, including any bug fixes or security patches. [Continue Reading](https://alpaca.markets/blog/python36-end-of-life/) ## [Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) [![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png)](https://alpaca.markets/blog/open-source-mobile-trading-app/) Introducing an example mobile app “Alpaca Dashboard” on the App Store and its code in full open-sourced on the GitHub repo. The app is built on React Native. [Continue Reading](https://alpaca.markets/blog/open-source-mobile-trading-app/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Insights ## [Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) [![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg)](https://alpaca.markets/blog/paper-trading-api/) In our continuous effort to make automated trading more accessible, we are pleased to announce the Alpaca Paper Trading API to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. [Continue Reading](https://alpaca.markets/blog/paper-trading-api/) ## [The Automation of Wealth Management](https://alpaca.markets/blog/automation-of-wealth-management/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 03, 2018[0 Comments](https://alpaca.markets/blog/automation-of-wealth-management/#disqus_thread) [![The Automation of Wealth Management](https://alpaca.markets/blog/content/images/2020/03/1_4_oIV6jsM4ZHPmuaeMQGdQ--1-.jpeg)](https://alpaca.markets/blog/automation-of-wealth-management/) Software-driven automation is rapidly transforming the social and economic landscape, with some of the most prominent examples being autonomous vehicles and home assistants. [Continue Reading](https://alpaca.markets/blog/automation-of-wealth-management/) ## [Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 23, 2018[0 Comments](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/#disqus_thread) [![Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/content/images/2020/03/16x9-1.png)](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) Fintech Startup Alpaca Unveils World’s First Commission Free API Stock Broker For Algorithmic Trading [Continue Reading](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) ## [9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) [![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg)](https://alpaca.markets/blog/marketstore-faq/) I have posted three articles, and these articles generated a lot of great comments and questions. [Continue Reading](https://alpaca.markets/blog/marketstore-faq/) ## [50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) [![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg)](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) In our last post “How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source MarketStore. [Continue Reading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Neal Patel's Blog ![Author image](https://alpaca.markets/blog/content/images/2021/11/T6DRXNY78-UJQFXSQ5V-dc33ad28b60f-512.jpeg) ### Neal Patel 1 Post ## [Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) By [Neal Patel](https://alpaca.markets/blog/author/neal/) • November 22, 2021[0 Comments](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/#disqus_thread) [![Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/content/images/2021/11/OMS-Launch-announcement_V03--3-.png)](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) Alpaca launches the next version of its Order Management System (OMS) that's 100 times faster and maintains low latency order processing, even during heavy trading volume. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## 2022 Year in Review # Alpaca 2022 Year in Review By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 03, 2023[0 Comments](https://alpaca.markets/blog/alpaca-2022-year-in-review/#disqus_thread) ![Alpaca 2022 Year in Review](https://alpaca.markets/blog/content/images/2023/01/2022-recap-blog.png) 2022 was an interesting year, to say the least; we’re taking a moment to reflect on all the major milestones Alpaca has achieved in the last twelve months. Let’s recap the key moments below. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-14.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=year-in-review) ### New Products Launched for Broker API and Trading API Users Building and launching a product is not an easy feat, but in 2022 with our team's determination and hard work, we’ve announced five key products for our customers. These offerings are [Local Currency Trading](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/), [Alpaca-py,](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) [Extended Hours](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/), [Crypto Wallets, and Coin Pair Trading](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/). ### Acquired Japanese Broker-Dealer AlpacaJapan In 2022, we acquired a Japanese licensed broker-dealer, AlpacaJapan Co., Ltd. (“AlpacaJapan”). AlpacaJapan is licensed to offer embedded investing products to businesses in Japan as a Japanese FSA-approved broker-dealer. This acquisition is the first step of many in expanding Alpaca’s international footprint and opening access to investing for people all over the world. ### Recognized on Y Combinator and CB Insights 2022 Lists Alpaca was recognized by industry leaders and included on prominent lists such as [Y Combinator’s Top Companies 2022](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) and [CB Insights 2022 Fintech 250](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/). The former features 267 high-growth companies ranked by valuation, while the latter honors the 250 most promising private fintech companies. ### Winning Best Automated Trading Software at the 2022 Benzinga Awards Alpaca received the distinction of [Best Automated Trading Software](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) at the 8th annual Benzinga Global Fintech Awards. These awards recognize outstanding performance, rising talent, and disruptive innovators creating positive changes in the fintech industry. ### Expanding Global Community to over 13,000+ Members Since the launch of Alpaca Broker API in 2021, we’ve partnered with hundreds of global businesses ranging from app developers, growing startups to medium and large enterprises. Last but not least, our developer [slack community](https://alpaca-community.slack.com/join/shared_invite/zt-1hm3itwky-WRyQTS_e2dnoW5AM3jyzDQ?ref=alpaca.markets#/shared-invite/email), which has been an integral part of our journey, has grown to over 13,000+  members worldwide! ### Cheers to 2023 ? Looking back, we poured our heart and soul into achieving all these key moments. However, these accomplishments would not be possible without the support of our community members, and we sincerely thank you. ? In 2023, we aspire to continue being community-led, build versatile products, deliver infrastructure stability and offer unparalleled support to our members. [Alpaca - Developer-First API for Stocks and Crypto\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, andtrade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://alpaca.markets/static/images/meta-image-homepage-crypto.png)](https://alpaca.markets/?ref=alpaca.markets) * * * Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) [Next Post : Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Corporate Actions API # Introducing Corporate Actions API: Announcements By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 22, 2022[0 Comments](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/#disqus_thread) ![Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/content/images/2022/02/Corporate-Actions---Learn-Article---blog_cover-.png) We’re excited to announce the launch of our Corporate Actions API: Announcements, which gives customers access to our extensive corporate actions database. This API provides information on previous and upcoming dividends, mergers, spinoffs, and stock splits. Through this new endpoint, we aim to help Alpaca customers stay up to date on upcoming announcements, simplify bookkeeping, and support trading strategies based on corporate actions events. ## Data and Availability Corporate Actions API: Announcements provides detailed corporate actions data for events such as dividends, mergers, spinoffs, and stock splits. The information will be available on the endpoint as soon as it is ingested from Alpaca’s third party data vendor, which is typically before market open on the trading day following the declaration date. However, any announcements that are made during the trading day will be available after market close. Additionally, bespoke reorganization announcements, such as symbol changes, redemptions, liquidations, delistings, and tender offers, are not available to view through the API at this time. For a full list of corporate action types and subtypes that are supported with the API, please view the [Trading API](https://alpaca.markets/docs/api-references/trading-api/corporate-actions-announcements/?ref=alpaca.markets) and [Broker API](https://alpaca.markets/docs/api-references/broker-api/corporate-actions/announcements/?ref=alpaca.markets) documentation. Users are able to interact with Alpaca’s corporate actions data dating back to April 2020. ### Corporate Action Types Available via the API **Dividends** A dividend is a payment to shareholders based on a company’s earnings to a segment of their shareholders. These payments can take the form of cash sums or stock allocations according to the discretion of the company’s board of directors. Common shareholders of dividend-paying companies are typically eligible as long as they own the stock before the ex-dividend date. **Mergers** A merger is an agreement in which one firm acquires another company to form a single entity. Typically, shareholders will receive the parent company’s stock based on their holdings in the acquired firm. There may be multiple announcements to inform shareholders of updates to the terms of the purchase before the merger is complete. **Spinoffs** A spinoff is the creation of a new entity, or child company, that is formed off of the sale of the parent company’s shares. When this occurs, shareholders will receive shares of the divestiture based on their holdings in the parent company. Similarly to mergers, there may be multiple announcements to inform shareholders of updates to the terms of the purchase before the merger is complete. **Stock Splits** A stock split occurs when a company looks to change the number of outstanding shares in the market without changing the firm’s market value. A forward stock split maintains a firm’s market value through decreasing the price per share while simultaneously issuing more shares to existing investors. The opposite is true for a reverse stock split. This corporate action type impacts the share quantity and the market price of the asset. ## Query in Specific or Broad Parameters Through the GET request, you can receive announcement data broadly or more specifically within certain parameters. It’s possible to search for announcements by type, symbol, and CUSIP over a given date range. The endpoint also allows you to determine which date type should be used when applying the date range. Date types available are declaration date, ex-dividend date, record date, and payable date. `GET v1/corporate_actions/announcements` This allows you to pull general announcement information. `GET v1/corporate_actions/announcements/{id}` This allows you to pull a specific announcement. ## Key Uses **Keep Shareholders Up-to-Date** Traders may use Corporate Actions API to stay up-to-date on upcoming announcements that may impact current holdings or to assess potential investments. App developers can use the API to build in announcement updates for their users through the UI. **Reconciliation and Bookkeeping** In the event of any unexpected account position and cash balance changes, the API response can be used to reconcile the non-trade activity. The endpoint returns details from previous announcements can be used to reconcile any resulting account position and cash balance changes. **Support Corporate Actions-Based Investment Strategies** The API can be used to enhance trading strategies for users that are focused on corporate action events. For more information, view the full Corporate Actions API: Announcements  documentation for [Broker API](https://alpaca.markets/docs/api-references/broker-api/corporate-actions/announcements/?ref=alpaca.markets) and [Trading API](https://alpaca.markets/docs/api-references/trading-api/corporate-actions-announcements/?ref=alpaca.markets). * * * This content is for general information only. Alpaca does not recommend any specific investments or investment strategies. Investments in securities involve the risk of losses and past performance does not guarantee future results. Before investing you should carefully consider your investment objectives, time horizon, and overall risk tolerance as well as the information stated in the product offering prospectuses. Securities brokerage services are provided by Alpaca Securities LLC (“Alpaca”), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) [Previous Post : Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) [Next Post : Alpaca Launches Onfido SDK for Broker API](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Open Source Trading App # Launching an OSS Mobile App — Alpaca Dashboard By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) ![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png) ### The Open Source Mobile App Just as the Alpaca community continues to put out code-snippets of example trading algorithms, today we are excited to introduce an example mobile app “ [Alpaca Dashboard](https://itunes.apple.com/us/app/alpaca-dashboard/id1448888086?mt=8&ref=alpaca.markets)” on the App Store and [its code in full open-sourced on the GitHub repo](https://github.com/alpacahq/alpaca-rn-mobile?ref=alpaca.markets). The app is built on React Native. The Alpaca Dashboard mobile app is meant to be an extremely minimal skeleton application, so that you and other community developers have the opportunity to change things around by adding features and refining the designs. These things are very easy to do, as you can fork the [GitHub repo](https://github.com/alpacahq/alpaca-rn-mobile?ref=alpaca.markets) and start building your own version of the mobile app. [‎Alpaca Dashboard\\ \\ You need your API Key ID & Secret Key to use this app. Manage Your AlgorithmsView your performance and buying powerSee the status of all positions and all orders for the day Easily Take ActionTake emergency actions, including canceling orders and liquidating positionsManually enable/disable yo…\\ \\ App StoreAlpaca\\ \\ ![](https://is4-ssl.mzstatic.com/image/thumb/Purple123/v4/3e/ec/1a/3eec1a9c-632f-951c-11c0-a1055955fc32/AppIcon-0-1x_U007emarketing-0-0-GLES2_U002c0-512MB-sRGB-0-0-0-85-220-0-0-0-5.png/1200x630wa.png)](https://apps.apple.com/us/app/alpaca-dashboard/id1448888086?source=post_page-----864500ddb5c3----------------------)[alpacahq/alpaca-rn-mobile\\ \\ An example React native mobile app to help you get started with Alpaca - alpacahq/alpaca-rn-mobile\\ \\ ![](https://github.githubassets.com/favicon.ico)GitHubalpacahq\\ \\ ![](https://avatars1.githubusercontent.com/u/30398729?s=400&v=4)](https://github.com/alpacahq/alpaca-rn-mobile?source=post_page-----864500ddb5c3----------------------) ### What You Can Do with the Alpaca Dashboard App On the Alpaca Dashboard mobile app, you can log in to your existing Alpaca paper-trading or live-trading account and do the following (please note that you need to have generated an API Key ID and Secret Key before using the app): ### Keep Track of Your Algorithms - View your performance and buying power - See the status of all open positions and all open and closed orders for the day ## Easily Take Action - Take emergency actions, including canceling all open orders and liquidating all open positions - Manually enable and disable your account’s API access - Manually place trades to buy/sell stocks As noted above, we’ve added a new API feature which will allow users to suspend access to the API with their credentials. This might be useful if one wants to quickly stop an algorithmic trading script from executing. This feature will be added to our official documentation soon, and it is already available through the mobile app. The activity of the [Alpaca community](https://alpaca.markets/slack?ref=alpaca.markets) has been accelerating quickly, and we thank you so much for being a part of this. We are excited to continue to make progress with you! * * * Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ( [alpaca.markets](https://alpaca.markets/?utm_source=medium&utm_medium=blog&utm_campaign=strategy_list&utm_content=part1)), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc. **_You can find us_** [**_@AlpacaHQ_**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **_, if you use twitter._** ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca [Previous Post : Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/manual-trading-stocks/) [Next Post : Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/submit-queue-order-stock-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. ## 2024 Year in Review # Alpaca’s 2024 Year in Review By [Luke West](https://alpaca.markets/blog/author/luke/) • December 20, 2024[0 Comments](https://alpaca.markets/blog/alpaca-2024-year-in-review/#disqus_thread) ![Alpaca’s 2024 Year in Review](https://alpaca.markets/blog/content/images/2024/12/2024-recap-blog.png) Alpaca had a landmark year in 2024 as we became a fully self-clearing broker-dealer and launched new features like options trading. Working with hundreds of global financial institutions, we quickly learned the importance of fully integrating brokerage operations stack (such as execution, clearing, and custody with multiple regulatory approvals) and infrastructure technology with a proprietary codebase. These achievements accelerated our product velocity which allowed more partners to utilize Alpaca’s infrastructure and solutions. This year, we also launched several new products and features for both our broker and retail clients, celebrated many successes of our Broker API partners, expanded our global presence, and won multiple industry awards. As we saw in Q4 of 2024, the macro environments are always changing. However, we will always deliver what empowers both businesses and individuals to build and achieve their financial goals with trust and credibility. All these milestones and product deliveries move us further in our company mission of opening financial services to everyone on the planet. As the year ends, we wanted to reflect on and celebrate the key moments and milestones we had in 2024, while discussing where our focus will be as we approach 2025. ## **New Products and Releases** We had core business updates and released a ton of new products that make investing and trading more accessible and efficient for both enterprise and retail clients. Here's a quick recap: [Self-Clearing at DTCC](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) **:** Alpaca achieved a major milestone by transitioning to self-clearing at the Depository Trust & Clearing Corporation (DTCC). This strategic move provides us with greater visibility and control over our clearing and settlement operations, enabling us to reduce costs, improve efficiency and security, and offer enhanced services to our customers. By becoming a self-clearing broker-dealer, we've strengthened our infrastructure and gained greater flexibility to innovate and scale our operations. [US Options Trading](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/): We expanded our offerings to include US options trading for both global investors and algo traders, opening up new investment opportunities. This expansion provides access to a diverse range of options contracts, allowing investors to implement sophisticated trading strategies and manage risk effectively. By offering options trading, we cater to the needs of experienced traders seeking greater flexibility and control. [Read our latest options trading content](https://alpaca.markets/learn/search?topic=options&ref=alpaca.markets). [High Yield Cash API](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/): We introduced our High-Yield Cash API to help investors earn more on their USD balances. This API allows businesses to seamlessly integrate high-yield cash solutions into their platforms, offering their users a competitive return on idle funds. With the HY Cash API, businesses can enhance their offerings and attract new customers with a valuable and secure cash management tool. [IRA Accounts](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/): Retirement savers can now open and manage Individual Retirement Accounts (IRAs) through our Broker API, making tax-advantaged investing easier. This feature provides a seamless and efficient way for users to plan for their future, offering both Traditional and Roth IRA options. By integrating IRA functionality directly into our API, we empower businesses to provide comprehensive retirement planning solutions to their customers. [FIX API](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/): For our institutional and high-frequency traders, we launched a FIX API, providing a dedicated connection for high-speed, reliable order execution and market data. This solution offers direct market access, reduced latency, and increased throughput, empowering sophisticated traders to execute complex strategies with greater efficiency. [Local Currency Trading API Enhancements](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/): Our Local Currency Trading API was upgraded to support stop, stop-limit, and limit orders with extended hours, giving international investors more control and flexibility. This enhancement allows investors to manage risk and capitalize on market opportunities outside of regular trading hours. By offering advanced order types and extended hours, we continue to expand access to global markets for our international users. [Fractional Shares Enhancements](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/): In February, we enhanced our fractional shares trading to support limit orders and extended hours, making it easier for investors to buy and sell smaller portions of high-priced stocks. This enhancement provides greater flexibility and control for investors looking to diversify their portfolios with smaller investments. [Instant Funding for Broker API](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/): We made funding accounts faster and smoother with instant funding capabilities, allowing investors to start trading immediately. This feature eliminates delays and provides a seamless onboarding experience for new users. By removing friction in the funding process, we enable investors to quickly access the markets and seize opportunities. [Alpaca Elite](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/): Alpaca Elite, a new program designed for advanced algorithmic traders, was introduced, offering low-cost trading, white-glove support, and access to cutting-edge tools. This exclusive program caters to the needs of sophisticated traders, providing them with the resources and support necessary to succeed in today's fast-paced markets. [Streamlined Business Account Onboarding](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/): We simplified the business account onboarding process, making it faster and easier for businesses to start trading with Alpaca. This streamlined process reduces paperwork and accelerates the time it takes for businesses to access our platform and services from days to hours. By simplifying onboarding, we empower businesses to focus on their core operations and leverage our technology to achieve their goals. [SOC 2 Type 2 Compliance Renewal](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/): The successful renewal of SOC 2 Type 2 compliance reinforced Alpaca's commitment to data security and the protection of customer information. These audits validate the effectiveness of the security controls and processes in place, ensuring the confidentiality, integrity, and availability of Alpaca's systems. Multi-Account Support for Paper: As one of the final product updates of the year, we now allow [Trading API](https://alpaca.markets/algotrading?ref=alpaca.markets) clients to create up to three paper accounts. With this feature, traders can easily backtest and deploy multiple trading strategies, compare account performance, and identify issues and optimizations in parallel. We also made it easier to trade options, with Delta, Bid and Ask, Implied Volatility, and ITM/OTM contracts being added to our options chains in the [Alpaca Dashboard](https://app.alpaca.markets/account/login?ref=alpaca.markets). ## **Celebrating Our Partners** We're incredibly proud to partner with innovative companies around the globe who are using [Alpaca's Broker API](https://alpaca.markets/broker?ref=alpaca.markets) to revolutionize the investing landscape. Here are just a few of their success stories: [Sarwa](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/): A leading wealth management platform in the Middle East, Sawra leveraged Alpaca's Broker API to become the first fintech company to offer options trading in the region. By integrating our API, Sarwa expanded its investment offerings, providing users with sophisticated tools and greater access to global markets. This partnership has enabled Sarwa to attract new customers and solidify its position as a pioneer in the Middle Eastern fintech industry. [Thndr](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca): Thndr, a commission-free investment platform based in Egypt, partnered with Alpaca to democratize investing in the MENA region. Using our Broker API, Thndr provides a user-friendly mobile app that makes investing accessible to everyone, regardless of their experience or financial background. This collaboration has empowered a new generation of investors in the MENA region, driving financial inclusion and literacy, with Thndr achieving over 3 million app downloads and facilitating $1.8 billion in trading volume in 2023 alone. [eccuity](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/): A New Zealand-based investment platform, eccuity partnered with Alpaca to simplify complex investment strategies for Kiwi investors. Through our Broker API, eccuity offers innovative tools and educational resources that empower users to make informed investment decisions. This partnership has fostered a thriving investment community in New Zealand, making investing more accessible and understandable. [tyba](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/): A Latin American digital investment app, tyba used Alpaca’s Broker API to significantly reduce the cost of investing in US equities, allowing clients to invest for as little as $1 USD. In less than one year, they’ve processed 80,000 orders, helped over 10,000 Colombians and Peruvians start investing, and reached over $7 million USD in AUM. By partnering with Alpaca, tyba serves a broader segment of the population, including those previously excluded from traditional investing. ## **Expanding Our Global Presence** We [partnered with Derayah Financial](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/), a leading Saudi Arabian investment firm, to bring innovative brokerage solutions to the Middle East. This partnership combines Alpaca's key brokerage infrastructure with Derayah's strategic investment, expanding access opportunities for both global and Saudi investors. Our [partnership with Citadel Securities](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) was extended to unlock Japanese investor demand for US stocks and options trading. This collaboration leverages Citadel Securities' expertise in market making and Alpaca's advanced API technology to provide Japanese investors with seamless and efficient access to the US markets. We [continued our partnership with GITEX GLOBAL](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/), the largest tech show in the Middle East and North Africa, to showcase our commitment to the region's growing fintech ecosystem. Our presence at GITEX GLOBAL allowed us to connect with potential partners, customers, and investors, further strengthening our position in the MENA market. An [integration with QuantConnect](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/), a leading algorithmic trading platform, was implemented to empower quantitative traders worldwide. This integration allows QuantConnect users to seamlessly connect to Alpaca's brokerage infrastructure, execute trades, and access real-time market data, facilitating sophisticated trading strategies and research. ## **Alpaca’s Recognition in the Industry** Industry leaders and experts have recognized Alpaca's commitment to innovation and excellence throughout 2024. [2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/): We were honored to receive the "Most Sophisticated Brokerage for Advanced Traders" award from Benzinga. This recognition highlights our dedication to providing cutting-edge technology, robust infrastructure, and comprehensive tools for sophisticated traders and institutional investors. This award is a testament to our ongoing efforts to empower traders with the resources they need to succeed in today's dynamic markets. [Postman API Awards](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/#:~:text=Alpaca%20has%20been%20recognized%20in,financial%20services%20to%20everyone%20globally.): We were thrilled to be awarded "Best API" by Postman at POST/CON 2024. This award recognizes the quality, usability, and innovation of our Trading API, which enables developers to execute trades algorithmically. This recognition underscores our commitment to providing a developer-friendly experience and empowering our partners to build innovative financial products. ## **What’s Coming in 2025** In 2025, we will demonstrate further trust and confidence in Alpaca's brokerage infrastructure through key initiatives. This includes enhancing our asset class offerings, displaying financial strength, and accelerating the number of new partnerships globally. Together, these advancements will drive our mission further of opening financial services to everyone on the planet by building the global standard for investing infrastructure. * * * _Alpaca Securities LLC and the entities referenced above are not affiliated and neither are responsible for the liabilities of the other._ _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _Fractional share trading allows a customer to buy and sell fractional share quantities and dollar amounts of certain securities. Fractional share trading presents unique risks and is subject to particular limitations that you should be aware of before engaging in such activity. See Alpaca Customer Agreement at_ [_https://alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more details._ _The Paper Trading API is offered by AlpacaDB, Inc. and does not require real money or permit a user to transact in real securities in the market. Providing use of the Paper Trading API is not an offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, given or in any manner endorsed by AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate and the information made available through the Paper Trading API is not an offer or solicitation of any kind in any jurisdiction where AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate (collectively, “Alpaca”) is not authorized to do business._ _Past hypothetical backtest results do not guarantee future returns, and actual results may vary from the analysis._ _High-Yield Cash API is subject to, among other things, the Alpaca’s API terms and conditions. In addition, customer access to the FDIC Bank Sweep is subject to, among other things, the Alpaca Customer Agreement, Alpaca Terms and Conditions, and the Alpaca FDIC Bank Sweep Program Terms and Conditions. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _Alpaca Securities offers a cash management program pursuant to the FDIC Bank Sweep. Customer funds are treated differently and are subject to separate regulatory regimes depending on whether customer funds are held in their brokerage account or within the FDIC Bank Sweep. Specifically, Alpaca Securities is a member of the Securities Investor Protection Corporation (SIPC), which protects securities customers of its members up to $500,000 (including $250,000 for claims for cash). The Federal Deposit Insurance Corporation (FDIC) insures up to $250,000 per deposit against the failure of an FDIC member bank. Customer funds held in brokerage accounts are SIPC insured, but are not eligible for FDIC insurance coverage. Funds maintained in the FDIC Bank Sweep are intended to be eligible for pass-through FDIC insurance coverage, but are not subject to SIPC coverage. FDIC insurance coverage does not protect against the failure of Alpaca, Alpaca Securities, or any of its or their affiliates and/or malfeasance by any Alpaca or Alpaca Securities employee. Program banks that participate in the FDIC Bank Sweep are not members of SIPC and therefore funds held in the Program are not SIPC protected. Please see alpaca.markets/disclosures for important additional disclosures regarding Alpaca Securities brokerage offering as well as FDIC Bank Sweep terms and conditions._ _Alpaca Securities customers that enroll in the FDIC Bank Sweep are potentially eligible for enhanced FDIC pass-through insurance coverage. Neither Alpaca nor Alpaca Securities are FDIC-insured. FDIC pass-through insurance coverage is subject to various conditions. The Program’s enhanced FDIC insurance coverage is limited to the aggregate number of participating program banks, multiplied by the FDIC insurance limit (i.e., $250,000). The total number of program banks is subject to change and Alpaca Securities may not utilize all program banks at all times which will affect the Program’s enhanced FDIC insurance coverage amount. In addition, if a customer has a direct banking relationship with a program bank this may affect the amount of funds that are potentially eligible for FDIC-pass through insurance coverage. There is no guarantee that customer funds will be held in such a manner as to maximize possible FDIC pass-through insurance coverage. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _Extended Hours trading has unique risks and is different than trading in the main trading session, for more information please visit our_ [_Alpaca Extended Hours Trading Risk Disclosure_](https://files.alpaca.markets/disclosures/library/ExtHrsRisk.pdf?ref=alpaca.markets) _._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not ensure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change. The examples above are for illustrative purposes only._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) [Next Post : tyba: Creating Investment Access in Latin America](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca 2021 Highlights # Alpaca 2021 Year in Review By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • January 11, 2022[0 Comments](https://alpaca.markets/blog/alpaca-2021-year-in-review/#disqus_thread) ![Alpaca 2021 Year in Review](https://alpaca.markets/blog/content/images/2022/01/Alpaca-Year-in-Review-2021.png) With 2021 in the rearview mirror and a new year in front of us, we’re taking a moment to reflect on the milestones that have shaped Alpaca in the last twelve months. Let’s take a trip down memory lane. ### 1\. We announced Alpaca Broker API, Crypto API, and Market Data API! Launching a new product is never easy, but we went full speed ahead and launched three new products in 2021 – [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets), [Crypto API](https://alpaca.markets/crypto?ref=alpaca.markets), and [Market Data API](https://alpaca.markets/data?ref=alpaca.markets). Thanks to your support, we launched on Product Hunt and were awarded #1 Product of the Day and #1 Product of the Week twice. ### 2\. We expanded our partnerships Partnerships were a huge focus for us in 2021, and they’ll continue to be a priority in 2022. Last year, we launched partnerships with [Snap Inc.](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/), [TradingView](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/), [Plaid](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/), and [ErisX](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/), to name a few, and there are plenty more to come. We’re fully committed to integrating with the platforms that you already use to offer the best experience possible with Alpaca. ### 3\. Our engineering team launched a new order management system ![](https://lh6.googleusercontent.com/LbLhH8EktKdustS0kTlobvBdH3bYH70V9mcJ19x0fG7bYU0FI0WCvgqcORvMeFG4djSevn4Ezc0tqeG0kqJzwXIKOvXh-hjnE1lHo0SKd1zBOsyFWDlrRACa9p9r8UlgE2drwUYo) Last year, we experienced tremendous growth in direct trading clients via our Trading API, as well as new retail type clients via our Broker API partners. To support this growth, we introduced a new order management system (OMS) that significantly improved order processing latency and scalability. Now, order processing is 100x faster!Find out more about OMS v2 [here](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/). ### 4\. We saw the Alpaca Slack Community grow to 10,000+ members Our community has always been an integral part of our journey, and with more than 10,000 community members from all corners of the world–from Nigeria to France and England to Japan–we’re beyond grateful for each and every one of you. In 2022, we aspire to become even more community-led and focused. Join our [Slack Community](https://alpaca.markets/slack?ref=alpaca.markets) to hear the latest news first. ### 5\. We raised $50M in Series B funding We raised [$50M in Series B](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/)! A huge shoutout to all of our investors for making everything we do possible. The fundraising round was led by [Tribe Capital](https://tribecap.co/?ref=alpaca.markets) with participation from [Horizons Ventures](https://horizonsventures.com/?ref=alpaca.markets), [Eldridge](https://www.eldridge.com/?ref=alpaca.markets), and [Positive Sum](https://www.positivesumvc.com/?ref=alpaca.markets). Existing investors, [Portage Ventures](https://portagevc.com/?ref=alpaca.markets), [Spark Capital](https://www.sparkcapital.com/?ref=alpaca.markets), and [Social Leverage](https://www.socialleverage.com/?ref=alpaca.markets), also participated in the round. ### 6\. The Alpaca team grew by 112 new employees Thanks to our Series B raise, we were able to accelerate our growth plans on multiple fronts—including hiring. We welcomed 112 new-joiners to Alpaca in 2021 and are now operating in 20 countries. We’re still hiring! Want to be a part of Alpaca? ![](https://lh4.googleusercontent.com/eiQ8KdT_xjNHdYCNzoWio4ufvENyUaVEUct4JKNS7c5gB_2355X5MYhZWIbkwZodagszdhPS4ac_D6qtp8Pp1r6eIUKrkE0o4L-ghvw5gln4HXx6noALMirwdSe03l-ESnaSNo5-)[Explore Open Roles](https://jobs.ashbyhq.com/Alpaca?ref=alpaca.markets) ### Here’s to 2022 ? We’ve poured our heart and soul into everything that we achieved this year, but we couldn’t have done any of this without you. Thank you for your support, and stay tuned for more exciting updates in 2022! * * * Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are provided by Alpaca Crypto LLC ("Alpaca Crypto"), a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/10/Image-from-iOS--1-.jpg)](https://alpaca.markets/blog/author/crystal/) About [Crystal Xue](https://alpaca.markets/blog/author/crystal/) [Previous Post : Market Data API v1 Sunset Notification](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) [Next Post : Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## SDK Release Notes # SDK Release Notes - January 2022 By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • February 02, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-january-2022/#disqus_thread) ![SDK Release Notes - January 2022](https://alpaca.markets/blog/content/images/2022/02/SDK-Release-Notes-January-2022_blog-1.png) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. The News API is now available for accessing historical and live news data for over 1000 equity and cryptocurrency symbols. In this release, all of the SDKs have been updated with the ability to access news data. You can install the Alpaca Trade SDK using one of the following language specific CLI commands. ``` python pip3 install alpaca-trade-api ``` Copy ``` javascript npm install @alpacahq/alpaca-trade-api ``` Copy ```# c dotnet add package Alpaca.Markets ``` Copy ``` go go get -u github.com/alpacahq/alpaca-trade-api-go/v2/alpaca ``` Copy PythonJavascriptC#Go ## [alpaca-trade-api-python v1.5.0](https://github.com/alpacahq/alpaca-trade-api-python?ref=alpaca.markets) ### New Features - The News API has been integrated with the SDK. Historical news data can be accessed using the `get_news` method within the REST client. Live news data can be subscribed with the `subscribe_news` method within the Streaming client. ### Improvements - We’ve added the ability to subscribe to raw trade data within the Streaming client. Previously, there was no way to query raw trade data through the SDK. - Market Data V1 has now been deprecated. Following this change, some methods within the REST and Streaming clients have also been deprecated ## [alpaca-trade-api-js v2.12.1](https://github.com/alpacahq/alpaca-trade-api-js?ref=alpaca.markets) ### New Features - The News API has been integrated with the SDK. Historical news data can be accessed using the `getNews` method within the Alpaca client. A news websocket client has also been added for live news data. ## [alpaca-trade-api-csharp v5.2.8](https://github.com/alpacahq/alpaca-trade-api-csharp?ref=alpaca.markets) ### New Features - The News API has been integrated with the SDK. Historical News data can be accessed using the `AlpacaDataClient` and live news data through the `AlpacaNewsStreamingClient`. ### Improvements - Added changes to move towards a more consistent response structure for `ICalendar` ## [alpaca-trade-api-go v2.2.0](https://github.com/alpacahq/alpaca-trade-api-go?ref=alpaca.markets) ### New Features - The News API has been integrated with the SDK. Historical news data can be accessed using the `GetNews` method within the rest client. A streaming client has also been added for live news data. ### Improvements - Fixed market data stream read limit. - Fixed missing `fmt` import in `stream/flow.go` ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/rahul/) About [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) [Previous Post : Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) [Next Post : Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca SDK Release Notes # SDK Release Notes: March 2022 By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • April 08, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-march-2022/#disqus_thread) \\Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. You can install the Alpaca Trade SDK using one of the following language specific CLI commands. ``` python pip3 install alpaca-trade-api ``` Copy ``` javascript npm install @alpacahq/alpaca-trade-api ``` Copy ```# c dotnet add package Alpaca.Markets ``` Copy ``` go go get -u github.com/alpacahq/alpaca-trade-api-go/v2/alpaca ``` Copy PythonJavascriptC#Go ## [alpaca-trade-api-python v2.0.0](https://github.com/alpacahq/alpaca-trade-api-python?ref=alpaca.markets) **Note: This release is a breaking change ​​due to the removal of Market Data V1 capabilities** ### New Features - Removed marketdata v1 functions ( [#590](https://github.com/alpacahq/alpaca-trade-api-python/pull/590?ref=alpaca.markets)) - Updated overnight-hold to use the new data api (async get bars) ( [#562](https://github.com/alpacahq/alpaca-trade-api-python/pull/562?ref=alpaca.markets)) - Add Week and Month timeframe units ( [#583](https://github.com/alpacahq/alpaca-trade-api-python/pull/583?ref=alpaca.markets)) - Added Multi symbol support for the latest crypto endpoints ( [#580](https://github.com/alpacahq/alpaca-trade-api-python/pull/580?ref=alpaca.markets)) ### Improvements - Scheduled weekly dependency update for week 12 ( [#592](https://github.com/alpacahq/alpaca-trade-api-python/pull/592?ref=alpaca.markets)) - Increased ping timeout ( [#591](https://github.com/alpacahq/alpaca-trade-api-python/pull/591?ref=alpaca.markets)) - Sent subscription requests in parts ( [#586](https://github.com/alpacahq/alpaca-trade-api-python/pull/586?ref=alpaca.markets))Added a param to the stream classes to allow overriding of websocket defaults ( [#596](https://github.com/alpacahq/alpaca-trade-api-python/pull/596?ref=alpaca.markets)) ## [alpaca-trade-api-js v2.13.0](https://github.com/alpacahq/alpaca-trade-api-csharp?ref=alpaca.markets) ### New Features - Moved updated bars to their own subscription ( [#195](https://github.com/alpacahq/alpaca-trade-api-js/pull/195?ref=alpaca.markets)) - Added Multi symbol support for the latest crypto endpoints ( [#198](https://github.com/alpacahq/alpaca-trade-api-js/pull/198?ref=alpaca.markets)) ### Improvements - Updated so that axios's returned values are no longer wrapped ( [#201](https://github.com/alpacahq/alpaca-trade-api-js/pull/201?ref=alpaca.markets)) - Fixed limiting issue in Market Data V2 ( [#200](https://github.com/alpacahq/alpaca-trade-api-js/pull/200?ref=alpaca.markets)) ## [alpaca-trade-api-csharp v5.2.15](https://github.com/alpacahq/alpaca-trade-api-csharp?ref=alpaca.markets) ### New Features - Added support for the corporate actions retrieval APIs into the `IAlpacaTradingClient` interface. ( [#476](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/476?ref=alpaca.markets)) - The FTX was added to the list of supported crypto exchanges. ( [#475](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/475?ref=alpaca.markets)) - Added support for the new historical bar time frames - Week and Month values of `BarTimeFrameUnit` enumeration. ( [#461](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/461?ref=alpaca.markets)) - Added multi-symbols requests support for the latest bars, quotes, and trades into stock and crypto data clients.Added some pre-defined values into the `BarTimeFrame` type for a week, month, quarter, etc. ### Improvements - Fixed the problem with data streaming connectivity on .NET Standard 2.0 and .NET 5+ targets. ( [#486](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/486?ref=alpaca.markets)) - Fixed problem with fractional order quantity validation for market and bracket orders. ( [#481](https://github.com/alpacahq/alpaca-trade-api-csharp/issues/481?ref=alpaca.markets)) ## [alpaca-trade-api-go v2.2.](https://github.com/alpacahq/alpaca-trade-api-go?ref=alpaca.markets) 1 ### New Features - Added OAuth support for trade updates ( [#198](https://github.com/alpacahq/alpaca-trade-api-go/pull/198?ref=alpaca.markets)) - Added the ListOrdersWithRequest function ( [#196](https://github.com/alpacahq/alpaca-trade-api-go/pull/196?ref=alpaca.markets)) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/rahul/) About [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) [Previous Post : Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) [Next Post : Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Crypto and Stock Logos # Display Logos of Popular Crypto & Stock Symbols with Broker API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 22, 2022[0 Comments](https://alpaca.markets/blog/display-logos-of-popular-crypto/#disqus_thread) ![Display Logos of Popular Crypto & Stock Symbols with Broker API](https://alpaca.markets/blog/content/images/2022/06/Logo_API_Social--1-.png) We’re excited to announce the launch of Logo API for Alpaca Broker API. Through our partnership with [Benzinga](https://www.benzinga.com/?ref=alpaca.markets), you can now embed company or asset logos of popular stocks and crypto coins like  Apple, Tesla, Google, Bitcoin, Ethereum, and more. ## Incorporate Logos into your App Interface with Broker API Logo API offers your customers a unique visual experience that enables them to instantly recognize a logo from select crypto or stock symbols. This new capability enhances the app user interface by displaying company or asset images next to their relevant data. Logo API is designed to help make it easier for you to track, maintain and retrieve up-to-date images. The below curl request example returns a PNG logo image (300x300 pixel resolution) for the prominent company logo of Apple (APPL). ```python curl --location --request GET 'https://data.alpaca.markets/v1beta1/logos/AAPL' \ --header 'APCA-API-KEY-ID: ' \ --header 'APCA-API-SECRET-KEY: ' ``` Logo API **Note:** Authentication is required to access Logo API endpoint `https://data.alpaca.markets/v1beta1/logos/{symbol}`  in order to retrieve image files. ### Key Features of Logo API - Access real-time logos of 20+ supported crypto coins and popular stock symbols - Images are available in PNG format with 300x300 pixel resolution - A simple and easy-to-use Broker API integration - Maintain and retrieve up-to-date company logos with a simple URL - Unlimited sandbox testing via the Alpaca Broker API dashboard - 24/7 global support **Logo API is an add-on product feature,** available in both the [Essential and Core plans](https://alpaca.markets/blog/announcing-new-alpaca-broker-api-plans/) and will incur an additional cost. If you are on the Essential plan, you can request more information on Logo API  by reaching out to us at [brokersupport@alpaca.markets](mailto:brokersupport@alpaca.markets). If you are on the Core plan, please reach out to your Customer Success Manager to request this add-on. ### For Existing Broker API Partners Please reach out to your Customer Success Manager if you are interested in learning more about Logo API and how you can add it to your existing plan. ### Get Started With Logo API Check out our [documentation](https://alpaca.markets/docs/api-references/broker-api/logos/?ref=alpaca.markets) for additional information on Logo API and reach out to [sales@alpaca.markets](mailto:sales@alpaca.markets) on how Alpaca’s suite of Broker API solutions can help build and launch your app. [Logos\\ \\ Open brokerage accounts, enable crypto and stock trading, and manage the ongoing user experience with Alpaca Broker API\\ \\ ![](https://alpaca.markets/docs/favicon.png)Alpaca Docs\\ \\ ![](https://alpaca.markets/docs/docs-meta.png)](https://alpaca.markets/docs/api-references/broker-api/logos/?ref=alpaca.markets) [GET API KEYS](https://broker-app.alpaca.markets/sign-up?ref=alpaca.markets) * * * Please note that this article is for general informational purposes only. All screenshots are for illustrative purposes only. Alpaca Securities LLC and Alpaca Crypto LLC are not affiliated with Benzinga. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Depending on your location, cryptocurrency services may be provided by West Realm Shires Services, Inc., d/b/a FTX US (NMLS #1957771). Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities, Alpaca Crypto, or FTX US respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) [Next Post : Introducing Alpaca Connect Marketplace](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. [iframe](about:blank) ## Alpaca at GITEX 2024 # Alpaca Continues Its Partnership with GITEX GLOBAL 2024 By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • September 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/#disqus_thread) ![Alpaca Continues Its Partnership with GITEX GLOBAL 2024](https://alpaca.markets/blog/content/images/2024/09/gitex-article-1.png) We are delighted to announce our continued partnership with [GITEX GLOBAL](https://www.gitex.com/?ref=alpaca.markets) in 2024 at the Dubai World Trade Center as a community partner. Alpaca continues to increase its commitment to the region by collaborating with a number of partners across the GCC. We’re excited to join you again at GITEX GLOBAL 2024 alongside leading founders, investors and corporate innovators! ## What is GITEX GLOBAL 2024? GITEX GLOBAL 2024, marking its 44th edition, stands as one of the world's most established and iconic large-scale tech exhibitions. For over four decades, it has been the premiere gateway for tech creators, investors, and enthusiasts to collaborate. This year, the event spans across two mega venues – Dubai World Trade Centre & Dubai Harbour. It offers 40+ halls of exhibition space showcasing tech giants and innovative startups in fields like AI, Cybersecurity, Mobility, Sustainable Tech, and more. Prepare for five exhilarating days filled with conferences, live-action workshops, matched concierge networking, and business partnerships. Are you ready to be part of the largest tech and startup event in the world? ## Register and save with Alpaca As a community partner, Alpaca’s network receives an exclusive 25% discount on delegate passes with promo code **ALPCGG25**. You can [register now](https://visit.gitex.com/Event/GITEXGLOBAL/Visitor/Package/Compare?utm_source=CommunityPartners_Alpaca&utm_medium=Community_partners&utm_campaign=CommunityPartners_Alpaca) but note that this promotion is only valid until October 18, 2024. * * * _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [**_FINRA_**](https://www.finra.org/?ref=alpaca.markets) _/_ [**_SIPC_**](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [**_Disclosure Library_**](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : Sarwa first fintech to launch Options Trading in the Middle East](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) [Next Post : IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Order Submission Feature # Now You Can Submit Orders Outside of Market Hours with Alpaca API By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 18, 2018[0 Comments](https://alpaca.markets/blog/submit-queue-order-stock-trading/#disqus_thread) ![Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/content/images/2020/03/1_NRmFLgceg9dqL0xkfglrAw.jpeg) We are introducing the Order-Queuing feature in the [Alpaca Trading API](https://docs.alpaca.markets/web-api/?ref=alpaca.markets). Now you can submit orders outside of market hours! (Brokerage services are offered through Alpaca Securities LLC) ### Submit & Queue Orders for the Next Market Open As one of the many steps towards a more advanced trading platform, we are pleased to let you know that we have allowed everyone to submit and queue orders for the next market open. Previously, your order-submission API calls while the market was closed were rejected, and we asked you to submit again after the market opened. From now on, those API calls are accepted with a success status and the orders are routed to the marketplace at the next available time. This allows you to not only submit your orders the night before but also to submit “OPG” time-in-force order to participate in the market open auction. You can always check our [user documentation](https://docs.alpaca.markets/?ref=alpaca.markets) ( [https://docs.alpaca.markets/](https://docs.alpaca.markets/?ref=alpaca.markets)) for how orders work at Alpaca. [Documentation \| Alpaca\\ \\ Alpaca API lets you build and trade with real-time market data for free.\\ \\ ![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca\\ \\ ![](https://alpaca.markets/docs/images/alpacalogo.png)](https://alpaca.markets/docs/?source=post_page-----ed1d8ddb913----------------------) **Please do not be confused** — this feature is not to allow extended-hours trading. Orders aren’t filled until the market’s next trading session. For extended hours trading, as well as other additional capabilities such as different order types, we are working on our backlog and hope to deliver these features as soon as they are ready. Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ( [alpaca.markets](https://alpaca.markets/?utm_source=medium&utm_medium=blog&utm_campaign=strategy_list&utm_content=part1)), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc. You can find us [@AlpacaHQ](https://twitter.com/AlpacaHQ?ref=alpaca.markets), if you use twitter. **Note:** This information is out of date, for the the latest news regarding extended hours please [click here.](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca [Previous Post : Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) [Next Post : Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Non-US Live Trading Update # Finally an Update for Non-US Resident Alpaca Users By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 30, 2020[0 Comments](https://alpaca.markets/blog/non-us-live-trading-beta/#disqus_thread) ![Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/content/images/2020/07/non-US-alpaca.png) ## Invite Only Beta Live-Trading for Non-US Resident Alpaca Users We want to let you know that we have started an invite-only beta program for non-US resident Alpaca users to open live-trading accounts ✌️. If you are interested in this, please [fill out the form](https://forms.gle/9ELiT8m55fsnDjTd8?ref=alpaca.markets) below to be on the list. [Alpaca International Live Trading Account: Interest Indication Form\\ \\ Alpaca international live-trading account is now invite-only beta ✌️! Please voice your interest here to stay updated for us to onboard you. We are working to remove certain restrictions that we have for today’s beta program, and we start sending invites to the users who are okay with (1) $30,000 i…\\ \\ ![](https://ssl.gstatic.com/docs/forms/device_home/android_192.png)Google Docs\\ \\ ![](https://lh3.googleusercontent.com/cT4_MSE0VvdPXYtnglk0AhZ9Jx_IEJbLLGtpALRtc_tlmTphcVJ8oX-bZUDV1r8wjaazq9M=w1200-h630-p)](https://forms.gle/9ELiT8m55fsnDjTd8?ref=alpaca.markets) ## How We Send the Invites Due to the nature of this beta program, there are several restrictions including that the Alpaca Securities LLC brokerage (aka live-trading account on Alpaca) is available internationally on a limited basis for "non-solicited" customers\* only. _\\* Any customer onboarding for live brokerage must electronically sign a Non-Solicitation Agreement certifying that the customer was not directly solicited to open a live brokerage account and must indicate how they became aware of Alpaca._ Although we are working to remove certain restrictions that we have with today’s beta program, we start sending invites to the users who are okay with **(1) $30,000 initial funding**, and **(2) using international-wire transfer to deposit funds**. _(Pls note that this beta program does not support TransferWise or Revolut option, but supports an international-wire only. ACH does not work with a bank account outside the US.)_ Additionally, there are certain jurisdictions that are easier for us to serve users in than others. Unfortunately, working with various jurisdictions has been more complicated than it seems, and we are going to take this into account when sending the invites out. We appreciate your patience and kind understanding that we, unfortunately, cannot be as transparent and straightforward as we want to be in terms of who are receiving the invites first. ## How It Works (1) In this invite-only beta program, we first ask you to [fill out the form here](https://forms.gle/9ELiT8m55fsnDjTd8?ref=alpaca.markets). ![](https://alpaca.markets/blog/content/images/2020/07/image-1.png)[https://forms.gle/9ELiT8m55fsnDjTd8](https://forms.gle/9ELiT8m55fsnDjTd8?ref=alpaca.markets) (2) Once you are selected for an invite, we send a link for you to start a live-trading account opening process for a non-US resident. You should land on the screen like this. ![](https://alpaca.markets/blog/content/images/2020/07/image-2.png) (3) After your live-trading account is approved, please read the Wire Instruction carefully to use international-wire to deposit funds to your live-trading account, so that you can start trading. _(Pls note that this beta program does not support TransferWise or Revolut option, but supports an international-wire only. ACH does not work with a bank account outside the US.)_ ![](https://alpaca.markets/blog/content/images/2020/07/image-3.png) Thank you for your continued support of Alpaca! * * * **Follow** [**@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!** _Commission-Free trading means that there are no commission charges for Alpaca brokerage accounts that trade U.S. listed securities through an API. Relevant SEC and FINRA fees may apply._ _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC, member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States)._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss, in a down market. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). Sponsored [Previous Post : Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) [Next Post : Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/business-brokerage-account-beta/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca at Ai Everything # Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX By [Luke West](https://alpaca.markets/blog/author/luke/) • January 20, 2025[0 Comments](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/#disqus_thread) ![Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX](https://alpaca.markets/blog/content/images/2025/01/gitex-article.png) As a community partner, we are excited to be attending GITEX’s [Ai Everything GLOBAL](https://aieverythingglobal.com/home?ref=alpaca.markets) from February 4 to 6, 2025, in Abu Dhabi & Dubai! ## **What Is Ai Everything GLOBAL?** Ai Everything GLOBAL is a revolutionary, inaugural event occurring in two of the largest international capitals of AI investment — Abu Dhabi and Dubai. This will welcome founders, thought leaders, investors, and corporate innovators to explore the opportunities awaiting in the rapidly accelerating AI revolution, with the UAE standing proud as a global innovation hub. As AI reshapes the global economy with promise and potential, it also sparks urgency, raising critical questions that only a united global ecosystem can address. While simultaneously exploring new possibilities, Ai Everything GLOBAL is designed for meeting emerging challenges head-on and fostering responsible cross-sector AI development across government, enterprise, and startups. From big tech to startups, governments, investors, academia, and research hubs, Ai Everything GLOBAL provides an empowering yet inclusive platform to facilitate collaboration in the AI economy. This event promises the perfect setting to shape the future with hosting thought-provoking discussions around: elite AI case studies, applied research use cases, policy debate, partnership creation, and the acceleration of commercial application. ## **Register with Alpaca** We look forward to seeing you there! [Register now](https://visit.aieverythingglobal.com/Visitor/Package/AllPackages?ref=alpaca.markets). * * * _Alpaca Securities LLC and Gulf Information Technology Exhibition (“GITEX Global” or “GITEX”) are not affiliated, and neither are responsible for the liabilities of the other._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) [Next Post : Alpaca’s 2024 Year in Review](https://alpaca.markets/blog/alpaca-2024-year-in-review/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Shorting Prevention Update # Shorting Prevention Breaking Change Notification By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 30, 2021[0 Comments](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/#disqus_thread) ![Shorting Prevention Breaking Change Notification](https://alpaca.markets/blog/content/images/2021/09/Shorting-Prevention-Breaking-Change-Notification_blog-cover-6.png) ### Current Issue and Customer Impact Outside of market hours, fractional\* trading customers were able to sell more shares than they own in their accounts, resulting in an unintentional short position. This was an issue that only occurred outside of market hours and has happened with notional and quantity based orders of the same security. In order to prevent mixed notional and quantity sell sequences outside of market hours, we will introduce a breaking change. ### Solution and Breaking Change We have adjusted the order acceptance criteria outside the market session so customers don’t end in a net short position. Starting on October 27, 2021, customers will not be able send the following sequence of orders outside of market hours: ![](https://alpaca.markets/blog/content/images/2021/09/Screen-Shot-2021-09-29-at-12.52.52-PM.png) ### Release Timeline We plan for this change to take effect in the Trading API and Broker API live environments starting on **October 27, 2021**. For Paper Trading and the Broker API sandbox environment, we plan to enable this change on **October 13, 2021**. We’ll ensure that our SDKs are updated as well. We understand the change may impact your client code but hope it will provide a better experience. Thank you for your understanding and please feel free to send any questions to support@alpaca.markets. \*Alpaca does not make recommendations with regard to fractional share trading, whether to use fractional shares at all, or whether to invest in any specific security. A security’s eligibility on the list of fractional shares available for trading is not an endorsement of any of the securities, nor is it intended to convey that such stocks have low risk. Fractional share transactions are executed either on a principal or riskless principal basis, and can only be bought or sold with market orders during normal market hours. _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_**FINRA**_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_**SIPC**_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) [iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=top&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fshorting-prevention-breaking-change-notification%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fshorting-prevention-breaking-change-notification%2F&disqus_version=current&sourceless=false)[iframe](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fshorting-prevention-breaking-change-notification%2F&t_d=Shorting%20Prevention%20Breaking%20Change%20Notification&t_t=Shorting%20Prevention%20Breaking%20Change%20Notification&s_o=default#version=3aff0245248612911681b2f961ab8531)[iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=bottom&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fshorting-prevention-breaking-change-notification%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fshorting-prevention-breaking-change-notification%2F&disqus_version=current&sourceless=false) [Previous Post : Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) [Next Post : Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Market Data API Update # Market Data v2 Beta Status Update By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • March 25, 2021[0 Comments](https://alpaca.markets/blog/market-data-api-beta-update/#disqus_thread) ![Market Data v2 Beta Status Update](https://alpaca.markets/blog/content/images/2021/03/blog_img-4.png) We launched our data v2 in public beta at the end of February after launching v1 last May. Users had no longer access to Polygon’s data with their Alpaca API keys and could choose between signing up with Polygon.io for a free month to use their data, use Alpaca’s data v1 or upgrade and starting using Alpaca’s data v2. The change hasn’t affected Alpaca data v1 and currently there’s no plan to remove the v1 endpoints - your algos can continue to use them. One thing to remember is the v1 market data is sourced from IEX and only covers one exchange. The v2 Unlimited data is directly from SIP feeds and is the same market data as Polygon.io uses. ### A little bit about v2 and streaming post-mortem Alpaca’s new data feed is coming as direct feed from exchanges known as SIP. This gives us ultra low latency and high reliability as the data comes directly into our bare metal servers located in New Jersey next to most of the market participants. We partnered with ICE Data Service to receive the feed and worked on this for many months - now it’s fully up and running. As the data volume can easily exceed one million messages per second, it is delivered with multicast UDP. We built our own stack from scratch to consume this high velocity data reliably, and deployed blade servers physically connected to the data source. The data receiver and streaming endpoint are running on our Kubernetes cluster deployed on these blade servers, which gives us resilient and elastic service capability. Not long after the launch of the new API in beta, the community reported that there were missing trades and quotes on the live data feeds compared to other data providers. Engineers dug into this problem right away as the highest priority, and found the packet loss problems on the UDP interface. As you probably know, UDP does not guarantee the delivery of the IP packets as protocol, and it is not an easy problem to make sure packets are not missed. After a lot of day-and-night efforts, we identified the root cause and quickly deployed the fix. Following this, all the network packet drops disappeared and as a result, the 60s logs show that we have now 0 dropped packets: > $ wc -l alpaca\_sorted.log reference\_sorted.log > > 185852 alpaca\_sorted.log > > 181171 reference\_sorted.log We understand it was not ideal that we found this issue after the launch, but at the same time we fully appreciate the community’s reporting as it could have been a lot later to find it without the feedback. While we apologize for the inconvenience you encountered during the testing, we are very thankful and motivated to work with the community to build the best platform ever. ### 5 years historical data now available We finished backfilling all trades, quotes and bars for the 2016-2020 period, these are now available through the APIs. However, the 2021 data still has gaps resulting from the difficulties with the streaming service. We are in the process of backfilling to date and will provide regular updates to the community. Please refer to the most recent status of the available historical data [here](https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-data-api-v2/?ref=alpaca.markets#public-beta-status). ![](https://lh4.googleusercontent.com/AqvFzgx3yIyjs6jqx46mH_OIsHO8Ui2-WPYrQ_lW--v8eNj6xI1MD-_g9z5Y71DBpSFCfcvJqXdoe8xJ42hpVhXXCsHgR0mD1uemC-3L55dxu-XV9s0nH7uwYqOdjvT6KDgiCi8m) For more information on how to fetch historical data on v2, refer to our resource material [here](https://alpaca.markets/learn/fetch-historical-data/?ref=alpaca.markets). ### Renaming plans We are listening to developers’ feedback and renaming our current subscription plans to avoid confusion. From now on the Basic plan will be called Free plan and the Pro plan will be called Unlimited plan. The Free plan is great for new users that are looking to test out the platform with IEX which provides merely ~2.5% market volume. Our Unlimited plan is great for live trading use – such as building basic algos or creating your own trading app or stock screener. This plan comes with unlimited API usage and access to data from all US exchanges from both SIPs providing 100% market volume. ### One more month free beta period! We are extending our beta period to give you one more month of free Unlimited plan! If you haven’t yet subscribed, please go to the [Market data subscription page](https://app.alpaca.markets/brokerage/new-account/data-subscription?upd=1&ref=alpaca.markets) to choose your plan. If you are already subscribed, no action is required - please see your updated next invoice date on your Market data subscription page. ![](https://alpaca.markets/blog/content/images/2021/03/data_invoice.png) For details on the changes and how to sign up, refer to our previous article [here](https://alpaca.markets/blog/market-data-api-launch/). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/abel/) About [Abel Sohajda](https://alpaca.markets/blog/author/abel/) [Previous Post : Introducing Alpaca Broker API](https://alpaca.markets/blog/introducing-broker-api/) [Next Post : Introducing Fractional Trading](https://alpaca.markets/blog/fractional-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Commission-Free Trading API # Commission-Free API Stock Brokerage Is Finally Here By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 23, 2018[0 Comments](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/#disqus_thread) ![Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/content/images/2020/03/16x9-1.png) ### [Fintech Startup Alpaca Unveils World’s First Commission Free API Stock Broker For Automated Investing And Trading](https://alpaca.markets/?utm_source=blog&utm_medium=publaunch) Just as Technology Transformed Institutional Trading on Wall Street, Now Retail Investing will be Transformed by Algorithms and AI That Automate Trading into Process that Can Easily Execute Thousands of Trades a Day. Company Also Closes Pre-Series A, Bringing Total Funding to $6 Million. ### **The World’s First Commission-Free Algo Trading Platform** San Mateo, CA — Oct. 23, 2018 — Alpaca Securities LLC (“ [Alpaca](https://alpaca.markets/?utm_source=blog&utm_medium=publaunch)“), a Silicon Valley based API stock brokerage for developers and bots, today launched the world’s first commission-free trading platform where individuals can easily use algorithms, trading bots and artificial intelligence in their investing and trading activities. “Alpaca is going to transform stock trading by making available to retail traders all of the technology and science that has transformed institutional trading,” said Yoshi Yokokawa, CEO and co-founder of Alpaca, which is an SEC and FINRA registered broker-dealer. “In the beginning, individual coders who build algorithmic strategies will be able to connect those algorithms with our commission-free trading API and begin trading on our platform. Over time, we’ll make algorithmic investment strategies available there to non-coder investors who want to manage their investment with customizable strategies such as automated asset allocation and rebalancing strategies, and they’ll never have to manually execute a buy or sell order again.” Alpaca has been notifying some in the trading and developer community of its impending launch and already more than 4,000 accounts have registered on a waiting list. The large number of accounts attracted to the Alpaca is another indication of the surge in interest in algorithms for trading over the past few years. ### **Integration With QuantConnect** Alpaca has also been working closely with [**QuantConnect**](https://www.quantconnect.com/?ref=alpaca.markets), an algorithmic trading platform that enables investors to design, build and test quantitative strategies. QuantConnect serves over 65,000 quants from more than 170 countries, and its users have designed more than 1.8 million trading strategies. The QuantConnect integration makes it seamless for users to build algorithms, test them and then trade on Alpaca’s commission-free, automated platform. “Alpaca is on track to become a much-needed solution for the growing number of algorithmic investing enthusiasts who may require a commission-free brokerage to automate their investing,” said Jared Broad, founder and CEO of QuantConnect. “I anticipate that the quants on our platform, and hundreds of thousands of other coders who are seeking to pioneer algorithmic strategies to deploy in the retail investment environment, will welcome Alpaca to the market. There’s a need in the space for a brokerage dedicated to facilitating automated and quantitative trading, and Alpaca is positioned to meet that need.” ### **Integration For The Quantopian Community** [**Quantopian**](https://www.quantopian.com/?ref=alpaca.markets), a platform where freelance quantitative analysts develop, test, and use trading algorithms to buy and sell securities has played a key role, and its community has nearly doubled year-over-year for the last four years. Quantopian’s community of more than 225,000 has run more than 9 million backtests on algorithmic trading strategies. Quantopian also builds and maintains Zipline, and Alpaca has built an integration to allow the Quantopian community to easily run algorithms with Alpaca’s commission free trading API. “Quantopian provides the world’s leading quantitative finance platform for anyone to come create and test their algorithmic trading strategies,” said John Fawcett, founder and CEO of Quantopian. “Zipline is the standard for backtesting. Alpaca’s new retail quant trading product is a great example of Zipline accelerating innovation in our industry.” ### **Platform To Enable Automation** Current commission free trading platforms are built still expecting that all trades be executed via manual buy and sell orders. And they are not built to handle the repetitive and frequent trading that is automated by algorithms and artificial intelligence. On Alpaca, traders will be able to open an account, deposit money and then deploy their own algorithms or trading bots so that all stock transactions occur automatically. The technology Alpaca developed is already in use at institutions in Asia, including Mitsubishi UFJ Financial Group (MUFG), the largest financial institution in Japan. ### **Closing $3M Pre-Series A Round** Today the company also announced it has closed a $3 million Pre-Series A. Alpaca has raised more than $6 million in total since the company was founded in 2015. Investors include: - **Global Brain**, one of the largest venture capital firms in Japan - **Chihiro Asano**, a serial entrepreneur, angel investor, also a co-founder and former CTO of Japan’s MoneyForward, which went public in 2017 - **D4V (Design for Ventures)**, a venture capital firm in partnership with IDEO - **Eric Di Benedetto**, a fintech angel investor with more than 30 IPO and M&A exits - **Members of Berkeley Angel Network**, a group of angel investors comprised of alumni of UC Berkeley - **Archetype,** a seed/early stage venture capital investing in tech-driven companies - **Joshua S. Levine**, FINRA public governer and former CTO/COO of ETRADE Financial ![](https://alpaca.markets/blog/content/images/2020/03/Alpaca-Algo-Dashboard.jpg)**About** [**Alpaca**](https://alpaca.markets/?utm_source=blog&utm_medium=publaunch) Alpaca is a Silicon Valley based API stock brokerage for developers and bots. Alpaca is dismantling the old system of stock trading that required investors to constantly monitor stocks and enter buy and sell orders manually by introducing a commission-free trading platform where individuals can easily use algorithms, trading bots and artificial intelligence. The company’s database and AI technology are already used by institutional investors in Asia. Alpaca is currently accepting users at [https](https://alpaca.markets/?utm_source=blog&utm_medium=publaunch) [://alpaca.markets/](https://alpaca.markets/?ref=alpaca.markets). Securities are offered through Alpaca Securities LLC. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/yoshi/) About [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) Co-founder & CEO of Alpaca [Previous Post : The Automation of Wealth Management](https://alpaca.markets/blog/automation-of-wealth-management/) [Next Post : 9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## High-Yield Cash API Launch # Alpaca Launches Global High-Yield Cash API By [Luke West](https://alpaca.markets/blog/author/luke/) • October 16, 2024[0 Comments](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/#disqus_thread) ![Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/content/images/2024/10/IRA-blog_1@3x.png) _Please note this blog was originally published on October 16, 2024._ After a year in the making, we’re thrilled to announce the launch of our **High-Yield Cash API** 1. Starting today, our partners around the world can enable their customers to **earn** **up to 4.50% APR (4.59% APY)**\*2 on USD balances; all managed through our Broker API platform. This milestone marks yet another important step in furthering our global commitment to open financial services to everyone on the planet. !["When you meticulously resolve complexity, what you end up with is simplicity. What we've built is a simple, yet elegant solution that enables every fintech company the ability to ship a best-in-class high-yield cash product with minimal integration time and defensive programming required." Quote from Trevor Walters, Senior Director of Product, Brokerage at Alpaca Markets](https://lh7-rt.googleusercontent.com/docsz/AD_4nXd74tS6mt-yGAVoTNi6TbkVHz2LsaFXSvNDvhyLYwHwgXm8Q652UfreBhTYhOMsZKaEnQnoahUQN7ThXAMb8ICZ06FxO1LyyByI8CVJR-TA8O5lyii3a_DyOQIIirvuJ-yWOBlUkCZCA6UfcwvMjsxR-hnx?key=TmsmIUCdK9qh8QEFrVBWxA) ## **For Your Business** ### _Grow_ At its core, High-Yield Cash provides a top-of-funnel growth mechanism that empowers our partners to win cash balances from both new and existing customers. With $16 trillion of deposits at banks in the US alone3, there is a large addressable market globally that our partners will now have the tools to tap into. This has shown to be a non-trivial growth mechanism in the US B2C Fintech market, as we’ve seen with roboadvisor Wealthfront accumulating nearly 50% of total AUM in high-yield cash deposits totaling $27 billion4 and brokerage incumbent Robinhood achieving 128% YoY growth in high-yield cash deposits totaling $18 billion5. ### _Prosper_ With our API comes the optionality for partners to share in interest revenue, allowing them to configure their own take rate or pass it down to boost customer APR/APY. Whether for extending runway, reaching profitability, or increasing profitability as a business, maximizing customer APR/APY at scale can still lead to noteworthy revenue. Revisiting the US examples above, the high-yield cash model helped Wealthfront to double its annual revenue to $200m and reach profitability for the first time as a private company4, while Robinhood was able to book $39m in high-yield cash revenue in Q15 alone earlier this year to extend its profitability as a public company. ### _Customize_ Product and Engineering teams at Alpaca meticulously optimized the High-Yield Cash API for developer experience and flexibility. What this translates to in practice is partners having near-complete control over their cash strategy and customer experience. With account-level APR/APY configurability that can be changed frequently, partners are free to dream up custom qualifying activity and/or rate boost marketing campaigns segmented by individuals or groups of customers.6 ## **For Your Customers** ### _Earn_ Enrolled final mile customers can currently earn up to 4.50% APR (4.59% APY)\*2 on their USD balances. For US customers, this is nearly **10x the national average**\*\*7 and highly competitive amongst B2C fintech comparable product offerings. For ex-US customers, High-Yield Cash is intended to provide a principally protected store of value in USD to help defend against local inflation and currency devaluation.8 Whether managing a cash sleeve within a larger portfolio strategy, building dry powder between trades, or simply seeking a local bank deposit alternative, near endless use cases have the opportunity to earn on cash positions. ### _Protect_ High-Yield Cash balances are potentially eligible for enhanced FDIC insurance coverage in an amount **up to $1,000,000 per customer**\*\*\*6 at launch. The Federal Deposit Insurance Corporation ( [FDIC](https://www.fdic.gov/about/what-we-do/?ref=alpaca.markets)) plays a critical role in providing stability and confidence in the US financial system. In the event of a bank failure, the FDIC’s Deposit Insurance Fund is intended to ensure that eligible depositors are made whole up to $250,000 per FDIC-insured bank,\\*\\*\\*\*and is backed by the full faith and credit of the US government. Since the FDIC’s founding in 1933, protected depositors have not lost even a single penny of FDIC-insured deposits despite every bank failure event over the last 90+ years8. As the High-Yield Cash program grows, we will continually seek to increase the FDIC insurance coverage limits in order to extend protection for the needs of high-net-worth customers. ### _Use_ High-Yield Cash balances are available to withdraw, transfer, and use as immediate buying power for trading activity to take advantage of market opportunities as they present themselves. Customers can say goodbye to multi-business-day transfers between bifurcated high-yield cash and investing product experiences, which is still a common area of user friction in the industry today. ## **Get Started** Whether you’re a neobank, roboadvisor, brokerage, or fintech platform, we’re here to support your growth strategy with a high-yield offering through this interest rate cycle and future ones to come. - For prospective partners, please reach out to Alpaca’s Sales team at [sales@alpaca.markets](mailto:sales@alpaca.markets). For existing partners, please contact your Customer Success Manager (CSM) or email the Success team at [brokersupport@alpaca.markets](mailto:brokersupport@alpaca.markets). * * * _\*Please note that this rate is effective as of September 19, 2024, and is subject to change and may not be the applicable rate on the date this is read._ _\*\*The FDIC reports the national average savings account interest rate. This current interest rate is 0.46 APY, effective September 16, 2024, and is subject to change and may not be the interest rate on the date this is read._ _\*\*\*Alpaca Securities customers that enroll in the FDIC Bank Sweep are potentially eligible for enhanced FDIC pass-through insurance coverage. Neither Alpaca nor Alpaca Securities are FDIC-insured. FDIC pass-through insurance coverage is subject to various conditions. The Program’s enhanced FDIC insurance coverage is limited to the aggregate number of participating program banks, multiplied by the FDIC insurance limit (i.e., $250,000). The total number of program banks is subject to change and Alpaca Securities may not utilize all program banks at all times which will affect the Program’s enhanced FDIC insurance coverage amount. In addition, if a customer has a direct banking relationship with a program bank this may affect the amount of funds that are potentially eligible for FDIC-pass through insurance coverage. There is no guarantee that customer funds will be held in such a manner as to maximize possible FDIC pass-through insurance coverage. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _\*\*\*\*Securities and cash in brokerage accounts are insured by SIPC and not eligible for FDIC insurance coverage._ _1\. ‘High-Yield Cash’ or ‘High-Yield Cash API’ is a technology product offered by AlpacaDB, Inc. (“Alpaca”) which allows users to, among other things, access securities brokerage services provided by Alpaca Securities LLC ("Alpaca Securities"), including but not limited to the Alpaca Securities LLC FDIC Bank Sweep Program (the “FDIC Bank Sweep” or “Program”). Alpaca Securities is a member of_ [**_FINRA_**](https://www.finra.org/?ref=alpaca.markets) _/_ [**_SIPC_**](https://www.sipc.org/?ref=alpaca.markets) _, and is a wholly-owned subsidiary of AlpacaDB, Inc. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _2\. **Neither Alpaca, nor any of its affiliates or subsidiaries is a bank.** Federal Reserve Bank of New York. (2024). Effective federal funds rate. Effective Federal Funds Rate - FEDERAL RESERVE BANK of NEW YORK. Retrieved October 16, 2024, from <_ [_https://www.newyorkfed.org/markets/reference-rates/effr_](https://www.newyorkfed.org/markets/reference-rates/effr?ref=alpaca.markets) _>_ _3\. Federal Deposit Insurance Corporation. (2024). Statistics At A Glance As of June 30, 2024. fdic.gov. Retrieved October 16, 2024, from <_ [_https://www.fdic.gov/system/files/2024-08/fdic-2q2024.pdf_](https://www.fdic.gov/system/files/2024-08/fdic-2q2024.pdf?ref=alpaca.markets) _>_ _4\. Kauflin, J. (2024). How Wealthfront Finally Became Profitable After 14 Years. Forbes.com. Forbes Magazine. Retrieved October 16, 2024, from <_ [_https://www.forbes.com/sites/jeffkauflin/2024/06/03/how-high-interest-rates-turbocharged-a-struggling-robo-advisor/?sh=7079fc31194_](https://www.forbes.com/sites/jeffkauflin/2024/06/03/how-high-interest-rates-turbocharged-a-struggling-robo-advisor/?sh=7079fc31194&ref=alpaca.markets) _7>_ _5\. Robinhood. (2024). Robinhood Q1 2024 earnings presentation. Robinhood.com. Retrieved October 16, 2024, from <_ [_https://s28.q4cdn.com/948876185/files/doc\_financials/2024/q1/Q1-2024-Earnings-Presentation.pdf_](https://s28.q4cdn.com/948876185/files/doc_financials/2024/q1/Q1-2024-Earnings-Presentation.pdf?ref=alpaca.markets) _>_ _6\. High-Yield Cash API is subject to, among other things, the Alpaca’s API terms and conditions. In addition, customer access to the FDIC Bank Sweep is subject to, among other things, the Alpaca Customer Agreement, Alpaca Terms and Conditions, and the Alpaca FDIC Bank Sweep Program Terms and Conditions. Please see alpaca.markets/disclosures for further information and important disclosures._ _7\. Federal Deposit Insurance Corporation. (2024). Monthly Update – September 2024. fdic.gov. Retrieved October 16, 2024, from <_ [_https://www.fdic.gov/national-rates-and-rate-caps/monthly-update-september-2024_](https://www.fdic.gov/national-rates-and-rate-caps/monthly-update-september-2024?ref=alpaca.markets) _>_ _8\. Federal Deposit Insurance Corporation. (2024a). What we do. fdic.gov. Retrieved October 16, 2024, from <_ [_https://www.fdic.gov/about/what-we-do_](https://www.fdic.gov/about/what-we-do?ref=alpaca.markets) _>. Balances held by or through Alpaca Securities are treated differently and subject to separate regulatory regimes depending on whether or not funds are held in a brokerage account or held pursuant to the Program. The treatment of customer funds are subject to change from time to time. Please see alpaca.markets/disclosures for further information and important disclosures._ _9\. Federal Deposit Insurance Corporation. (2024a). The history of FDIC. fdic.gov. Retrieved October 16, 2024, from <_ [_https://www.fdic.gov/90years/_](https://www.fdic.gov/90years/?ref=alpaca.markets) _>_ _Securities brokerage services are provided by Alpaca Securities, member_ [**_FINRA_**](https://www.finra.org/?ref=alpaca.markets) **_/_** [**_SIPC_**](https://www.sipc.org/?ref=alpaca.markets) _.  Technology and related services are offered by AlpacaDB, Inc._ _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _Please note that the content of this piece article is for general information only and is believed to be accurate as of the posting date but may be subject to change. Alpaca and its affiliates do not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not ensure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ _Alpaca Securities offers a cash management program pursuant to the FDIC Bank Sweep. Customer funds are treated differently and are subject to separate regulatory regimes depending on whether customer funds are held in their brokerage account or within the FDIC Bank Sweep. Specifically, Alpaca Securities is a member of the Securities Investor Protection Corporation (SIPC), which protects securities customers of its members up to $500,000 (including $250,000 for claims for cash). The Federal Deposit Insurance Corporation (FDIC) insures up to $250,000 per deposit against the failure of an FDIC member bank. Customer funds held in brokerage accounts are SIPC insured, but are not eligible for FDIC insurance coverage. Funds maintained in the FDIC Bank Sweep are intended to be eligible for pass-through FDIC insurance coverage, but are not subject to SIPC coverage. FDIC insurance coverage does not protect against the failure of Alpaca, Alpaca Securities, or any of its or their affiliates and/or malfeasance by any Alpaca or Alpaca Securities employee. Program banks that participate in the FDIC Bank Sweep are not members of SIPC and therefore funds held in the Program are not SIPC protected. Please see alpaca.markets/disclosures for important additional disclosures regarding Alpaca Securities brokerage offering as well as FDIC Bank Sweep terms and conditions._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) [Next Post : Sarwa first fintech to launch Options Trading in the Middle East](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## API v1 Sunset Notification # Market Data API v1 Sunset Notification By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • January 24, 2022[0 Comments](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/#disqus_thread) ![Market Data API v1 Sunset Notification](https://alpaca.markets/blog/content/images/2022/01/Data-API-v1-Breaking-Change--2-.png) ### Current Issue and Customer Impact Market Data API v1 was deprecated on September 26, 2021. On March 15, 2022, all Market Data API v1 endpoints and documentation will officially sunset. In order to continue providing the best experience for users, we are only supporting Market Data API v2, the second version of the Market Data API. [Market Data API v2](https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-data-api-v2/?ref=alpaca.markets) provides market data in two different plans, Free and Unlimited. The Free plan is included in both paper-trading and live trading accounts as the default plan. ### Solution and Breaking Change Customers will need to update any existing systems to use the Market Data API v2 endpoints. Any system still using Market Data API v1 endpoints will result in a break in code when the API version officially sunsets in March. Client libraries will no longer support Market Data API v1 in any new client library versions after the sunset date. ### Timeline Market Data API v1 endpoints will sunset on **March 15, 2022** and will be removed from the Alpaca documentation. After March 15, 2022, systems using v1 endpoints will no longer work. Thank you for your understanding and please feel free to send any questions to support@alpaca.markets. \*The Paper Trading API is offered by AlpacaDB, Inc. and does not require real money or permit a user to transact in real securities in the market. Providing use of the Paper Trading API is not an offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, given or in any manner endorsed by AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate and the information made available through the Paper Trading API is not an offer or solicitation of any kind in any jurisdiction where AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate is not authorized to do business. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). [Previous Post : Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) [Next Post : Alpaca 2021 Year in Review](https://alpaca.markets/blog/alpaca-2021-year-in-review/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Updated Borrow Fees # Updated Terms for Customer Borrow Fees By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 10, 2021[0 Comments](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/#disqus_thread) ![Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/content/images/2021/08/Borrow-Fee-Communications-Blog-1.png) Please be advised that Alpaca will begin charging borrow fees on overnight short positions for the month of June 2021 and onward. As part of our ongoing efforts to provide world-class brokerage services and APIs, Alpaca is making you aware of some pass-through charges (borrow fees) that you may soon see in your account in regard to short selling. ### What is a borrow fee? A stock loan fee, or borrow fee, is **a fee charged by a brokerage firm to a client for borrowing shares**. ### How does someone incur a borrow fee? Customers incur borrow fees when short positions are carried overnight. Short selling is a fairly simple concept — an investor borrows a stock, sells the stock, and then buys the stock back to return it to the lender. Short sellers are betting that the stock they sell will drop in price. The difference between the sell price and the buy price is the profit or loss. Alpaca has passed through these charges in the past but has not charged the fees between February to May 2021. Fees were waived during this period as we transitioned to a new clearing firm. **Alpaca will resume pass-through charges from our clearing firm to the end client, starting June 2021**. ### How do I see if I have incurred borrow fees? If you sold short any securities during the month of June and held those positions overnight, you will soon see activity in your account with a code of ' **FEE'** and a description of **‘June 2021 Stock Borrow Fees.’** Please note that if you hold short positions as of a Friday settlement date, you will incur stock borrow fees for 3 days (Friday, Saturday, Sunday). ### How are borrow fees charged? Stock borrow fees are charged in the nearest round lot (100 shares) regardless of how many shares were actually shorted. This is because stocks are borrowed in round lots. For more information please see [Margin & Short Selling - Documentation](https://alpaca.markets/docs/trading-on-alpaca/margin-and-shorting/?ref=alpaca.markets) or email us at Support@Alpaca.Markets ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) [Previous Post : Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) [Next Post : Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Automated Trading Simplified # Composer Launches Automated Trading Platform with Alpaca Broker API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 12, 2022[0 Comments](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/#disqus_thread) ![Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/04/Composer-Partnership-Announcement.png) Composer is a trading platform that allows retail investors to build a portfolio by adopting sophisticated, hedge fund-like investment strategies with an intuitive no-code visual editor. ## About Composer [Composer](https://www.composer.trade/?ref=alpaca.markets) was founded in 2020 by Benjamin Rollert, Ananda Aisola, and Ronny Li. The founders were unsatisfied with the limitations of retail offerings to non-professional investors and the exclusivity of institutional investment strategies to high-net-worth individuals. They realized that the vast majority of investors who are unable to code still manage their portfolios in Excel workbooks and manually enter trades into brokerages. Established to fill the gap between institutional-grade investment strategies that retail investors would like to access and could reasonably implement, Composer helps enable retail investors to create automated trading strategies without having to write a single line of code or by simply implementing ready-made investment approaches. !["We found there is an absence of automated tools that are both flexible and usable and allow retail investors to capture hedge fund-like returns. With Composer our mission is to make it easy to create a portfolio of hedge fund-like strategies and execute them all automatically." Benjamin Rollert, CEO and Co-founder at Composer.](https://alpaca.markets/blog/content/images/2022/04/Frame-15.png) "We found there is an absence of automated tools that are both flexible and usable and allow retail investors to capture hedge fund-like returns. With Composer our mission is to make it easy to create a portfolio of hedge fund-like strategies and execute them all automatically." Benjamin Rollert, CEO and Co-founder at Composer. ![](https://alpaca.markets/blog/content/images/2022/04/14.jpg)Composer partners with Alpaca Broker API (This image is for illustrative purposes only.) ## Composer’s Mission Expensive fees and coding skills shouldn’t be barriers when selecting investment strategies. Composer’s goal is to make dynamic portfolios accessible to investors at all levels, by providing off-the-shelf templates that are readily implementable, and by breaking the trading strategy process into building blocks that can be infinitely combined using their easy-to-use, no-code visual editor. Composer’s intuitive software also enables retail investors to monitor the performance of various strategies against historical data, and, once selected, automatically executes trades on behalf of the investor. ## **Composer Key Features** - Follow and invest in a vetted repository of strategies - Customize trading strategies with no-code building blocks - _assets, weights, conditions, filters, and groups -_ that can be infinitely combined - Facilitate automated trades on behalf of retail investors - Track strategy performance in real-time and how much an initial investment would be worth now ![](https://alpaca.markets/blog/content/images/2022/04/18.jpg)Composer partners with Alpaca Broker API (This image is for illustrative purposes only.) ## Composer Partners with Alpaca Broker API Composer, a registered investment advisor, leverages [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets) to offer retail investors access to systematic investing strategies that would have previously required the ability to code in order to execute. !["Before Alpaca, integrating with a broker would have required a significantly higher amount of dev resources and time. Alpaca's technology has significantly reduced how cumbersome of a process it is. Additionally, they have made it significantly easier for companies to access international markets." Benjamin Rollert, CEO and Co-founder at Composer](https://alpaca.markets/blog/content/images/2022/04/Frame-16.png) "Before Alpaca, integrating with a broker would have required a significantly higher amount of dev resources and time. Alpaca's technology has significantly reduced how cumbersome of a process it is. Additionally, they have made it significantly easier for companies to access international markets." Benjamin Rollert, CEO and Co-founder at Composer ## About Alpaca Alpaca is an API-first crypto and stock platform that’s raised over $70m in funding. Alpaca offers brokerage and custody infrastructure for apps to launch and scale investing services with ease. Alpaca offers stock and crypto trading, real-time market data, brokerage operations, and compliance services through modern APIs. !["We are delighted Composer has chosen Alpaca as their partner to help them lower the barrier to accessing sophisticated investment strategies. We have a shared vision of opening access to financial markets and it is inspiring to collaborate with such a driven and visionary team. We look forward to supporting them and being along on their journey." - Jon Kaplan, Director of Customer Success at Alpaca](https://alpaca.markets/blog/content/images/2022/04/Frame-14.png) "We are delighted Composer has chosen Alpaca as their partner to help them lower the barrier to accessing sophisticated investment strategies. We have a shared vision of opening access to financial markets and it is inspiring to collaborate with such a driven and visionary team. We look forward to supporting them and being along on their journey." - Jon Kaplan, Director of Customer Success at Alpaca * * * [Alpaca Broker API - Launch your own commission-free trading app\\ \\ Open brokerage accounts, enable commission-free trading, and manage the ongoing user experience with Alpaca Broker API\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) Alpaca Securities LLC and Composer Technologies Inc. are not affiliated and neither are responsible for the liabilities of the other. All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss, in a down market. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC (“Alpaca Securities”), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities LLC is not registered or licensed. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : SDK Release Notes: April 2022](https://alpaca.markets/blog/sdk-release-notes-april/) [Next Post : SDK Release Notes: March 2022](https://alpaca.markets/blog/sdk-release-notes-march-2022/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Global US Stock Trading # US Stock Trading for Everyone By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 02, 2021[0 Comments](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/#disqus_thread) ![US Stock Trading for Everyone](https://alpaca.markets/blog/content/images/2021/08/International-GTM---BLOG-1.png) ## Global Access With No Minimum Deposit Alpaca’s mission is to bring the power of investing to everyone. Starting today, we’ve lifted our $30,000 minimum deposit. When we initially launched Trading API in 2018, we began an invite-only beta program for all users to try Alpaca’s APIs. With the increasing community interest and a growing waitlist, we’re excited to announce that after two years, we are lifting the $30,000 minimum deposit and allowing all non-US users to fund their accounts with as little as $1. ## Simplified Global Onboarding In order to satisfy the requirements set forth by the SEC and FINRA we are proud to be partnering with international KYC providers that verify identity in new and innovative ways. Simply upload the required documents and take a selfie. We will notify you as soon as your account is approved. This will help us reduce the amount of time it takes to verify users, which will enable us to activate accounts much faster. ## No Minimum Deposit for Funding Accounts Once your account is approved, you will be able to either wire funds directly into your brokerage account or directly transfer funds from your bank with one of our payment providers (many more coming on the way). Happy trading! For more information, please visit us at [alpaca.markets/international](https://alpaca.markets/international?ref=alpaca.markets). Please reach out to us at support@alpaca.markets if you have any questions or would like help getting started. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) [Previous Post : Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) [Next Post : Alpaca Launches Data API](https://alpaca.markets/blog/market-data-apiv2/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## FIX API Support # FIX API Now Supported Through Alpaca By [Luke West](https://alpaca.markets/blog/author/luke/) • November 11, 2024[0 Comments](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/#disqus_thread) ![FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/content/images/2024/11/fix-api-blog.png) Alpaca is excited to announce the support of FIX messaging as an option for order placement and lifecycle management. We’ve found success in integrating innovative FinTech companies with our award-winning APIs – offering high throughput, low latency API options with enhanced stability, reliability, and scalability. Now, we are proud to expand upon those benefits even further by enabling companies using FIX to integrate with Alpaca. The Financial Information eXchange (FIX®) protocol is a globally accepted standard messaging protocol used to connect to the financial markets. You can find more information on FIX through the [FIX Trading Community™](https://www.fixtrading.org/?ref=alpaca.markets), an industry driven non-profit organization that focuses on the continuous development and promotion of the FIX family of standards, including the core FIX protocol messaging language. ## Key Features of FIX Protocol We decided to integrate FIX protocol with Alpaca for a few reasons. The first was that FIX utilizes sequence numbers for messages that are sent and received. This allows you to recover lost messages, ensuring you are always in sync with your counterparty. WebSocket APIs currently do not have sequence numbers which could cause missed or out-of-order trade events. Secondly, FIX simplifies the client-side state management with its bi-directional communication model. A new order message is sent in the same sequence of the order status updates or execution reports and you know the exact life cycle transitions of the order in a synchronous manner. This makes it easier to manage order states, and often you don’t need to worry about things like the replaying scenario as it’s standardized as protocol. Thirdly, as FIX is a standard protocol in the industry, you can reuse your existing technology that you have built for other connectivities. We find our clients such as brokerage and hedge fund customers often already have connections with different brokers and liquidity venues with FIX, and the support of FIX by Alpaca makes it easy to add or transition from your existing partners. In doing so, your company can expect: - Seamless Integration: Since FIX offers a globally standardized messaging protocol, conversions to Alpaca will offer a seamless integration with minimal setup and maximum compatibility with your current infrastructure. - Low Latency, High Throughput: Just like our APIs, you can achieve high-speed order execution with our low-latency FIX solution, built for reliability so you can trade with confidence, even at peak market hours. - Reliable and Secure: Compliant and secure with our fully regulated FIX connectivity, designed to meet the strictest industry standards. ## What can you do with Alpaca’s FIX API? With Alpaca's FIX API, you are able to trade both notional (fractional share trading) and whole share Equities trading. Just like our Rest API, FIX supports various order types and durations to support your trading needs. You can send Market, Limit, Stop, Stop Limit, Market on Close, or Limit on Close orders. Durations supported include Day, Good Till Cancel, At the Open, Immediate or Cancel, Fill or Kill, or At the Close. The FIX Messages supported are New Order - Single, Execution Report, Order Cancel Request, Order Cancel / Replace Request, and Order Cancel Reject. Options trading as well as Crypto via FIX are coming soon. Please reach out if you are interested in these asset classes to learn more. Please review our [FIX Specification](https://docs.alpaca.markets/docs/fix-messages?ref=alpaca.markets) for more information. ## Connectivity Options: Choose Your Ideal Connectivity Method We’re offering two connectivity methods to support your FIX integration, based on your technical requirements and connectivity preferences: **TNS (Transaction Network Services) Direct Connection** - If you already have a connection with TNS, we can arrange a dedicated virtual connection for secure and high-speed order transmission. This interconnection operates through our cloud-based infrastructure and leverages TNS’s global network to ensure stability and security. Partners interested in this setup will need an existing TNS contract and connection, as this is a direct, private link. We can assist with this process, leveraging our established relationship with TNS to streamline the setup for you. **FIX Over TLS with IP Whitelisting** - For partners preferring a straightforward internet-based connection, we also support FIX over TLS, securing your orders with industry-standard encryption. By whitelisting your IP address, we can establish a verified, secure link to our systems without the need for private network arrangements. This option is cost-effective and typically quicker to implement, ideal for partners looking for flexibility and efficiency in their setup. ## Get Started With FIX! If you are interested in learning more about FIX, [speak with our sales team](https://alpaca.markets/broker-contact-form?ref=alpaca.markets) to further discuss connectivity options and next steps. We’re excited to enhance your access to the U.S. markets and continue delivering a trading experience tailored for performance and security! Looking for more information or want to take a deep dive into FIX protocol? Review [Alpaca’s FIX specification and documentation](https://docs.alpaca.markets/docs/fix-messages?ref=alpaca.markets). * * * _The content of this piece article is for general information only and is believed to be accurate as of the posting date but may be subject to change. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto, respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) [Next Post : Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading API Insights ### Tag: trading api Total 29 Posts ## [Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 15, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/#disqus_thread) [![Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits](https://alpaca.markets/blog/content/images/2025/05/V03_high-yield-cash_LPCA.png)](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) With Alpaca's High-Yield Cash program for Trading API, you can earn interest on your idle cash, increasing account buying power and flexibility. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) ## [Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • February 25, 2025[0 Comments](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/#disqus_thread) [![Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/content/images/2025/02/blog_options-lvl-3-live-announcemnent.png)](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) Level 3 options trading is now available with Alpaca's Trading API and Dashboard. Learn more about how to get started with multi-leg options trading at Alpaca. [Continue Reading](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) ## [Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/#disqus_thread) [![Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/content/images/2024/12/benzinga-2024-graphic.png)](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) Alpaca wins "Best Brokerage for Sophisticated Traders" at the 2024 Benzinga Global Fintech Awards, marking its third consecutive award at the event. [Continue Reading](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) ## [Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 19, 2024[0 Comments](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/#disqus_thread) [![Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/content/images/2024/07/v02_Stop-Limit-on-Fractional.png)](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) Alpaca’s Local Currency Trading API now supports limit, stop, and stop limit for both nominal and fractional order types. LCT now offers extended hours trading for limit orders too. [Continue Reading](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) ## [Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • August 15, 2024[0 Comments](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/#disqus_thread) [![Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/content/images/2024/08/blog-quantconnect-article.png)](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) Explore Alpaca's integration with QuantConnect, enabling you to create, backtest, and trade algorithmic strategies with ease. [Continue Reading](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Technical Analysis Insights ### Tag: technical analysis Total 2 Posts ## [TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/tradingview-oco-tradetron/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 22, 2020[0 Comments](https://alpaca.markets/blog/tradingview-oco-tradetron/#disqus_thread) [![TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/content/images/2020/09/friends.jpg)](https://alpaca.markets/blog/tradingview-oco-tradetron/) Announcing TradingView OCO & Tradetron launch on Alpaca. Alpaca continues to add the integration partners. [Continue Reading](https://alpaca.markets/blog/tradingview-oco-tradetron/) ## [Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2020[0 Comments](https://alpaca.markets/blog/oco-oto/#disqus_thread) [![Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png)](https://alpaca.markets/blog/oco-oto/) New advanced order types supported by Alpaca - this time we are launching OCO (One-Cancels-Other) and OTO (One-Triggers-Other) [Continue Reading](https://alpaca.markets/blog/oco-oto/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 20, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/#disqus_thread) [![Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets](https://alpaca.markets/blog/content/images/2025/05/blog_24-5_trading.png)](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) Alpaca announces the launch of 24/5 Trading for Broker API, allowing partners to meet global demand. Learn how Alpaca's infrastructure supports brokers in this shift. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) ## [Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 15, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/#disqus_thread) [![Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits](https://alpaca.markets/blog/content/images/2025/05/V03_high-yield-cash_LPCA.png)](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) With Alpaca's High-Yield Cash program for Trading API, you can earn interest on your idle cash, increasing account buying power and flexibility. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) ## [Alpaca Launches Fully Paid Securities Lending for Broker API](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 13, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/#disqus_thread) [![Alpaca Launches Fully Paid Securities Lending for Broker API](https://alpaca.markets/blog/content/images/2025/05/FPSL-blog-announcement.png)](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) Alpaca launches Fully Paid Securities Lending for Broker API, allowing partners to build and deliver more passive yield opportunities to their clients. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) ## [Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 01, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/#disqus_thread) [![Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow](https://alpaca.markets/blog/content/images/2025/05/fixed-income_blog-annoucement-copy.png)](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) Alpaca launches US Treasuries trading and custody, expanding their asset class offerings for Broker API with an equities-like trading experience, non-predatory fees, and path to $1 order minimums. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) ## [Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) By [Luke West](https://alpaca.markets/blog/author/luke/) • March 13, 2025[0 Comments](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/#disqus_thread) [![Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/content/images/2025/03/blog-stocktwits-article.png)](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) Learn how Alpaca's Stocktwits API integration helps Broker API partners increase trader confidence with community-driven insights and industry news. [Continue Reading](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Robo Advisor Insights ### Tag: robo advisor Total 2 Posts ## [Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/passive-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 10, 2019[0 Comments](https://alpaca.markets/blog/passive-integration/#disqus_thread) [![Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/content/images/2020/03/alpaca-passiv-integration.png)](https://alpaca.markets/blog/passive-integration/) Canadian-based financial startup, Passiv, and American brokerage Alpaca combine forces to bring you passive investing without high management expense ratios. [Continue Reading](https://alpaca.markets/blog/passive-integration/) ## [The Automation of Wealth Management](https://alpaca.markets/blog/automation-of-wealth-management/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 03, 2018[0 Comments](https://alpaca.markets/blog/automation-of-wealth-management/#disqus_thread) [![The Automation of Wealth Management](https://alpaca.markets/blog/content/images/2020/03/1_4_oIV6jsM4ZHPmuaeMQGdQ--1-.jpeg)](https://alpaca.markets/blog/automation-of-wealth-management/) Software-driven automation is rapidly transforming the social and economic landscape, with some of the most prominent examples being autonomous vehicles and home assistants. [Continue Reading](https://alpaca.markets/blog/automation-of-wealth-management/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca News Updates ### Tag: Alpaca News Total 28 Posts ## [Kraken Offers US Securities Through Strategic Partnership with Alpaca](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • April 28, 2025[0 Comments](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/#disqus_thread) [![Kraken Offers US Securities Through Strategic Partnership with Alpaca](https://alpaca.markets/blog/content/images/2025/04/kraken-announcement.png)](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) Kraken brings US securities trading to their platform, furthering their position as a multi-asset-class trading platform in partnership with Alpaca. [Continue Reading](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) ## [Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) By [Luke West](https://alpaca.markets/blog/author/luke/) • April 23, 2025[0 Comments](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/#disqus_thread) [![Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership](https://alpaca.markets/blog/content/images/2025/04/blog-series-c.png)](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) Alpaca announces their Series C funding of $52 million, accelerating their global expansion and development of industry-leading product offerings. [Continue Reading](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) ## [Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • February 25, 2025[0 Comments](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/#disqus_thread) [![Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/content/images/2025/02/blog_options-lvl-3-live-announcemnent.png)](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) Level 3 options trading is now available with Alpaca's Trading API and Dashboard. Learn more about how to get started with multi-leg options trading at Alpaca. [Continue Reading](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) ## [Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) By [Luke West](https://alpaca.markets/blog/author/luke/) • January 20, 2025[0 Comments](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/#disqus_thread) [![Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX](https://alpaca.markets/blog/content/images/2025/01/gitex-article.png)](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) We are excited to be attending GITEX's Ai Everything Global from February 4 to 6, 2025, in Abu Dhabi & Dubai! [Continue Reading](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) ## [Alpaca’s 2024 Year in Review](https://alpaca.markets/blog/alpaca-2024-year-in-review/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 20, 2024[0 Comments](https://alpaca.markets/blog/alpaca-2024-year-in-review/#disqus_thread) [![Alpaca’s 2024 Year in Review](https://alpaca.markets/blog/content/images/2024/12/2024-recap-blog.png)](https://alpaca.markets/blog/alpaca-2024-year-in-review/) Alpaca had a landmark year in 2024, becoming a fully self-clearing broker-dealer, launching options trading, and developing more advanced Broker API products. [Continue Reading](https://alpaca.markets/blog/alpaca-2024-year-in-review/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Paper Trading ### Tag: paper trading Total 3 Posts ## [Alpaca Introduces OAuth Support](https://alpaca.markets/blog/oauth/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 04, 2020[0 Comments](https://alpaca.markets/blog/oauth/#disqus_thread) [![Alpaca Introduces OAuth Support](https://alpaca.markets/blog/content/images/2020/03/alpaca-oauth.png)](https://alpaca.markets/blog/oauth/) We’re excited to introduce OAuth support to the Alpaca API! You can now build more things with Alpaca, thanks to the ability to use OAuth clients. Get started today. [Continue Reading](https://alpaca.markets/blog/oauth/) ## [Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/manual-trading-stocks/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 21, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-stocks/#disqus_thread) [![Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/content/images/2020/03/1_Ko5g2SPcOc5-yV74vkt7eA.png)](https://alpaca.markets/blog/manual-trading-stocks/) With Alpaca, you can now liquidate positions, cancel open orders manually, and you can active and deactivate API manually on the mobile app. [Continue Reading](https://alpaca.markets/blog/manual-trading-stocks/) ## [Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) [![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg)](https://alpaca.markets/blog/paper-trading-api/) In our continuous effort to make automated trading more accessible, we are pleased to announce the Alpaca Paper Trading API to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. [Continue Reading](https://alpaca.markets/blog/paper-trading-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Stock Trading Insights ### Tag: stock trading Total 8 Posts ## [Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/portfolio-history-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 16, 2020[0 Comments](https://alpaca.markets/blog/portfolio-history-api/#disqus_thread) [![Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/content/images/2020/03/photo-1461360370896-922624d12aa1.jpeg)](https://alpaca.markets/blog/portfolio-history-api/) Now Portfolio History API allows you to flexibly visualize your portfolio performance in real-time. It is now much easier to make your DIY stock trading app pretty ? [Continue Reading](https://alpaca.markets/blog/portfolio-history-api/) ## [Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2020[0 Comments](https://alpaca.markets/blog/oco-oto/#disqus_thread) [![Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png)](https://alpaca.markets/blog/oco-oto/) New advanced order types supported by Alpaca - this time we are launching OCO (One-Cancels-Other) and OTO (One-Triggers-Other) [Continue Reading](https://alpaca.markets/blog/oco-oto/) ## [Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 29, 2020[0 Comments](https://alpaca.markets/blog/blueshift-backtest/#disqus_thread) [![Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-blueshift.png)](https://alpaca.markets/blog/blueshift-backtest/) A leading quant finance school QuantInsti and Alpaca team up to offer a super seamless experience in algo trading through Blueshift integration with Alpaca commission-free trading API [Continue Reading](https://alpaca.markets/blog/blueshift-backtest/) ## [Alpaca Trading within TradingView](https://alpaca.markets/blog/tradingview-api-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • November 11, 2019[0 Comments](https://alpaca.markets/blog/tradingview-api-integration/#disqus_thread) [![Alpaca Trading within TradingView](https://alpaca.markets/blog/content/images/2020/03/alpaca-tradingview.png)](https://alpaca.markets/blog/tradingview-api-integration/) Stock trading with Alpaca from TradingView platform - Now you can get all the benefits of real-time market data, charting, and algorithmic trading together in one place. [Continue Reading](https://alpaca.markets/blog/tradingview-api-integration/) ## [Manual Trading Widget on Alpaca](https://alpaca.markets/blog/manual-trading-widget/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 11, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-widget/#disqus_thread) [![Manual Trading Widget on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-manual-trading.png)](https://alpaca.markets/blog/manual-trading-widget/) Manual trading widget on the main dashboard! Trading with an API or algos doesn’t always need to be fully automated :) [Continue Reading](https://alpaca.markets/blog/manual-trading-widget/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Algo Trading Insights ### Tag: algo trading Total 15 Posts ## [API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/sdk-api-trade-contest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/sdk-api-trade-contest/#disqus_thread) [![API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/content/images/2020/10/update03.png)](https://alpaca.markets/blog/sdk-api-trade-contest/) These new features are to offer more flexibility when using Alpaca products and are to give you more visibility on the web-dashboard as well. [Continue Reading](https://alpaca.markets/blog/sdk-api-trade-contest/) ## [TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/tradingview-oco-tradetron/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 22, 2020[0 Comments](https://alpaca.markets/blog/tradingview-oco-tradetron/#disqus_thread) [![TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/content/images/2020/09/friends.jpg)](https://alpaca.markets/blog/tradingview-oco-tradetron/) Announcing TradingView OCO & Tradetron launch on Alpaca. Alpaca continues to add the integration partners. [Continue Reading](https://alpaca.markets/blog/tradingview-oco-tradetron/) ## [Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/non-us-live-trading-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 30, 2020[0 Comments](https://alpaca.markets/blog/non-us-live-trading-beta/#disqus_thread) [![Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/content/images/2020/07/non-US-alpaca.png)](https://alpaca.markets/blog/non-us-live-trading-beta/) Letting you know that we have started an invite-only beta program for non-US resident Alpaca users to open live-trading accounts ✌️. [Continue Reading](https://alpaca.markets/blog/non-us-live-trading-beta/) ## [Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 29, 2020[0 Comments](https://alpaca.markets/blog/blueshift-backtest/#disqus_thread) [![Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-blueshift.png)](https://alpaca.markets/blog/blueshift-backtest/) A leading quant finance school QuantInsti and Alpaca team up to offer a super seamless experience in algo trading through Blueshift integration with Alpaca commission-free trading API [Continue Reading](https://alpaca.markets/blog/blueshift-backtest/) ## [Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 10, 2020[0 Comments](https://alpaca.markets/blog/bracket-orders/#disqus_thread) [![Bracket Orders on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order.png)](https://alpaca.markets/blog/bracket-orders/) Trying to stay within a target price range while stock trading? Alpaca is here to help with all-new bracket order functionality. [Continue Reading](https://alpaca.markets/blog/bracket-orders/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Broker API Insights ### Tag: broker api Total 47 Posts ## [Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 20, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/#disqus_thread) [![Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets](https://alpaca.markets/blog/content/images/2025/05/blog_24-5_trading.png)](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) Alpaca announces the launch of 24/5 Trading for Broker API, allowing partners to meet global demand. Learn how Alpaca's infrastructure supports brokers in this shift. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) ## [Alpaca Launches Fully Paid Securities Lending for Broker API](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 13, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/#disqus_thread) [![Alpaca Launches Fully Paid Securities Lending for Broker API](https://alpaca.markets/blog/content/images/2025/05/FPSL-blog-announcement.png)](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) Alpaca launches Fully Paid Securities Lending for Broker API, allowing partners to build and deliver more passive yield opportunities to their clients. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) ## [Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) By [Luke West](https://alpaca.markets/blog/author/luke/) • May 01, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/#disqus_thread) [![Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow](https://alpaca.markets/blog/content/images/2025/05/fixed-income_blog-annoucement-copy.png)](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) Alpaca launches US Treasuries trading and custody, expanding their asset class offerings for Broker API with an equities-like trading experience, non-predatory fees, and path to $1 order minimums. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) ## [Kraken Offers US Securities Through Strategic Partnership with Alpaca](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • April 28, 2025[0 Comments](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/#disqus_thread) [![Kraken Offers US Securities Through Strategic Partnership with Alpaca](https://alpaca.markets/blog/content/images/2025/04/kraken-announcement.png)](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) Kraken brings US securities trading to their platform, furthering their position as a multi-asset-class trading platform in partnership with Alpaca. [Continue Reading](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) ## [Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) By [Luke West](https://alpaca.markets/blog/author/luke/) • March 13, 2025[0 Comments](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/#disqus_thread) [![Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/content/images/2025/03/blog-stocktwits-article.png)](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) Learn how Alpaca's Stocktwits API integration helps Broker API partners increase trader confidence with community-driven insights and industry news. [Continue Reading](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Advanced Order Types ### Tag: chart pattern Total 1 Post ## [Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2020[0 Comments](https://alpaca.markets/blog/oco-oto/#disqus_thread) [![Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png)](https://alpaca.markets/blog/oco-oto/) New advanced order types supported by Alpaca - this time we are launching OCO (One-Cancels-Other) and OTO (One-Triggers-Other) [Continue Reading](https://alpaca.markets/blog/oco-oto/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. [iframe](about:blank) Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Dashboard App ### Tag: react native Total 1 Post ## [Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) [![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png)](https://alpaca.markets/blog/open-source-mobile-trading-app/) Introducing an example mobile app “Alpaca Dashboard” on the App Store and its code in full open-sourced on the GitHub repo. The app is built on React Native. [Continue Reading](https://alpaca.markets/blog/open-source-mobile-trading-app/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Short Selling Insights ### Tag: short sell Total 1 Post ## [Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/commission-free-short-selling/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 08, 2019[0 Comments](https://alpaca.markets/blog/commission-free-short-selling/#disqus_thread) [![Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/content/images/2020/03/1_canI2LSf-psNSf7FlPn_HQ.png)](https://alpaca.markets/blog/commission-free-short-selling/) Commission-free short selling finally came to Alpaca. In addition to this, we are introducing margin trading as well. [Continue Reading](https://alpaca.markets/blog/commission-free-short-selling/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Best API Award # Alpaca Secures "Best API" Award from Postman at POST/CON 2024 By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 15, 2024[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/#disqus_thread) ![Alpaca Secures "Best API" Award from Postman at POST/CON 2024](https://alpaca.markets/blog/content/images/2024/05/postman-2024-award.png) Alpaca has been recognized in the developer community by receiving the "Best API" award from Postman during their annual API Network Awards. This recognition demonstrates our commitment to the developer community and opening financial services to everyone globally. This ceremony celebrated innovation and excellence in two distinguished categories: The top 5 "New APIs" and the top 25 "Best APIs" across the global tech industry. The APIs chosen for these categories were not only among the most used on the Postman API Network but also demonstrated a consistent investment in enhancing the developer experience. This was measured by metrics such as the ratio of successful API calls and overall ease of use. ![](https://lh7-us.googleusercontent.com/sMp4RAQV7iDouwAtUVuilHOWKbuTrUAqB64l_OTCmrZLYOI12wYvCMOhLAaezd89R8PNDdWG6DJNJ1uJhJVUW_o7nimFc6OefaffYufyBqw55Se0Kf6VhUW9hPMDZmIAKTo5ddFekNyKN8xyJipG5J8)Dean Diakov (starred) accepting our award on behalf of Alpaca! > "Everything we do at Postman is about improving the developer experience around API collaboration," said Abhinav Asthana, co-founder and CEO of Postman. "Building a great developer experience is hard, and these awards recognize the companies who have worked the hardest alongside us to build APIs that just work and are easy to learn. With over 100,000 APIs, the Postman API Network is the world’s largest public API hub, so these awards show what it takes to be the best in developers' eyes." > "We are honored to receive the 'Best API' award from Postman," said Hitoshi Harada, Co-Founder & CPO of Alpaca. "This means a lot to us as our API-first approach is received well. At Alpaca, we believe strongly in the power of API and developer community and this award doubles-down what we continue to invest." [![](https://lh7-us.googleusercontent.com/uqUVxAzmHJaajQl9fR8AnLOnFqRVC0lyh_nzDPr1nkhB8p02PviCqQ_E9ALraNL3wDxZnFK4A1Lpa8iyj3qSzh1RRmstDdCLJ2T6J3Cb2jCO71FoEPYfDHiHp7bh0IetK22bnFimNcLhxyvYjVzCQyA)](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/#award) If you haven't already, dive into the [Alpaca ecosystem](https://www.postman.com/alpacamarkets?ref=alpaca.markets) on the Postman API Network and start building with our API today. For more details about the Postman API Network Awards and to explore the complete list of winners, visit [here](https://www.postman.com/explore/postman-api-network-awards-2024?ref=alpaca.markets). ## **Let's See How We Can Partner Together** * * * _This content is for general informational purposes only. Alpaca and Postman are not affiliated, and neither are responsible for the liabilities of the other._ _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) [Next Post : Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca's Y Combinator Honor # Alpaca Named to Y Combinator’s Top Companies of 2022 List By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • March 09, 2022[0 Comments](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/#disqus_thread) ![Alpaca Named to Y Combinator’s Top Companies of 2022 List](https://alpaca.markets/blog/content/images/2022/03/top-company-2022-Twitter-alpaca.png) We’re excited to announce that Alpaca has been recognized on **Y Combinator’s [Top Companies 2022](https://www.ycombinator.com/topcompanies?ref=alpaca.markets)** list. This year’s YC Top Companies List features 267 high-growth companies — both public and private — across 20 countries, ranked by valuation. > “We’re honored to be included in YC’s Top Companies List,” says Yoshi Yokokawa, our CEO and co-founder. “Y Combinator’s acknowledgment is a tribute to the work of the entire Alpaca team and community — from our 200-plus global and remote employees to our tens-of-thousands strong developer community. ” Y Combinator’s Top Companies list selects from nearly 3,000 companies they’ve worked with since 2005. This year, Alpaca joins industry-leading fintech companies such as Coinbase, Stripe, and OpenSea. To learn more about the featured companies, see the [full list](https://www.ycombinator.com/topcompanies?ref=alpaca.markets) here. **P.S. We’re hiring!** Want to join our team? Explore our job openings at [alpaca.markets/hiring](https://alpaca.markets/hiring?ref=alpaca.markets). * * * ### About Alpaca Alpaca is an API-first stock and crypto brokerage platform that offers brokerage and custody infrastructure for applications to easily launch and scale investing services. With Alpaca, it’s easier to access commission-free stock and crypto trading, real-time market data, brokerage operations, and compliance services through modern APIs. * * * Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc.This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/10/Image-from-iOS--1-.jpg)](https://alpaca.markets/blog/author/crystal/) About [Crystal Xue](https://alpaca.markets/blog/author/crystal/) [Previous Post : SDK Release Notes: February 2022](https://alpaca.markets/blog/release-notes-feb-2022/) [Next Post : Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Investment Access in LATAM # tyba: Creating Investment Access in Latin America By [Luke West](https://alpaca.markets/blog/author/luke/) • December 12, 2024[0 Comments](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/#disqus_thread) ![tyba: Creating Investment Access in Latin America](https://alpaca.markets/blog/content/images/2024/12/tyba-customer-story.png) In a region where investing often feels out of reach, tyba by Credicorp Capital makes it accessible for Colombians, Peruvians, and Chileans, no matter their income or experience level. Since their founding in 2019, tyba has significantly expanded its product offerings, driving rapid growth across their markets in Latin America (LATAM). Recently, we had the opportunity to speak with tyba’s CEO, Felipe García, about the company’s origins, growth plans, and its partnership with Alpaca. ## **tyba’s Vision and Growth** Founded in Colombia by Deputy CEO, Valdemaro Mendoza, [tyba](https://tyba.com.co/?ref=alpaca.markets) is a digital investment app that provides an approachable, user-friendly platform to simplify investing in international securities. With a goal to “democratize investing opportunities”, tyba is empowering Colombians to achieve their financial goals by investing in US markets. This approach is groundbreaking in the largely unpenetrated Colombian market where, according to García, “less than 2% of the population invest in equities.” It also addresses the concerns of those who may have felt intimidated by traditional brokerages, which feeds into the core values of tyba: that investing is a right for everyone and should not be limited by their passport. Through their parent company, [Credicorp Capital](https://www.credicorpcapital.com/Paginas/NHome.aspx?ref=alpaca.markets), tyba provides the security and reassurance of a local presence combined with the resources and support of an enterprise operation, all while providing access to global investment opportunities. Leveraging Credicorp Capital’s licenses and regulatory protocols, tyba has quickly digitized processes for mutual funds, foreign exchange (FX), voluntary pension, stocks, and fixed income. tyba has also developed tools like tyba Pocket, allowing LATAM investors to invest easily and protect against inflation. ## **Increasing Adoption Through Education and Experience** While being strictly regulated, tyba has taken a proactive approach to increasing adoption among the local markets. According to García, some of the ways the fintech is addressing these issues include: - Educational Resources: While restricted in providing specific investment advice, they offer dedicated materials through [educatyba](https://tyba.com.co/blog/?ref=alpaca.markets) and its [social media](https://www.instagram.com/tyba_latam/?ref=alpaca.markets) to help clients learn about investing and the importance of asset diversification. - Mobile-First Experiences: Recognizing the prevalence of mobile usage in Latin America, tyba offers a seamless mobile investing experience through its app. - Trust and Transparency: Beyond the regulatory protection, tyba emphasizes building trust with clients. This is crucial in a market where investors may be unsure of how much money to allocate to US markets versus keeping it in local institutions. They also aim for transparency in fees and processes, making it clear how their platform works and how client money is handled. - Financial Inclusion: tyba is actively working to break down barriers for global investment access and continually encouraging more people to become involved. This has social and economic implications – both empowering individuals and contributing to the overall development of the Latin American market. Through these key customer offerings, tyba is helping to address the low rates of financial literacy and foreign investing in LATAM. As a result, individuals now have access to affordable investment resources to build and grow their personal wealth. ## **Working with Alpaca: Removing Barriers and Growing AUM** Alpaca's Broker API has positioned tyba to be at the forefront of investment innovation in Latin America, offering a [modern, end-to-end API platform](https://alpaca.markets/broker?ref=alpaca.markets). Through this partnership, tyba serves as a bridge between Latin American investors and the global markets, offering a “white” regulatory-compliant channel for investing in US equities. This now significantly reduces the cost of investing in US equities– enabling clients to start with as little as $1 USD, removing the significant fees typically associated with traditional SWIFT transfers. ![It's quite revolutionary because people, in order to send money to the US, used to pay $30 to $50 per SWIFT. And now we're providing the option to invest just $1 USD to buy equities in the US." - Felipe Garcia, CEO at tyba"It's quite revolutionary because people, in order to send money to the US, used to pay $30 to $50 per SWIFT. And now we're providing the option to invest just $1 USD to buy equities in the US." - Felipe García, CEO at tyba](https://alpaca.markets/blog/content/images/2024/12/quote-banner-felipe--1-.png) "It's quite revolutionary because people, in order to send money to the US, used to pay $30 to $50 per SWIFT. And now we're providing the option to invest just $1 USD to buy equities in the US." - Felipe García, CEO at tyba. In fact, in less than one year, over 80,000 orders have been processed through tyba, demonstrating the appetite from Latin American investors who are eager to buy US securities. With this single dollar mentality, they are able to buy fractional shares, making even high-priced stocks accessible. Powered by Alpaca’s Broker API, tyba has provided the ability for over 10,000 Colombians and Peruvians to invest and grow their money. It even became the fastest product on the platform to reach $1 million USD in AUM. ![Alpaca is proud to work alongside tyba in their mission of empowering investors with the ability to do more with their money. We're committed to providing tyba the innovative technology and reliable infrastructure needed to help them grow and open financial access to more customers across LATAM." - Yoshi Yokokawa, Co-Founder & CEO at Alpaca](https://alpaca.markets/blog/content/images/2024/12/quote-banner-yoshi.png) "Alpaca is proud to work alongside tyba in their mission of empowering investors with the ability to do more with their money. We're committed to providing tyba the innovative technology and reliable infrastructure needed to help them grow and open financial access to more customers across LATAM." - Yoshi Yokokawa, Co-Founder and CEO at Alpaca. As of Q4 2024, García says the product has reached $7 million in AUM, showing signs of accelerated growth as more traders onboard with increased confidence to invest in US securities. Strong user engagement is also evident, with many clients logging in repeatedly and 66% of application logins coming from clients using the trading feature. As tyba continues to create new offerings for both retail and high-value clients, their growth potential in the region is significant. Through partnering with Alpaca, tyba has begun to serve a broader segment of the population, including those previously excluded from traditional investment channels due to high minimums and fees. Alpaca has been able to help tyba scale its operations effectively, so they can handle growing their client base and associated transactions with ease. García also mentioned how they’re developing a hybrid customer service model that combines digital access with personalized advice, recognizing the importance of human interaction for some investors, especially those with larger portfolios. ## **Results Today and Future Goals** tyba’s mission to democratize investing across LATAM is clearly in full swing. Its partnership with Alpaca showcases how innovative firms can rapidly launch products that transform financial services and processes, making it easier than ever to invest in US securities. As tyba expands its market share, García emphasizes that their focus remains on digitalizing products tailored to their local markets while also driving new product expansion. ## **About Alpaca** Alpaca is a clearing/custody broker-dealer and developer-first API brokerage platform that’s raised over $170m in funding. Alpaca offers stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. ## **See How We Can Partner Together** * * * _Alpaca Securities LLC and Credicorp Capital LLC dba Tyba (“tyba”) are not affiliated and neither are responsible for the liabilities of the other._ _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _Fractional share trading allows a customer to buy and sell fractional share quantities and dollar amounts of certain securities. Fractional share trading presents unique risks and is subject to particular limitations that you should be aware of before engaging in such activity. See Alpaca Customer Agreement at_ [_https://alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more details._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk, it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : Alpaca’s 2024 Year in Review](https://alpaca.markets/blog/alpaca-2024-year-in-review/) [Next Post : Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Elphinstone: USD Investment Access # Elphinstone: Transforming Pakistani Investing with USD Accessibility By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • February 20, 2024[0 Comments](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/#disqus_thread) ![Elphinstone: Transforming Pakistani Investing with USD Accessibility](https://alpaca.markets/blog/content/images/2024/02/elphinstone_customer_story.png) In the bustling landscape of Pakistan, Elphinstone stands as a beacon of financial empowerment, offering a gateway for the country's burgeoning middle class to unlock their financial potential. Co-founded by Farooq Tirmizi and Uzair Mahmud in 2020, Elphinstone addresses a critical pain point faced by Pakistanis — earning in American dollars but struggling to save and invest with them. ## About Elphinstone Prior to being Elphinstone’s CEO, Farooq Tirmizi spent over a decade in the financial services industry. While working on Wall Street, he observed the stark contrast in the accessibility to sophisticated investment products in the United States versus its challenges to Pakistanis. Driven by a passion to simplify investing for his fellow citizens, Farooq launched [Elphinstone](https://elphinstone.com.pk/?ref=alpaca.markets) in 2020. In 2021, Uzair Mahmud, a visionary with a bias for cutting-edge technology, joined forces with Farooq to further amplify Elphinstone's mission as their CTO. Elphinstone remains obsessed with solving a single problem: help simplify investing for Pakistanis so wealth creation can be a simple matter of “set it and forget it”. The company’s values are deeply rooted in long-term thinking, prioritizing the financial interests of clients over short-term revenue targets, and a vision for the company to endure beyond the lifetimes of its founders. ## Unlocking the US markets with Elphinstone's App Elphinstone's US app offers Pakistanis the opportunity to invest in US stocks and ETFs in two distinctive ways. The platform provides advised portfolios tailored to clients' risk preferences and offers Shariah-compliant investment options. Additionally, Elphinstone empowers users with self-directed investing, allowing them to trade individual stocks and ETFs based on personal preferences. Pakistani freelancers, equipped with Payoneer or Wise accounts, can seamlessly fund their Elphinstone investment accounts and withdraw funds either to their dollar accounts or back to their rupee accounts in Pakistan. ![Two smart phones floating in air with Elphinstone's mobile app displayed](https://lh7-us.googleusercontent.com/l_vbWtVOshSRP7ojhuAG9S47kfxIMsiHbmOUDnSDzLP1AV9nZQGm814iwAIVNjdLPKVSEDwOPUqv7z72eB9RRavL-J2Zof3LNZyzn1VDFTx_6LqSZAjMiPi20cFkadt6CjGhKCa-1VOK_FEm6TxGGgo) ## Choosing Alpaca: Speed and Innovation Elphinstone's decision to partner with Alpaca was driven by their startup-friendly approach, responsiveness, and speed in both onboarding and compliance processes. The collaboration began in late October 2022 after Farooq Tirmizi met Alpaca’s team at Money 2020 in Las Vegas. The two companies signed an agreement in early November 2022. Within four months, Elphinstone's team, led by Uzair, built and launched their high-functioning, consumer-facing app. ![](https://lh7-us.googleusercontent.com/R6I7vHKu-cg7y0XnszxRtx5AfE3-0dhtmWSLHHMBd-wszEk-SADFIADy8g79VBSTGOgzVVieSy5r8mSMN63kX5x6vU69QazvVJb-XBrA09kA6jPqcXZRuU605K4QfwaPa_jKoBpBKWRlS8_6gcCby30) ### Utilizing Broker API Elphinstone, initially a Registered Investment Advisor, found freedom in the Broker API. It allowed them to create a fully branded, customizable user experience with a fully realized service offering. Even as Elphinstone continues to scale, the reliability of the Broker API remains unwavering, ensuring the security of clients' funds. Alpaca’s Broker Dashboard provides instant visibility into various aspects of Elphinstone's operations, like fund flows, trade executions and more. This has been vital for Farooq and Uzair in facilitating organizational tracking and regulatory filings to ensure compliance. ![](https://lh7-us.googleusercontent.com/1VwcfI8NdpcyLtHcTyq0IP229F9iCk-KGph6KYGKms0dfupjBjXQg5-z-cygJ5-PpPUQDpJxfineYuYuXM8oKM8zodJ45R6WOGWbVefnIcbrx6lzdNRY9SihP_9hWiwZV9CKHaEKZNKDd9zDVkuxaxE) ### Integration and Results Since their launch, clients have executed 6-figure trades instantly, establishing Elphinstone's credibility. The portfolio rebalancing and automated investing tool have been crucial in automating the investment process, with approximately 55% of clients making multiple contributions. Further, Elphinstone's customer acquisition costs have seen a significant decrease due to their seamless user experience built on Alpaca's infrastructure. Word-of-mouth marketing has become the most powerful driver of growth thanks to satisfied customers. The Elphinstone and Alpaca partnership exemplifies how innovative fintech solutions can bridge gaps in traditional financial systems, offering accessibility and long-term value to Pakistani investors. As Elphinstone continues its mission, the collaboration with Alpaca stands as a beacon of transformation in the Pakistani investment landscape. ![](https://lh7-us.googleusercontent.com/RyKbkMBrF-W-qTnCBEHvKlQF9YM9v1u8RpwySI1QdzgLz1LbJbhs0EDysCE1xePNXFY8GJCwYWRzG178DLyaXtGnTKXC30XAyzcoVhKs1CZ_sYvSm1ZwxmfBgzSHTONhG3zj0IvWJXN-52MlqyZMoGI) ## About Alpaca Alpaca is a developer-first API brokerage platform that’s raised over $120m in funding. Alpaca offers stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc.‌ ## **Let's See How We Can Partner Together** reCAPTCHA Recaptcha requires verification. protected by **reCAPTCHA** [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) * * * Alpaca Securities LLC and Elphinstone, Inc. (“Elphinstone”) are not affiliated and neither are responsible for the liabilities of the other. All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). [Previous Post : Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) [Next Post : Alpaca's 2023 Year in Review](https://alpaca.markets/blog/alpaca-2023-year-in-review/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Fractional Shares Update # Updated Terms for Payments in Fractional Shares By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 17, 2021[0 Comments](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/#disqus_thread) ![Updated Terms for Payments in Fractional Shares](https://alpaca.markets/blog/content/images/2021/08/Cash-in-Lieu-Customer-Update-blog-cover.png) Please be advised that Alpaca will begin paying out fractional shares in the event of a stock split, effective August 2nd, 2021. As part of our ongoing efforts to help provide world-class brokerage services and APIs, Alpaca is removing cash-in-lieu transactions. With this change, we aim to reduce customer confusion around stock mergers, acquisitions, and splits. We’re able to offer this innovative solution due to the development of our native Fractional Shares API. ### What is cash-in-lieu? Cash in lieu is the action that takes place when a stockholder is paid the cash equivalent of fractional shares when that stock is consolidated or restructured. In other words, the stockholder receives the monetary market value of the fractional shares in place of the fractional share units. ### How does this affect me? Common situations where cash in lieu is distributed include mergers and acquisitions, stock splits, and spin-offs, which can generate fractional shares. A company could either distribute the fractional shares, round up to the nearest whole share, or pay cash in place of fractional shares. In your Alpaca brokerage account, you will see fractional shares under your positions and activity. If you have any questions or feedback, please get in touch with us at [supports@alpaca.markets](mailto:support@alpaca.markets). As always, thank you for using Alpaca. * * * Alpaca does not make recommendations with regard to fractional share trading, whether to use fractional shares at all, or whether to invest in any specific security. A security’s eligibility on the list of fractional shares available for trading is not an endorsement of any of the securities, nor is it intended to convey that such stocks have low risk. Fractional share transactions are executed either on a principal or riskless principal basis, and can only be bought or sold with market orders during normal market hours. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) [Previous Post : Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) [Next Post : Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca at Consensus 2022 # Join Alpaca in Austin For Consensus 2022 By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • June 03, 2022[0 Comments](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/#disqus_thread) ![Join Alpaca in Austin For Consensus 2022](https://alpaca.markets/blog/content/images/2022/06/consensus-real-alpaca-party-1.png) [Consensus 2022](https://www.coindesk.com/consensus2022/?ref=alpaca.markets), the largest and longest-running crypto festival in the world, is right around the corner – and Alpaca will be there live in person! The main event runs from June 9-12 in Austin, TX and we’re excited to be a sponsor. Say hello to us at **booth #613** and [set up a meeting](https://landingspot.alpaca.markets/meet-us-at-consensus-2022?ref=alpaca.markets) with one of Alpaca’s crypto experts to learn how we can help you: - Build scalable trading products while staying compliant - Embed cryptocurrency and stock trading into your app - Trade cryptocurrency with a few lines of code ### What’s Happening at Consensus 2022? We’ve partnered up with Alpacadabraz, KuCoin Community Chain, KuCoin Labs, and KuCoin Ventures to present to you: Real Alpaca Party. Come pet real alpacas with us on June 8 from 6:00-8:00 PM CDT and learn how we’re supporting Web3 growth and infrastructure! [Sign up on EventBrite](https://www.eventbrite.com/e/real-alpaca-party-alpacaweb3-kcc-kc-labs-kucoin-ventures-alpacadabraz-tickets-344851759897?aff=&ref=alpaca.markets) using the passcode pacacon22. ### Learn How to Unlock the Value of Crypto We've made some major announcements to help individuals and businesses get the most out of cryptocurrency, including the release of Alpaca Crypto API and [extended support for over 20 cryptocurrencies](https://alpaca.markets/support/what-cryptocurrencies-does-alpaca-currently-support?ref=alpaca.markets). Whether you’re a trader, app developer, or a business, we offer a suite of developer-friendly APIs and scalable infrastructure for crypto and stock trading. To learn more about Alpaca Crypto API, [visit our website](https://alpaca.markets/crypto?ref=alpaca.markets) – and if you’d like to chat at Consensus, [book a meeting](https://landingspot.alpaca.markets/meet-us-at-consensus-2022?ref=alpaca.markets) here. We’re also sharing the latest developments at Alpaca with our community, so be sure to join us on [Discord](https://discord.com/invite/AlpacaWeb3?ref=alpaca.markets). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/10/Image-from-iOS--1-.jpg)](https://alpaca.markets/blog/author/crystal/) About [Crystal Xue](https://alpaca.markets/blog/author/crystal/) [Previous Post : Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) [Next Post : SDK Release Notes: May 2022](https://alpaca.markets/blog/untitled/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Dime! Revolutionizes Investing # Dime!: Revolutionizing Investing in Thailand with Alpaca By [Luke West](https://alpaca.markets/blog/author/luke/) • March 10, 2025[0 Comments](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/#disqus_thread) ![Dime!: Revolutionizing Investing in Thailand with Alpaca](https://alpaca.markets/blog/content/images/2025/03/dime_customer-story.png) In a country where Apple, Microsoft, and Google are household names, why is it that Thai people are missing out on the opportunity to invest in these global giants? That's one of the core problems that sparked the creation of [Dime!](https://dime.co.th/en?ref=alpaca.markets), a rapidly growing fintech organization that democratized investing in Thailand and connects their investors with global markets. Recently, our CEO, Yoshi Yokokawa, spoke with Chattrin (Joe) Laksanabunsong, the Chief Product Officer (CPO) at Dime!, about their mission, growth, future, and partnership with Alpaca. ## **Dime!'s Mission, Vision, and Growth** Thailand currently has an untapped investment pool with immense potential. Chattrin believes that about 5% of the population holds investment accounts1, compared to nearly 60% in more developed markets like Singapore2 and the US3. With these figures, Dime! saw a massive opportunity. Their vision is clear: make investing accessible, intuitive, and engaging for everyone, especially for the younger generations. Dime! has taken a pioneering role in international investments for Thailand. Traditionally, most people associated finance only with savings accounts, but the emergence of the Dime! app has significantly increased awareness and interest in US stock investments. Today, Dime! is the market leader in providing US stock investment services in Thailand, driving a shift in the financial landscape. !["We see a big gap in the investment community in Thailand. We want to make investing as easy as possible, as fun as possible, and bridge that gap. That’s one of the reasons we have had 500 growth in the last year. We help people save and invest money in the most enjoyable way possible." Chattrin Laksanabunsong, Chief Product Officer, Dime!](https://alpaca.markets/blog/content/images/2025/03/quote-banner-Chattrin.png) "We see a big gap in the investment community in Thailand," says Chattrin. "We want to make investing as easy as possible, as fun as possible, and bridge that gap. That’s one of the reasons we have had 5x growth in the last year. We help people save and invest money in the most enjoyable way possible." Dime! is not just focused on providing Thai people with access to investment products; they're intentionally fostering financial literacy and working to improve the financial health of Thai people. By gamifying the investing experience and prioritizing products that encourage saving, they are empowering a new generation of investors to take control of their finances and save for the future. Dime!'s approach and product is clearly resonating with their audience. They achieved an impressive 500% growth last year– fueled by their fresh marketing strategies, user-friendly platform, and focus on the underserved 20-35 year old demographic. By keeping the investing process fun and approachable, they are successfully attracting and building a loyal customer base whose savings will grow with them. ## **Why Dime Chose Alpaca’s Broker API** As part of Dime!'s commitment to making investing more accessible and affordable, they partnered with Alpaca, whose own mission is to open financial services to everyone in the world. !["When we chose our partner, we looked for three main things: low minimum cost, fractional shares, and easy tax filing. These three offerings from Alpaca’s Broker API help our users invest in US markets and keep more money in their pockets.” Chattrin Laksanabunsong, Chief Product Officer, Dime!](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcWMR14Blm9UTHlGI4DDXOdMmQImwCv5SvzuLWynHRN6lDWM3SYCWJmfWP5i8BAZSnouUGCmM6gzUSmELpTWKd6C6kFT8-V6PH7BT4nJNYsfYPLbZeRdw59naqoC7mz4UeAdHYf?key=9ljED2dLbe8FceLifo3C3hTY) "When we chose our partner, we looked for three main things: low minimum cost, fractional shares, and easy tax filing," explains Chattrin. “These three offerings from Alpaca’s Broker API help our users invest in US markets and keep more money in their pockets.” Plus, being a self-clearing broker, Alpaca's Broker API is able to provide digital banks like Dime! with the innovative infrastructure they need to achieve their goals and build products faster. By providing the necessary tools and technology, Alpaca is enabling Dime! to: - **Lower the barrier to entry for new investors**: Fractional shares allow Thai people to invest with only 50 baht, approximately $1.50 USD– these low minimums make investing accessible to everyone. - **Keep the tax filing process simple**: With Alpaca facilitating the W8-BEN tax filing process, it saves Dime!’s team time to focus on products. It also helps keep the cost of filing taxes lower, saving their customers around 500 baht a year, or roughly $15 USD, which can be used to invest instead. - **Offer a seamless and user-friendly experience**: Alpaca's Broker API allows Dime! to focus on building an intuitive mobile app with excellent customer service. - **Expand their product offerings**: With Alpaca's support, Dime! can continue to confidently introduce new and innovative financial products to the Thai market at low costs. Through this partnership, Dime! is accelerating to meet their goal for Thai people to invest for as little as a dime. ## **What's Next for Dime!** Dime!'s product roadmap is ambitious, with a focus on building products that help Thai people save and increase their financial well-being. !["The way we prioritize things at Dime! is that it's not just about expanding into new markets or adding new products. We want to see better financial health for our customers. That mission drives us in every product we deliver.” Chattrin Laksanabunsong, Chief Product Officer, Dime!](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeA7yegrRCEOzjLNyP652Lw1fB6WdE8JNDN3GLKF4zlaOfiBK2sI_mcHVp47MASt4hChTgqhOghu04whtUtv_mvuQypYLYq_yC2CGUSvDMd0ezbH18Aka0pMrnJKmK7InrtnuT4bQ?key=9ljED2dLbe8FceLifo3C3hTY) “The way we prioritize things at Dime! is that it's not just about expanding into new markets or adding new products. We want to see better financial health for our customers,” says Chattrin. “That mission drives us in every product we deliver.” One of Dime!'s upcoming products includes options trading, powered by Alpaca's Broker API, which will cater to sophisticated investors who are ready to explore more advanced strategies. ## **Alpaca's Impact** Dime's success is a testament to their vision and execution. With Alpaca as their trusted partner, they are well-positioned to continue their impressive growth trajectory and empower a new generation of financially savvy investors in Thailand. ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXc0im5Ie4ii-19QuiKHO5rvCoEZsXDWY4uq1L66EiuDIivClxO0m7-Q4gaiJoMs2GiC0-JRfVd2x3xpzV6d0aUZSdv44ThpsWrW7iSQKzs1y03oLdKbw6rgbhnYKJ1dvw4ZPdmYiQ?key=9ljED2dLbe8FceLifo3C3hTY) “We enjoy working with an amazing team at Dime!, and it is truly humbling that we get to be a part of their journey in helping Thai investors build wealth and increase their financial stability. I love chatting with Joe about what is going on with the world and Asia, and I always learn a lot from his sharp mind. We look forward to continuing to support Dime! to ship new products and provide more access to financial services to Thai people,” says Yoshi Yokokawa, Co-Founder and CEO, Alpaca. ## **About Alpaca** Alpaca is a US-headquartered brokerage infrastructure technology company and self-clearing broker-dealer, that delivers execution and custody solutions for Stocks, ETFs, and Options, and has raised over USD170 million in funding. Alpaca is backed by top-tier investors globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Derayah Financial, Elefund, and Y Combinator. ## **Partner With Alpaca** References: 1. Market Statistics - Securities Company Statistics: [https://www.set.or.th/en/market/statistics/market-statistics/trading-statistics](https://www.set.or.th/en/market/statistics/market-statistics/trading-statistics?ref=alpaca.markets) 2. Endowus Wealth Insights Report 2023: Over 60% of Singaporeans have investing experience, yet more than half still invest emotionally: [https://endowus.com/newsroom/endowus-wealth-insights-report-2023](https://endowus.com/newsroom/endowus-wealth-insights-report-2023?ref=alpaca.markets) 3. How Many Americans Own Stock? About 162 Million -- but the Wealthiest 1% Own More Than Half: [https://www.fool.com/research/how-many-americans-own-stock](https://www.fool.com/research/how-many-americans-own-stock?ref=alpaca.markets) * * * _Alpaca Securities LLC and KKP Dime Securities Company Limited (“Dime!”) are not affiliated and neither are responsible for the liabilities of the other._ _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _Fractional share trading allows a customer to buy and sell fractional share quantities and dollar amounts of certain securities. Fractional share trading presents unique risks and is subject to particular limitations that you should be aware of before engaging in such activity. See Alpaca Customer Agreement in_ [_our disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more details._ _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk, it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) [Next Post : Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Next-Gen Order Management # Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster By [Neal Patel](https://alpaca.markets/blog/author/neal/) • November 22, 2021[0 Comments](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/#disqus_thread) ![Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/content/images/2021/11/OMS-Launch-announcement_V03--3-.png) Alpaca is excited to announce the launch of the newest revision of our Order Management System (OMS). After several years of high volume algorithmic trading, we set out to capitalize on our experience and historical performance data to see how we could introduce major performance improvements into our order processing latency and scalability. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-20.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=next-gen-order-mgmt-system) While our current OMS has served us very well, Alpaca is experiencing tremendous growth of both direct trading clients via our [Trading API](https://alpaca.markets/algotrading?ref=alpaca.markets) as well as new retail type clients via our [Broker API](https://alpaca.markets/broker?ref=alpaca.markets) partners. Performance has always been core to Alpaca’s DNA and we wanted to build a best of breed system with significant performance improvements that could also keep up with our rapid growth. Our new Order Management System (OMS v2) is now being rolled out to all accounts and is two orders of magnitude faster than our previous OMS. Even during extremely heavy trading volumes, OMS v2 has consistent low latency characteristics. Order processing has improved from ~150ms (with a maximum processing time of up to 500ms during heavy volume) to consistently under 1.5ms! ![](https://alpaca.markets/blog/content/images/2021/11/OMS-Blog-Chart--3-.png) ![](https://alpaca.markets/blog/content/images/2021/11/Quote3-1.png) ## What does an Order Management System (OMS) for Trading do? At Alpaca, The OMS is the interstitial service between every client order and the market. As the backbone of our trading service, The OMS needs to efficiently process orders which at a high level includes: 1. **Request Processing and Validation**: When an order related request is received, we must ascertain what account it relates to and optionally an existing order and ensure the validity of the order parameters. 2. **Account State**: In order to validate the order, we need to associate the request to an account and evaluate the account’s buying power, current positions, etc. Since each order that is processed would impact the account’s effective buying power and asset positions, order processing is inherently sequential by design. 3. **Market Venue Routing:** Depending on parameters of the order and account, we route the order to the appropriate market venue through rule processing. 4. **Execution Report Processing**: When messages, known as Execution Reports, come back from the Market Venues, we receive FIX messages for order acknowledgement, partial fills, fills, cancels, etc. OMS must parse these execution reports so that the order state reflects what the market has returned. 5. **Complex Order Triggers**: At Alpaca, we support a wide variety of [complex order types.](https://alpaca.markets/docs/trading-on-alpaca/orders/?ref=alpaca.markets#order-types) Some order types require triggers that OMS must execute based on conditions of the order type. Since order processing is sequential per account, optimizing order processing time has dramatic benefits to getting the order to market quickly and efficiently. Since OMS v2 is entirely in memory and not dependent on any other systems and services, we eliminated all the overhead of data marshaling and network round trips that our previous OMS had. ## A chronological history of Order Management Systems at Alpaca ### V0: Order Management as part of our Platform Application When Alpaca originally launched, Order Management was handled within our platform application like many other endpoints. This served us well initially and was not highly performant since each order request would have to build the account state for every individual order. Average order processing was estimated to be around ~200 ms. On every order request, we would rely on a database lock to behave as an account mutex so that multiple concurrent order requests would process in FIFO sequential order. ### V1: Order Management as a discrete singleton service: No database locks To address some of the performance concerns and eliminate account level database locks, we built a discrete order management system as a new independent service. OMS v1 had an HTTP interface that our platform API could send requests to and the OMS singleton would create a single goroutine (thread) per account. This was much more performant, eliminated the need for database locks, and served us very well, but was a single point of failure and non deterministic performance characteristics at times of heavy load (such as during market open or highly volatile trading periods). Secondly, this version of OMS relied on our primary database for reading and writing account state and each order would require several round trip queries to the database. OMS v1 demonstrated similar performance characteristics to its predecessor; Average order processing was around ~150ms but could be as high as 500ms per order during heavy load. ### V2: Horizontally scalable, in-memory Order Management System: 100x faster With OMS v2, we heavily invested in making our order management system highly scalable and several orders of magnitude faster than our previous version. In order to achieve this, we built a horizontally scalable in-memory order management system. We exceeded our original performance goal of bringing order processing from 100-500ms in v1 to be consistently under 5ms. Based on extensive benchmarking and stress testings and after many iterations of performance engineering, we are now able to process 85% of orders under 1.5ms and 95% of orders under 5ms! ![](https://alpaca.markets/blog/content/images/2021/11/Quote2--1--1.png) ### Demo: Processing 1 million fractional orders in less than one minute ## OMS v2 Key Components [![](https://alpaca.markets/blog/content/images/2021/11/OMS-Diagram-blog_V02--2--1.png)](https://alpaca.markets/blog/content/images/2021/11/OMS-Diagram-blog_V02--2--1.png) ### OMS nodes with In-Memory State: At the core of OMS v2 are horizontally scalable OMS nodes that maintain account state entirely in memory. Each OMS is responsible for a particular set of accounts (defined via our sharding strategy). By maintaining all account state in memory, we avoid significant overhead of the round trips required if the account state lived in a traditional RDBMs. We shift the account and position state from a single relational database to a set of distributed nodes each maintaining the state of a subset of accounts. ### Distributed Write Ahead Log (WAL) For durability and recovery, we built a write-ahead-log powered by [Redpanda](https://vectorized.io/?ref=alpaca.markets) (a Kafka compatible event streaming platform built on top of Seastar). When an OMS instance starts up, it can rebuild state by hydrating account state from a database and then replaying events from Redpanda given the last known partition offsets that the particular OMS node is consuming. This also has the added benefit where other services can listen to trade and order related events by consuming the WAL in an entirely decoupled fashion. ### Balancer We utilize stateless load balancers that are made aware of the OMS nodes via configuration. Our externally facing platform API communicates with OMS v2 via GRPC calls to our OMS balancer pool. The balancers maintain GRPC connections to each healthy OMS node and forward route calls from the API to the appropriate OMS instance. ![](https://alpaca.markets/blog/content/images/2021/11/Quote1-2.png) ### Next Steps While we are pleased with the significant improvements and scalability our new OMS affords us, we already have a roadmap for how we can further improve our order processing time and reduce tail call latencies as well as areas with better throughput with our order execution services. In our next blog post, we will dive deeper into specific architecture decisions for OMS and our future work. ### Items of Note and Thank You We’d like to thank vectorized.io for their development of Redpanda and their guidance in designing our write ahead log. They also introduced us to the creator of franz-go, Travis Bischel, the kafka go client we use within OMS v2. Travis was extremely helpful in providing us with suggestions and adding changes into franz-go to support our use case. If you are looking at event streaming platforms, we highly recommend looking at Redpanda. Redpanda’s speed and simplified deployment (no need for Zookeeper!) made it a pleasure to work with both during development and in production. Based on our experience, we plan on leveraging it across many of our services. [![](https://alpaca.markets/blog/content/images/2021/11/Join-the-Alpaca-team_V02--1-.png)](https://jobs.ashbyhq.com/Alpaca?ref=alpaca.markets) **Contact Us** * * * _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _Alpaca Securities LLC and AlpacaDB are not affiliated with Redpanda._ _This article is for general informational purposes only and is believed to be accurate and reliable as of posting date but may be subject to change. All images are for illustrative purposes only._ _Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_**FINRA**_](https://www.finra.org/?ref=alpaca.markets) _/_ [_**SIPC**_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc._ _Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/11/T6DRXNY78-UJQFXSQ5V-dc33ad28b60f-512.jpeg)](https://alpaca.markets/blog/author/neal/) About [Neal Patel](https://alpaca.markets/blog/author/neal/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) [Next Post : Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Onfido SDK Launch # Alpaca Launches Onfido SDK for Broker API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 10, 2022[0 Comments](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/#disqus_thread) ![Alpaca Launches Onfido SDK for Broker API](https://alpaca.markets/blog/content/images/2022/02/Onfido_BlogAnnouncement.png) We are excited to announce the launch of Onfido SDK for Broker API. This is a new Alpaca KYC as a service offering that is highly useful to onboard international end-users. [**Onfido**](https://onfido.com/?ref=alpaca.markets) is a leading technology organization that provides sound identity verification solutions that have helped over 1,500 companies reduce fraud, onboard more users, and increase their account approval rates. You can now speed up your customer identification process by embedding the Onfido SDK directly into your fintech app! ## Build a seamless KYC process with Broker API **Easily onboard international end-users** Conducting KYC globally is complex, as a myriad of country-specific regulations must be taken into account, and penalties for non-compliance are severe. By integrating the SDK, you can safely verify end-users from across 195 countries through document verification by having them capture in real-time photo IDs covering over 2,500 documents and passports. An additional layer of protection is also added in the process with biometric verification in which end-users would simply take a selfie or short video to corroborate whether or not their identity is bona fide. **Simplify your onboarding flow** Developing a streamlined customer identification process is one of the most crucial components of building your fintech app. This is the onboarding step that can lead to higher drop-off rates if the sign-up process is complicated or difficult to comprehend. Onfido’s unique SDK was specifically designed to remove this friction by offering real-time feedback and automatic prefilled sign-up forms captured from their ID. With the release of Onfido SDK  for Broker API, we aim to simplify and remove the complexity out of the onboarding process by executing KYC on your behalf. **Real-time validation and  fraud prevention** The Onfido SDK integrations offer end-users live guidance, real-time feedback, and validation with built-in glare and blur detection. The SDK prevents failed submissions and is well-equipped to catch any fraudulent IDs by checking against complex fraud signals such as font inconsistencies and doctored documents. **A faster way to open brokerage accounts** Manual review of compliance documents is a tedious, time-consuming, and expensive activity. Choosing Onfido SDK as your KYC solution can help reduce operational costs and speed up your account approval process up to 5x by combining the best of artificial intelligence and expert human analysts. **Secure documentary and non-documentary verification** In an effort to establish the legitimacy of an end user's identity and determine potential risk factors, federal law mandates financial institutions to verify customer information. There can be two ways to conduct  KYC (know your customer), i.e through documentary or non-documentary methods. To give context, the former refers to comparing end-user information against government-issued photo IDs, while the latter compiles data points (address, date of birth, tax ID)and verifies this information against public databases. The documentary method is a common approach to verifying identity, but can add friction to the user onboarding experience with concerns about privacy and the collection of documents. On the other hand, non-documentary can lead to a faster onboarding process, but is not feasible for a single provider to accomplish internationally due to a lack of publicly available data. **Why choose Onfido SDK?** Onfido's extensive global coverage and robust privacy-protection policies enable you to initiate documentary and non-documentary KYC/CIP verification in a faster and more secure way.  Onfido SDK integration can lead to higher account approval rates, a frictionless onboarding experience, and prevent up to  98.7% of ID fraud attempts with their expert human and machine learning detection. **Key features\*** - An official and easy-to-use native integration with Broker API - Easily onboard end-users through ID document, biometric and real-time verification - Increase account approval rates up to 5x - Covers 195 countries: includes Europe, North America, South America, Asia, and Africa - Supports over 2,500 separate documents and passports - Catch up to 98.7% of ID Fraud attacks To learn more, check out our learn article on [How to integrate Onfido SDK into your brokerage app](https://alpaca.markets/learn/how-to-integrate-the-onfido-sdk-into-your-brokerage-app/?ref=alpaca.markets) or view [Onfido integration guide](https://alpaca.markets/docs/api-references/broker-api/?ref=alpaca.markets#onfido-sdk-integration) in Broker API documentation. [How to integrate the Onfido SDK into your brokerage app\\ \\ Learn how to integrate the Onfido SDK into your fintech app. With this new integration, we offer secure documentary verification to onboard end-users.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesChristie Ruales\\ \\ ![](https://alpaca.markets/learn/content/images/2022/02/Onfido_LearnArticle.png)](https://alpaca.markets/learn/how-to-integrate-the-onfido-sdk-into-your-brokerage-app/?ref=alpaca.markets)[Broker API\\ \\ Open brokerage accounts, enable commission-free trading, and manage the ongoing user experience with Alpaca Broker API\\ \\ ![](https://alpaca.markets/docs/favicon.png)Alpaca Docs Alpaca Docs Alpaca Docs\\ \\ ![](https://user-images.githubusercontent.com/24945583/153307201-0fc77821-799a-4724-af30-710890c8c636.png)](https://alpaca.markets/docs/api-references/broker-api/?ref=alpaca.markets#onfido-sdk-integration) * * * **\*** Onfido data as of Dec. 31, 2021 Alpaca Securities LLC and Onfido are not affiliated and neither are responsible for the liabilities of the other. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [**FINRA**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [**SIPC**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=top&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-onfido-sdk-for-broker-api%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-onfido-sdk-for-broker-api%2F&disqus_version=current&sourceless=false)[iframe](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-onfido-sdk-for-broker-api%2F&t_d=Alpaca%20Launches%20Onfido%20SDK%20for%20Broker%20API&t_t=Alpaca%20Launches%20Onfido%20SDK%20for%20Broker%20API&s_o=default#version=3aff0245248612911681b2f961ab8531)[iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=bottom&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-onfido-sdk-for-broker-api%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-launches-onfido-sdk-for-broker-api%2F&disqus_version=current&sourceless=false) [Previous Post : Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) [Next Post : Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca's Fintech Recognition # Alpaca Recognized on the CB Insights 2022 Fintech 250 List By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 06, 2022[0 Comments](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/#disqus_thread) ![Alpaca Recognized on the CB Insights 2022 Fintech 250 List](https://alpaca.markets/blog/content/images/2022/10/blog_cbinsights-fintech-250-list-social-graphic.png) CB Insights has named Alpaca to the 2022 Fintech 250 – a list that honors the 250 most promising private fintech companies, from payments and banking to investing and insurance. Alpaca is recognized in the Investing and Trading Infrastructure category among 13% of the selected Seed, Series A, or Series B stage companies. “We are honored to be recognized in CB Insights’ Fintech 250 list alongside many of our partners and customers,” said Yoshi Yokokawa, Co-founder and CEO at Alpaca. “Alpaca is laser-focused on offering API-first investing infrastructure that helps businesses and developers easily integrate cryptocurrency and stock investing into their apps and services. This distinction is a testament to our team’s hard work and our commitment to opening access to financial services everywhere.” According to CB Insights, the winners were chosen from a pool of over 12,500 eligible private companies. Honorees were selected based on factors such as funding, market potential, business relationships, investor profile, and news sentiment analysis. Also taken into consideration were team strength and tech novelty. For additional information about the methodology and to view the complete list, visit [CB Insights](https://www.cbinsights.com/research/report/top-fintech-startups-2022/?ref=alpaca.markets). * * * ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Full and fractional securities trading is offered through Alpaca Securities, LLC and crypto trading services are offered by Alpaca Crypto LLC. Both are wholly-owned subsidiaries of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. To learn more about Alpaca, visit [https://alpaca.markets](https://cts.businesswire.com/ct/CT?id=smartlink&url=https%3A%2F%2Falpaca.markets%2F&esheet=52782509&newsitemid=20220719005093&lan=en-US&anchor=https%3A%2F%2Falpaca.markets&index=5&md5=2ea08829a62917d1232e5964311c279a&ref=alpaca.markets) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/10/Image-from-iOS--1-.jpg)](https://alpaca.markets/blog/author/crystal/) About [Crystal Xue](https://alpaca.markets/blog/author/crystal/) [Previous Post : Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/jungleprotocol/) [Next Post : Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Eccuity for Kiwi Investors # eccuity: Simplifying the Complex for Kiwi Investors By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 01, 2024[0 Comments](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/#disqus_thread) ![eccuity: Simplifying the Complex for Kiwi Investors](https://alpaca.markets/blog/content/images/2024/09/eccuity_customer_story@3x.png) Driven by democratizing access to investment information and assets, eccuity is bridging the gap between DIY platforms and traditional wealth management services in New Zealand. Their platform empowers investors to make informed decisions, execute strategies efficiently, and be part of a community where they can gain confidence and collaborate. ## About eccuity Founded in late 2021 by Charlie Meaden, Abinesh Krishan, and Nathan Bryant-Taukiri, [eccuity](https://www.eccuity.com/?ref=alpaca.markets) started from the founders' success in systematic investing. Through their experiences, it became clear that data, multiple brokerage accounts, and even the entire financial system were fragmented. Their mission then crystallized as they discovered a widespread need to centralize financial literacy, investment planning, and confident execution among investors. ## Elevating Their Offering Through Innovation ### eccuity’s Values-Driven Process eccuity's guiding values inspired its development– emphasizing innovation, user-centricity, and community transparency. The team, focused on cutting-edge technology, elevates its investing experience. By prioritizing user feedback, eccuity adopts a first principles approach to problem-solving, ensuring effective solutions. Focused on customer-centric outcomes, they foster community trust through open, transparent communications. Finally, eccuity champions AI and has embedded it directly into their platform. This results in helping their customers make informed investing decisions and achieve financial goals confidently. ### How eccuity Helps Its Investors eccuity's platform covers a breadth of innovative features designed to enhance the investing experience. Their offering includes: **eccuity Invest:** eccuity Invest offers seamless investing for US stocks, ETFs, and cryptocurrencies. With optimal custodianship and investor protection, including Excess SIPC Insurance, investments are safeguarded. Transaction fees are as low as 0.2%, and investments can be automated with auto-investing capabilities. **AI Assistant:** Their AI Assistant elevates the investing journey by providing insights from extensive data sets to streamline research. By delving into historical events and trends, informed decisions can be made swiftly and confidently– helping navigate the complexities of the financials. **Asset List:** eccuity's Asset List offers diversified investment possibilities. Users can track and analyze performance across a breadth of asset classes as well as create custom asset lists to monitor. Whether investors are seasoned or just recently started, eccuity provides the tools needed to build catered and resilient investment portfolios. **Multi-Ordering and Scheduling:** Investment management is simplified with a Multi-Ordering and Scheduling feature. Users can build asset baskets and execute group orders with efficiency. Investors can also automate their investment strategies by scheduling orders in advance; making portfolio management convenient. **eccuity Private:** eccuity Private redefines wealth management through exclusive, personalized insights provided by expert advisors. Users can also utilize annual FIF tax calculations, substantial fee reductions, and unlimited access to eccuity's suite of features. For qualified investors, eccuityPrivate unlocks access to private and alternate assets, offering endless possibilities to elevate financial futures. ![](https://lh7-us.googleusercontent.com/aH2m65O56MVI15j-zVgaGiCKyCHwB_hSq16YcHC8tUzZUFJeFVDC3nVx8RPGT8ItIBz4kZJT1fskeeu9NaoUkl2Cesh8-9LIvXn46j-4WWSSeO8HziflWQRKw23ztd1f5HRkp_0kywk5Xv37THuMwkY) ## Powering Their Platform with Broker API With a shared vision of increasing global financial accessibility, eccuity naturally aligned with Alpaca. !["The culture at Alpaca is one of innovation and moving the financial system forward. For that reason, along with their modern API, we felt like it was a natural fit for us to partner." - Charlie Meaden, CEO and Co-Founder at eccuity.](https://alpaca.markets/blog/content/images/2024/07/quote-banner--2-.png)Charlie Meaden - CEO, Co-founder at eccuity "The culture at Alpaca is one of innovation and moving the financial system forward. For that reason, along with their modern API, we felt like it was a natural fit for us to partner." - Charlie Meaden, CEO and Co-Founder at eccuity. Recognizing their users' desire for premium features such as singular access to asset classes, eccuity integrated with Alpaca’s Broker API. This enables their customers to invest in both stocks and crypto, strengthening eccuity's brokerage offering. As they look to scale their addressable market and platform, Alpaca’s dedicated success and support team members are accessible. !["Working with Charlie and his team has been a pleasure; they were extremely responsive and collaborative as we supported their launch of eccuity." - Zubair Virjee, Vice President, Partner Enablement at Alpaca](https://alpaca.markets/blog/content/images/2024/07/quote-banner-zubair--1-.png)Zubair Virjee, Vice President, Partner Enablement at Alpaca "Working with Charlie and his team has been a pleasure; they were extremely responsive and collaborative as we supported their launch of eccuity." - Zubair Virjee, Vice President, Partner Enablement at Alpaca eccuity and Alpaca's partnership demonstrates the value of API-first, technology-driven solutions in both local and global investing landscapes. Together, they are committed to empowering Oceania users with the platform and resources needed to simplify the previously felt complexities in personal investing. !["We love how eccuity not only tailors their platform for each user's needs but also builds their investing community in parallel. With this combination of personalization and collaboration, they're helping reshape New Zealand's investing ecosystem." - Yoshi Yokokawa, Co-Founder and CEO at Alpaca](https://alpaca.markets/blog/content/images/2024/07/quote-banner-yoshi--1-.png)Yoshi Yokokawa, Co-Founder & CEO at Alpaca "We love how eccuity not only tailors their platform for each user's needs but also builds their investing community in parallel. With this combination of personalization and collaboration, they're helping reshape New Zealand's investing ecosystem." - Yoshi Yokokawa, Co-Founder and CEO at Alpaca ## About Alpaca Alpaca is a developer-first API brokerage platform that’s raised over $120m in funding. Alpaca offers stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. ## **Let's See How We Can Partner Together** * * * Alpaca Securities LLC and eccuity Limited (“eccuity”) are not affiliated and neither are responsible for the liabilities of the other. All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) [Next Post : Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Hacktoberfest 2021 Celebration # Hacktoberfest 2021 ? Celebrate Open Source with Alpaca By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 08, 2021[0 Comments](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/#disqus_thread) ![Hacktoberfest 2021 ? Celebrate Open Source with Alpaca](https://alpaca.markets/blog/content/images/2021/10/Hacktoberfest-blog-cover-1.png) October is for open-source celebrations and Alpaca is excited to participate! For the first time ever, we’re actively seeking Hacktoberfest contributions. Contribute to our open-source projects in the month of October and win cool Alpaca swag. ? ### What is Hacktoberfest? [Hacktoberfest](https://hacktoberfest.digitalocean.com/?ref=alpaca.markets) is a month-long celebration of open source software hosted by DigitalOcean, and encourages worldwide participants to contribute to open-source projects hosted across GitHub. [Hacktoberfest ’21\\ \\ Open source is changing the world – one contribution at a time.\\ \\ ![](https://hacktoberfest.digitalocean.com/apple-touch-icon.png)Hacktoberfest presented by DigitalOcean\\ \\ ![](https://hacktoberfest.digitalocean.com/share-card.png)](https://hacktoberfest.digitalocean.com/?ref=alpaca.markets) ### Getting Started Make sure you have an account, then [register here](http://hacktoberfest.digitalocean.com/?ref=alpaca.markets) and start contributing to any participating open source project between Oct 1 - Oct 31. You must make at least four pull requests (PRs) in the month of October in any [GitHub-hosted repository/project](https://github.com/topics/hacktoberfest?ref=alpaca.markets) with the _hacktoberfest_ label in order to qualify. To make sure that your pull request is valid, please adhere to Hacktoberfest's [quality standard](https://hacktoberfest.digitalocean.com/resources/qualitystandards?ref=alpaca.markets). ### Earn Hacktoberfest and Alpaca Swag The first 50,000 participants who meet the [contribution criteria](https://hacktoberfest.digitalocean.com/resources/participation?ref=alpaca.markets) set by DigitalOcean receive a Hacktoberfest T-shirt. In addition, if you’re one of the **first 20 participants** to submit one or more successfully merged pull requests to our open source projects and any contributions to the community-built SDKs, such as Java and R ones, as well as anything that uses Alpaca API (pls see below for the list), you’ll receive an Alpaca T-shirt. ? Just make sure to [fill out this form](https://docs.google.com/forms/d/e/1FAIpQLSdxkWh2VDVZBqwcrW7D9n9mSN_IccZr-y1BpBe49bH_c0lKpA/viewform?usp=sf_link&ref=alpaca.markets) afterwards?. ![](https://alpaca.markets/blog/content/images/2021/10/Screen-Shot-2021-10-08-at-3.12.54-PM.png)[Alpaca T-shirt request form -> https://bit.ly/3AsqvDv](https://bit.ly/3AsqvDv?ref=alpaca.markets)![](https://alpaca.markets/blog/content/images/2021/10/image-2.png)Lookin sharp? ### Why Contribute to Alpaca’s Open Source Projects? Alpaca is a fast-growing fintech company that is democratizing global access to financial markets with a developer-friendly stock and crypto trading API. By contributing to Alpaca's open source projects, you’re helping the entire community become more efficient and productive and empowering developers worldwide to build fintech apps. Looking forward to your contribution to the Alpaca open source projects listed below and the community-built SDKs (and anything that uses Alpaca API)?! **[Alpaca Trading API Go](https://github.com/alpacahq/alpaca-trade-api-go?ref=alpaca.markets)** **[Alpaca Trading API C#](https://github.com/alpacahq/alpaca-trade-api-csharp?ref=alpaca.markets)** **[Alpaca Trading API Python](https://github.com/alpacahq/alpaca-trade-api-python?ref=alpaca.markets)** **[Alpaca Trading API JS](https://github.com/alpacahq/alpaca-trade-api-js?ref=alpaca.markets)** **[Alpaca MarketStore](https://github.com/alpacahq/marketstore?ref=alpaca.markets)** **[Pylivetrader](https://github.com/alpacahq/pylivetrader?ref=alpaca.markets)** **[Alpaca Backtrader API](https://github.com/alpacahq/alpaca-backtrader-api?ref=alpaca.markets)** **[Pipeline-Live](https://github.com/alpacahq/pipeline-live?ref=alpaca.markets)** We hope you have fun contributing to and celebrating open source this month! Happy Hacktoberfest ? ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/10/Image-from-iOS--1-.jpg)](https://alpaca.markets/blog/author/crystal/) About [Crystal Xue](https://alpaca.markets/blog/author/crystal/) [iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=top&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fhacktoberfest-2021-celebrate-open-source-with-alpaca%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fhacktoberfest-2021-celebrate-open-source-with-alpaca%2F&disqus_version=current&sourceless=false)[iframe](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fhacktoberfest-2021-celebrate-open-source-with-alpaca%2F&t_d=Hacktoberfest%202021%20%3F%20Celebrate%20Open%20Source%20with%20Alpaca&t_t=Hacktoberfest%202021%20%3F%20Celebrate%20Open%20Source%20with%20Alpaca&s_o=default#version=3aff0245248612911681b2f961ab8531)[iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=bottom&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fhacktoberfest-2021-celebrate-open-source-with-alpaca%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fhacktoberfest-2021-celebrate-open-source-with-alpaca%2F&disqus_version=current&sourceless=false) [Previous Post : Alpaca Launches Developer-Friendly Crypto Trading API](https://alpaca.markets/blog/alpaca-launches-crypto-trading/) [Next Post : Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## API Change Notification # API Breaking Change Notification for Unpriceable Assets By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 26, 2021[0 Comments](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/#disqus_thread) ![API Breaking Change Notification for Unpriceable Assets](https://alpaca.markets/blog/content/images/2021/08/Cover-Blog---API-Breaking-Change-Notification-for-Unpriceable-Assets@2x.png) ### Current Issue and Customer Impact There are cases when an account may have a position in an asset that does not have a current price. This can occur when certain corporate actions are processed or when a stock gets delisted. In this scenario, API endpoints that call functions that use asset prices are returning an error response. In order to avoid the error response and keep the API available even in the event that one of your positions’ underlying asset is missing a price, we will introduce a minor breaking change to the API. ### Solution and API Breaking Change Starting on September 9, 2021, the following API response fields will change from non-nullable to nullable. They will appear null in the response in the case that the underlying asset is missing the price for some reason. ![](https://alpaca.markets/blog/content/images/2021/08/Screen-Shot-2021-08-25-at-2.27.30-PM.png) Additionally, the following API response fields’ values will exclude the account’s position in the unpriceable asset. ![](https://alpaca.markets/blog/content/images/2021/08/Screen-Shot-2021-08-25-at-2.27.22-PM.png) ### Release Timeline We plan for this change to take effect in the Trading API and Broker API live environments starting on September 9, 2021. For Paper Trading and the Broker API sandbox environment, we plan to enable this change on September 2, 2021. We’ll ensure that our SDKs are updated as well. We understand the change may impact your client code but hope it will provide a better experience. Thank you for your understanding and please feel free to send any questions to support@alpaca.markets. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) [Previous Post : Alpaca Raises $50 Million Series B & Announces Crypto Offering](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) [Next Post : Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Self-Clearing Success # Alpaca Successfully Transitions to Self-Clearing at DTCC By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • April 18, 2024[0 Comments](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/#disqus_thread) ![Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/content/images/2024/04/DTCC-Self-Clearing-Status-1.png) Hi, I am Hitoshi, Co-founder & Chief Product Officer at Alpaca. Today, I have big news. Alpaca has successfully transitioned to self-clearing at DTCC. This is a huge milestone since we started a regulated brokerage business five years ago. It’s a pivotal milestone for us because this means Alpaca has joined the deepest layer of clearing and settlement in the U.S. marketplace. As it took us years of effort, this phenomenal event proves us as one of the mature players amongst the latest fintech companies. How thrilling is this? When Yoshi and I started the brokerage business out of Y Combinator, we thought it would be ridiculous to spend so much time and money to become self-clearing ourselves. As our business grew quickly, we learned so much about the inefficiency and too many intermediary layers between customers and the core market, and we found big opportunities to innovate it as part of our mission, to provide financial access for everyone on the planet. Alpaca builds a global de-facto financial platform from the ground up to achieve this mission. The traditional brokerage businesses have been built upon layers on top of layers, with legacy vendor technologies, and pay enormous amounts of money. This is one of the things that still prevent everyone on this planet from having fair access to the desired financial markets. At Alpaca, not only are we developer-first and API-first, but also we are a group of true technologists who build with the latest innovations to solve these problems. Today’s achievement is not just stemming from our technology and cost reasons. Throughout our journey with hundreds of fintech players and hundreds of thousands of developers who come to our platform to build their next dreams, we learned so much about what Alpaca needs to do. Self-clearing opens up many more opportunities for our platform to enable, from seamless asset transfers to securities lending, as well as more sophisticated solutions such as DVP/RVP for institutional trading. We are very appreciative of everyone who taught us about this. ### Technology Innovation Alpaca’s proprietary clearing and settlement platform has been built with modern architecture in mind. It was built from the ground up with an idempotent event driven architecture. In order to facilitate bidirectional communication with DTCC and NSCC, we created event abstraction adapters for bidirectional external via FIX, IBM MQ and SFTP to simplify the services producing or consuming and improves resilience and fosters composable testing and event sequence replay. Our underlying event platform, The Alpaca Universal Transaction System (UTS), uses Flatbuffers for zero-copy data interchange on top of Redpanda for efficient high-throughput and low latency messaging with elastic tiered storage that scales without sacrificing performance for highly active message topics. In the past articles, we introduced our distributed WAL-based in-memory [Order Management System](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/), and high-throughput [non-blocking ledger](https://alpaca.markets/blog/low-latency-ledger-upgrade/) for 24x7/365 operations. Not only do these play important roles in this self-clearing, but we have also made another innovation by building a fully event-driven clearing system from scratch. With this architecture, we are ready for the transition to T+1 that’s coming up soon, but also poised for a foreseeable T+0 future migration as well as current same day settlement for institutional trade processing. ### Dream Team Self-clearing requires complex business processes, managing risks of settlement for large numbers of investors, and keeping everything in compliance to protect customers and the markets. To run smooth operations and be in compliance with everything required, Alpaca has gathered star players who bring tons of experience from their past lives in the industry (don’t get it wrong, many of us are from the latest fintech space, not only decade-old firms). Why? Because every one of us believes in Alpaca’s innovative approach, its business future, and the opportunity to change the industry with our own hands and brains, like many of our customers feel. Not only does this team build and run the self-clearing journey, we are also here to provide the best experiences for our customers because we are the same innovative-minded team as our customers are. ### Business Opportunities Becoming self-clearing is definitely not a goal, but it is just the beginning. What excites us even more from here is that this paves the road to building more businesses because of our full control of the process. We have already announced that options trading is coming soon, but we can bring more business and product opportunities while we keep enhancing our operational efficiencies for our customer experiences. In the next few quarters, we hope to reveal more exciting products to both Broker API and Trading API customers. As a matured platform being self-clearing, we are also expecting to expand our segments of customers, such as institutional businesses, U.S. broker-dealer clients, and hedge funds with proven track records. There is a lot more to talk about for our self-clearing journey, but this is good enough for now. We look forward to accelerating our mission from here. Let’s keep building! Hitoshi * * * _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://www.gravatar.com/avatar/645a315440aea33bd45204259f424a4b?s=250&d=mm&r=x)](https://alpaca.markets/blog/author/hitoshi/) About [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) [Previous Post : eccuity: Simplifying the Complex for Kiwi Investors](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) [Next Post : Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Thndr: Investing Accessibility # Thndr: Opening Investing Accessibility in MENA with Alpaca By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 14, 2024[0 Comments](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/#disqus_thread) ![Thndr: Opening Investing Accessibility in MENA with Alpaca](https://alpaca.markets/blog/content/images/2024/06/thndr-customer-story_1.png) Thndr is an emerging force in MENA, who’s team is on a mission to increase access to personal investing. By opening access to the global markets for a growing population of young, tech-savvy individuals, they’re well on their way to accomplishing this. ## Thndr's Vision and Growth [Thndr](https://thndr.app/home-glo/?ref=alpaca.markets) is a digital investment platform designed to simplify and democratize investing. It facilitates access to essential tools and resources, empowering anyone with a phone and an internet connection to invest and achieve financial freedom. The vision for Thndr was born out of the co-founders' experiences with the stock market and working at an investment bank in Egypt. Seif Amr, Co-Founder and COO, encountered significant difficulties in opening a personal investment account. Meanwhile, Ahmad Hammouda, Co-Founder and CEO, recognized that unique investment opportunities in Egypt were largely inaccessible to the general population but open to the few. Therefore, their shared vision was to leverage technology to create a modern, inclusive investment system accessible to everyone. In August 2020, Thndr received its brokerage license from Egypt’s Financial Regulatory Authority (FRA), allowing it to conduct securities brokerage services. This milestone marked the beginning of Thndr's journey towards becoming the [#1 investment platform in Egypt by retail trade volume and value, as of April 2024](https://www.wamda.com/en/2024/05/thndr-expands-uae-market-adgm-approval?ref=alpaca.markets). Since its inception, Thndr has achieved remarkable growth and success: - Achieved a trading volume of [$1.8 billion in 2023](https://www.wamda.com/en/2024/05/thndr-expands-uae-market-adgm-approval?ref=alpaca.markets), an 800% growth compared to 2022 - Increased daily transactions from 1,500 in 2022 to 32,000 in 2023 and nearly 100,000 in 2024 (app.1) - [Over 3 million app downloads, with 500,000 monthly users](https://www.zawya.com/en/press-release/companies-news/thndr-enters-uae-market-with-adgm-license-ndsg4owo?ref=alpaca.markets) Most recently, [Thndr expanded its operations into the UAE](https://thndr.app/blog/thndr-enters-uae-market-with-adgm-license-aiming-to-democratize-investing-in-the-mena-region/?ref=alpaca.markets) through their ADGM license. This Category 3A license with retail endorsement from the Abu Dhabi Global Market (ADGM) Financial Services Regulatory Authority (FSRA) allows Thndr to offer direct access to US-listed securities, including stocks, ETFs, and fractional shares, with no minimum investment requirements. ## Key Features for Customer Empowerment Thndr empowers users with a fully-licensed, easy-to-use app and provides educational resources through: - **Thndr Learn**: An educational platform covering essential financial knowledge - **Claps**: A daily financial newsletter - **Virtual Mode**: A market simulation for risk-free investment practice - **Rumble**: A platform offering expert financial advice to identify and understand investment opportunities Through this offering, Thndr helps address the low rates of financial literacy and outdated, expensive investment options in the MENA. As a result, individuals have access to affordable investment resources to build and grow their personal wealth. ## Working with Alpaca: Enabling Rapid Growth Thndr chose Alpaca for its comprehensive offering of US equities. This eliminated the need for them to heavily invest in the underlying infrastructure. This strategic move not only reduced operational costs but allowed Thndr to focus on enhancing its user experience. Alpaca’s [Broker API](https://alpaca.markets/broker?ref=alpaca.markets) enabled Thndr to quickly build an investment experience tailored to their clients' unique needs. !["Alpaca Broker API has democratized access to U.S. equities, empowering financial institutions and developers with a seamless, powerful platform to build personalized applications. The API is designed in such a way that it is easy to use, yet complex enough to handle a variety of financial operations" - Mohamed Fayek, Product Lead - Core Brokerage Service at Thndr.](https://lh7-us.googleusercontent.com/docsz/AD_4nXfSQW6GMdW4eRGVvOG5tG72p31i453Riy0-M2H7qyYBq15vcxCBqy45fEo0KBcknGWX8mc7sno-zehXxwvaAVW98D_kka0hhEIQbvKqT8dsBQOV9kOiOVGXom47LITIGIN17UeUAGxOZH3MeI5GAohSM4Q?key=NYXTjPIvrw5dhyC3vgUVpg)Mohamed Fayek, Product Lead - Core Brokerage Service at Thndr "Alpaca Broker API has democratized access to U.S. equities, empowering financial institutions and developers with a seamless, powerful platform to build personalized applications. The API is designed in such a way that it is easy to use, yet complex enough to handle a variety of financial operations" - Mohamed Fayek, Product Lead - Core Brokerage Service at Thndr. Alpaca's intuitive APIs and comprehensive documentation accelerated Thndr's development process, enabling the swift delivery of innovative trading solutions to the MENA market. This has allowed Thndr to handle trading operations seamlessly and scale to meet growing demands. ## Current Results and Future Goals As mentioned, Thndr's mission is to open investing access in the MENA region by leveraging technology to offer a simple, barrier-free investing experience. The partnership between Thndr and Alpaca demonstrates and exemplifies how innovative fintech solutions can revolutionize traditional financial systems – providing long-term value to users. ![](https://lh7-us.googleusercontent.com/docsz/AD_4nXf6Q6INqz8RlqKz0nrPp-rwBtRjSXgphkUhp8D2Nx-j1krVQ753eEQXrRNqDyGVhZ2n_5hsXYdwaARyAA-PwgmNY8wunQvDEj7UbaTAkrPp54mzvuB3dzl0R7JPkzWwtO_PN20rg0G4UpMwaqdKaeYnM63e?key=NYXTjPIvrw5dhyC3vgUVpg)Yoshi Yokokawa, Co-Founder & CEO at Alpaca "Alpaca is incredibly proud to have worked together and continue to support Thndr's ambitious growth and vision. I vividly remember our video calls back when both our teams were early-stage companies as we figured out how to best partner together. We are committed to providing Thndr with innovative technology and reliable infrastructure as they grow. We are very excited to strengthen our partnership to grow together to create a more inclusive investment environment in the MENA region." - Yoshi Yokokawa, Co-Founder and CEO at Alpaca. As Thndr continues to grow and lead the market, it remains committed to empowering more individuals, including increasing the number of female investors, and maintaining its position as a leader in the investment landscape of the Middle East. ## About Alpaca Alpaca is a developer-first API brokerage platform that’s raised over $150m in funding. Alpaca offers stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. ## See How We Can Partner Together * * * _Alpaca Securities LLC and Axis Markets BV (“Thndr”) are not affiliated and neither are responsible for the liabilities of the other._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change._ App.1: Trading figures originally derived from the official reports of the [Egyptian Stock Exchange (EGX) website](https://egx.com.eg/en/membership_reports.aspx?ref=alpaca.markets). The figures presented are aggregated in EGP and converted to USD by accounting for the USD/EGP exchange rates and the number of trading days. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) [Next Post : Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Quantbase Investment Platform # Quantbase Launches Investment Platform with Alpaca Broker API By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • January 23, 2023[0 Comments](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/#disqus_thread) ![Quantbase Launches Investment Platform with Alpaca Broker API](https://alpaca.markets/blog/content/images/2023/01/blog_quantbase-launches-investment-platform-with-alpaca-broker-api.png) _Written by Som Mohapatra, CIO and Co-founder at Quantbase_ _Please note that the content is for informational purposes. The views and opinions expressed are those of the author, and do not necessarily reflect or represent the views and opinions of Alpaca. Alpaca does not recommend any specific securities or investment strategies. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein._ [**Quantbase**](https://www.getquantbase.com/?ref=alpaca.markets) is a YC-backed investment company that helps makes it simple for financial companies and individuals with an audience to turn their investment research/data into an investable strategy. As an SEC-registered investment advisor, they build, run, and manage every strategy on their platform from end to end. [![](https://alpaca.markets/blog/content/images/size/w2400/2023/08/broker-blog-cta-11.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=quantbase-case-study) ### About Quantbase Quantbase was founded in 2021 by Thomas Stewart, Som Mohapatra, and Allen Calderwood. The company is backed by some prominent investors, including **Y Combinator**. In their first year of operation, the founders had been managing their own class of investment funds for thousands of clients. They had dozens of emerging managers, investment authors, and content creators reach out for help doing the same, so they decided to make this the central focus. The company aims to decrease the barrier to entry for financial firms and creators who don't want to deal with fund operations. It helps them become investment managers by co-creating strategies from their investment research. ### Quantbase Partners with Alpaca Broker API Quantbase has partnered with Alpaca Broker API to make the experience seamless for both partners and clients. The integration with Alpaca allows Quantbase partners to easily offer their investment strategies for their clients, offering a full brokerage experience. It also allows Quantbase to offer a user-friendly investing experience. ![](https://alpaca.markets/learn/content/images/2022/12/quote-som-quantbase.png) ### How it Works for Investment Managers 1. Quantbase works with managers to generate a quantitative portfolio from the data they already have or creates a factor-based long-term portfolio from their investment research and data. 2. The company builds a custom-branded landing page for the manager's audience to invest in their strategy. The manager has access to a dashboard where they can set a subscription fee or integrate with their existing premium product. 3. The manager launches their strategy to their audience with full control over subscriptions, client communication, and design. If the manager wants to update their strategy, Quantbase works with them to seamlessly change the strategy execution. ### How it Works for Clients 1. If the investor lives in the US and has a US bank account, they can sign up and go through Quantbase's onboarding process. The company will ask for their bank account information and personal information to verify their identity. 2. The investor chooses which funds they would like to invest in. They can choose Quantbase funds or funds that the company has co-created with its partners. 3. The investor chooses their desired percentage allocation between the funds and deposits the funds. In two to three days, Quantbase receives the deposit and takes care of the rest. All investment rebalances within the chosen funds are done automatically. 4. There are no lockups, so investors can withdraw or transfer out of Quantbase whenever they want. ## About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. ![](https://alpaca.markets/learn/content/images/2022/12/quote-alex_quantbase.png)[Alpaca - Developer-First API for Stocks and Crypto\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, and\\ trade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://alpaca.markets/static/images/meta-image-homepage-crypto.png)](https://alpaca.markets/?ref=alpaca.markets) Alpaca and Quantbase Investments, Inc. are not affiliated and neither are responsible for the liabilities of the other. Investing and investment strategies involve risk, including loss of value and the loss of principal. Past performance does not guarantee future returns or results. There is no guarantee that any investment strategy will achieve its objectives. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2023/01/symbol-alpaca-logo.png)](https://alpaca.markets/blog/author/alpaca/) About [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) [Previous Post : UAE Fintech InvestSky Launches Social Investing Platform with Alpaca](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) [Next Post : Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## IRA Accounts Available # IRA Accounts Now Available Through Alpaca’s Broker API By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • September 03, 2024[0 Comments](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/#disqus_thread) ![IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/content/images/2024/09/IRA-blog.png) Individual retirement arrangements (IRAs) are tax advantaged retirement accounts available for individuals earning income in the U.S. These accounts offer significant tax benefits which incentivize individuals to save long term for retirement. These associated incentives often lead to consistent growth in assets under management (AUM) that remain under custody until customers reach retirement age and an increase in trading volume for its financial organization. To support both our partners’ growth and their customers’ long term retirement saving plans, Alpaca now offers **IRA accounts through Broker API**. ## Tax Advantaged Retirement Accounts for Broker API Alpaca has launched support for Traditional IRA accounts, allowing customers to deposit pre-tax dollars and earn money on a tax-deferred basis. This means individuals avoid capital gains taxes on asset sales but instead are taxed at their income rate upon retirement. This is especially valuable for individuals who expect to be in the same or lower tax bracket at the time of retirement since they can take advantage of the tax savings on deposits now to maximize the value of their assets. Additionally, Alpaca now supports Roth IRA accounts, where customers deposit post-tax dollars and earn money tax-free. Withdrawals are also tax-free, provided IRS requirements are met. Roth IRA accounts tend to add the most value for individuals who expect to be in a higher tax bracket at retirement since they can avoid the tax penalty entirely when withdrawing funds as opposed to withdrawing and incurring taxes at their income rate like in a Traditional IRA. 💡 **How can your customers benefit from IRA accounts?** Your users can leverage the tax benefits of IRA accounts to experiment with various trading strategies and asset classes, like options, with no immediate tax consequences and plan for long term savings for retirement. **How can you benefit from IRA accounts?** The unique tax benefits of IRA accounts naturally incentivize customers to reliably deposit and retain funds in the account until they reach retirement age – resulting in greater user retention and consistent AUM growth. ## IRA Complexity Made Simple ### Intuitive Broker API Integration IRA accounts can be daunting to approach due the IRS’ rules and guidelines. Alpaca simplifies this with Broker API so you start opening IRA accounts for your customers right away. Account opening, contribution and distribution processing, and IRA specific account documents are managed via the existing Broker API endpoints. New endpoints have also been introduced to manage IRA specific features such as identifying accounts that have exceeded contribution limits – allowing you to efficiently handle the end-to-end experience. Additionally, Alpaca supports specifying beneficiaries on IRA accounts, ensuring your customers' retirement savings are secure. ### IRS Compliant Solution Tax reporting for IRA accounts is more complex than for standard taxable brokerage accounts. The IRS has specific rules dictating how much an individual is allowed to deposit per tax year, when they are allowed to withdraw without incurring any penalties, the age at which customers are required to begin withdrawing funds every year, and more. Alpaca has built these compliance considerations directly into the IRA product, handling all of the activity and tax reporting considerations so you can confidently offer these accounts to your customers. ### Streamlined Onboarding for Repeat Users When offering IRA accounts, customers may want to open both a taxable brokerage account and an IRA account simultaneously based on their investment objectives. To streamline onboarding, Alpaca allows reusing KYC results for the same customer if multiple accounts are opened within 60 days. This reduces KYC costs and enhances the onboarding experience by requiring only one approval for trading across accounts. ## **Broker API Availability** IRA accounts are only available for individuals that earn income in the U.S. so this account type is available for any Broker API partner that is serving U.S. clients. ### **For Existing Broker API Partners** To enable this feature, please reach out to your Customer Success Manager or Alpaca’s global support team at [brokersupport@alpaca.markets](mailto:brokersupport@alpaca.markets). ## **IRA’s Key Features** - Traditional and Roth IRA account creation - Customer beneficiary specification at onboarding or afterward - Account contributions and distributions managed via APIs - Easy accessibility to tax documents and IRA-specific notifications, including Required Minimum Distribution (RMD) notices - Quick identification for accounts that have contributed over the maximum allowed limit for the given tax year - Single KYC process for repeat customers opening both a taxable brokerage account and an IRA account within 60 days of each other ## **Get Started Today** Check out our documentation for more information. If you are new to Broker API and are interested in learning more about IRA accounts or other Broker API features, please reach out to [sales@alpaca.markets](mailto:sales@alpaca.markets). Interested in creating an IRA account for Trading API? You can expect support for this soon. * * * _The content of this piece article is for general information only and is believed to be accurate as of the posting date but may be subject to change. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : Alpaca Continues Its Partnership with GITEX GLOBAL 2024](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) [Next Post : Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Business Accounts Onboarding # Faster and Easier Business Accounts Onboarding Than Ever By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • May 13, 2024[0 Comments](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/#disqus_thread) ![Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/content/images/2024/05/v04_entity-accounts.png) Alpaca’s Trading API supports business use cases for hedge funds, prop trading firms, family offices, trusts, and other businesses, not only individual traders. Hundreds of businesses have come to Alpaca for a better API experience, faster order processing, and competitive fees. In today’s business trading environment though, one of the challenges is account onboarding processes. Traditional financial institutions have very bureaucratic processes to onboard new businesses, with back and forth in questionnaires, document sharing, owner verifications, signatures, etc. Often the application stalls, if not gets rejected at the end of a very long period. What’s worse, this is the case only after you are lucky to hear the institution accepts your entity’s jurisdiction when it comes to international account opening. We at Alpaca, under the mission to open financial services to everyone on the planet, always think about businesses from anywhere in the world. With this in mind, we have just upgraded our business onboarding flow to accelerate the process even further. As a result of this improvement, we are expecting the speed of onboarding to accelerate from days to hours. ### What's New? With our improved onboarding flow, new business customers can expect: - **Simplified Process:** We have simplified and automated the onboarding process for business entity customer onboarding. Corporate and owner documents can now be uploaded in the standard browser flow. The business verification step is automated behind the scenes. As a result, unnecessary back-and-forth steps are now eliminated. - **Enhanced Navigation:** The user interface has been upgraded for a better experience and makes it clear what is expected in each step. Given the nature of multi-stage data collection of the business onboarding, the intermediate data is stored and allows you to resume from the last page you saved. - **More Global and Business Type Coverage:** The process now covers more use cases such as business entities from different countries, and types of businesses. ### Check Out Our New Onboarding Flow – Here's a Sneak Peek with a Few Snippets ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeXHPGfsKv3UEpOx56uZ9nQZD5yNkEYrrgnWy73K0EodEI-mczqIrXQmB4FDk3tAb2T3bNOWVOLrKyVWXGO0n27ohvJc49NGE0KLHSebjOvcKv2TPyJGkMXQu3MAHGPH2QOuI1Prpb75_Zs5ezTq_-UWnk?key=K1QYpW8mhrFIJAYGwDc8tQ)Account Type![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeZbqFTjSXyJUOb6bINHlUNwuAF9cQaYoVH0Ydc1UDQpjeaKz-FEQ0gkj85vkfM7x3j0PR9A_HzRNtFuQkVrmJsXCxiQPqeHrbcdmasbmJf1YzntT8Rcw38TclggKuCRM9JqsUaaeysOHL0UdTI5Lrjk7Cx?key=K1QYpW8mhrFIJAYGwDc8tQ)Business Tax Information![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXf1BZO1qYVQhITG72Kc8MCUj5JM_D4V7dHcOGEdVqgMR1xP4gD8kTwox-7iFxuv_A1QilIKIb7Tj8FBnJ1uikGlyjKbcdQkYe21aG8ZPXeSHbA8_5phcC4Jb_GGu8IkV9LQwIAsvvdBd6SCurviBIybyxw?key=K1QYpW8mhrFIJAYGwDc8tQ)Affiliations![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdIh5Gk23sPJvsA_QollvKAIZsrqkPofoUbxQaO1nd77aJ_huptz6XflrzZ66bhlEUm9zjyJNu3zJLPkKHTM1Fvk6sCvvz7Uzq9OmXiIuH7XmZcSHS_te598_6Z7xuzA2Tb-TI3DNUBjy-pBv88FD6_o8Ho?key=K1QYpW8mhrFIJAYGwDc8tQ)_Authorized Individuals and Ultimate Beneficial Owners_ ## Join the List of Alpaca’s Business Customers Today Alpaca’s Trading API has been selected by hundreds of business entities across the world for many years now. We are proud that we can satisfy their demanding needs with our high-performance order processing, ease of API with clean documentation, competitive fees, as well as coverage of the type of businesses and countries the customers come from. We have also upgraded the robustness of business by higher insurance coverage beyond the standard SIPC on top of the improved customer support and growing capital. Please don’t hesitate to reach out to us if you have any questions! [Sign Up Now](https://bit.ly/4dBjcy6?ref=alpaca.markets) * * * _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Alpaca Secures "Best API" Award from Postman at POST/CON 2024](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) [Next Post : Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Crypto Wallets # Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 25, 2022[0 Comments](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/#disqus_thread) ![Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/content/images/2022/07/blog_crypto-wallets-and-coin-pair.png) We’re excited to expand our crypto trading capabilities by announcing the initial phase of Alpaca Crypto Wallets and Coin Pair trading, starting with BTC and USDT pairs. ? With these new offerings, we aim to give you a better way to deposit, withdraw, and trade with Alpaca Crypto.? **ATTENTION:** Starting today, to celebrate our launch for a limited time period of 2 weeks we will be waiving fees for Crypto trading ? [![](https://alpaca.markets/blog/content/images/size/w2400/2023/08/broker-blog-cta-21.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=crypto-wallets-coin-pair-trading) ## Unlock a New Level of Crypto Trading with Alpaca’s Crypto Wallets, BTC, and USDT Coin Pairs ### Securely Deposit and Withdraw Coins with Crypto Wallets Crypto wallets keep your private digital keys safe and allow you to deposit and withdraw coins faster than traditional banking rails. You can now instantly access Crypto Wallets in the sidebar on your Account Dashboard under “Crypto Transfers.” ![](https://alpaca.markets/blog/content/images/2022/07/image1--1-.png)Alpaca Crypto Wallets In this initial phase, we will support **Bitcoin, Ethereum, Solana, and USDT** and offer wallets shortly to users in 13  U.S. states and select international jurisdictions. We will progressively roll out support for crypto wallets in more states, jurisdictions, coins, blockchains, and for Broker API soon. **Key Features of Alpaca Crypto Wallets** - Seamlessly deposit and withdraw **Bitcoin, Ethereum, Solana, and USDT** faster than traditional banking rails - Deposited crypto coins can be instantly used for trading - Crypto wallets will be shortly available in select international jurisdictions and 13 U.S. states: California, Massachusetts, Montana, Missouri, Maryland, Kansas, North Dakota, South Dakota, North Carolina, Nebraska, Utah, Connecticut, and Iowa. **Crypto Wallet Fees** Alpaca Crypto Wallets are **free** to use. The only fees associated are the corresponding network fees for transferring coins in and out. **Ready to get started with Crypto Wallets?** Click here to access Crypto Transfers. For more information, read our [Crypto Wallets FAQ](https://alpaca.markets/support/crypto-wallet-faq/?ref=alpaca.markets) ## Start Non-USD Pair Trading with BTC, USDT Coin Pairs We are thrilled to announce the opportunity for our users to tap into a new dimension of crypto trading with the introduction of Alpaca’s Coin Pair Trading. This means you can buy a crypto asset with another crypto asset. Until now, Alpaca’s crypto offering has been limited to USD-pair trading. With the launch of Coin Pair Trading and USD pairs, all Alpaca users can now trade, compare costs, and access arbitrage opportunities with supported coin pairs of **Bitcoin** **(BTC),** the leading coin by market cap, and **Tether (USDT)**, one of the largest stablecoins pegged to the US dollar. Compared to the US dollar, USDT can provide faster access to liquidity. This makes it easier for crypto-only exchanges and brokers to buy assets that can only be purchased with other crypto assets. In short, stablecoins make it easier to understand the value of these assets ### Benefits of Coin Pair Trading Here are a few key benefits of engaging in coin pair trading. 1. Some crypto assets can only be bought with other crypto assets 2. There can be interesting arbitrage opportunities 3. It reduces the net number of trades/transactions needed to get to a specific outcome. Instead of converting BTC > local currency or USD > ETH, you can buy ETH directly with a fraction of a BTC token. For the initial launch of Alpaca Coin Pair Trading, we are launching with BTC and USDT as the base currencies. - BTC pairs (BCH, ETH, LTC, UNI) - USDT pairs (AAVE, BCH, BTC, DAI, ETH, LINK, LTC, UNI) - USD pairs (AAVE, BAT, BCH, BTC, DAI, ETH, GRT, LINK, LTC, MKR, SHIB, UNI, USDT) We have plans to support more Coin Pairs and offer this feature for Broker API soon. **New Symbology for Coin Pairs** Alpaca users will be able to place coin pair orders on the Alpaca Dashboard and via the API. A minor change is required on the API side and you would need to make sure you are placing the order for the right asset. As part of the launch of Coin Pairs, we will update the symbology for orders and market data. Previously, when you were trading BTC, you would place an order with the symbol BTCUSD. You will now be able to search and place orders for assets such as ETH/BTC or ETH/USDT. ```python { "symbol": "ETH/BTC", "qty": "1.4", "side": "buy", "type": "market", "time_in_force": "gtc", } ``` POST/orders request body example ### How to Coin Pair Trade on Alpaca ![](https://alpaca.markets/blog/content/images/2022/07/image2--1-.png)How to Coin Pair Trade via your Alpaca Trading Account 1. Simply search for the asset you would like to coin pair trade with. 2. Input the quantity of crypto asset you would like to purchase (in this example we are buying 1.4 ETH in exchange for 0.08 BTC) 3. Click **Review order** **Key Features of Alpaca Coin Pairs** - Deposit supported cryptocurrencies (or buy cryptocurrency on Alpaca with USD) in your wallet and trade them for other coins without converting to fiat currency - Unlock BTC, USDT, and USD coin pairs for trading, price comparisons, arbitrage opportunities, and more - View each cryptocurrency’s balance on your dashboard via the API - Access real-time and historical price data for supported coin pairs - View available coin pairs with the new symbology using Alpaca’s Assets endpoint For more information, check out our [Coin Pair FAQs](https://alpaca.markets/support/alpaca-crypto-coin-pair-faq/?ref=alpaca.markets), learn article on [Triangular Arbitrage with Coin Pair Trading](https://alpaca.markets/learn/triangular-arbitrage-with-coin-pair-trading/?ref=alpaca.markets), and updated Crypto trading [documentation](https://alpaca.markets/docs/trading/crypto-trading/?ref=alpaca.markets). **Open your Alpaca [Trading Account](https://app.alpaca.markets/signup?ref=alpaca.markets) today!** [GET API KEYS](https://broker-app.alpaca.markets/sign-up?ref=alpaca.markets) [Crypto Trading\\ \\ Crypto Trading # We offer crypto trading through API and the Alpaca web dashboard! Trade all day, seven days a week, as frequently as you’d like.Crypto trading is currently available for eligible international participants and participants in all US jurisdictions with the exception of New York. Ex…\\ \\ ![](https://alpaca.markets/docs/favicon.png)Alpaca Docs\\ \\ ![](https://alpaca.markets/docs/docs-meta.png)](https://alpaca.markets/docs/trading/crypto-trading/?ref=alpaca.markets)[Triangular Arbitrage with Coin Pair Trading\\ \\ With Alpaca’s coin pair, we introduce a triangular arbitrage strategy using BTC/USD, ETH/USD, and the new BTC/ETH coin pair to attempt to profit from potential differences between price conversions.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca Learn \| Developer-First API for Crypto and StocksGareth Wu\\ \\ ![](https://alpaca.markets/learn/content/images/2022/07/learn_coin-pair.png)](https://alpaca.markets/learn/triangular-arbitrage-with-coin-pair-trading/?ref=alpaca.markets) ## Contact Us * * * Please note that this article is for informational purposes only and is believed to be accurate and reliable as of posting date but may be subject to change.Alpaca Crypto LLC does not recommend any specific cryptocurrencies Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency is not regulated or is lightly regulated in most countries. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information please click [**here**](https://alpaca.markets/disclosures?ref=alpaca.markets). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) [Next Post : Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Real-Time Financial News API # Introducing News API for Real-Time Stock & Crypto Stories By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 07, 2022[0 Comments](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/#disqus_thread) ![Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/content/images/2022/02/News_API_Illustration.png) We’re excited to announce Alpaca’s News API, an extension of our Market Data API. Through our partnership with [Benzinga](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/), we now provide developers with the latest financial news through an easy-to-integrate API. Incorporate News API into your workflows to assess market movements or embed it into your fintech app to display the latest stock and crypto headlines! ## Market Data API expands to include News API **Data and Limitations** Launching as a limited-time beta, News API is currently available for free with rate limits determined by current Market Data API subscription plans; 200 calls per minute for Free plans and 10,000 call per minute for Unlimited plans. News API allows users to retrieve real-time and historical news data dating back to 2015 for both stock and crypto symbols. Users can also query by a number of different fields including symbol, date, content, source, and more. Currently, news data is only provided by Benzinga. **Pricing** After the limited-time beta period and based on your selected Market Data API subscription plan, there may be additional pricing changes and/or impacts to rate limit. All News API users will be updated well in advance of any upcoming changes to the pricing structure. ## Keep an edge on the market Daily news helps to keep Trading API users aware of the latest news that may impact their portfolios and or give insights into other investments options. Along with backtesting and sentiment analysis, traders can build their algos based on strategies backed by high-quality news data analysis. **WebSocket real-time data streaming** News API provides access to real-time news data via WebSocket that lets you stay ahead of the markets. Seamlessly integrate live news data into your app or trading strategy and react to breaking news as it happens. ```Python from alpaca_trade_api import Stream stream_client = Stream("", "") async def news_data_handler(news): """Will fire each time news data is published """ print(news) stream_client.subscribe_news(news_data_handler, "AAPL") stream_client.run() ``` News API real-time news code snippet **Backtesting** Backtest to assess the viability of trading strategies based on 6+ years of historical stock market and crypto news data. ```Python from alpaca_trade_api import REST rest_client = REST("", "") news = rest_client.get_news("AAPL", "2021-01-01", "2021-12-31") ``` News API historical news code snippet **Sentiment analysis** Predict market movements and assess current positions based on sentiments observed in headlines and news stories. Instead of scrapping the internet for news content and manually evaluating sentiments, News API can be used to build sentiment analysis tools to quickly quantify news data. ## Engage end-users with creative in-platform news displays News API delivers relevant market-moving content from trusted sources. By enabling this feature, Broker API developers can build their own news widget interface, display notifications, and real-time news streams. End-users will now be able to view the latest financial news to make informed decisions without having to exit your fintech app! ## Key features - Covers stock market and crypto news data - 130-160 full-length articles, with images, are included for full-length stories - 600-900 real-time headlines per day - Historical querying up to 2015 - Detailed fields offered: author, created\_at, updated\_at, headline, summary, content, images, URL, symbols, and source - Historical access via REST API and real-time streams over WebSocket News API support has been added to all [four officially maintained Alpaca SDKs](https://alpaca.markets/blog/sdk-release-notes-january-2022/). To learn more, check out our learn article on [Sentiments Analysis of Financial News with News API and Transformers](https://alpaca.markets/learn/sentiment-analysis-with-news-api-and-transformers/?ref=alpaca.markets), or view our full [News API](https://alpaca.markets/docs/market-data/news?ref=alpaca.markets) documentation. [Sentiments Analysis of Financial News with News API and Transformers\\ \\ Alpaca now provides news data via API, allowing you to access market moving content from timely and trusted sources. In the following sections, we’ll learn how to use the news data API to place trades based on sentiment analysis.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesRahul Chowdhury\\ \\ ![](https://alpaca.markets/learn/content/images/2022/02/News-API-Learn-Article-Illustration-1.png)](https://alpaca.markets/learn/sentiment-analysis-with-news-api-and-transformers/?ref=alpaca.markets)[News API\\ \\ Access Alpaca’s historical and real-time stock market and crypto news through REST API and WebSocket.\\ \\ ![](https://alpaca.markets/docs/favicon.png)Alpaca Docs Alpaca Docs Alpaca Docs\\ \\ ![](https://alpaca.markets/docs/alpaca_icon@1x.png)](https://alpaca.markets/docs/market-data/news?ref=alpaca.markets) * * * Alpaca is not affiliated with Benzinga and neither are responsible for the liabilities of the other. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [**FINRA**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [**SIPC**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) ## Alpaca Crypto Insights ### Tag: Crypto Total 8 Posts ## [Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 07, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/#disqus_thread) [![Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/content/images/2021/09/ErisX-Announcement-Blog-5.png)](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) We’re excited to announce our partnership with ErisX. Eris Exchange and Eris Clearing, together ErisX, is a spot and regulated futures exchange and clearinghouse. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) ## [50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) [![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg)](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) In our last post “How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source MarketStore. [Continue Reading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) ## [How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 08, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/#disqus_thread) [![How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data.png)](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) You want to test your algo when you drop the very first version. But you also want to test the algo when you make changes or adjustments while the algo is running. [Continue Reading](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Tax ID Requirement Update # Breaking Change Notification for Account Creation Tax ID Requirement By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 28, 2021[0 Comments](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/#disqus_thread) ![Breaking Change Notification for Account Creation Tax ID Requirement](https://alpaca.markets/blog/content/images/2021/10/Account-Creation-Tax-ID-Requirement-Breaking-Change-Notificatio_blog-2.png) ### Current Issue and Customer Impact As part of the onboarding process for Broker API user accounts, we require specific attributes to be passed in at the time of account creation. Specifically for our broker partners who utilize Alpaca for KYCaaS, we use this information to carry out customer identification checks and complete the know your customer process. Upon the account creation call, if a tax ID is not passed in, we are unable to run a customer identification check which slows the know your customer service that we perform and could result in significant delays before the account gets approved. In order to prevent account approval delays, we will introduce a breaking change. ### Solution and Breaking Change We have adjusted the required attributes for the account creation Broker API endpoint, POST/v1/account. Within the identity model, tax\_id will now be required. An in-depth view on the account creation endpoint and its attributes can be found here. ### Release Timeline We plan for this change to take effect in the Broker API sandbox and live environments starting on **Tuesday, October 26, 2021**. We understand the change may impact your client code but hope it will provide a better experience. Thank you for your understanding and please feel free to send any questions to brokersupport@alpaca.markets. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/10/Image-from-iOS--1-.jpg)](https://alpaca.markets/blog/author/crystal/) About [Crystal Xue](https://alpaca.markets/blog/author/crystal/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). [Previous Post : Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) [Next Post : Alpaca Launches Developer-Friendly Crypto Trading API](https://alpaca.markets/blog/alpaca-launches-crypto-trading/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Yoshi's Trading Insights ![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x) ### Yoshi Yokokawa 35 Posts Co-founder & CEO of Alpaca ## [Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/stock-market-data-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 07, 2020[0 Comments](https://alpaca.markets/blog/stock-market-data-api/#disqus_thread) [![Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/content/images/2020/05/01.jpg)](https://alpaca.markets/blog/stock-market-data-api/) Alpaca Data API is free real-time stock market data API for building your algorithmic trading strategies or trading/investing applications. [Continue Reading](https://alpaca.markets/blog/stock-market-data-api/) ## [Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/portfolio-history-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 16, 2020[0 Comments](https://alpaca.markets/blog/portfolio-history-api/#disqus_thread) [![Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/content/images/2020/03/photo-1461360370896-922624d12aa1.jpeg)](https://alpaca.markets/blog/portfolio-history-api/) Now Portfolio History API allows you to flexibly visualize your portfolio performance in real-time. It is now much easier to make your DIY stock trading app pretty ? [Continue Reading](https://alpaca.markets/blog/portfolio-history-api/) ## [Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2020[0 Comments](https://alpaca.markets/blog/oco-oto/#disqus_thread) [![Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png)](https://alpaca.markets/blog/oco-oto/) New advanced order types supported by Alpaca - this time we are launching OCO (One-Cancels-Other) and OTO (One-Triggers-Other) [Continue Reading](https://alpaca.markets/blog/oco-oto/) ## [Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 29, 2020[0 Comments](https://alpaca.markets/blog/blueshift-backtest/#disqus_thread) [![Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-blueshift.png)](https://alpaca.markets/blog/blueshift-backtest/) A leading quant finance school QuantInsti and Alpaca team up to offer a super seamless experience in algo trading through Blueshift integration with Alpaca commission-free trading API [Continue Reading](https://alpaca.markets/blog/blueshift-backtest/) ## [Web Dashboard Gets A Facelift](https://alpaca.markets/blog/web-dashboard-update/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 18, 2020[0 Comments](https://alpaca.markets/blog/web-dashboard-update/#disqus_thread) [![Web Dashboard Gets A Facelift](https://alpaca.markets/blog/content/images/2020/03/alpaca-ui-update.png)](https://alpaca.markets/blog/web-dashboard-update/) The Alpaca web dashboard just got a whole lot better. New UI improvements add functionality and clarity to profiles, account settings, banking, and more. Check it out! [Continue Reading](https://alpaca.markets/blog/web-dashboard-update/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Funding and Crypto # Alpaca Raises $50 Million Series B & Announces Crypto Offering By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 30, 2021[0 Comments](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/#disqus_thread) ![Alpaca Raises $50 Million Series B & Announces Crypto Offering](https://alpaca.markets/blog/content/images/2021/08/Series-B_V04@4x.png) **_Tribe Capital Leads Round As Alpaca Reports 1500 Percent Growth YTD With Over 100,000 Accounts, And Expanded Partnerships in Europe, SE Asia, Africa, Latin Americas_** San Mateo, CA – August 30, 2021 – Alpaca, a commission-free stock brokerage platform that offers APIs for fintech apps to connect and trade in U.S. stocks, announced it has closed a $50 million Series B on the heels of driving 1500 percent year to date growth in brokerage accounts and expanding partnerships across Europe, Southeast Asia, Africa, North and Latin Americas. > _“By the end of the year, we’re going to see close to 100 global fintech apps built with our APIs go live with their stock trading platforms,”_ said Yoshi Yokokawa, Founder and CEO of Alpaca. _“We’re unlocking the ability to invest in U.S. companies in places around the world that have never had this opportunity and through fintech partners that share our vision of democratizing investing.”_ The fundraising round was led by [Tribe Capital](https://tribecap.co/?ref=alpaca.markets) with participation from [Horizons Ventures](https://horizonsventures.com/?ref=alpaca.markets), [Eldridge](https://www.eldridge.com/?ref=alpaca.markets), and [Positive Sum](https://www.positivesumvc.com/?ref=alpaca.markets). Alpaca’s existing investors, [Portage Ventures](https://portagevc.com/?ref=alpaca.markets), [Spark Capital](https://www.sparkcapital.com/?ref=alpaca.markets), and [Social Leverage](https://www.socialleverage.com/?ref=alpaca.markets), also participated in the round. Since its product launch in 2018, Alpaca has continued to accelerate worldwide growth and adoption of its developer APIs and is now expanding into cryptocurrency. > _“Our modern financial system runs on antiquated rails. Alpaca has established itself as the go-to developer-first API for investing by providing an easier, cleaner, and more scalable alternative to what exists today,”_ said Arjun Sethi, Co-Founder and Partner at Tribe Capital. _“Its crypto launch is just the first of many product iterations that will allow global investors to access U.S. markets. We look forward to working with the company to scale its ambitious vision.”_ ![](https://alpaca.markets/blog/content/images/2021/08/crypto-image.png)[https://alpaca.markets/crypto-invite](https://alpaca.markets/crypto-invite?ref=alpaca.markets) Alpaca is excited to announce its soon-to-launch crypto product, expanding across asset classes from equities to cryptocurrencies as part of a multi-asset class strategy. Alpaca’s cryptocurrency product will be made available for both their retail consumers and B2B partners. Readying for a public crypto launch, Alpaca has partnered with global crypto leaders: Genesis, ErisX, and Silvergate. Customers will soon be able to buy, sell, hold, and trade cryptocurrencies via Alpaca’s developer-first APIs. Developers and traders are invited to join the Alpaca Crypto waitlist for alerts and early access to the public beta. For the most up to date information, join the [Alpaca Crypto Beta Waitlist](https://alpaca.markets/crypto-invite?ref=alpaca.markets) for more alerts and notifications. [Cryptocurrencies - Start Your Crypto Journey on Alpaca\\ \\ Alpaca is a modern platform for trading. Alpaca’s API is the interface for your trading algorithms, bots, or applications to communicate with Alpaca’s brokerage and other services.\\ \\ ![](https://files.alpaca.markets/webassets/favicon-32x32.png)Alpaca\\ \\ ![](https://files.alpaca.markets/webassets/crypto-blog-cover.png)](https://alpaca.markets/crypto-invite?ref=alpaca.markets) > _“The growth and adoption of digital asset offerings amongst leading fintech firms like Alpaca is a key area of focus for Genesis,”_ said John Conneely, Vice President of Institutional Custody at Genesis. _“We’re excited for Alpaca to roll out a crypto offering to its customers with our initial support for digital asset custody and trading.”_ With the launch of [Broker API](https://alpaca.markets/blog/introducing-broker-api/) just a few months ago, Alpaca has reported soaring growth with the number of funded brokerage accounts increasing more than 1500%, to over 100,000 total funded accounts. Alpaca Broker API enables fintech companies worldwide to build and launch commission-free stock trading apps by leveraging Alpaca’s comprehensive suite of developer APIs. Alpaca offers fractional shares through its app partners as well, allowing investors in any country to buy into the U.S. stock market for as little as $1. Alpaca has already established fintech partnerships across Europe, South East Asia, Africa, North and Latin Americas. Global partners who have already launched apps include [Gotrade](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/), [Midas](https://alpaca.markets/broker?ref=alpaca.markets), [Investore](https://alpaca.markets/broker?ref=alpaca.markets), [Chaka](https://alpaca.markets/broker?ref=alpaca.markets) and [Xantos Labs](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/). > _"Integrating with Alpaca Broker API allowed us to build and launch our app as we imagined,”_ said Rohit Mulani, Founder of GoTrade, a YCombinator startup. _“Powered by Broker API, Gotrade can offer investors from more than 150 countries the ability to trade US stocks with as little as $1 -- democratizing access for all."_ Alpaca is also proud to announce a new partnership with [Plaid](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/), a data network powering the digital financial ecosystem, allowing Broker API partners the ability to simplify the account funding experience for their customers. Alpaca’s partnership with Plaid offers a seamless authentication and funding process and supports the acceleration and growth of new fintech startups and tech innovators. > “ _Account funding is a critical part of customer onboarding for fintech apps and crypto exchanges_,” said Paul Williamson, Head of Revenue at Plaid. “ _Alpaca’s integration with Plaid will help companies streamline the account onboarding process for customers and improve funding success rates._” Alpaca has now raised a total of $72 million from investors. The company closed a [$10 million Series A led by Portage Ventures](https://techcrunch.com/2020/10/15/alpaca-raises-10m-series-a-for-its-api-powered-equities-trading-service/?ref=alpaca.markets) last year. Alpaca also raised a $6 million seed round. ### About Alpaca Alpaca is an API-first stock brokerage platform that enables developers to build apps and trading algorithms. The company’s platform powers fintech businesses globally to launch commission-free stock investing apps. Alpaca is backed by some of the top investors in the industry globally including Spark Capital, Portage Ventures, Social Leverage, Tribe Capital, Horizons Ventures, Eldridge, Positive Sum, Elefund, and Y Combinator.­ Securities are offered by Alpaca Securities LLC. Crypto services are offered by Alpaca Crypto LLC. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). [Previous Post : Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) [Next Post : API Breaking Change Notification for Unpriceable Assets](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Sonia Sethi's Financial Insights ![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png) ### Sonia Sethi 38 Posts ## [Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 16, 2023[0 Comments](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/#disqus_thread) [![Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/content/images/2023/08/new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service.png)](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ? Big News Alert! Alpaca Crypto is about to take your trading experience to the next level! Get ready for new cryptocurrencies, expanded USDC pairs, and seamless ERC-20 transactions. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ## [Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 14, 2023[0 Comments](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/#disqus_thread) [![Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors](https://alpaca.markets/blog/content/images/2023/08/drahim-customer-story.png)](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) ? Discover a new era of financial management with Drahim App Investments (“Drahim”)! ?? As a registered investment adviser, Drahim aims to transform how people perceive and manage their money. Discover their story today! [Continue Reading](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) ## [Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/#disqus_thread) [![Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained](https://alpaca.markets/blog/content/images/2023/08/overview-alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained.png)](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) Curious about Alpaca Securities LLC's role as a Carrying Broker-Dealer and Clearing firm? ? Dive into our article and discover how we help empower global partners to provide their customers with seamless access to US stock trading. ?? [Continue Reading](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) ## [Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 18, 2023[0 Comments](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/#disqus_thread) [![Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments](https://alpaca.markets/blog/content/images/2023/07/pebble-customer-story--1-.png)](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) ? Exciting news! Pebble Finance, a registered investment advisor, has partnered with Alpaca to introduce an innovative app designed specifically for digital natives to take control of their investments. ?? [Continue Reading](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) ## [Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 05, 2023[0 Comments](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/#disqus_thread) [![Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca](https://alpaca.markets/blog/content/images/2023/07/v02_customer-story_investlink.png)](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) Investlink, a registered broker-dealer, is on a mission to democratize investments and promote financial literacy. With an intuitive interface and reliable infrastructure provided by Alpaca, they are empowering investors to make informed decisions. Discover their story today!? [Continue Reading](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Instant Funding for Trading # Swift Investment Experience with Instant Funding for Broker API By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 12, 2024[0 Comments](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/#disqus_thread) ![Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/content/images/2024/07/learn_instant-fund-broker-api.png) One of the key metrics for consumer investment apps is reducing the time to trade once an account is opened. However, slow funding can be a big friction for this engagement. To provide a seamless user experience, Alpaca has launched **Instant Funding for Broker API**, a new payment feature that gives your end customers instant buying power to start trading right away. ## **Customers Begin Investing Immediately with Broker API** Buying power is the availability of funds to investors in their brokerage accounts to begin purchasing assets. Due to fund transfer settlement times, market holidays, weekends, documentation errors, or time zone differences, customers often experience delays to receive their buying power. With Instant Funding for Broker API, we improve the customer experience by allowing your end-users to begin trading immediately without waiting for funds to arrive and settle. 💡 **How can Embedding Instant Funding Help?** It helps to make the trading experience quicker, smoother, and more consistent. With instant funding, partners can remove the barrier of waiting 1-4 business days for their customers and let them trade instantly, leading to better engagement and reducing churn rates. ## **Single Bulk Payment to Settle Customer Accounts with Broker API** ### **Funding Mechanism for Streamlined Flow of Funds** Alpaca offers various funding models that help partners streamline their operational flow of funds. With the addition of Instant Funding for Broker API, you can wave goodbye to multiple international wires or domestic ACH transfers. Instead, a single payment is due on the the settlement date, removing the friction of creating batch journals or individual wires to fund every customer’s account. This simplifies reconciliation and ensures that you will be able to support your customers’ funding activity at scale. To learn about the settlement date for instant funding transfers, how interest is late payments, and more read our [FAQs](https://alpaca.markets/support/instant-funding-faq-who-is-it-for-broker-api-prospects-or-existing-partners-servicing-international-clients-interested-in-learning-more-about-instant-funding-for-broker-api-what-is-the?ref=alpaca.markets). ### **Open Additional Revenue Streams** You can generate an additional revenue stream via an additional markup fee. This is dynamic and customizable, enabling you to strategically configure a spread markup based on your business needs and goals. ### **Set Specific Limits to End-Customer Accounts** Alpaca offers instant buying power of up to $1,000 per account while waiting for electronic fund transfers to arrive and settle. Broker API partners will have the ability to set specific funding and deposit limits for customers. Note that firm-level instant funding limits apply. ## **Instant Funding’s Summarized Features** - Enable access to instant buying power for end customers to start trading immediately - Eliminate the need to pre-fund with Alpaca on T+0 for stock trading - Configure a flexible fee mark-up to generate additional revenue streams - Set specific limits on customer accounts for instant funding - Integrate seamlessly with Broker API - Support stock trading - Streamlined and compliant reconciliation flow managed via API ## **Instant Funding Availability** Instant Funding for Broker API is currently available to select international partners who fulfill certain eligibility requirements. To learn more, please contact our sales experts below. To learn about the settlement date for stocks, limits, and more, read our [FAQs](https://alpaca.markets/support/instant-funding-faq-who-is-it-for-broker-api-prospects-or-existing-partners-servicing-international-clients-interested-in-learning-more-about-instant-funding-for-broker-api-what-is-the?ref=alpaca.markets). ## **For Existing Broker API Partners** Please contact your Customer Success Manager or our global support team to learn more: [Message our Global Support Team](mailto:brokersupport@alpaca.markets) ## **For Future Partners** If you are new to Broker API and are interested in learning more about Instant Funding: [Message our Sales Experts](mailto:sales@alpaca.markets) * * * _The content article is for general information only and is believed to be accurate as of posting date but may be subject to change. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) [Next Post : Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## MT5 Omni Gateway Launch # Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 13, 2022[0 Comments](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/#disqus_thread) ![Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/06/MT5_Social_-Yellow-.png) MT5 Omni Gateway for Alpaca Broker API is now available. This new offering is a turnkey solution that enables your customers to trade fractional and whole share U.S stocks directly in [MetaTrader 5](https://www.metatrader5.com/en?ref=alpaca.markets) by connecting to Broker API via a secure Omnibus gateway. **What is an Omnibus setup?** In an Omnibus setup, you are a registered broker-dealer and manage customer accounting, and two main trading accounts for your customer's entire trading flow (one for long positions and one for short positions). End customers' information (e.g. name, address, date of birth) are not disclosed to Alpaca, and you will be responsible for all tax reporting in your local jurisdiction. **Note:** If you are a non-US broker-dealer, this may require registration with the IRS as a Foreign Financial Institution (FFI) and get certified as a Qualified Intermediary (QI) to be certified to manage taxes on the US-sourced income by non-US tax residents. _This material has been prepared for informational purposes only, and is not intended to provide, and should not be relied on for, tax, legal or accounting advice. You should consult your own tax, legal and accounting advisors before engaging in any transaction._ ## Broker API Supports Omnibus Access and Fractional Trading via MT5 MetaTrader 5 (MT5) from [**MetaQuotes**](https://www.metaquotes.net/en?ref=alpaca.markets) is a multi-asset (US stocks, forex, signals, futures, and more) trading platform popular in the Middle East, Asia, Africa, Europe, and other regions. Used predominantly by advanced traders, developers, and retail investors, MT5 also offers fundamental analysis, algorithmic trading, and access to MQL5 programming language to create trading bots, test and optimize trading strategies. If you have an established or growing platform, you may not need multiple brokerage APIs to facilitate U.S. stock trading through MT5. Simply connect MT5 servers via our Omnibus gateway to Broker API for direct fractional trading and full back-office operations support for corporate actions, account statements, trade confirmations, and more. ![](https://alpaca.markets/blog/content/images/size/w2400/2022/06/3-steps-to-connect-with-alpaca-broker-api-if-you-are-an-mt5-broker-dealer--3-.png)MT5 Omni Gateway for Broker API ### Key Product Features - Omnibus access to your customers to trade U.S stocks via MT5 - Fractional\* and whole share stock trading are supported for market orders - Supported order types: Market, Limit, Stop, and Stop limit - Seamless full back-office operations and infrastructure support - Quick and easy integration via our modern APIs - 24/7 global support **Documentation is available upon request**. For additional information on MT5 Omni Gateway support for Broker API, please contact us at [sales@alpaca.markets](mailto: sales@alpaca.markets) [Alpaca Broker API - Modern Infrastructure for Crypto & Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed crypto and stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) [GET API KEYS](https://broker-app.alpaca.markets/sign-up?ref=alpaca.markets) * * * \*Alpaca does not make recommendations with regard to fractional share trading, whether to use fractional shares at all, or whether to invest in any specific security. A security’s eligibility on the list of fractional shares available for trading is not an endorsement of any of the securities, nor is it intended to convey that such stocks have low risk. Fractional share transactions are executed either on a principal or riskless principal basis, and can only be bought or sold with market orders during normal market hours. Alpaca and MetaQuotes Ltd.  are not affiliated and neither are responsible for the liabilities of the other. MetaQuotes is a software development company and does not provide investment or brokerage services. Securities brokerage services are provided by Alpaca Securities LLC (“Alpaca Securities”), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities LLC is not registered or licensed. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Introducing Alpaca Connect Marketplace](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/) [Next Post : Join Alpaca in Austin For Consensus 2022](https://alpaca.markets/blog/join-alpaca-in-austin-for-consensus-2022/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Securities Lending Launch # Alpaca Launches Fully Paid Securities Lending for Broker API By [Luke West](https://alpaca.markets/blog/author/luke/) • May 13, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/#disqus_thread) ![Alpaca Launches Fully Paid Securities Lending for Broker API](https://alpaca.markets/blog/content/images/2025/05/FPSL-blog-announcement.png) In an environment of ongoing market uncertainty, brokerage platforms are increasingly focused on diversifying their revenue streams and reducing reliance on traditional trading activity, driving increased demand for products like [High-Yield Cash](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) 1 and Fully Paid Securities Lending (FPSL). That’s why we’re excited to launch Alpaca’s FPSL program for US equities through our [Broker API](https://alpaca.markets/broker?ref=alpaca.markets). This offering helps empower our partners to offer passive yield, creating new revenue for both them and their customers. ## **What Is FPSL?** FPSL programs enable customers to lend securities that they fully own beneficially. These loans are typically made to institutions such as prime brokers, which borrow shares to facilitate short selling, market making, or hedging purposes. In return, the borrowing institution pays a fee. That fee received is split between the broker and the clients, enabling both parties to earn passive income from otherwise idle assets often with no effort required on the part of their customer. ## **Why Brokers Are Embracing FPSL** There are many benefits to offering an FPSL program, including the creation of a new revenue stream, asset retention, and scalable growth. ### **New Revenue Generation** FPSL provides a relatively low-risk, passive income stream, allowing brokerages to earn a share of the interest paid by borrowers when a client’s stock is lent out. When scaled across tens of thousands of accounts—particularly those holding in-demand securities—this can help generate meaningful income. Overall, FPSL programs can offer an effective way for both brokers and their clients to earn passive income, making it a powerful tool for attracting new customers and deepening relationships with existing ones. ### **Asset Retention and AUC Growth** Because investors can potentially earn additional yield by simply holding onto their assets, FPSL creates a strong financial incentive to keep portfolios at your brokerage over the long term. This may make customers more likely to consolidate accounts or transfer assets from other platforms, knowing they can potentially earn passive income with no extra effort. Please read [Important Risk Disclosures With Respect To Participating In Fully Paid Securities Lending Transactions](https://files.alpaca.markets/disclosures/Important+Risk+Disclosures+With+Respect+To+Participating+In+Fully+Paid+Securities+Lending+Transactions.pdf?ref=alpaca.markets) carefully before deciding whether to participate in lending Fully Paid Securities or agreeing to enter into a Master Securities Lending Agreement with Alpaca Securities LLC. These disclosures describe important characteristics of, and risks associated with engaging in, securities-lending transactions. ## **Alpaca’s Solution** ### **Flexibility** We offer a high degree of flexibility, including customizable tiers for pricing and revenue splits. This allows you to tailor revenue-sharing models to suit your specific business goals or client profiles. ### **Transparency** Gain complete visibility into all lending activities down to the individual securities level. As such, you and your clients can see exactly which securities are being lent out, when they are being lent, and all the details related to those lending activities. This level of detail builds trust and allows both parties to have a clear understanding of how the program benefits them. ### **Scalability** Our platform is designed for seamless scalability, requiring minimal integration with your existing systems. It's a fully managed, end-to-end solution that handles everything including lending, reporting, and interest booking. This means you can scale your securities lending operations and free your team to focus on strategy and growth. You can learn more about integrating with Alpaca’s Broker API on our [Fully Paid Securities Lending documentation page](https://docs.alpaca.markets/docs/fully-paid-securities-lending?ref=alpaca.markets). ### **Customer Protection** Securities on loan are not covered by SIPC. Instead, cash collateral is used to safeguard your loaned securities. We maintain cash collateral equivalent to at least 100% of the value of your loaned securities at a third-party bank. In the event that Alpaca files for bankruptcy and is unable to return the borrowed securities, this bank would release cash collateral to customers for the value of the loaned securities. ## **Ready to Build An FPSL Program?** We're already building FPSL programs with many partners and are prepared to onboard several more. ![“We are incredibly excited and proud of our FPSL program which will help partners deliver new yield opportunities in a secure, compliant, and seamless way,” says Yoshi Yokokawa, Co-Founder and CEO of Alpaca. “This launch represents just the beginning of what we believe is a major opportunity for brokers to transform how customers engage with their portfolios.”](https://alpaca.markets/blog/content/images/2025/05/quote-banner-yoshi-fpsl-1.png) “We are incredibly excited and proud of our FPSL program which will help partners deliver new yield opportunities in a secure, compliant, and seamless way,” says Yoshi Yokokawa, Co-Founder and CEO of Alpaca. “This launch represents just the beginning of what we believe is a major opportunity for brokers to transform how customers engage with their portfolios.” For current partners, please reach out to your Customer Success Manager or Alpaca’s global support team at [brokersupport@alpaca.markets](mailto:brokersupport@alpaca.markets). For new partners who are looking to utilize Alpaca’s Broker API, please reach out to [sales@alpaca.markets](mailto:sales@alpaca.markets) or fill out the form below. FPSL for Trading API is coming soon. * * * _1\. ‘High-Yield Cash’ or ‘High-Yield Cash API’ is a technology product offered by AlpacaDB, Inc. (“Alpaca”) which allows users to, among other things, access securities brokerage services provided by Alpaca Securities LLC ("Alpaca Securities"), including but not limited to the Alpaca Securities LLC FDIC Bank Sweep Program (the “FDIC Bank Sweep” or “Program”). Alpaca Securities is a member of_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, and is a wholly-owned subsidiary of AlpacaDB, Inc. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _The content of this article is for general informational purposes only. All examples are for illustrative purposes only._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) [Next Post : Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Kraken and Alpaca Partnership # Kraken Offers US Securities Through Strategic Partnership with Alpaca By [Luke West](https://alpaca.markets/blog/author/luke/) • April 28, 2025[0 Comments](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/#disqus_thread) ![Kraken Offers US Securities Through Strategic Partnership with Alpaca](https://alpaca.markets/blog/content/images/2025/04/kraken-announcement.png) [Kraken](https://www.kraken.com/?ref=alpaca.markets), one of the world’s most trusted and longest-standing cryptocurrency platforms with more than 15 million global clients, now offers US securities to US-residing clients. By expanding their product offering, Kraken continues to bridge the gap between digital and traditional assets– furthering their position as an institutional grade, multi-asset-class trading platform. Kraken has launched this new asset class through a strategic partnership with [Alpaca](https://alpaca.markets/?ref=alpaca.markets)– an API-first brokerage platform and self-clearing broker-dealer for stocks, ETFs, and options who serves hundreds of financial services and millions of brokerage accounts around the world. Through this partnership, Kraken is offering its users access to a large and diverse investable asset universe, combining their best-in-class crypto platform\* of more than 300 digital assets and 6 different fiat currencies with over 11,000 stocks and ETFs. Kraken’s recent acquisition of NinjaTrader, a futures trading platform, shows their commitment in providing more investment opportunities to their clients. ![“We are excited to work with Alpaca to bring US equities to our clients,” said Nick LaMaina, Managing Director of Kraken. “This collaboration accelerates Kraken’s vision of combining traditional and digital asset classes into one platform, enhancing the user experience of both new and sophisticated traders while maintaining the highest standards of trust and security.”](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcHYmFBVDWsIFGIiuGz7kd9QATTG6uev_bdcQoNJGxm5pHbWagSD7iptXRkEiVmRNGpb5riqodx-oSG0o83KErw4jZmhJjul7hWmg4pyop-F85JOYRmk00hnG6rc0gLgGDlI2cjAQ?key=1g1OtUwp_sisLzslbHVSdLF_) “We are excited to work with Alpaca to bring US equities to our clients,” said Nick LaMaina, Managing Director of Kraken. “This collaboration accelerates Kraken’s vision of combining traditional and digital asset classes into one platform, enhancing the user experience of both new and sophisticated traders while maintaining the highest standards of trust and security.” Alpaca’s Broker API empowers global partners, like Kraken, with notional and fractional orders, low-latency trade execution, and its self-clearing platform to deliver equities trading commission-free. ![“We’re excited to congratulate Kraken on their incredible milestone to offer US securities. Their forward-thinking approach to combine multiple asset types into one consolidated platform shows how dedicated they remain to serving the needs of their global customer base, and we’re thrilled to be a part of their journey,” said Yoshi Yokokawa, CEO & Co-Founder of Alpaca.](https://lh7-rt.googleusercontent.com/docsz/AD_4nXccU0L5MO015d_-X2IkdUI0pa2LQn6nTihXkcCYz8o5hjqKLfxPJvnvYvU5CCEeq3j-TUVpmiibLr48arwnmu26ZIfOYe4RLOKJ0s3tGoy2X8hjjpj4n_a9owvFENeB6PRxzm2Atw?key=1g1OtUwp_sisLzslbHVSdLF_) “We’re excited to congratulate Kraken on their incredible milestone to offer US securities. Their forward-thinking approach to combine multiple asset types into one consolidated platform shows how dedicated they remain to serving the needs of their global customer base, and we’re thrilled to be a part of their journey,” said Yoshi Yokokawa, CEO & Co-Founder of Alpaca. As Kraken looks ahead, they will continue to explore adding more traditional asset classes, like options, and how they can offer this around the world. **About Alpaca** Alpaca is a US-headquartered self-clearing broker-dealer and brokerage infrastructure for stocks, ETFs, options, and crypto– raising over USD170 million in funding. Alpaca is backed by top-tier investors globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Derayah Financial, Elefund, and Y Combinator. **About Kraken** Kraken is one of the world’s longest-standing and most secure crypto platforms. Our mission is to accelerate the global adoption of crypto, so that everyone can achieve financial freedom and inclusion. Globally, Kraken clients trade more than 300 digital assets and 6 different national currencies, including GBP, EUR, USD, CAD, CHF, and AUD. Founded in 2011, Kraken was among the first to offer spot trading with margin, parachain auctions, staking, regulated derivatives and index services under one roof. With millions of individuals, traders and institutions around the world, Kraken offers professional 24/7/365 client support along with one of the fastest, most performant trading platforms available. Kraken has set the industry standard for transparency and client trust, and was the first crypto platform to conduct Proof of Reserves. * * * _\*Voted best crypto platform in January 2025 Forbes Advisor review._ _Alpaca Securities LLC and Payward, Inc. (“Kraken”) are not affiliated and neither are responsible for the liabilities of the other._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change._ _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _Fractional share trading allows a customer to buy and sell fractional share quantities and dollar amounts of certain securities. Fractional share trading presents unique risks and is subject to particular limitations that you should be aware of before engaging in such activity. See Alpaca Customer Agreement at_ [_https://alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more details._ _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk, it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency regulations are continuously evolving, and it is your responsibility to understand and abide by them. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information, please click_ [**_here._**](https://files.alpaca.markets/disclosures/library/CryptoRiskDisclosures.pdf?ref=alpaca.markets) _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto, respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/) [Next Post : Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## InvestSky's Social Investing Platform # UAE Fintech InvestSky Launches Social Investing Platform with Alpaca By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 13, 2023[0 Comments](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/#disqus_thread) ![UAE Fintech InvestSky Launches Social Investing Platform with Alpaca](https://alpaca.markets/blog/content/images/2023/02/investsky-customer-story--1-.png) InvestSky is a social investing platform that offers a new generation of investors the opportunity to embark on trading stocks in a more inclusive, intuitive, and informed way. [![](https://alpaca.markets/blog/content/images/size/w2400/2023/08/broker-blog-cta-10.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=investsky-case-study) ### About InvestSky [InvestSky](https://investsky.com/?ref=alpaca.markets), was established in 2021 by Nitish Mittal and Turki Alshaikh to help remove the challenges and hurdles of investing for non-professionals and make the process as seamless as possible. They planned to achieve this by launching InvestSky to empower non-professional investors to make sound investment decisions by leveraging socially connected tools with a collaborative and community-driven approach. The platform allows users to buy fractional stocks starting from $1 on a commission-free basis and provides a social community ecosystem for them to collaborate. !["Using our detailed understanding of our target customer, we are combining a commission-free brokerage model with an ecosystem that activates, educates, and retains customers through engagement with the community. In addition, we have built a one-stop solution for a deep dive on any listing with all the premium data points presented in a super-friendly user experience so that investors on our platform never invest in the dark." - Nitish Mittal, Founder & CEO at InvestSky](https://alpaca.markets/blog/content/images/size/w2400/2023/02/quote-banner--4-.png) "Using our detailed understanding of our target customer, we are combining a commission-free brokerage model with an ecosystem that activates, educates, and retains customers through engagement with the community. In addition, we have built a one-stop solution for a deep dive on any listing with all the premium data points presented in a super-friendly user experience so that investors on our platform never invest in the dark." - Nitish Mittal, Founder & CEO at InvestSky ![](https://alpaca.markets/blog/content/images/2023/02/Investky-Product-Image-1.png)InvestSky partners with Alpaca. (This image is for illustrative purposes only) ### InvestSky’s Mission InvestSky, headquartered in Dubai, UAE, is on a mission to launch MENA’s first social investing platform by providing intelligent and simplified access to the global stock market to underserved retail investors in core and frontier markets across the region. The company aims to expand to the entire Gulf Cooperation Council (GCC) region while continually enhancing the platform's regions to enable users to access the tools and information they need. ### InvestSky’s Key Features - Trade over 5000+ US stocks and ETFs starting from $1 on a commission-free basis with no hidden fees. - Build a portfolio, craft watchlists, and experiment to make your own investment story. - Unlock advanced tools to gain insights. - Join a powerful social investor community, exchange ideas, and learn how others invest. ![](https://alpaca.markets/blog/content/images/size/w2400/2023/02/Investky-Product-Image-2.png)InvestSky partners with Alpaca. (This image is for illustrative purposes only) ### InvestSky Partners with Alpaca InvestSky leverages [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets) suite of brokerage, custody, and post-trade solutions to offer seamless onboarding, trading, and investing to retail investors in the UAE. InvestSky chose Alpaca due to its ability to provide an unparalleled brokerage as a service platform. !["We chose to partner with Alpaca for many reasons. Still, we want to highlight Alpaca's ability to differentiate as an API-first company and provide an unparalleled brokerage as a service to InvestSky. We appreciate the support we get from all Alpaca teams ranging from Sales to Customer Success. We also really appreciate how supportive Alpaca's leadership is towards partners." - Turki Alshaikh, Co-Founder of InvestSky](https://alpaca.markets/blog/content/images/size/w2400/2023/02/quote-banner--3-.png) "We chose to partner with Alpaca for many reasons. Still, we want to highlight Alpaca's ability to differentiate as an API-first company and provide an unparalleled brokerage as a service to InvestSky. We appreciate the support we get from all Alpaca teams ranging from Sales to Customer Success. We also really appreciate how supportive Alpaca's leadership is towards partners." - Turki Alshaikh, Co-Founder of InvestSky ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. To learn more about Alpaca, please visit [https://alpaca.markets](https://alpaca.markets/?ref=alpaca.markets). !["At Alpaca, we are committed to helping our customers achieve success and open access to investment opportunities for their end-users. We thank Investsky and its talented team for choosing to partner with Alpaca. We look forward to collaborating and supporting them on their journey to educating retail investors in the UAE to make sound investment decisions and to build a collaborative community in the region." Tarun Ajwani, SVP of Sales and Business Development at Alpaca](https://alpaca.markets/blog/content/images/size/w2400/2023/02/quote-banner--5-.png) "At Alpaca, we are committed to helping our customers achieve success and open access to investment opportunities for their end-users. We thank Investsky and its talented team for choosing to partner with Alpaca. We look forward to collaborating and supporting them on their journey to educating retail investors in the UAE to make sound investment decisions and to build a collaborative community in the region." Tarun Ajwani, SVP of Sales and Business Development at Alpaca _To partner with Alpaca, please reach out to us at_ [_sales@alpaca.markets_](mailto:sales@alpaca.markets) _or fill out our Contact Sales form by clicking_ [_here_](https://alpaca.markets/broker?ref=alpaca.markets) [Alpaca Broker API - Modern Infrastructure for Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) * * * _Alpaca and InvestSky are not affiliated and neither are responsible for the liabilities of the other._ _The content of this article is for general information purposes only. Alpaca does not recommend any specific investments, cryptocurrencies or investment strategies._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=top&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fuae-fintech-investsky-launches-social-investing-platform-with-alpaca%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fuae-fintech-investsky-launches-social-investing-platform-with-alpaca%2F&disqus_version=current&sourceless=false)[iframe](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fuae-fintech-investsky-launches-social-investing-platform-with-alpaca%2F&t_d=UAE%20Fintech%20InvestSky%20Launches%20Social%20Investing%20Platform%20with%20Alpaca&t_t=UAE%20Fintech%20InvestSky%20Launches%20Social%20Investing%20Platform%20with%20Alpaca&s_o=default#version=3aff0245248612911681b2f961ab8531)[iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=bottom&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fuae-fintech-investsky-launches-social-investing-platform-with-alpaca%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fuae-fintech-investsky-launches-social-investing-platform-with-alpaca%2F&disqus_version=current&sourceless=false) [Previous Post : Alpaca Named to Y Combinator’s Top Private Companies of 2023 List](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) [Next Post : Quantbase Launches Investment Platform with Alpaca Broker API](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Fractional Shares Trading # Fractional Shares Trading Supports Limit Orders and Extended Hours By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 29, 2024[0 Comments](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/#disqus_thread) ![Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/content/images/2024/02/fractional-limit-orders_extended-hours.png) We are thrilled to announce that Alpaca now supports industry-leading **limit orders and extended hours trading for fractional shares.** Trading in fractional shares is a crucial tool for investors. It opens the door for individuals to invest in stocks that may have been out of reach otherwise. Fractional orders also enables ultra-fine precise asset allocation and portfolio weightings. Portfolios, regardless of their size, can leverage this feature. Alpaca's fractional shares trading platform is powered by our custom-built Order Management System (OMS), designed for ultra-low latency and scale to accommodate millions of investors worldwide. Today, this feature extends to **support limit orders with fractional quantity or notional value**, in addition to market orders we previously supported _(stop and stop limit will also be coming soon)_. These additional order types are essential to manage the risks in the fast-moving market and fractional shares trading can now be used for advanced trading strategies for better risk management. The support of limit orders for fractional shares trading comes with **pre-market (4:00 a.m. - 9:30 a.m. ET) and post-market (4:00 p.m. - 8:00 p.m. ET) support** in addition to the regular trading hours. Expansion of fractional shares to extended hours gives more opportunities to global investors, who will enjoy fractional shares trading in their morning and afternoon in Asian, Middle East, and European time zones. These new capabilities are seamlessly integrated into the existing API, and your code can start using them with minimal effort _(please see below for more details)_. Alpaca is committed to keeping the API simple and easy to use. The introduction of these new features positions Alpaca at the forefront of the retail trading sector, setting it apart from many other brokerage firms that do not offer the same extensive range of options as Alpaca's fractional trading offering. With over 5,000 fractional assets available for trading, Alpaca has managed to maintain high standards of execution quality and speed. This achievement comes despite the challenges of market risks, thanks to our sophisticated risk management technologies and adherence to regulatory requirements, including trade reporting. The advancement of our fractional shares trading is in line with our mission of opening financial services to everyone on the planet by building a global de-facto standard investment platform. We continue to invest in our technology and brokerage services to provide better experiences to investors worldwide. ## Expand Trading Hours for Your Customers in the Regions Through Broker API, you can now allow your customers to trade fractional and notional amounts, during their localized trading hours, further improving access to US markets internationally. With the same Orders API you use today, just update your API call to specify the extended hours flag and change the order type to limit. No other changes are needed. Use Assets API to determine which symbols are eligible for fractional trading in extended hours. ## Manage Your Portfolio with More Precision With additional order type support for fractional shares trading, it gives more precision to your rebalancing and direct indexing strategies. You can now avoid unexpected price movement with these order types while you are automatically rebalancing your portfolio to adjust to your model. It also gives you a more mathematically precise way of trading to maximize your capital efficiency in an automated fashion. * * * ## How to Place a Fractional Limit Order for Extended Hours via API The following order parameters are supported for fractional limit orders on equities: - Order can be configured using either "qty" of shares or "notional" amount - Time in force must be "day" - Type must be "limit" - "limit\_price" must be populated as type "limit" is set - Extended\_hours parameter must be passed with a value of “true” ### Notional Order Example ``` python { "symbol": "SPY", "side": "buy", "type": "limit", "time_in_force": "day", "limit_price": "300", "notional": "845", "extended_hours": true } ``` Copy Notional Order Example ### Quantity Order Example ``` python { "symbol": "SPY", "side": "buy", "type": "limit", "time_in_force": "day", "limit_price": "300", "qty": "0.75", "extended_hours": true } ``` Copy Quantity Order Example ### Product Key Features - Trades can now be expressed with a fractional amount, whether it's for a specific quantity (e.g., 2.6 shares) or a notional amount (e.g., $25 of AAPL). - Access expanded investment opportunities as traders (Alpaca and partner’s end-users) can engage in fractional ownership of stocks based on their budget and risk tolerance. - Fractional limit orders can be executed not only during standard market hours but before (4:00 am - 9:30 am ET) and after (4:00 pm - 8:00 pm ET) regular market hours. - Offering swift order execution and processing ## Conclusion Alpaca now supports limit orders and extended hours trading for fractional shares trading. To learn more about Fractional Limit Orders, please take a look at our [documentation](https://docs.alpaca.markets/docs/fractional-trading?ref=alpaca.markets) and [FAQs](https://alpaca.markets/support/fractional-shares?ref=alpaca.markets) ## **Let's See How We Can Partner Together** _Extended Hours trading has unique risks and is different than trading in the main trading session, for more information please visit our_ [_Alpaca Extended Hours Trading Risk Disclosure_](https://files.alpaca.markets/disclosures/library/ExtHrsRisk.pdf?ref=alpaca.markets) _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) [Next Post : Elphinstone: Transforming Pakistani Investing with USD Accessibility](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Wins Best API # Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • November 20, 2023[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/#disqus_thread) ![Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2023/11/benzinga-2023-graphic-copy.png) Alpaca, the API-first stock and crypto investing platform, has once again triumphed at the prestigious [Benzinga Global Fintech Awards](https://www.benzinga.com/events/fintech-awards/2023-winners-finalists/?ref=alpaca.markets). At the 9th annual ceremony, Alpaca emerged as the unrivaled winner in the category of **Best API Solution** for 2023. This achievement solidifies Alpaca's commitment to global accessibility in the financial technology sector, marking a significant milestone in the company's journey. The Benzinga Global Fintech Awards celebrate remarkable accomplishments, spotlight emerging talents, and honor innovative disruptors making positive strides in the fintech landscape. > "We are thrilled to receive the prestigious award of 'Best API Solution' at the 2023 Benzinga Fintech Awards. At Alpaca, we are unwavering in our commitment to the development and accessibility of an API-first investing infrastructure." said **Yoshi Yokokawa, Co-founder and CEO** **at Alpaca**. "This recognition underscores our dedication to providing businesses, traders, and developers with seamless access and the integrations they desire for their applications and services." ![](https://alpaca.markets/blog/content/images/2023/11/image-11.png)The Alpaca "herd" seen accepting the award during Benzinga's ceremony This recent achievement builds upon Alpaca's earlier recognition, as the platform clinched the title of **Best Automated Trading Software** at the 2022 Benzinga Fintech Awards. The consecutive wins underscore Alpaca's continuous dedication to global accessibility of financial services. To read more about Alpaca's previous victory, you can find out more [here](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) on their Best Automated Trading Software win at the 2022 Benzinga Fintech Awards. ### Let's See How We Can Partner Together reCAPTCHA Recaptcha requires verification. protected by **reCAPTCHA** [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) ### About Alpaca Alpaca is a developer-first API brokerage platform that’s raised over $120m in funding. Alpaca offers stock and crypto trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. * * * _This content is for general informational purposes only. Alpaca and Benzinga are not affiliated, and neither are responsible for the liabilities of the other._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 9 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [4](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards%2F&t_d=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&t_t=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards%2F&t_d=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&t_t=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards%2F&t_d=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&t_t=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards%2F&t_d=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&t_t=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards%2F&t_d=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&t_t=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Falpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards%2F&t_d=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&t_t=Alpaca%20Secures%20%22Best%20API%20Solution%22%20at%202023%20Benzinga%20Fintech%20Awards&s_o=default#) [iframe](cid:frame-466F86E62BB407DF0067E978741EC563@mhtml.blink) [Previous Post : GUGU Paves the Way for US Stock Investing in Asia](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) [Next Post : Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Broker API Dashboard Updates # \[Overview\]New Features and Enhancements Added to Broker API Dashboard By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 06, 2023[0 Comments](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/#disqus_thread) ![[Overview]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/content/images/2023/06/feature-updates-on-broker-api-dashboard.png) Over the last months, we have been making diligent efforts to enhance and incorporate new functionalities into our Broker API dashboard, helping you to develop your fintech applications effortlessly. This article aims to give a high-level overview of all the latest improvements. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-4.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=features-enhancements) ### New Filters Added to Streamline Experience Considering valuable feedback, we’ve added new parameters such as ranking, searching, and filtering, and additional exporting capabilities to help streamline and improve your experience. ![](https://alpaca.markets/blog/content/images/2023/06/Screenshot-2023-06-06-at-9.46.22-AM.png)New Filters Now, on the **“Accounts”** page, you can easily rank users by the **“Created At”** date and/or “Status” of the account. This will allow you to see the latest and first created accounts! Additionally, we’ve added filtering by “Account ID,” “Account Number,” and “Email Address,” which enables you to search for your users quickly and efficiently. Check out our [learn article](https://alpaca.markets/learn/introducing-new-filters-to-broker-api-dashboard/?ref=alpaca.markets) on this for more information. ### Enhanced Team and Team Setting Functionality Managing team members can be a crucial task for any business or organization. All members must be privy to current information, tracking, monitoring end-customer data, and more. Keeping this in mind, we have updated the team and team settings on the dashboard to make it easier for you to add, manage, edit and remove members from your team. We’ve also added a new **Support role** in which team members in this position will have read-only access. You can give access to this role to members in your organization that will investigate, understand and solve end-customer issues. ![](https://alpaca.markets/blog/content/images/2023/06/Screenshot-2023-06-06-at-9.45.26-AM-1.png)Manage Team Members Check out our [learn article](https://alpaca.markets/learn/enhanced-team-and-team-setting-functionality-on-broker-api-dashboard/?ref=alpaca.markets) on this for more information. ### Company Overview In the Team Settings section, you can now easily provide your business details, which will be easily accessible to your team. The information you add here can be utilized for tax filing documentation or when additional information is required from our partners. You now have the ability to add your company's logo, update your team name, business email, phone number, and more. ![](https://alpaca.markets/blog/content/images/2023/06/Screenshot-2023-06-06-at-9.48.12-AM.png)Company Overview ### Sandbox Configurations In the team settings section, we have introduced a new functionality known as Sandbox Configurations. Previously, the sandbox environment had fixed daily transfer and transaction limits. With the introduction of Sandbox Configurations, you now have the freedom to customize these limits according to your preferences. You can exert greater control over the specific amounts you wish to allocate for daily transfers and transactions, as well as enable crypto trading for your instance. ![](https://alpaca.markets/blog/content/images/2023/06/Screenshot-2023-06-06-at-11.18.48-AM.png)Sandbox Configurations \- JNLC Daily Transfer Limit can be increased from $10,000 to now values of either $10,000, $50,000, $250,000, $500,000, or $1,000,000.- JNLC Transaction Limit can be increased from $50 to now values of $50, $5,000, $10,000, $50,000, and $100,000- Firm Account Daily Transfer Limit can be increased from $50,000 to now values of $50,000, $250,000, $500,000, $750,000 and $1,000,000The difference between JNLC Daily Transfer Limit and JNLC Transaction Limit is the former is the daily overall limit for your entity, and the latter is the limit per transaction. _**Note:**_ _JNLC stands for Journal cash between accounts. You can simulate instant funding in sandbox by journaling funds between your pre-funded sweep accounts and a user’s account._ ### Request for Account Closures We have introduced a new feature that allows you to request the closure of end-user accounts. If you wish to close an end-user account, simply navigate to the Accounts page, click on the respective account ID, and select the "Request to Close Account" button. ![](https://alpaca.markets/blog/content/images/2023/06/Screenshot-2023-06-06-at-11.21.38-AM.png)Request for Account Closures By clicking on the button, you will be redirected to your email account with the account information automatically prefilled to initiate closure. Please ensure you provide a reason for the account closure. **Note, that accounts with open positions or funds cannot be closed.** ![](https://alpaca.markets/blog/content/images/2023/06/Screenshot-2023-06-06-at-11.23.17-AM.png)Request for Account Closures ### Conclusion In conclusion, the latest additions and improvements to our Broker API dashboard offer enhanced functionality and streamlined experiences. With new filters, team management features, company overview options, sandbox configurations, and the ability to request account closures, we strive to provide you with a more efficient and user-friendly platform. These updates aim to simplify your workflow, empower your fintech application development, and ensure a smooth user experience. We remain committed to delivering the best tools and features to support your success. * * * [Alpaca Broker API - Modern Infrastructure for Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) ## Contact Us * * * The content is for general informational purposes only and all screenshots are for illustrative purposes only. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) [Next Post : Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Latest Alpaca News ### Tag: Alpaca News Total 28 Posts ## [Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 09, 2022[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/#disqus_thread) [![Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2022/12/blog_benzinga-global-fintech-award--1-.png)](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) Alpaca, a modern stock and crypto investing platform, was recognized at the 8th annual Benzinga Global Fintech Awards and named the overall winner for Best Automated Trading Software in 2022. The Benzinga Global Fintech Awards recognizes outstanding performance, rising stars, and disruptive innovators creating positive changes in the financial technology [Continue Reading](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) ## [Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/jungleprotocol/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • October 31, 2022[0 Comments](https://alpaca.markets/blog/jungleprotocol/#disqus_thread) [![Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/content/images/2022/10/blog-announcement-jungle-4.png)](https://alpaca.markets/blog/jungleprotocol/) Alpaca accelerates its crypto business and introduces a DeFi protocol - Jungle - that will mint and burn tokenized stocks in ERC20 format with a 1:1 collateral. [Continue Reading](https://alpaca.markets/blog/jungleprotocol/) ## [Alpaca Recognized on the CB Insights 2022 Fintech 250 List](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 06, 2022[0 Comments](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/#disqus_thread) [![Alpaca Recognized on the CB Insights 2022 Fintech 250 List](https://alpaca.markets/blog/content/images/2022/10/blog_cbinsights-fintech-250-list-social-graphic.png)](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) CB Insights has named Alpaca to the 2022 Fintech 250, a list that honors the 250 most promising private fintech companies. [Continue Reading](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) ## [Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • July 19, 2022[0 Comments](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/#disqus_thread) [![Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion](https://alpaca.markets/blog/content/images/2022/07/A-AJ.jpeg)](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) Alpaca, a crypto and stock investing platform for businesses from startups to Fortune 500s, announced it has closed the acquisition of a Japanese licensed broker-dealer, AlpacaJapan Co.,Ltd. (“AlpacaJapan”). [Continue Reading](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) ## [Alpaca Named to Y Combinator’s Top Companies of 2022 List](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • March 09, 2022[0 Comments](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/#disqus_thread) [![Alpaca Named to Y Combinator’s Top Companies of 2022 List](https://alpaca.markets/blog/content/images/2022/03/top-company-2022-Twitter-alpaca.png)](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) We’re excited to announce that Alpaca has been recognized on Y Combinator’s Top Companies 2022 list. [Continue Reading](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/manual-trading-stocks/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 21, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-stocks/#disqus_thread) [![Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/content/images/2020/03/1_Ko5g2SPcOc5-yV74vkt7eA.png)](https://alpaca.markets/blog/manual-trading-stocks/) With Alpaca, you can now liquidate positions, cancel open orders manually, and you can active and deactivate API manually on the mobile app. [Continue Reading](https://alpaca.markets/blog/manual-trading-stocks/) ## [Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) [![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png)](https://alpaca.markets/blog/open-source-mobile-trading-app/) Introducing an example mobile app “Alpaca Dashboard” on the App Store and its code in full open-sourced on the GitHub repo. The app is built on React Native. [Continue Reading](https://alpaca.markets/blog/open-source-mobile-trading-app/) ## [Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/submit-queue-order-stock-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 18, 2018[0 Comments](https://alpaca.markets/blog/submit-queue-order-stock-trading/#disqus_thread) [![Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/content/images/2020/03/1_NRmFLgceg9dqL0xkfglrAw.jpeg)](https://alpaca.markets/blog/submit-queue-order-stock-trading/) As one of the many steps towards a more advanced trading platform, we are pleased to let you know that we have allowed everyone to submit and queue orders for the next market open. [Continue Reading](https://alpaca.markets/blog/submit-queue-order-stock-trading/) ## [Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) [![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg)](https://alpaca.markets/blog/paper-trading-api/) In our continuous effort to make automated trading more accessible, we are pleased to announce the Alpaca Paper Trading API to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. [Continue Reading](https://alpaca.markets/blog/paper-trading-api/) ## [Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 23, 2018[0 Comments](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/#disqus_thread) [![Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/content/images/2020/03/16x9-1.png)](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) Fintech Startup Alpaca Unveils World’s First Commission Free API Stock Broker For Algorithmic Trading [Continue Reading](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading API Updates ### Tag: trading api Total 29 Posts ## [Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) By [Mariangela Martinez](https://alpaca.markets/blog/author/mariangela/) • August 07, 2024[0 Comments](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/#disqus_thread) [![Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/content/images/2023/07/v02_soc-2-blog_2023-2.png)](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) At Alpaca, we’re all about keeping your data safe and secure. This is why we are thrilled to announce the successful renewal of its SOC 2 Type 2 compliance. [Continue Reading](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) ## [Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 08, 2024[0 Comments](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/#disqus_thread) [![Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/content/images/2024/07/elite-blog-graphic.png)](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) Alpaca Elite provides a cost-effective, advanced algo trading experience with white-glove account support. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) ## [Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • May 13, 2024[0 Comments](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/#disqus_thread) [![Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/content/images/2024/05/v04_entity-accounts.png)](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) We've upgraded our business account onboarding process to make it faster and simpler than ever before! [Continue Reading](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) ## [Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 08, 2024[0 Comments](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/#disqus_thread) [![Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/content/images/2024/05/broker-options-blog.png)](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) Today, we’re thrilled to announce another development milestone for Alpaca’s Broker and Trading API – offering options to our global community. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) ## [Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • April 18, 2024[0 Comments](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/#disqus_thread) [![Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/content/images/2024/04/DTCC-Self-Clearing-Status-1.png)](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ? We are thrilled to announce that Alpaca has successfully transitioned to self-clearing at DTCC, marking a significant milestone in our journey. [Continue Reading](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## AR Stock Data Partnership # Alpaca and Snap Inc. Bring Stock Data to Augmented Reality By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 08, 2021[0 Comments](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/#disqus_thread) ![Alpaca and Snap Inc. Bring Stock Data to Augmented Reality](https://alpaca.markets/blog/content/images/2021/12/Snap-Partnership-Graphic_blog_V02--2-.png) ## Snap Inc.’s annual Lens Fest puts the spotlight on Augmented Reality (AR) We’re excited to collaborate with [Snap Inc](https://www.snap.com/en-US?ref=alpaca.markets). The camera company, whose flagship product Snapchat has 306 million daily users, announced the integration of Alpaca into its [Lens Studio](https://lensstudio.snapchat.com/?ref=alpaca.markets) AR creation tool during Lens Fest 2021. Lens Fest is an annual, virtual event that brings together AR creators and developers from all over the world to celebrate the advancements and possibilities of AR. This year’s event focuses on the future of AR and explores the ways the technology can help fuel business growth, power innovation, and shape the way we experience the world. At this year’s Lens Fest, Alpaca was named as one of the first partners in the new Lens API Library, which makes it possible to create smarter and more useful AR Lenses through real-time data. ![](https://alpaca.markets/blog/content/images/2021/12/Screen-Shot-2021-12-08-at-9.39.42-AM.png) ![](https://alpaca.markets/blog/content/images/2021/12/MainGifSmal-2.gif) Stock Market API template available for use in Lens Studio ## Alpaca’s addition to the Snap Lens API Library enables creators to talk about stocks Lens Studio, Snap’s application for developing and publishing AR experiences, is used by more than 250,000 creators and developers around the world. Creators from more than 200 countries and territories use Lens Studio to develop Lenses for Snapchat’s millions of users. Alpaca is one of the first companies in the fintech space to have data available for creators in Lens Studio. With the rise of “finfluencers”, influencers focused on finance, this presents an opportunity for creators to utilize Alpaca’s data to build Lenses to share information on the stock market and be a catalyst for conversations about financial literacy on Snapchat and beyond. > “Alpaca is excited to provide Snap creators and developers new ways to create AR experiences with stock market data. In these uncertain times, opening up larger conversations around financial literacy, trading, and investing in new immersive ways is needed now more than ever." - Yoshi Yokokawa, CEO and Co-founder at Alpaca ## What’s possible for creators and developers using Alpaca’s data in Snap’s API Lens Library - Create AR experiences with stock market data - Empower conversations around financial literacy, trading, and investing - Enable creators to offer AR market data features as a service For more information about the Lens Studio and to build your own Lens using Alpaca’s market data, view the [Stock Market API](https://lensstudio.snapchat.com/templates/apis/stock-market-api/?ref=alpaca.markets) in the Lens API Library. ![](https://alpaca.markets/blog/content/images/2021/12/Screen-Shot-2021-12-08-at-9.40.53-AM-1.png)Use Lens Studio to develop customized AR experiences with Stock Market API ## About Alpaca Alpaca is an API-first stock and crypto brokerage platform that’s raised over $70M in funding. Alpaca offers brokerage and custody infrastructure for apps to launch and scale investing services with ease. Alpaca offers commission-free stock and crypto trading, real-time market data, brokerage operations, and compliance services through modern APIs. * * * This content is for general information purposes only. Investing and investment strategies involve risk, including loss of value and the loss of principal. Past performance does not guarantee future returns or results. Snap Inc. and Alpaca Securities LLC (“Alpaca”) are unaffiliated and neither are responsible for the liabilities of the other. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States) Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [**FINRA**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [**SIPC**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. [**Relevant regulatory fees may apply.**](https://forum.alpaca.markets/t/pricing-and-fees/2309?ref=alpaca.markets) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) [Previous Post : Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) [Next Post : Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Broker API Updates ### Tag: broker api Total 47 Posts ## [Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) By [Mariangela Martinez](https://alpaca.markets/blog/author/mariangela/) • August 07, 2024[0 Comments](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/#disqus_thread) [![Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/content/images/2023/07/v02_soc-2-blog_2023-2.png)](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) At Alpaca, we’re all about keeping your data safe and secure. This is why we are thrilled to announce the successful renewal of its SOC 2 Type 2 compliance. [Continue Reading](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) ## [Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 12, 2024[0 Comments](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/#disqus_thread) [![Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/content/images/2024/07/learn_instant-fund-broker-api.png)](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) To provide a seamless user experience, Alpaca has launched Instant Funding for Broker API, a new payment feature that gives your end customers instant buying power to start trading right away. [Continue Reading](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) ## [Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 08, 2024[0 Comments](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/#disqus_thread) [![Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/content/images/2024/05/broker-options-blog.png)](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) Today, we’re thrilled to announce another development milestone for Alpaca’s Broker and Trading API – offering options to our global community. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) ## [Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • April 18, 2024[0 Comments](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/#disqus_thread) [![Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/content/images/2024/04/DTCC-Self-Clearing-Status-1.png)](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ? We are thrilled to announce that Alpaca has successfully transitioned to self-clearing at DTCC, marking a significant milestone in our journey. [Continue Reading](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ## [Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 29, 2024[0 Comments](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/#disqus_thread) [![Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/content/images/2024/02/fractional-limit-orders_extended-hours.png)](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) Alpaca now supports limit orders and extended hours trading for fractional shares trading. [Continue Reading](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Automated Portfolio Rebalancing # Create Custom Portfolios that Automatically Invests Funds with Rebalancing API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 09, 2022[0 Comments](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/#disqus_thread) ![Create Custom Portfolios that Automatically Invests Funds with Rebalancing API](https://alpaca.markets/blog/content/images/2022/08/blog_rebalancing-api.png) We are excited to announce the launch of **Rebalancing API**? This new offering allows investment advisors or your customers to easily create investment portfolios that are automatically updated to the specified cash, stock symbol, percentage weights, rebalance conditions, and triggers selected. **What is Rebalancing?** Rebalancing is the process of realigning the target weightings of assets in an investment portfolio. It involves periodically buying or selling assets such as stock to maintain an original or desired level of allocation. For instance, an original target asset allocated (100%) to an investment portfolio was allocated 60% to Stocks and 40% to Bonds. If, after a period of time, the stock percentage increased to 65%, this could increase the risk in the portfolio. To rebalance the portfolio, the investor may decide to sell 5% of the stock to buy bonds to get the portfolio to the original target allocation of 60/40. ## Streamline Investment Portfolio Management and Operations with Broker API **Automatically manage custom investment portfolios** Seamlessly manage investment portfolios specifying the particular cash, stock symbol, and their corresponding percentage weights. Customer funds deposited will be automatically invested and traded according to the target assets' weightings and triggers implemented. **Set up specific conditions and triggers to initiate rebalancing** With Rebalancing API, you have the ability to specify rebalancing conditions and triggers that should be met. For instance, portfolios can be automatically rebalanced on a chosen **calendar schedule** (Weekly, Monthly, Quarterly, Annually) or after a percentage **drift threshold** has been breached. **Cooldown days** can also be specified, which is essentially the number of calendar days following a completed rebalancing run before the system can trigger another rebalance for a particular portfolio. **Your customers can subscribe or define their own portfolios** Rebalancing API allows investment advisors to create investment portfolios for your customers by choosing the allocation percentage and conditions for rebalancing or empowers your customers to design their own custom portfolios by defining these parameters themselves. ### Key Features of Rebalancing API - Create custom investment portfolios that include assets, percentage weights, rebalancing conditions (drift threshold, calendar scheduling) - Rebalancing API currently supports US stocks - Set up custom triggers and parameters for rebalancing, such as cooldown days - Seamlessly manage and streamline your customer funds - Deposited funds are automatically invested toward target asset weightings - Customers can easily subscribe to custom investment portfolios or define them on their own ### Rebalancing API: Pricing Rebalancing API  is currently available for investment advisors at no additional cost in Sandbox for a limited period of time. If you are in the Essential plan, please reach out to [brokersupport@alpaca.markets](mailto:brokersupport@alpaca.markets) to learn more about your options. If you are on our Core plan, kindly reach out to your Customer Success Manager. ### Get Started with Rebalancing API Check out our learn article on [How to Get Started with Rebalancing API](https://alpaca.markets/learn/p/7de9ef6b-b514-428f-ae84-cdc994798b76/?ref=alpaca.markets) or view [documentation](https://alpaca.markets/docs/broker/integration/rebalancing/?ref=alpaca.markets) for additional information. If you have any questions regarding Rebalancing API, please reach out to us at [sales@alpaca.markets.](mailto:sales@alpaca.markets) [Portfolio Rebalancing\\ \\ Create weighted portfolios for users via API, automate portfolio rebalancing operations\\ \\ ![](https://alpaca.markets/docs/favicon.png)Alpaca Docs\\ \\ ![](https://alpaca.markets/docs/docs-meta.png)](https://alpaca.markets/docs/broker/integration/rebalancing/?ref=alpaca.markets)[How to Get Started with Rebalancing API\\ \\ Alpaca’s Rebalancing API offers advisors a way to create investment portfolios. In this article, we dive into how you can start experimenting with this new feature.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca Learn \| Developer-First API for Crypto and StocksKavindira Amarendiran\\ \\ ![](https://alpaca.markets/learn/content/images/2022/08/learn_rebalancing-api.png)](https://alpaca.markets/learn/how-to-get-started-with-rebalancing-api/?ref=alpaca.markets) * * * All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns.There is no guarantee that any investment strategy will be successful in achieving its investment objectives. Diversification does not ensure a profit or eliminate the risk of a loss. . Asset allocation does not ensure a profit or protection against a loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [**FINRA**](https://www.finra.org/?ref=alpaca.markets#/)/ [**SIPC**](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities is not registered (Alpaca is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) [Next Post : Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Level 3 Options Trading # Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API By [Luke West](https://alpaca.markets/blog/author/luke/) • February 25, 2025[0 Comments](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/#disqus_thread) ![Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/content/images/2025/02/blog_options-lvl-3-live-announcemnent.png) Today, we’re proud to announce that multi-leg (Level 3) options trading is [available with Trading API](https://alpaca.markets/options?ref=alpaca.markets). This is a significant milestone that displays our continued growth since our initial options launch in May of 2024, when we [announced Level 1 and 2 US options](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/). By providing Level 3 options trading, we continue to empower our trading community to build and test more [advanced option strategies](https://alpaca.markets/learn/level-3-options-trading?ref=alpaca.markets) including: straddles, strangles, [iron butterflies and iron condors](https://alpaca.markets/learn/iron-condor-vs-iron-butterfly?ref=alpaca.markets), and various spreads (like [credit](https://alpaca.markets/learn/credit-spreads?ref=alpaca.markets), debit, and calendar). ## **Unlock Advanced Options Strategies** Options are a comprehensive asset class that offers strategic hedging, speculation, and potential income generation. And now, with Level 3 options, investors have more versatility in their options trading strategies. First, investors can capitalize on various market conditions by taking advantage of volatility, range-bound price movements, and directional trends. Second, Level 3 options increase efficiency by combining multiple options contracts into a single trade. This streamlined approach can save investors time and be more cost efficient. Finally, advanced options strategies improve risk management by executing all components of a strategy simultaneously– shielding investors from unhedged risks and unexpected market shifts. Our Trading API community can still expect an easy-to-use and reliable platform including: free real-time market data, a paper testing environment, and updated documentation. Starting today, developers and investors can now test, backtest, and implement Level 3 options strategies, commission free\*, via our [Trading API](https://alpaca.markets/options?ref=alpaca.markets) or [web dashboard](https://app.alpaca.markets/paper/dashboard/overview?ref=alpaca.markets). ## **Get Started with Multi-Leg Options** ### **New Traders** If you’re new to Alpaca, you can start trading options by [signing up for a free Trading API account](https://alpaca.markets/options?ref=alpaca.markets) and [connecting it to our paper trading environment](https://alpaca.markets/learn/start-paper-trading?ref=alpaca.markets). If you are looking to live trade, click the “Open Live Account” in the top right of your dashboard and follow the appropriate steps. **Please note:** All paper trading accounts will automatically have access to Level 3 strategies. You will need to apply if you plan on live trading. ### **Existing Traders** For existing users, you can check your options approvals by [logging in to your account](https://app.alpaca.markets/account/login?ref=alpaca.markets) and clicking on the “Configure” tab under the “Account” menu of your Dashboard. If you only have a paper account and are looking to live trade, click the “Open Live Account” in the top right of your dashboard and follow the appropriate steps. **Please note**: It’s important to check your current configurations under the appropriate “Live” or “Paper” account. All paper trading accounts will have access to Level 3 options. You only need to apply if you plan on live trading. ### **Applying for Level 3 Options** If you’d like to live trade Level 3 options, you can apply by navigating to the “Home” page, and in the top right, to the left of “Add Funds”, there will be an option to apply for options trading. Follow the steps to get approved. Both new and existing traders can learn more about applying for Level 3 options and executing multi-leg trades in our tutorial on [how to trade options with Alpaca](https://alpaca.markets/learn/how-to-trade-options-with-alpaca?ref=alpaca.markets). ## **Additional Resources** Those looking to build options algorithms can explore our resources: - Watch our [YouTube tutorial on how to trade multi-leg options with Alpaca’s Trading API](https://youtu.be/5KvbvkusiFc?ref=alpaca.markets). - Read about the different [Level 3 options trading strategies](https://alpaca.markets/learn/level-3-options-trading?ref=alpaca.markets). - Documentation: [Options trading](https://docs.alpaca.markets/docs/options-trading?ref=alpaca.markets). - Refer to our [learn page for more options trading tutorials](https://alpaca.markets/learn/search?category=trading-api&topic=options&ref=alpaca.markets). For Broker API partners, we are expecting to deliver Level 3 options soon. * * * _\*Commission-free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S.-listed securities through an API. Relevant regulatory fees may apply. Commission-free trading is available to Alpaca's retail customers. Alpaca reserves the right to charge additional fees if it is determined that order flow is non-retail in nature._ _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _Past hypothetical backtest results do not guarantee future returns, and actual results may vary from the analysis._ _The Paper Trading API is offered by AlpacaDB, Inc. and does not require real money or permit a user to transact in real securities in the market. Providing use of the Paper Trading API is not an offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, given or in any manner endorsed by AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate and the information made available through the Paper Trading API is not an offer or solicitation of any kind in any jurisdiction where AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate (collectively, “Alpaca”) is not authorized to do business._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change. The examples above are for illustrative purposes only._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not ensure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : Dime!: Revolutionizing Investing in Thailand with Alpaca](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) [Next Post : Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca and Derayah Partnership # Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally By [Luke West](https://alpaca.markets/blog/author/luke/) • December 10, 2024[0 Comments](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/#disqus_thread) ![Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally](https://alpaca.markets/blog/content/images/2024/12/derayah-announcement.png) ### Alpaca cements its self-clearing foundation through its DTCC membership and high-value product launches, including Options Trading and High Yield Cash Accounts Alpaca, a brokerage infrastructure technology company and self-clearing broker-dealer, delivering execution and custody solutions for Stocks, ETFs, and Options, that support hundreds of financial institutions worldwide, today announced a new strategic partnership with Derayah Financial (“Derayah”), a leading financial services firm and the first digital investment platform in the Kingdom of Saudi Arabia (“KSA”), to further expand financial accessibility in the Middle East. This partnership, including a strategic investment by Derayah in Alpaca, accelerates its joint efforts to enable access to Saudi Exchange (Tadawul) to investors worldwide through Alpaca’s brokerage infrastructure that supports hundreds of financial institutions and millions of individuals today. KSA’s ambitious Vision 2030 initiatives are fueling growth across diverse sectors in the financial markets, and Saudi Exchange is becoming one of the key exchanges in the world. This includes offering an API for institutional and individual algorithmic traders while empowering both fintechs and enterprise institutions to embed investment services. Alpaca also announced that it has completed establishing its Saudi local entity. ![](https://alpaca.markets/blog/content/images/2024/12/Alpaca-with-Derayah.png) “We are thrilled to partner with Derayah to open access to the super fast-growing economy of the KSA worldwide,” said Yoshi Yokokawa, Co-founder and CEO, at Alpaca. “This partnership will accelerate our mission of opening financial services to everyone on the planet.” Mohammed Al-Shammasi, CEO at Derayah, expressed, “This partnership reflects our commitment to innovation and the development of solutions that integrate local expertise with world-class technology, reinforcing our leadership in the financial technology sector within the Kingdom. It also enables seamless, fully electronic access for a wide range of individual and institutional foreign investors to trade in the Saudi market. Alpaca is recognized as a trusted partner and benefits from strong growth opportunities. We look forward to collaborating with them to expand businesses in the Saudi market and across the Middle East.” By combining Alpaca’s institutionally recognized infrastructure and Derayah’s customer-centric experience, they are poised to drive significant advancements in investing accessibility for investors in both the KSA and beyond. ### About Alpaca Alpaca is a US-headquartered brokerage infrastructure technology company and self-clearing broker-dealer, delivering execution and custody solutions for Stocks, ETFs, and Options, and has raised over USD170 million in funding. Alpaca is backed by top-tier investors globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Derayah Financial, Elefund, and Y Combinator. ### About Derayah Financial Derayah is a financial services firm that focuses on empowering the individual investor by providing the most independent, convenient and cost-effective way for average investors to put their money to work. Derayah has built and currently operates the first mutual fund supermarket in Saudi Arabia and the Middle East. Derayah also offers the first seamlessly integrated platform to trade in Saudi Arabia, regional exchanges and key international financial markets, all from a single account and website. * * * _Alpaca Securities LLC and Derayah Financial are not affiliated and neither are responsible for the liabilities of the other._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk, it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _High-Yield Cash API is subject to, among other things, the Alpaca’s API terms and conditions. In addition, customer access to the FDIC Bank Sweep is subject to, among other things, the Alpaca Customer Agreement, Alpaca Terms and Conditions, and the Alpaca FDIC Bank Sweep Program Terms and Conditions. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) [Next Post : FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Algorithmic Trading Insights ### Tag: algorithmic trading Total 9 Posts ## [Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/passive-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 10, 2019[0 Comments](https://alpaca.markets/blog/passive-integration/#disqus_thread) [![Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/content/images/2020/03/alpaca-passiv-integration.png)](https://alpaca.markets/blog/passive-integration/) Canadian-based financial startup, Passiv, and American brokerage Alpaca combine forces to bring you passive investing without high management expense ratios. [Continue Reading](https://alpaca.markets/blog/passive-integration/) ## [Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/submit-queue-order-stock-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 18, 2018[0 Comments](https://alpaca.markets/blog/submit-queue-order-stock-trading/#disqus_thread) [![Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/content/images/2020/03/1_NRmFLgceg9dqL0xkfglrAw.jpeg)](https://alpaca.markets/blog/submit-queue-order-stock-trading/) As one of the many steps towards a more advanced trading platform, we are pleased to let you know that we have allowed everyone to submit and queue orders for the next market open. [Continue Reading](https://alpaca.markets/blog/submit-queue-order-stock-trading/) ## [Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) [![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg)](https://alpaca.markets/blog/paper-trading-api/) In our continuous effort to make automated trading more accessible, we are pleased to announce the Alpaca Paper Trading API to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. [Continue Reading](https://alpaca.markets/blog/paper-trading-api/) ## [Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/algorithmic-trading-puzzle/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 26, 2018[0 Comments](https://alpaca.markets/blog/algorithmic-trading-puzzle/#disqus_thread) [![Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/content/images/2020/03/coding.gif)](https://alpaca.markets/blog/algorithmic-trading-puzzle/) Announcing the answer for the algorithmic trading puzzle. [Continue Reading](https://alpaca.markets/blog/algorithmic-trading-puzzle/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca 2023 Review # Alpaca's 2023 Year in Review By [Giovana Avoni](https://alpaca.markets/blog/author/giovana/) • January 04, 2024[0 Comments](https://alpaca.markets/blog/alpaca-2023-year-in-review/#disqus_thread) ![Alpaca's 2023 Year in Review](https://alpaca.markets/blog/content/images/2024/01/2023-recap-blog-copy@3x.png) Welcome to Alpaca's Year-in-Review – a journey through the milestones, partnerships, and innovations that have shaped our remarkable year in 2023. As we are now full speed running in 2024, we are truly grateful for your continuous support. Please join us in revisiting the key moments in 2023 that have propelled Alpaca’s commitment to open financial services to everyone on the planet. ## New Products & Updates ⚙️ - [**Alpaca enhances its platform with 24/7 sub-250ms latency transaction processing**](https://alpaca.markets/blog/low-latency-ledger-upgrade/), significantly improving transaction processing times. The asynchronous end-of-day process reduces delays, demonstrating Alpaca's dedication to providing a robust infrastructure for efficient trading, ensuring a valuable and streamlined experience for all its customers. - **[Alpaca introduces Excess SIPC Coverage](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/),** exceeding standard protection thresholds to safeguard customer securities and cash. This enhancement reflects Alpaca's commitment to offering enhanced protection aligned with local regulations and looking out for our customers' frameworks. - [**Alpaca launches Funding Wallets for Broker API**](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/), streamlining fund deposits for a seamless user experience. The feature eliminates wire transfer complexities, ensures accurate fund allocation, and minimizes manual errors for efficient fund management. - **[**Options for Trading API**](https://alpaca.markets/options?ref=alpaca.markets)** are coming soon! In a landmark achievement of 2023, Alpaca announced the upcoming launch of Options for Trading API, a highly anticipated addition to its suite of offerings. The [beta waitlist](https://alpaca.markets/options?ref=alpaca.markets) is open, inviting users to be pioneers in experiencing and shaping this feature. ## Alpaca Global Expedition ? - [**Alpaca collaborates with Woodstock**](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) to launch Japan's first social US stock trading app, allowing investors to trade over 500 US stocks and ETFs in Japanese yen. The app fosters a community for learning and sharing investment portfolios. - [**Spaceship partners with Alpaca**](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) to redefine investing for young Australians, leveraging Alpaca's Local Currency Trading product for Aussie-dollar trading in US markets. The collaboration focuses on crafting a seamless user experience and overcoming unique challenges. - [**Investlink partners with Alpaca to empower investors in Kazakhstan**](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/), offering a platform for stock and ETF investments with educational resources, demo accounts, and a "CopyTrading" feature. Alpaca's reliable infrastructure and innovation align with Investlink's goals. - [**Drahim App Investments collaborates with Alpaca**](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) to revolutionize financial management for Saudi Arabian investors. The robo-advisory app integrates seamlessly with Alpaca's US stock market access, providing comprehensive financial transaction overviews. ## Best in Class Solutions ? - **[**Recognized on Y Combinator 2023 List**](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/)** highlighting our global growth and commitment to innovation. The recognition places Alpaca alongside industry leaders like Coinbase and Stripe. - [**Alpaca wins "Best API Solution"**](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) at the 2023 Benzinga FintechAwards, reaffirming our dedication to global accessibility in the financial technology sector. The recognition follows Alpaca's previous win for [Best Automated Trading Software in 2022](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/). ## Exciting News ? - [**Alpaca partners with SBI Holdings**](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) and secures a $15 million strategic investment, accelerating its Asian business expansion. The collaboration with SBI Group enables Alpaca to extend its reach to enterprise financial institutions in Asia. Alpaca expresses gratitude for the unwavering support of our partners, developers, and the entire Alpaca community. Looking ahead, we remain dedicated to pioneering advancements in financial technology, fostering innovation, and expanding our global footprint. Thank you for being part of the Alpaca journey, and stay tuned for more exciting developments in the world of Alpaca! [![](https://alpaca.markets/blog/content/images/size/w2400/2023/08/broker-blog-cta-19.png)](https://hubs.la/Q02fgSww0?ref=alpaca.markets) * * * Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/giovana/) About [Giovana Avoni](https://alpaca.markets/blog/author/giovana/) [Previous Post : Elphinstone: Transforming Pakistani Investing with USD Accessibility](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) [Next Post : Mexico's RUUT Pioneering Fintech Solutions for New Investors](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca and QuantConnect Integration # Elevate Your Trading with the New Alpaca and QuantConnect Integration By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • August 15, 2024[0 Comments](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/#disqus_thread) ![Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/content/images/2024/08/blog-quantconnect-article.png) Alpaca is thrilled to announce its integration with QuantConnect, a leading algorithmic trading platform chosen by thousands of professional traders and quants. Using this integration, Alpaca users can design, backtest, and trade algorithmic strategies within minutes for supported asset classes including stocks, ETFs, options and cryptocurrencies. ## What is QuantConnect? Founded in 2012, [QuantConnect](https://quantconnect.com/?ref=alpaca.markets) has built an online algorithmic research and trading platform where you can build strategies by leveraging its Python API. QuantConnect serves more than 300,000 members and executes $5B in notional trading volumes each month. Traditionally, quants and engineers face the painstaking process of building quantitative trading architectures. This process can take months or even years, involving the writing of data processing systems, live trading data feeds, and trade routers — expensive engineering that adds little direct value to your trading strategy. With QuantConnect, you can go from idea to live trading in minutes. All the core plumbing is implemented in a best-practices, highly configurable environment. ### Open Source Roots The core of QuantConnect's technology is called LEAN, a fully open-source algorithmic trading engine that manages your strategy and data feeds. This partnership with Alpaca includes the open-sourcing and maintenance of the [LEAN-Alpaca](https://github.com/QuantConnect/Lean.Brokerages.Alpaca?ref=alpaca.markets) plugin, enabling anyone to fork the code base and extend it as they see fit. And this open source soul fully aligns with Alpaca’s DNA. You can easily access this plugin through the LEAN CLI with a simple command: pip install lean. ## Elevate Your Trading Experience with Alpaca and QuantConnect The Alpaca and QuantConnect integration enables live commission-free trading support for stocks, equity options, and ETFs. Traders can utilize hundreds of terabytes of data hosted by QuantConnect and then quickly execute trades in the Alpaca paper or live trading environments. QuantConnect’s live trading is hosted on their own co-located hardware, rather than a dedicated server. This helps them maintain long uptimes with fully redundant internet and data feeds. For equities, the full SIP data feed is available, allowing your strategies to scan all 8,000 stocks of the US market for opportunities. The data is simply delivered to your algorithm cleaned and ready for your analysis. “ _Alpaca is regularly a pioneer in high-tech API trading. We’re proud to be announcing support for an end-to-end Alpaca Brokerage integration and delivering $0-fee trading._” \- Jared Broad, CEO at QuantConnect _“We are excited about this partnership as we appreciate how much QuantConnect contributes to the evolution of quant research and trading. We will build the community and advance the technology around it together.” - Hitoshi Harada, Co-Founder and CPO at Alpaca_ Invest in over 11,000 stocks, ETFs, and options with zero commission using your Alpaca account directly in QuantConnect. Explore our comprehensive guide on [how to start trading with Alpaca through QuantConnect](https://alpaca.markets/learn/how-to-build-and-deploy-trading-strategies-with-alpaca-and-quantconnect/?ref=alpaca.markets). * * * _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [**_Characteristics and Risks of Standardized Options_**](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _Alpaca Securities LLC and QuantConnect are not affiliated, and neither are responsible for the liabilities of the other._ _Past hypothetical backtest results do not guarantee future returns, and actual results may vary from the analysis._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change._ _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _The Paper Trading API is offered by AlpacaDB, Inc. and does not require real money or permit a user to transact in real securities in the market. Providing use of the Paper Trading API is not an offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, given or in any manner endorsed by AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate and the information made available through the Paper Trading API is not an offer or solicitation of any kind in any jurisdiction where AlpacaDB, Inc. or any AlpacaDB, Inc. affiliate (collectively, “Alpaca”) is not authorized to do business._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2023/01/symbol-alpaca-logo.png)](https://alpaca.markets/blog/author/alpaca/) About [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) [Previous Post : Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) [Next Post : Thndr: Opening Investing Accessibility in MENA with Alpaca](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca API Case Studies ### Tag: Alpaca Broker API Case Study Total 30 Posts Introducing apps and services that leverage Alpaca Broker API to build innovative products. ## [Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 18, 2023[0 Comments](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/#disqus_thread) [![Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments](https://alpaca.markets/blog/content/images/2023/07/pebble-customer-story--1-.png)](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) ? Exciting news! Pebble Finance, a registered investment advisor, has partnered with Alpaca to introduce an innovative app designed specifically for digital natives to take control of their investments. ?? [Continue Reading](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) ## [Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 05, 2023[0 Comments](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/#disqus_thread) [![Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca](https://alpaca.markets/blog/content/images/2023/07/v02_customer-story_investlink.png)](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) Investlink, a registered broker-dealer, is on a mission to democratize investments and promote financial literacy. With an intuitive interface and reliable infrastructure provided by Alpaca, they are empowering investors to make informed decisions. Discover their story today!? [Continue Reading](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) ## [Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 15, 2023[0 Comments](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/#disqus_thread) [![Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors](https://alpaca.markets/blog/content/images/2023/06/customer-story_rivium.png)](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) ?Sylon Asesores, a registered investment advisor, introduces Rivium,a user-friendly app that delivers a personalized banking and investing experience to Mexican investors. ? Curious to know more about Rivium's collaboration with Alpaca? ? Dive deeper into the details in our latest article. [Continue Reading](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) ## [Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • May 23, 2023[0 Comments](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/#disqus_thread) [![Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca](https://alpaca.markets/blog/content/images/2023/05/v02_traderpal-customer-story.png)](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) ?Exciting news! Traderpal teams up with Alpaca to bring accessible stock trading to Spanish-speaking individuals. [Continue Reading](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) ## [Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 20, 2023[0 Comments](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/#disqus_thread) [![Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca](https://alpaca.markets/blog/content/images/2023/04/blog-streetbeat-customer-success--1-.png)](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) Streetbeat,is a registered investment adviser that offers an investment platform designed to make the stock and ETF trading process accessible for retail investors. Discover how they have partnered with Alpaca! [Continue Reading](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Enhanced SIPC Coverage # Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/#disqus_thread) ![Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/content/images/2023/09/v03_excess-sipc-coverage.png) As we continue to make swift product enhancements, we are fortunate to have been able to rapidly expand our network of global partners. We are excited to see new types of business models emerging that align with local regulatory frameworks in certain countries. Additionally, we are observing the rise of new partners targeting consumers who have a higher net worth in specific parts of the world. We have extensively conversed with these partners to understand how enhanced protection would help them interact better with local regulators and be able to offer more value to their end customers, particularly those with a higher net worth. We are thrilled to introduce Excess SIPC Insurance coverage ?, exceeding the standard SIPC coverage threshold. The excess coverage held by Alpaca Securities LLC provides protection for any Alpaca Securities customer up to $30 million in securities and $1 million in cash, and is covered at an aggregate limit of $150 million across all Alpaca Securities customer accounts. **Understanding the Standard SIPC Coverage** [SIPC](https://www.sipc.org/?ref=alpaca.markets), or the Securities Investor Protection Corporation, plays a critical role in maintaining the stability and security of the financial markets. SIPC protects against the loss of cash and securities held by a customer at a SIPC-member brokerage firm. **The limit of SIPC protection is $500,000, which includes a $250,000 limit for cash.** SIPC coverage ensures that investors' funds and securities are safeguarded up to certain limits, helping to instill confidence and trust in the financial system. **Now, what sets Excess SIPC coverage apart?** Excess SIPC coverage goes beyond the standard protection provided by SIPC. While SIPC coverage has its limits, excess SIPC coverage provides an additional layer of security by extending those limits. This means that in the unlikely event of a brokerage firm's failure, investors and clients are provided with an increased level of coverage. ### Alpaca's Commitment to Offering Protection In the financial sector, trust is paramount. By securing Excess SIPC coverage, we aim to continue fostering trust and confidence among our stakeholders and elevating the level of protection we offer. _“We recognize that each partner of ours comes with their own unique sets of preferences and priorities. This is more true to Alpaca, because we work with businesses from over 25 different countries, and they excel in figuring out how to offer the best products to their customers while understanding the local rules. Our decision to secure excess SIPC coverage emphasizes our unwavering commitment to how we can continue to grow with our partners by understanding their priorities and demands and executing them quickly.” - **Yoshi Yokokawa, Co-founder & CEO at Alpaca.**_ ### Benefits for Alpaca Traders and Broker API Partners Our extensive global network of over 100 partners also stands to benefit from this initiative. The extended SIPC coverage serves as a testament to Alpaca's commitment to ensuring enhanced protection beyond the standard threshold for our partner’s end-users. For algorithmic traders who rely on Alpaca's platform, the enhanced SIPC coverage can bring a sense of reassurance to trade programmatically with bigger positions. ### About Alpaca Alpaca is a developer-first API brokerage platform that’s raised over $100m in funding. Alpaca offers stock and crypto trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. * * * [Alpaca - Developer-First API for Trading\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, and\\ trade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://alpaca.markets/static/images/meta-image-homepage.png)](https://alpaca.markets/?ref=alpaca.markets) ### Contact Us * * * ### SIPC and Excess SIPC Protection Alpaca Securities LLC is a member of the Securities Investor Protection Corporation (SIPC), which protects securities customers of its members up to $500,000 (including $250,000 for claims for cash). An explanatory brochure is available upon request via telephone at (202) 371-8300 or at [www.sipc.org](http://www.sipc.org/?ref=alpaca.markets). Alpaca Securities LLC has purchased an additional insurance policy through Lloyd's of London to supplement SIPC protection known as Excess SIPC Coverage. The additional insurance becomes available to customers in the event that SIPC limits are exhausted. The excess coverage provides protection for any Alpaca Securities customer up to $30 million in securities and $1 million in cash, and is covered at an aggregate limit of $150 million across all Alpaca Securities customer accounts. Similar to SIPC protection, this additional insurance does not protect against a loss in the market value of securities * * * _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities is not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) [Next Post : Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Acquires Japanese Broker # Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • July 19, 2022[0 Comments](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/#disqus_thread) ![Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion](https://alpaca.markets/blog/content/images/2022/07/A-AJ.jpeg) AlpacaJapan is licensed to offer embedded investing products to businesses in Japan as a Japanese FSA-approved broker-dealer. [Alpaca](https://alpaca.markets/?ref=alpaca.markets), a crypto and stock investing platform for businesses from startups to Fortune 500s, announced it has closed the acquisition of a Japanese licensed broker-dealer, AlpacaJapan Co.,Ltd. (“AlpacaJapan”). This acquisition is the first step of many in Alpaca’s global strategy, expanding Alpaca’s global reach and opening access to investing for people around the world. _“Expanding into Japan presents obvious opportunities and advantages. Japan is the third largest economy in the world with the second largest household asset size, and is experiencing a recent acceleration and surge in money digitization adoption,”_ **said Yoshi Yokokawa, Co-Founder and CEO of** [**Alpaca**](https://alpaca.markets/?ref=alpaca.markets) **.** _“Together with the AlpacaJapan team, we’re excited to accelerate opening financial services to the people in Japan through our battle-tested embedded investing product, and are looking forward to working closely with Japanese businesses and businesses entering into the Japanese market.”_ _“We’re excited to join Alpaca and begin offering Broker API and Trading API to Independent Financial Advisors, various types of trader and developer communities, and individual investors in Japan,”_ **said Morifumi Yotsumoto, CEO of** [**AlpacaJapan**](https://alpaca.markets/jp?ref=alpaca.markets) **.** _“We’ve already begun collaborations with Alpaca and are preparing for a joint release of a new US stock product for Japanese investors. As a part of the globally distributed team at Alpaca, we will continue to strive to provide cutting-edge products to Japanese investors.”_ Through this acquisition, nothing will change for current AlpacaJapan customers, and AlpacaJapan continues to operate as the FSA licensed broker-dealer in Japan. We will soon launch Alpaca Broker API which allows businesses and developers in Japan to launch stock investing products to their end customers, and stock trading API for algorithmic traders in Japan. **About AlpacaJapan** Co-founded by the CEO Yotsu, a financial services veteran from Barclays and Lehman Brothers, AlpacaJapan offers a Japanese stock infrastructure product for Independent Financial Advisor businesses, after obtaining approvals to be a Type 1 Financial Instruments Business, Investment Advisory, and Agency Business in August 2021. AlpacaJapan is preparing to launch a US stock infrastructure product later this year. To learn more about AlpacaJapan, please visit [https://sec.alpaca.ai/](https://sec.alpaca.ai/?ref=alpaca.markets). **About Alpaca** Alpaca is a developer-first embedded financial technologies platform that’s raised over $70m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Eldridge, Positive Sum, Elefund, and Y Combinator. Securities are offered by Alpaca Securities LLC. Crypto services are offered by Alpaca Crypto LLC. To learn more about Alpaca, please visit [https://alpaca.markets](https://alpaca.markets/?ref=alpaca.markets). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). G ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcrypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer%2F&t_d=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&t_t=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcrypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer%2F&t_d=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&t_t=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcrypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer%2F&t_d=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&t_t=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcrypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer%2F&t_d=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&t_t=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcrypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer%2F&t_d=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&t_t=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcrypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer%2F&t_d=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&t_t=Crypto%20%26%20Stock%20Investing%20Platform%20Alpaca%20Acquires%20Japanese%20Broker-Dealer%20to%20Accelerate%20Global%20Expansion&s_o=default#) [Previous Post : Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) [Next Post : Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## GUGU: US Investing Simplified # GUGU Paves the Way for US Stock Investing in Asia By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • December 07, 2023[0 Comments](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/#disqus_thread) ![GUGU Paves the Way for US Stock Investing in Asia](https://alpaca.markets/blog/content/images/2023/12/V02_gugu-customer-story-copy@4x.png) In the bustling financial landscape of Hong Kong, Asia Win Inc Limited, under Owen Huang’s leadership, introduced [GUGU](https://www.gugu.fund/?ref=alpaca.markets) in June 2020. GUGU is not just a financial platform; it's a mission-driven venture committed to breaking down barriers for Asian investors looking to enter the US stock market. ## About GUGU Founded by Owen Huang, GUGU's inception was inspired by the recognition of Asian investors' burgeoning interest in the US stock market. However, these individuals often faced significant obstacles, including a lack of domain knowledge and user-friendly tools. For three years, GUGU worked diligently to provide US stock investment education through online courses, blogs, and simulated trading apps. During this time, thousands of users expressed a common wish - for GUGU to provide an easier and more user-friendly environment for starting their US stock investment journey. In 2023, GUGU decided to make this wish a reality by partnering with Alpaca. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-19.png)](https://hubs.la/Q01-ZMh50?ref=alpaca.markets) ## GUGU's Mission GUGU's mission is clear: to become the number one choice for foreign securities trading and investment among the young generation in Asia. The company envisions a future where everyone can start investing easily and confidently. ![](https://lh7-us.googleusercontent.com/CpqS2ho31pX6hJ5BJ3N0EbGDpdkAGV11YFm7I4cvfUOIffjCaaSBCGU2ve2KFf6hofpEhy_q3DfyjQXWKiOTJ5Jm6WJATIG3rPqvoMFMgO_f7qTF4N-9pNNVetB3WUnBlUPMYTxRJkKHLguEKq-VxhU) ## GUGU’s Key Benefits GUGU believes that many Asian investors haven't ventured into US stock investments due to the absence of consumer-friendly tools. GUGU is on a mission to change this by reducing the barriers to entry through exceptional product design. They’re able to do so by having: 1. **Intuitive Design:** Boasting a trendy interface and a gamified experience, making investing engaging and accessible. 2. **Performance Rankings:** Providing performance rankings and publicly disclose the holdings of others, fostering a transparent and informative investment environment. 3. **Localized Language Interfaces:** Offering localized language interfaces based on various Asian countries, ensuring accessibility to a diverse user base. 4. **No Commission:** Users can trade without worrying about hefty commissions, as GUGU operates on a commission-free model. 5. **Lightning Fast Account Creation:** GUGU simplifies onboarding with an account opening process that takes less than six minutes. 6. **Invest with Just US$1:** GUGU allows users to start investing with as little as US$1, making it an inclusive platform for all investors. ## Why GUGU Chose Alpaca GUGU's decision to collaborate with Alpaca was not taken lightly. Alpaca's agile approach and commitment to quality service aligned perfectly with GUGU's vision. Alpaca's success in assisting other securities firms to provide exceptional trading services further solidified the choice. !["In the dynamic Southeast Asian markets, Alpaca stands out for seamlessly integrable solutions and insightful recommendations. Their deep understanding of our customers' unique challenges, coupled with continuous innovation, ensures a tailored and user-friendly trading experience. Alpaca's commitment to Southeast Asia sets us apart, delivering exceptional and clear trading solutions.” – Owen Huang, Founder at GUGU](https://lh7-us.googleusercontent.com/wGWStcPdwxS84zCtg7YnGj5rUIOh-a6D1hlE2iIyTYwx4zOxeH-UDhif88bAZrcl4GVMkw8UQfHdufRerol_4TNt66knuxzNa_9MIzQ3lrX0_T3lbYzqVCQI6Ez-X2lBhaVDrA2RF3fd9BgRzguFG-s) "In the dynamic Southeast Asian markets, Alpaca stands out for seamlessly integrable solutions and insightful recommendations. Their deep understanding of our customers' unique challenges, coupled with continuous innovation, ensures a tailored and user-friendly trading experience. Alpaca's commitment to Southeast Asia sets us apart, delivering exceptional and clear trading solutions.” – Owen Huang, Founder at GUGU ### Powering Their Solution with Broker API GUGU's collaboration with Alpaca marks the beginning of a transformative journey. From the comprehensive integration documents to the collaborative building process, GUGU was onboarded quickly and effortlessly. Through weekly review meetings and asynchronous communications, Alpaca's compliance and technical teams facilitated the journey, ensuring regulatory compliance and ease of build-out with the API. One of the unique challenges addressed by Alpaca's Broker API was the provision of a simple KYC/account opening service that worked well with a set of APIs. This saved GUGU substantial time and effort, making their entry into the business more efficient. !["We have been very pleased by how seamlessly and completely Alpaca’s Broker API has enabled GUGU’s development team to build a trading app in our vision." – Hera Pan, Product Head at GUGU](https://lh7-us.googleusercontent.com/OAF09eVj4yRe3pQ7as3sm9C4UkOpq9AO4JUvY588eJmajLUgcqbpp0Olt6AaVPOcngM420MpufGFCV-LeKw3LCwGKa0aDHhYVDvEC8A3hO3LFQMMMMz0hw1Yry7kkmzApMaGzx7uQpB0ToliKy6XwPc) "We have been very pleased by how seamlessly and completely Alpaca’s Broker API has enabled GUGU’s development team to build a trading app in our vision." – Hera Pan, Product Head at GUGU ### Facilitating Operations with Broker Dash Alpaca's Broker Dashboard proved to be a valuable asset for GUGU's teams. Its clean, organized interface serves as a central hub for GUGU's account, customer support, and finance teams. The dashboard simplifies tracking, ensuring a unified system for all operations. GUGU and Alpaca, in their shared mission of making US stock investment accessible to Asian investors, have embarked on a journey that's not just about trading; it's about transforming the financial landscape in Asia. This partnership underscores their commitment to a future where investing is simple, engaging, and open to all. ![“Alpaca has been proactively broadening its presence in the Asian market through strategic partnerships in Indonesia, Singapore, Thailand, Japan, and other key regions. We are thrilled to welcome GUGU on board and anticipate harnessing its established brand influence in Asia, along with the team's wealth of market expertise in Southeast Asia, to further extend Alpaca's services in the APAC market.” – Tarun Ajwani, SVP of Sales and Corporate Development at Alpaca](https://lh7-us.googleusercontent.com/TTqMrkbRP0LM9GLBvazM_pMLyEOd4mdARdHJdLGYCTMyykBUaFWKFOFBANNYZgMG3tMSZeJyX1io0nSLMrbbPxifaw8eSaeWl8gHaoaeEhDt36aFvj6P6CCpy31vC_nGm9p9CyDD-UH50iqS_E9upFw) “Alpaca has been proactively broadening its presence in the Asian market through strategic partnerships in Indonesia, Singapore, Thailand, Japan, and other key regions. We are thrilled to welcome GUGU on board and anticipate harnessing its established brand influence in Asia, along with the team's wealth of market expertise in Southeast Asia, to further extend Alpaca's services in the APAC market.” – Tarun Ajwani, SVP of Sales and Corporate Development at Alpaca ## About Alpaca Alpaca is a developer-first API brokerage platform that’s raised over $120m in funding. Alpaca offers stock and crypto trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. ## Let's See How We Can Partner Together * * * Alpaca and Asia Win Inc Limited ("GUGU") are not affiliated and neither are responsible for the liabilities of the other. All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : Mexico's RUUT Pioneering Fintech Solutions for New Investors](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) [Next Post : Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Japan's First Social Trading App # Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 19, 2023[0 Comments](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/#disqus_thread) ![Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca](https://alpaca.markets/blog/content/images/2023/01/woodstock-customer-success.png) Woodstock is Japan’s very first social US stock trading app that offers its end-users the opportunity to invest in the US stock market for as little as 1,000 yen. Japanese investors can easily buy and sell from over 500 US stocks and ETFs, such as Tesla, Netflix, Google, Apple, and more, using only the Japanese yen. Furthermore, the app has enhanced Twitter-like interactive functionality to enable beginner investors to learn from the community, connect with friends, and share their investment portfolios. [![](https://alpaca.markets/blog/content/images/size/w2400/2023/08/broker-blog-cta-12.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=woodstock-case-study) ### About Woodstock [Woodstock](https://woodstock.club/?ref=alpaca.markets) was established in 2021 by Brian Yun, Daisuke Kawamoto, and Min Ju, who discovered how inexperienced Japanese investors were often intimidated by a lack of knowledge of the financial markets and discouraged from stock investing due to complicated brokerage services. Woodstock lowers the barrier to entry for Japanese investors into the stock market by combining stock investing and interactive social network experiences. !["We recognized a high entry barrier to stock investing due to a lack of understanding, inequitable access, complicated brokerage procedures, and more. Woodstock offers simple tools for users to learn, connect with friends, share their trades and emotions as they begin their journey into investing." - Brian Yun, Co-Founder at Woodstock.](https://alpaca.markets/blog/content/images/size/w2400/2023/01/quote-banner--1-.png) "We recognized a high entry barrier to stock investing due to a lack of understanding, inequitable access, complicated brokerage procedures, and more. Woodstock offers simple tools for users to learn, connect with friends, share their trades and emotions as they begin their journey into investing." - Brian Yun, Co-Founder at Woodstock. ![](https://alpaca.markets/blog/content/images/2023/01/cover.jpg)Woodstock partners with Alpaca. _(This image is for illustrative purposes only.)_ ### Woodstock's Mission Woodstock, headquartered in Tokyo, Japan, aims to empower the next generation of investors to create a better financial future by providing a safe environment that encourages asset-building and where they can learn and increase their knowledge about the financial markets. The company’s core values and principles are: **We are customer-obsessed**: Woodstock is committed to delivering their end-customers the best trading and investing experiences. **We do the right thing:** Woodstock does the right thing because customers entrust them with their finances, and they understand their responsibility for reshaping how people invest and build long-term wealth. **We celebrate differences**: Woodstock team members from different countries, cultures, and backgrounds. Their differences make the team stronger as they integrate various ideas into the product. Furthermore, they proactively seek and celebrate different perspectives. ### Woodstock's Key Features - Access more than 500 US stocks and ETFs. - Invest in financial markets with as little as 1,000 yen in local currency. - Share your investment portfolio and top investing picks with friends. - Learn investing tips and tools from the community. - Discover the latest news and trends to stay up-to-date. ![](https://alpaca.markets/blog/content/images/2023/01/Screen-Shot-2023-01-18-at-11.51.18-AM.png)Woodstock partners with Alpaca. _(This image is for illustrative purposes only.)_ ### Woodstock Partners with Alpaca Woodstock is the first partner launched in Japan after Alpaca acquired a Japan FSA-approved broker-dealer and the very first platform offering JPY-based US stock investing experience by leveraging [Alpaca’s Local Currency Trading API.](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) !["Alpaca has been a great business partner. One of the reasons we chose Alpaca is due to their Local Currency Trading API. We believe this offering will simplify the trading experience for Japanese investors by providing access to US stocks in local currency without having to convert to the US dollar at any point." - Brian Yun, Co-Founder at Woodstock.](https://alpaca.markets/blog/content/images/size/w2400/2023/01/quote-banner-1--1-.png) "Alpaca has been a great business partner. One of the reasons we chose Alpaca is due to their Local Currency Trading API. We believe this offering will simplify the trading experience for Japanese investors by providing access to US stocks in local currency without having to convert to the US dollar at any point." - Brian Yun, Co-Founder at Woodstock. ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. To learn more about Alpaca, please visit [https://alpaca.markets](https://alpaca.markets/?ref=alpaca.markets). !["Having grown up in Japan, I am personally super excited that Alpaca is finally supporting a partner offering US stock investing in Japan. For Japan as a country, Woodstock is making history by being the very first service to offer notional and local-currency-based (inputting Japanese yen amount instead of inputting a number of shares when buying/selling stocks) investing experience for the US stocks. We thank Woodstock for choosing to partner with the Alpaca team. We are excited to foray into Japan by supporting Woodstock in launching the first-ever US stock social trading app. We wish the team great success in its journey to empower the next generation of investors." - Yoshi Yokokawa, Co-Founder and CEO of Alpaca.](https://alpaca.markets/blog/content/images/size/w2400/2023/01/quote-banner-2--1-.png) "Having grown up in Japan, I am personally super excited that Alpaca is finally supporting a partner offering US stock investing in Japan. For Japan as a country, Woodstock is making history by being the very first service to offer notional and local-currency-based (inputting Japanese yen amount instead of inputting a number of shares when buying/selling stocks) investing experience for the US stocks. We thank Woodstock for choosing to partner with the Alpaca team. We are excited to foray into Japan by supporting Woodstock in launching the first-ever US stock social trading app. We wish the team great success in its journey to empower the next generation of investors." - Yoshi Yokokawa, Co-Founder and CEO of Alpaca. _All views and opinions expressed by the guest speakers are solely their views and opinions and do not reflect or represent the views and opinions of Alpaca Securities LLC, Alpaca Crypto LLC, AlpacaJapan, and AlpacaDB. The guest speakers' opinions are based on information they consider reliable and therefore Alpaca Securities LLC, Alpaca Crypto LLC, AlpacaJapan, and AlpacaDB do not warrant its completeness, accuracy and it should not be relied upon as such._ _The content is for general informational purposes only. Alpaca Securities LLC, Alpaca Crypto LLC and AlpacaJapan do not recommend any specific investments, investment strategies or cryptocurrenc_ ies. * * * [Alpaca - Developer-First API for Stocks and Crypto\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, and\\ trade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://alpaca.markets/static/images/meta-image-homepage-crypto.png)](https://alpaca.markets/?ref=alpaca.markets) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Quantbase Launches Investment Platform with Alpaca Broker API](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) [Next Post : Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca's Y Combinator Honor # Alpaca Named to Y Combinator’s Top Private Companies of 2023 List By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 28, 2023[0 Comments](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/#disqus_thread) ![Alpaca Named to Y Combinator’s Top Private Companies of 2023 List](https://alpaca.markets/blog/content/images/2023/02/y-combinator_top-company-list_2023.png) We’re excited to announce that Alpaca has been recognized on **Y Combinator’s** [**Top Private Companies 2023**](https://www.ycombinator.com/blog/yc-top-companies-feb-2023?ref=alpaca.markets) list. This year’s YC Top Companies List features more than 290 public and private high—growth companies across 40 countries, ranked by valuation. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-9.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=yc-top-companies) _"We are super excited to get included in YC's Top Companies List and are very grateful for all the partners and developers that continue to run this journey together with Alpaca, **says Yoshi Yokokawa, Alpaca’s Co-founder & CEO.** This is a reflection of our collective efforts by Alpaca members distributed across the globe, and we’re thrilled to continue innovating and leading the industry to move forward for our partners and developers."_ _"We are humbled to be recognized among the top companies by Y Combinator, says **Hitoshi Harada, Alpaca’s CPO & Co-founder.** This achievement is a testament to everyone at Alpaca's passion, dedication, and teamwork - from our talented employees to our vibrant community of developers. We are proud to have created a culture of excellence that drives us to deliver innovative solutions for our customers daily."_ Y Combinator’s Top Companies list selects from nearly 4,000 companies with a combined evaluation of $600 billion that they’ve worked with since 2005. This year, Alpaca joins industry-leading fintech companies such as Coinbase, Stripe, and Brex. To learn more about the featured companies, see the [full list](https://www.ycombinator.com/topcompanies?ref=alpaca.markets) here. Want to join our team? Explore our job openings at [alpaca.markets/hiring](https://alpaca.markets/hiring?ref=alpaca.markets). [Alpaca - Developer-First API for Trading\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, andtrade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://alpaca.markets/static/images/meta-image-homepage-crypto.png)](https://alpaca.markets/?ref=alpaca.markets) ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. ## Contact Us ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) [Next Post : UAE Fintech InvestSky Launches Social Investing Platform with Alpaca](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Crypto API # Alpaca Crypto Extends to Broker API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/#disqus_thread) ![Alpaca Crypto Extends to Broker API](https://alpaca.markets/blog/content/images/2022/03/Blog---Crypto-for-Broker-API-1.png) Alpaca Crypto is excited to announce the launch of **Crypto for Broker API**, ​​a new offering that allows you to build and launch your own 24/7 crypto trading app. Now available in select US states and international jurisdictions, Crypto for Broker API  enables your end-users to trade popular crypto coins like Bitcoin, Ethereum, Shiba Inu, Dogecoin, and more through your platform and service. ## Build a Coin Crypto Trading App with Broker API - **Create a new revenue stream with crypto trading** Unlock a new revenue stream by adding crypto trading to your investment app. - **Create new business opportunities and increase engagement** Crypto trading has become increasingly popular and could become an integral part of the world’s financial system. By adding crypto trading to your app allows you to attract new customer segments, and increase end-user engagement and retention. - **Build with a simple yet comprehensive suite of developer-first APIs** Our developer-friendly Crypto for Broker API allows you to build scalable crypto trading apps with ease. - **Access liquidity from leading market exchanges** We are partners with multiple industry-leading crypto exchanges such as [ErisX](https://www.erisx.com/?ref=alpaca.markets), [Genesis,](https://genesistrading.com/?ref=alpaca.markets) that enable your end-users to access a highly liquid, and stable marketplace where they can trade more than 20 crypto coins. - **Superior performance and execution speed** Our order management system allows your end-users to trade cryptocurrencies with **99.95% uptime** andexecution speeds as fast as **1.5 milliseconds**. - **Access real-time crypto market data** With our new API endpoints, you can embed real-time crypto market data and headlines directly into your app. ## Embed Crypto for Broker API into your App To enable crypto trading in your app, a crypto customer agreement must be presented to and signed by the end-user. The crypto account is associated with the same account\_id as the equities account - all account balances will also reflect the crypto trading activities. **Note:** Market, limit, and stop orders are supported for crypto trading along with fractional orders with either notional or quantity provided. ``` json POST /v1/accounts { ... "agreements": [\ {\ "agreement": "crypto_agreement",\ "signed_at": "2021-09-11T18:09:33Z",\ }\ ...\ \ ```\ \ Copy\ \ **How to enable crypto when creating a new account with Broker API.**\ \ ``` json\ PATCH /v1/accounts/{account_id}\ \ {\ "agreements": [\ {\ "agreement": "crypto_agreement",\ "signed_at": "2021-10-11T18:13:44Z",\ "ip_address": "185.13.21.99"\ }\ ]\ }\ \ ```\ \ Copy\ \ **How to enable crypto for an existing account with Broker API.**\ \ ## **Crypto for Broker API Features**\ \ - Supports 20 crypto coins such as Bitcoin, Ethereum, Shiba Inu, Dogecoin, and more\ - Fully disclosed setup in 21 U.S. states\ - Available in select international jurisdictions\ - Trade with 99.95% uptime and execution speed of 1.5 milliseconds\ - Simple and flexible API integration with access to real-time crypto market data\ - Around the clock global support\ \ \ ## Get Started with Crypto for Broker API\ \ Check out our learn article on [Make Your Own Crypto ETF using Alpaca’s Crypto API](https://alpaca.markets/learn/crypto-api-guides/make-your-own-crypto-etf-using-alpacas-crypto-api/?ref=alpaca.markets), or view our [documentation](https://alpaca.markets/docs/broker/integration/crypto-trading-broker/?ref=alpaca.markets) for additional information.\ \ [Make Your Own Crypto ETF using Alpaca’s Crypto API\\ \\ Learn how to take advantage of our new coin offerings by creating a diverse basket of crypto holdings, which will comprise our ETF. We then regularly rebalance our ETF to keep our allocation balanced across each coin.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesRahul Chowdhury\\ \\ ![](https://alpaca.markets/learn/content/images/2022/03/Article---Crypto-for-Broker-API-1.png)](https://alpaca.markets/learn/crypto-api-guides/make-your-own-crypto-etf-using-alpacas-crypto-api/?ref=alpaca.markets)[Crypto Trading\\ \\ Enable crypto trading for your users with commission-free access.\\ \\ ![](https://alpaca.markets/docs/favicon.png)Alpaca Docs Alpaca Docs Alpaca Docs\\ \\ ![](https://alpaca.markets/docs/alpaca_icon@1x.png)](https://alpaca.markets/docs/broker/integration/crypto-trading-broker/?ref=alpaca.markets)\ \ * * *\ \ Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc.\ \ Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Depending on your location, cryptocurrency services may be provided by West Realm Shires Services, Inc., d/b/a FTX US (NMLS #1957771).\ \ This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities, Alpaca Crypto, or FTX US respectively, are not registered or licensed, as applicable.\ \ Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency is not regulated or is lightly regulated in most countries. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information, please click [**here.**](https://files.alpaca.markets/disclosures/library/CryptoRiskDisclosures.pdf?ref=alpaca.markets)\ \ Please see [alpaca.markets](https://alpaca.markets/?ref=alpaca.markets) and Alpaca’s [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information.\ \ ### Interested in learning more about Broker API?\ \ Don't miss out on any updates about our Broker API suite of solutions!\ Share your details with us and be the first to know about our latest content.\ \ \ ![Close modal](https://alpaca.markets/img/x.png)\ \ [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/)\ \ About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/)\ \ [Previous Post : Alpaca Crypto Rewards Program](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) [Next Post : SDK Release Notes: February 2022](https://alpaca.markets/blog/release-notes-feb-2022/)\ \ [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto\ \ [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto\ \ [×](javascript:;) Welcome back! You've successfully signed in.\ \ [×](javascript:;) Success! Your account is fully activated, you now have access to all content.\ \ Alpaca and selected third parties use cookies on this website as specified\ in the\ [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers\ by pressing ‘Accept’, closing this notice, or logging into your account.\ \ \ Accept ## Investlink Investment Opportunities # Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 05, 2023[0 Comments](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/#disqus_thread) ![Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca](https://alpaca.markets/blog/content/images/2023/07/v02_customer-story_investlink.png) [Investlink](https://investlink.io/?ref=alpaca.markets), a registered investment fintech in Kazakhstan allows individuals to invest in stocks and ETFs, irrespective of their limited capital or investing background. The platform provides a wealth of educational resources and a diverse range of features, such as demo accounts and a "CopyTrading" functionality. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-1.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=investlink-case-study) Demo accounts are designed to support beginners in mastering the complexities of trading without the need to risk actual funds. Additionally, the CopyTrading feature enables convenient replication of trades made by experienced traders, allowing beginners to accelerate their learning curve. ### About Investlink Headquartered in Kazakhstan, Investlink was founded by Daniyar Nursultan in 2021. Investlink was established with the objective of equipping investors and traders with tools to help navigate the stock market effectively. In addition to offering a comprehensive investment platform, the company grants investors access to seasoned traders and educational providers on managing finance and investments. This may enable investors to grasp the fundamental principles of sound investing from the whole marketplace of educational resources providers, a plan for Investlink to pursue in the nearest future. The fintech platform will also act as a marketplace connecting investors to the universe of professional traders, granting access to the first to multiple strategies and letting the latter enhance the results and be more efficient with larger footprint in the investment landscape ![](https://alpaca.markets/blog/content/images/2023/07/quote-banner.png)![](https://alpaca.markets/blog/content/images/2023/07/investlink-app-keyvisual.jpg)Screenshot is for illustrative purposes only ### Investlink’s Mission Investlink's core mission is to democratize investments by extending exclusive investment opportunities to a wide range of investors. With a user-friendly interface, Investlink ensures a seamless and intuitive investment experience for individuals with diverse levels of financial expertise. The platform will go beyond by actively involving those who promote financial literacy and provide educational resources. This will not only empower investors with the necessary knowledge and tools to make informed decisions, but will also help educators to speak out to larger audiences and make this world a better place with more financially savvy people in it. ### Investlink’s Key Features - User-friendly and easy-to-use interface for trading and investing - CopyTrading feature: Opportunity to connect with professional traders and replicate their strategies - Professional service backed by financial advisors with expertise and financial background - Guidance and support provided by financial advisors to navigate the platform and stay connected whenever needed - Strong risk management skills. ![](https://alpaca.markets/blog/content/images/2023/07/007.jpg)Screenshot is for illustrative purposes only ### Investlink Partners with Alpaca Investlink partnered with Alpaca for several key reasons. First and foremost, Alpaca’s commitment to providing a reliable infrastructure. Additionally, Alpaca's focus on innovation aligns perfectly with Investlink's forward-thinking approach. Another crucial factor is Alpaca's support for international end-users. Lastly, Alpaca's ability to provide an end-to-end brokerage infrastructure through its API integration further solidified this partnership. ![](https://alpaca.markets/blog/content/images/2023/07/quote-banner-1.png) ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. ![](https://alpaca.markets/blog/content/images/2023/07/quote-banner-2.png) * * * ## Contact Us reCAPTCHA Recaptcha requires verification. protected by **reCAPTCHA** [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) * * * _The content is for general informational purposes only. All screenshots are for illustrative purposes only._ _Alpaca and Investlink are not affiliated and neither are responsible for the liabilities of the other._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 1 Response ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [1](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Finvestlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca%2F&t_d=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&t_t=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Finvestlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca%2F&t_d=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&t_t=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Finvestlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca%2F&t_d=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&t_t=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Finvestlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca%2F&t_d=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&t_t=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Finvestlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca%2F&t_d=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&t_t=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Finvestlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca%2F&t_d=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&t_t=Investlink%20Empowers%20Investors%20in%20Kazakhstan%20with%20Diverse%20Investment%20Opportunities%20with%20Alpaca&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7mamr112frqcn7&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Finvestlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.487011118217&uid=c7mamr112frqcn7&url=https%3A%2F%2Falpaca.markets%2Fblog%2Finvestlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7mamr112frqcn7&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.330607983076) Sponsored [Previous Post : Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) [Next Post : Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## US Options Trading Launch # Alpaca Launches US Options Trading to Global Investors and Algo Traders By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 08, 2024[0 Comments](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/#disqus_thread) ![Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/content/images/2024/05/broker-options-blog.png) Today, we’re thrilled to announce another development milestone for Alpaca’s Broker and Trading API – offering options to our global community. This expansion underscores our mission to open financial services to everyone on the planet. The excitement to offer options was reinforced to us through discussions with our global fintech partners and developer community. Over the past year, we received the regulatory approvals and diligently constructed our core brokerage systems from the ground up. Last November, we launched a beta options program tailored for algo traders, inviting them to test our API and provide invaluable feedback. The response was incredible, with thousands expressing interest to join. Then, in early 2024, we continued to collaborate not only with these traders but also our global partners, ensuring that their feedback was carefully addressed and integrated into our offering today. Most recently, attendees of Alpaca’s inaugural [Partner Summit](https://alpaca.markets/partner-summit?ref=alpaca.markets) were exclusively invited to witness this exciting reveal firsthand. ## Retail’s Appetite for Options Options are a versatile asset for strategic hedging, speculation, and income generation. The incorporation of options into both Broker API and Trading API is a strategic response to the growing interest in these instruments and their pivotal role in diversified investment strategies. In July 2023, the retail share of options trading reached [45% on the NYSE](https://www.nyse.com/data-insights/trends-in-options-trading?elqTrackId=0e5986640cbc4bd293d96f671598906e&elq=00000000000000000000000000000000&elqaid=4274&elqat=2&elqCampaignId=&elqcst=272&elqcsid=2684&ref=alpaca.markets). This participation has remained consistent since its sharp ascent from the 2020 pandemic. According to NYSE, this growth has been attributed to preferences in “short-dated options to make bets on market direction” coupled with access to low-priced option contracts. Steven Poser, their Director of Research, ends his analysis by stating, “none of these trends appear to be in danger of reversing.” With options, Alpaca simultaneously enables fintech organizations to tap into this active trader demographic and increase their asset class breadth. ## New Asset Class, Same API Partners can use our best in class APIs to ensure a fast integration process, reduced development costs and an easy to maintain code across multiple asset classes. Not only that, but you can continue to leverage Alpaca’s success and support teams for any inquiries that you might have. Our initial Broker API offering will support fully disclosed partner relationships and Level 1 + 2 options. The account approval process will be automated, and partners will have visibility into a customer's approval process via SSE events. Recognizing the importance of customer control, partners can downgrade or even disable individual customers' options access via its API. Additionally, the orders, positions, activities, market data endpoints will be expanded to support options, and partners have the flexibility to leverage our own indicative pricing feed via Market Data API or use their own providers. We’ve competitively priced our commercial options offering to foster collaborative growth with a similar service model. And this is just the beginning – stay tuned as we plan to include omnibus partner relationships and Level 3 options trading in the near future. For Trading API, our community can still expect an easy-to-use and reliable service including: comprehensive asset classes, free real-time market data, and a paper testing environment. Starting this week, developers and traders alike can buy, sell, and exercise options via API or their dashboard. The best part? Options trading is commission-free for retail investors with Trading API. ## Let’s Get Started If you're new to Alpaca’s Broker API, [speak with](https://alpaca.markets/broker-contact-form?ref=alpaca.markets) our sales team to explore how options can be easily integrated into your existing financial services. It offers modern architecture, support for real-time events, and access to robust technology that powers some of the most demanding algorithmic traders in the world. A sandbox environment can be created for your organization, allowing you to build and test extensively. Our existing partners can also work with their success team to pursue this exciting opportunity and further expand their asset classes. Retail investors can trade options commission-free by [signing up](https://app.alpaca.markets/signup?ref=alpaca.markets) for a free Trading API account today. Additionally, those interested in learning more about how to build their options algorithms can read our docs [here](https://docs.alpaca.markets/docs/options-trading?ref=alpaca.markets). ![](https://alpaca.markets/blog/content/images/size/w2400/2024/05/quote-banner--1-.png) * * * _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _Not all products, services, or investments are available in all countries._ _It is your responsibility to inform yourself of any applicable legal and regulatory restrictions and to ensure that your access and use of this information does not contravene any such restrictions and to observe all applicable laws and regulations of any relevant jurisdiction._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [**_FINRA_**](https://www.finra.org/?ref=alpaca.markets) _/_ [**_SIPC_**](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities is not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) [Next Post : eccuity: Simplifying the Complex for Kiwi Investors](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Stocktwits Integration # Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration By [Luke West](https://alpaca.markets/blog/author/luke/) • March 13, 2025[0 Comments](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/#disqus_thread) ![Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/content/images/2025/03/blog-stocktwits-article.png) Alpaca is excited to announce our partnership with [Stocktwits](https://stocktwits.com/?ref=alpaca.markets), the leading social platform for investors and traders. The Stocktwits community actively discusses price action, utilizes investor sentiment, makes and monitors price predictions, and creates customized watchlists in real-time. With this integration, Alpaca’s Broker API partners can provide customers with community-driven insights and news that increases trader confidence. ## **What is Stocktwits?** Founded in 2008, Stocktwits is the leading social platform dedicated to investors and traders. On their platform, users can discuss stocks, market trends, and share investment strategies. Stocktwits has a highly-engaged, interactive community of over 10 million investors and traders. Driven by their mission to help investors enhance returns, Stocktwits offers a rich ecosystem of community interaction, data, content, and tools that empower investors to connect, learn, trade, and have fun in the process. Stocktwits continues to innovate and regularly adds new features to their platform. Most recently, they added corporate earnings calls, retail sentiment, and polls; all which have had strong response from their community. Stocktwits also recently launched an initiative called “Stocktwits Everywhere” in which Alpaca is a strategic partner. With this initiative, the goal is to place Stocktwits’ proprietary data, content, and news in the hands of millions of retail investors outside of their platform. ## **Increase Trader Confidence with Stocktwits’ API Through Alpaca** With [our Stocktwits’ API integration](https://alpaca.markets/stocktwits?ref=alpaca.markets), Broker API partners can add unique content like Stocktwits published news, Stocktwits social feeds, Stocktwits social sentiment, and other unique structured data sets to their platform. Trusted by brokerages around the world, Stocktwits’ API leverages artificial intelligence, natural language processing (NLP), and predictive analysis to surface content that retail traders actually care about, increasing trader confidence, and driving business growth. This includes key insights and trends identified by the trader community allowing brokers to attract emerging demographics with social trading experiences. Plus, through this integration, brokers can provide their customers with sentiment and data dashboards, detailed stock pages, discovery tools and watchlists, giving investors the confidence they need to place trades. Together, Alpaca and Stocktwits allow Broker API partners to create better-informed users, engage audiences with social features, and highlight retail sentiment identified by fellow traders. Stocktwits’ API can be integrated easily into your platform, is supported in both XML and JSON formats, and continually updates with new information– ensuring the data remains timely and relevant. ## **Looking to connect with Stocktwits’ API?** For existing partners, please contact your Customer Success Manager (CSM) or email the Success team at [customersuccess@alpaca.markets](mailto:customersuccess@alpaca.markets). For prospective partners, please reach out to Alpaca’s Sales team at [sales@alpaca.markets](mailto:sales@alpaca.markets) or fill out the form below. reCAPTCHA Recaptcha requires verification. protected by **reCAPTCHA** [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) * * * _Alpaca Securities LLC and Stocktwits, Inc. (“Stocktwits”) are not affiliated, and neither are responsible for the liabilities of the other._ _The content of this blog is for general informational purposes only. All examples are for illustrative purposes only._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) [Next Post : Dime!: Revolutionizing Investing in Thailand with Alpaca](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Data-Driven Investment Strategies # Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 20, 2023[0 Comments](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/#disqus_thread) ![Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca](https://alpaca.markets/blog/content/images/2023/04/blog-streetbeat-customer-success--1-.png) Streetbeat is an investment platform designed to make the stock and ETF trading process accessible for retail investors. As a registered investment advisor registered with SEC, it leverages algorithmic data-driven strategies to help users mitigate investing challenges and unlock new opportunities. Their vision is to revolutionize the investing landscape, and they've introduced a cutting-edge feature that allows users to personalize their trading portfolio strategy using Generative AI such us ChatGPT. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-7.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=streetbeat-case-study) ### About Streetbeat [Streetbeat](https://streetbeat.com/solutions?ref=alpaca.markets) was established in Palo Alto, US in 2021 by co-founders Damian Ariel Scavo and Maciej Donajski. Scavo's inspiration for creating the platform stemmed from his observations of friends and family struggling with identifying profitable investment opportunities in the stock market. His belief is that by implementing a next-generation investing platform, retail investing can be managed more effectively, leading to significant positive outcomes for a larger number of people. !["I saw many people struggling to navigate the complexities of the stock market, and I knew that with the right tools, we could make a significant difference in their lives. I knew that by creating a next-generation investing platform, we could empower retail investors to make more informed decisions and better manage their investments for the long term." - Damian Ariel Scavo CEO & CIO at Streetbeat.](https://alpaca.markets/blog/content/images/2023/04/quote-banner--9-.png) "I saw many people struggling to navigate the complexities of the stock market, and I knew that with the right tools, we could make a significant difference in their lives. I knew that by creating a next-generation investing platform, we could empower retail investors to make more informed decisions and better manage their investments for the long term." - Damian Ariel Scavo CEO & CIO at Streetbeat. ![](https://alpaca.markets/blog/content/images/2023/04/Untitled-design--27-.png)Image for illustrative purposes only. ### Streetbeat’s Mission Streetbeat’s goal is to provide investment data and strategies that are usually only available to the wealthy, 0.1% of all individuals, making it accessible to everyone. They aim to enable everyone to invest while aiming to help reduce the risk of financial loss. To achieve this objective, they have developed a sophisticated platform that incorporates advanced technology, data-driven, and AI strategies, allowing users to make informed investment decisions to help build their financial future. ### Streetbeat’s Key Features - **Algorithmic Trading Strategies:** The platform provides algorithmic data-driven strategies to help users mitigate investing friction and unlock new opportunities. - **Manual Trading:** Their users can trade US stocks and ETFs via their platform - **Customized Portfolio Strategies**: Users can personalize their trading portfolio strategy with the help of Chat-GPT, a cutting-edge feature that leverages advanced natural language processing technology. - **Data-Driven**: Streetbeat has a wide range of data-driven insights by analyzing real-world data, to help users make informed investment decisions. - **User-Friendly Interface**: The platform is designed to be user-friendly, with an intuitive interface that is easy to navigate and use. ![](https://alpaca.markets/blog/content/images/2023/04/Untitled-design--28-.png)Image for illustrative purposes only. ### Streetbeat Partners with Alpaca Streetbeat has formed a partnership with [Alpaca](https://alpaca.markets/broker?ref=alpaca.markets) via their Broker API solution to provide retail investors with a seamless investing experience, utilizing Alpaca's suite of brokerage, custody, and post-trade solutions. The decision to collaborate with Alpaca was based on Alpaca’s ability to integrate rapidly and their dedication to providing exceptional support to not only US-based but also international end-users. !["Alpaca has been a great partner for us, their API is incredibly user-friendly and intuitive. Even individuals with less experience in finance can easily understand and integrate with their system. This has enabled us to offer our users a seamless and efficient trading experience while also expanding our reach to international markets. We are excited to continue working with Alpaca to empower more individuals to take control of their financial futures." - Damian Ariel Scavo CEO & CIO at Streetbeat](https://alpaca.markets/blog/content/images/2023/04/quote-banner-1--5-.png) "Alpaca has been a great partner for us, their API is incredibly user-friendly and intuitive. Even individuals with less experience in finance can easily understand and integrate with their system. This has enabled us to offer our users a seamless and efficient trading experience while also expanding our reach to international markets. We are excited to continue working with Alpaca to empower more individuals to take control of their financial futures." - Damian Ariel Scavo CEO & CIO at Streetbeat ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. !["At Alpaca, we are thrilled to partner with Streetbeat to provide trading and advanced investing strategies to retail investors worldwide. Our team is dedicated to providing seamless integration and exceptional support to our partners. We are excited to work with Streetbeat to make investing more accessible for their end-users Together, we will continue to innovate and empower individuals to achieve their financial goals." - Tarun Ajwani, SVP of Sales and Corporate Development at Alpaca](https://alpaca.markets/blog/content/images/2023/04/quote-banner-2--5-.png) "At Alpaca, we are thrilled to partner with Streetbeat to provide trading and advanced investing strategies to retail investors worldwide. Our team is dedicated to providing seamless integration and exceptional support to our partners. We are excited to work with Streetbeat to make investing more accessible for their end-users Together, we will continue to innovate and empower individuals to achieve their financial goals." - Tarun Ajwani, SVP of Sales and Corporate Development at Alpaca. ## Contact Us [Alpaca Broker API - Modern Infrastructure for Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets)[Customizing Your Trading Portfolio Strategy with ChatGPT\\ \\ We invite you to join us with Damian Scavo, founder of Streetbeat - a platform that has integrated ChatGPT to provide you with the necessary assistance to de...\\ \\ ![](https://www.youtube.com/s/desktop/2fc4f2e2/img/favicon_144x144.png)YouTube\\ \\ ![](https://i.ytimg.com/vi/abih1ADdyd4/maxresdefault.jpg)](https://www.youtube.com/watch?v=abih1ADdyd4&ref=alpaca.markets) * * * _Alpaca and Streetbeat are not affiliated and neither are responsible for the liabilities of the other. The content is for general information purposes only._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/low-latency-ledger-upgrade/) [Next Post : Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca and Benzinga Partnership # Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • January 28, 2022[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/#disqus_thread) ![Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data](https://alpaca.markets/blog/content/images/2022/01/Benzinga-Announcement-Blog--1-.png) ### Real-time news and data endpoints powered by Benzinga We’re excited to announce our partnership with [Benzinga](https://www.benzinga.com/?ref=alpaca.markets), a financial media outlet and data provider. Benzinga creates and publishes news stories about financial markets, cryptocurrencies, and personal finance that receive over 50 million page views a month. With Benzinga, Alpaca’s ecosystem of users will have access to stock market news, crypto news, company logos, all within a single app or platform. _“Alpaca is at the center of the investment world, enabling domestic and international fintechs to expand their offerings - which has been a major catalyst for the growth of the fintech ecosystem.  We are excited to partner with Alpaca and help complement their offering with exclusive news and data that helps investors make actionable decisions without leaving their favorite platform!"_\- Jason Raznick, CEO, Benzinga ### Comprehensive feature set for enhanced user experience Alpaca’s integration with Benzinga enables our Broker API partners to display a comprehensive set of features in their trading apps and platforms. The expanded feature set includes market news, corporate logos, and other alerts directly on one platform. End-users can read timely news stories, review data, and place orders without having to exit the app to obtain the information they need to make actionable investment decisions. Benzinga produces all of its news in-house and calendar data is obtained from primary sources. This helps eliminate redundancy, delays, and inaccuracies. _“Through a number of conversations with Benzinga’s team over the years, I am very excited that we have officially partnered to integrate Benzinga’s industry-leading data into Alpaca’s API. This integration enables developers across the globe to add financial news and company logos into their services. We are focused on continuing to expand our Market Data API offering.”_ \- Yoshi Yokokawa, CEO, Alpaca ### Benefits for Alpaca customers - For Broker API partners, provide end-users with breaking stories, corporate actions, analyst ratings, and more without users having to leave your platform - For Trading API users, retrieve real-time news stories and data on past and future events, direct via API to inform trading strategies - Flexible, developer-friendly APIs - easily integrate into your fintech app ### Features launching soon - News API - gain access to up to 250 full-length articles and 900 real-time headlines per day featuring the latest stock market and crypto news from Benzinga - Company logos - create a more engaging user experience by integrating corporate logos into your user interface ### About Alpaca Alpaca is an API-first stock and crypto brokerage platform that’s raised over $70m in funding. Alpaca offers brokerage and custody infrastructure for apps to launch and scale investing services with ease. Alpaca offers commission-free stock and crypto trading, real-time market data, brokerage operations, and compliance services through modern APIs. * * * Alpaca Securities LLC is not affiliated with Benzinga and neither are responsible for the liabilities of the other. This article is solely for informational purposes only. Alpaca does not recommend any specific investments or investment strategies. Investments in securities involve the risk of losses and past performance does not guarantee future results. Before investing you should carefully consider your investment objectives, time horizon, and overall risk tolerance as well as the information stated in the product offering prospectuses. Securities brokerage services are provided by Alpaca Securities LLC (“Alpaca”), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). Sponsored [Previous Post : SDK Release Notes - January 2022](https://alpaca.markets/blog/sdk-release-notes-january-2022/) [Next Post : Market Data API v1 Sunset Notification](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Sarwa Launches Options Trading # Sarwa first fintech to launch Options Trading in the Middle East By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • October 09, 2024[0 Comments](https://alpaca.markets/blog/sarwa-first-fintech-to-launch-options-trading-in-the-middle-east/#disqus_thread) ![Sarwa first fintech to launch Options Trading in the Middle East](https://alpaca.markets/blog/content/images/2024/10/sarwa-options-announcement.png) Sarwa now offers options trading to their customers, becoming the first fintech platform in the Middle East to do so. Sarwa and Alpaca’s partnership has grown significantly since 2021, and we are excited to congratulate Sarwa and their amazing team on achieving this impressive, first-to-market milestone! Sarwa Digital Wealth (Capital) Limited (“Sarwa”) is one of the UAE’s leading investment platforms for both retail and institutional investors. Their mission is helping everyone affordably put their money to work while ensuring investing experience itself is simple to use. In addition to options, [Sarwa](https://www.sarwa.co/en?ref=alpaca.markets) offers stocks, ETFs and crypto investing as well as a money market fund powered by their platform. ## New Asset Class, Enhanced Offering Options are a versatile asset for strategic hedging, speculation and income generation with strong retail demand. By offering this asset class, Sarwa provides UAE investors the tools needed to effectively manage risk, diversify investments and quickly respond to market opportunities. > "This feature not only enhances our platform's offerings but also sets a new benchmark in the region,” said Jad Sayegh, CTO and Co-Founder of Sarwa. "It’s about meeting the evolving needs of investors and empowering them with sophisticated tools to navigate the markets." Using Alpaca's [Broker API](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/), Sarwa offers Level 1 and 2 options for investors in a fully disclosed partner relationship. Their account approval process is automated with visibility into each customer via SSE events. Additionally, their front end integrates real-time market data coupled with an intuitive UX – so both seasoned and novice investors can make informed trading decisions. ## Sarwa’s History with Alpaca For three years, Sarwa has partnered with Alpaca to provide their customers access to US equities and crypto– supporting their mission for affordable investing. During that time, Sarwa has seen incredible growth. Recently, they surpassed over $3bn USD in total trading volume with no signs of slowing. > “We first met Sarwa and their team during the height of the pandemic and became good friends quickly. We are humbled that they became one of our earliest partners of Alpaca, and I feel blessed that we together have been navigating through multiple market events while achieving our rapid growth. We are very excited to witness Sarwa become the very first fintech platform in the region to offer options trading, which proves their consistent push for innovation. We’re proud to support Sarwa across the UAE and beyond and look forward to continuing our journey of growth together!” – Yoshi Yokokawa, Co-Founder & CEO at Alpaca Sarwa’s commitment to shifting customer needs is apparent– offering options trading is the perfect example of this. As they continue to expand their products and services, we’re deeply honored to be part of their journey as they look to grow beyond the UAE. On behalf of everyone at Alpaca, we warmly congratulate Sarwa! ## About Alpaca Alpaca is a developer-first API brokerage platform that’s raised over $150m in funding. Alpaca offers stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. ## See How We Can Partner Together * * * _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _Alpaca Securities LLC and Sarwa Digital Wealth (Capital) Limited (“Sarwa”) are not affiliated and neither are responsible for the liabilities of the other._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk, it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ _Sarwa Digital Wealth (Capital) Limited is regulated by the Financial Services Regulatory Authority (“FSRA”) in the Abu Dhabi Global Markets (“ADGM”) and holds a Category 3C license with a Retail Client and Holding and Controlling Clients Investments and Money Endorsement. Sarwa Digital Wealth (Capital) Limited’s registered address is 16-104, Hub 71, Al Khatem Tower, ADGM Square, Al Maryah Island, Abu Dhabi, United Arab Emirates._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) [Next Post : Alpaca Continues Its Partnership with GITEX GLOBAL 2024](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Wins Award # Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 09, 2022[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/#disqus_thread) ![Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2022/12/blog_benzinga-global-fintech-award--1-.png) Alpaca, a modern stock and crypto investing platform, was recognized at the 8th annual Benzinga Global Fintech Awards and named the overall winner for **Best Automated Trading Software** in 2022. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-15.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=benzinga-award) The [Benzinga Global Fintech Awards](https://www.benzinga.com/events/fintech-awards/2022-awards/?ref=alpaca.markets) recognizes outstanding performance, rising stars, and disruptive innovators creating positive changes in the financial technology space. _“We are delighted to be recognized as the “Best Automated Trading Software” by Benzinga as we continue to innovate, build and offer an API-first investing infrastructure that helps businesses, traders, and developers easily trade with algorithms and integrate stock and crypto investing into their apps and services. **said Yoshi Yokokawa, Co-founder and CEO at**_ [**_Alpaca_**](https://alpaca.markets/?ref=alpaca.markets) _**.** This accolade is an acknowledgment of our entire team’s hard work and commitment to build the most developer-friendly financial services infrastructure.”_ _“We are honored to receive this distinction of “Best Automated Trading Software,” as Alpaca is committed to delivering a reactive, reliable, and responsive, automated trading system centered around a real-time event-driven architecture,'' **said Hitoshi Harada, Co-Founder, and CPO of**_ [**_Alpaca_**](https://alpaca.markets/?ref=alpaca.markets) _**.** We look forward to continuing developing versatile products for our users built on cutting-edge technology”._ [![](https://alpaca.markets/blog/content/images/2022/12/2022-Fintech-Awards---Badge_Winner.png)](https://www.benzinga.com/events/fintech-awards/2022-awards/?ref=alpaca.markets) Alpaca wins Best Automated Trading Software at Global Fintech Awards for 2022 * * * ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. To learn more about Alpaca, visit [https://alpaca.markets](https://cts.businesswire.com/ct/CT?id=smartlink&url=https%3A%2F%2Falpaca.markets%2F&esheet=52782509&newsitemid=20220719005093&lan=en-US&anchor=https%3A%2F%2Falpaca.markets&index=5&md5=2ea08829a62917d1232e5964311c279a&ref=alpaca.markets) [Alpaca - Developer-First API for Stocks and Crypto\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, and\\ trade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://alpaca.markets/static/images/meta-image-homepage-crypto.png)](https://alpaca.markets/?ref=alpaca.markets) ## Contact Us * * * _This content is for general informational purposes only. Alpaca and Benzinga are not affiliated, and neither are responsible for the liabilities of the other._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca 2022 Year in Review](https://alpaca.markets/blog/alpaca-2022-year-in-review/) [Next Post : Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Extended Hours Trading # Alpaca Introduces Stock Trading from 4 am to 8 pm ET By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 23, 2022[0 Comments](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/#disqus_thread) ![Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/content/images/2022/02/Final_Blog_ExtendedHours.png) We are pleased to announce that effective February 24, Alpaca will be rolling out our full extended hours offering to users. With our full extended session support, you can trade commission-free\* US exchange-listed securities from 4 am to 8 pm ET Monday to Friday. This gives you the opportunity to trade securities five and a half hours before the opening bell and four hours after the closing bell. Full extended hours trading offers you the flexibility to react quickly to market-moving news and after-hours events, trade on your schedule, and allow your international end-users to buy or sell securities convenient to their local time zones at no additional cost. * * * **What are Full Extended Hours?** Regular trading hours for US equity markets are between 9:30 am and 4 pm ET Monday to Friday. Extended hours trading is available before the market opens and after the market closes, allowing market participants to buy and sell securities outside of the core session. Trades in a full extended session are completed through electronic communication networks (ECNs) - computerized systems- that automatically match buy and sell securities in the market. * * * ## Trade when the news breaks, not just when the market is open **Commission-free extended hours trading** With full extended hours trading, you gain the flexibility and support to trade thousands of U.S. listed securities without commissions. Please note, to participate in a full extended hour session only limit orders are currently accepted on whole shares. **React quickly to breaking news** Instead of waiting for the next day's trading session, full extended hours enables investors and traders to make trades by quickly reacting to news and events such as acquisitions, mergers, or earnings reports that are not released during normal market hours. **Trade flexibly on your schedule** Full extended-hours trading allows you to make trades outside of the normal market hours from 9:30 am to 4 pm ET. This means you can trade when it’s more convenient for you. ``` python alpaca_client.submit_order(symbol="SPY", qty=15, side="buy", type="limit", time_in_force='day' extended_hours=True) ``` Copy Extended hours code snippet in Python ## Offer full extended hours to your international end-users For developers with an international user base, you can test and embed our full extended hours integration into your fintech app. With this feature, you’re able to offer your end-users the additional flexibility to buy and sell whole shares in the US market during extended hours convenient to their local time zones. For instance, traders in Asian, Oceanian, African, Middle Eastern, or European time zones will have the ability to trade immediately when the news breaks and not be confined by the schedule of a regular trading session. ### Key product details - Full extended hours session available from 4 am to 8 pm ET Monday to Friday - During a half-day trading session, the extended session is from 4 am to 5 pm ET - Commission-free trading for all US exchange-listed securities - A quick, simple, and easy-to-use API integration - No additional cost to users who have enabled Alpaca’s prior limited extended hours - Supports “limit orders” for extended hour sessions - Orders should be for an integer amount of shares i.e whole shares ## Learn more For more information on how you can enable full extended hours, please take a look at our [documentation](https://alpaca.markets/docs/trading/orders/?ref=alpaca.markets) or check out [How to Enable Stock Market Trading from 4am to 8pm ET](https://alpaca.markets/learn/p/057d6d59-6a47-4c59-b3d5-81bd3fad4e92/?ref=alpaca.markets) to learn how to get started. To test or embed Full Extended Hours into your app, please reach out to sales@alpaca.markets [How to Enable Stock Market Trading from 4 am to 8 pm ET\\ \\ Learn how you can enable and trade US exchange securities from 4 am to 8 pm ET Monday to Friday.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesGeorge A J Sanders\\ \\ ![](https://alpaca.markets/learn/content/images/2022/02/Final_LearnArticle_ExtendedHours--2--1.png)](https://alpaca.markets/learn/p/057d6d59-6a47-4c59-b3d5-81bd3fad4e92/?ref=alpaca.markets) **Keep in mind** There are risks associated with extended hours trading, for more information please click [here](https://files.alpaca.markets/disclosures/library/ExtHrsRisk.pdf?ref=alpaca.markets) to be informed on those details before entering into a full extended session. * * * **\*** Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. **Relevant regulatory fees may apply**. Securities brokerage services are provided by Alpaca Securities LLC (“Alpaca”), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Alpaca Named to Y Combinator’s Top Companies of 2022 List](https://alpaca.markets/blog/alpaca-named-ycombinator-top-companies-2022-list/) [Next Post : Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Birdwingo Investment App # Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • November 23, 2022[0 Comments](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/#disqus_thread) ![Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_birdwingo-customer-success_2.png) Birdwingo, is a unique investment app entering the European market, focusing on empowering the next generation of investors to start investing while supporting causes that inspire them. [![](https://alpaca.markets/blog/content/images/size/w2400/2023/08/broker-blog-cta-17.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=birdwingo-case-study) Their application offers young Gen Z, and millennial investors access to more than 11,000 shares and ETF funds, with the opportunity to buy their fractions transparently starting from €1 with minimal fees. ### About Birdwingo [Birdwingo](https://www.birdwingo.com/?ref=alpaca.markets) was founded in September 2021 by Slovak brothers Adam and Andrej Hano after studying at the University of Pennsylvania and King’s College London and acquiring work experience in the US and Western Europe. The founders realized how a majority of young people in Europe are struggling with rising housing, rent, and inflation costs and are uninformed about how financial investing may help them grow wealth. Birdwingo was established with a shared vision to introduce investing to beginner investors in Europe and help support them on their financial journey in a meaningful, fair, and educational way. !["We can't wait to see people benefiting from what financial markets bring, knowing there is a trendy, affordable service they can trust and use to invest in causes they care about in a very easy way. We want to teach our users everything we know about investing along the way and be a part of the community we create." - Andrej Hano, Co-founder, and CEO at Birdwingo.](https://alpaca.markets/blog/content/images/size/w2400/2022/11/quote-banner_andrej-hano.png) "We can't wait to see people benefiting from what financial markets bring, knowing there is a trendy, affordable service they can trust and use to invest in causes they care about in a very easy way. We want to teach our users everything we know about investing along the way and be a part of the community we create." - Andrej Hano, Co-founder, and CEO at Birdwingo. ![](https://alpaca.markets/blog/content/images/2022/11/Screens-1.png)Birdwingo partners with Alpaca Broker API _(This image is for illustrative purposes only.)_ ### Birdwingo’s Mission Birdwingo aims to show young Europeans the benefits of investing, while at the same time allowing them to subscribe to values ​​they consider important. For instance, end-users can own parts of companies they resonate with or invest in areas they find inspiring, whether it's on the topic of human rights, diversity, climate change, renewable energy, equality for the LGBTQ+ community, or more. ### Birdwingo’s Key Features **Invest in what you believe in** Birdwingo believes investing does not have to be cold or difficult to understand. Their application offers several categories that serve various purposes. Underserved investors can explore the market and invest their funds in companies they believe in, thereby building portfolios that reflect their values and preferences. **Educational: Birdwingo Academy** An integral part of their application is the in-app Birdwingo Academy which provides investors with information on principles and risks of investing. It is designed to help guide investors and provide them with the most relevant information. **Invest with close friends** End-users can connect with close friends in their financial journey by sharing what they have invested in and the causes they have supported. **Low fees with 100% transparency** Investments start from 1€ with a low minimum trading value and access to 11,000 fractional shares and ETF funds. Birdwingo charges a flat fee of 0.49% trading fee i.e maxed at 1€ (end-users never pay more than 1€ on any transaction, no matter the amount invested), along with no other fees. This means no payment transfer, FX markup, deposit, withdrawal and inactivity fees, or any other hidden costs. Additionally, 10% of the flat fee is sent by Birdwingo to charities. ![](https://alpaca.markets/blog/content/images/2022/11/Mockup-1.png)Birdwingo partners with Alpaca Broker API _(This image is for illustrative purposes only.)_ ### Birdwingo Partners with Alpaca Broker API Birdwingo, leverages [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets) suite of brokerage, custody, and post-trade solutions to offer young European investors a new way of investing with a positive social impact, as end-users have the choice to support causes of companies they find meaningful. !["We've been very satisfied with Alpaca, always actively listening to customer feedback and quickly developing new features. We share the same startup DNA with both of us moving fast towards North Stars, rapidly iterating based on user feedback, and deploying new features extremely fast." Adam Hano, Co-Founder & CTO at Birdwingo.](https://alpaca.markets/blog/content/images/size/w2400/2022/11/quote-banner_adam--hano.png.png) "We've been very satisfied with Alpaca, always actively listening to customer feedback and quickly developing new features. We share the same startup DNA with both of us moving fast towards North Stars, rapidly iterating based on user feedback, and deploying new features extremely fast." Adam Hano, Co-Founder & CTO at Birdwingo. ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. !["It's been a pleasure to work with Birdwingo as their partner to introduce an app where young Europeans can make informed investment decisions, create wealth and help to shape the future world by contributing to causes they believe in. We have a shared startup DNA which has led to a highly collaborative and efficient partnership, and we look forward to being a part of Birdwingo's journey." - Chris Sauro, Senior Customer Success Manager at Alpaca](https://alpaca.markets/blog/content/images/size/w2400/2022/11/quote-banner_chris-sauro.png) "It's been a pleasure to work with Birdwingo as their partner to introduce an app where young Europeans can make informed investment decisions, create wealth and help to shape the future world by contributing to causes they believe in. We have a shared startup DNA which has led to a highly collaborative and efficient partnership, and we look forward to being a part of Birdwingo's journey." - Chris Sauro, Senior Customer Success Manager at Alpaca [Alpaca Broker API - Modern Infrastructure for Crypto & Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed crypto and\\ stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) * * * Alpaca and Birdwingo are not affiliated, and neither are responsible for the liabilities of the other. This content is for general information purposes only and is believed to be accurate as of posting date, but may be subject to change. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities is not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) [Next Post : Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/jungleprotocol/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Weltio Wealth Management # Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 05, 2023[0 Comments](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/#disqus_thread) ![Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API](https://alpaca.markets/blog/content/images/2023/01/weltio-customer-success--1-.png) Weltio is a technology wealth management platform that offers Latin American investors the opportunity to invest in U.S. stocks, ETFs, and cryptocurrencies. ### About Weltio [Weltio](https://weltio.com/?ref=alpaca.markets), was founded in September 2021 by David Abusaid and George Marvin, who felt that traditional financial institutions for decades have neglected, underserved, and overcharged middle-class investors in Latin America. [![](https://alpaca.markets/blog/content/images/size/w2400/2023/08/broker-blog-cta-13.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=weltio-case-study) They felt a change was needed and decided to take a risk and leave their highly successful careers to establish Weltio. This digital investing platform is designed to offer an enjoyable experience and help empower Latin American investors to transparently buy and sell financial assets from selected partners. !["We believe the world can be a better place if we all have economic well-being. Since in addition to solving basic needs, it broadens the spectrum to have a better quality of life, being clear that with knowledge and with the necessary tools, anyone can reach unexpected places." - David Abusaid, CEO & Co- Founder at Weltio](https://alpaca.markets/blog/content/images/size/w2400/2023/01/quote01_weltio-customer-success--1-.png) "We believe the world can be a better place if we all have economic well-being. Since in addition to solving basic needs, it broadens the spectrum to have a better quality of life, being clear that with knowledge and with the necessary tools, anyone can reach unexpected places." - David Abusaid, CEO & Co- Founder at Weltio ![](https://alpaca.markets/blog/content/images/2023/01/weltio-1.png)Weltio partners with Alpaca Broker API _(This image is for illustrative purposes only)_ ### Weltio’s Mission Weltio’s mission is to help meet the financial investment needs of middle and upper-class Latin Americans through a universe of efficient and effective wealth management and educational tools that can help guide their experience in a simple, accessible, and safe way. The company's core values are based on the principles of: **Efficiency:** Looking for better ways to solve problems **Compromise:** We will only be successful if our customers are **Inclusive**: Everybody should feel safe and encouraged to be who they are **Honesty:** We tell the truth, treat people fairly, and acknowledge our mistakes ### Weltio’s Key Features - Latin American Investors have the opportunity to invest directly in U.S. stock exchanges, including stocks, ETFs, and crypto by opening USD accounts as well as a multi-currency account - The platform has a simple, user-friendly interface to enable investors of all levels to trade efficiently - Weltio offers fractional shares, meaning investors can start investing from as little as $1 USD - No minimums for trading US stocks or ETFs ![](https://alpaca.markets/blog/content/images/2023/01/weltio-2.png)Weltio partners with Alpaca Broker API _(This image is for illustrative purposes only)_ ### Weltio Partners with Alpaca Broker API Weltio, has partnered with [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets) to offer a seamless investing experience to retail investors in Latin America, leveraging their suite of brokerage, custody, and post-trade solutions. Weltio chose to work with Alpaca because they understood other growing startups and their needs. !["Alpaca has been the perfect reliable and trustworthy partner to develop an efficient platform that allows the underserved population to perform their first investment, and in some cases diversify their portfolio." - David Abusaid, CEO & Co-Founder at Weltio](https://alpaca.markets/blog/content/images/size/w2400/2023/01/quote03_weltio-customer-success.png--1-.png) "Alpaca has been the perfect reliable and trustworthy partner to develop an efficient platform that allows the underserved population to perform their first investment, and in some cases diversify their portfolio." - David Abusaid, CEO & Co-Founder at Weltio ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. !["The Weltio team is filled with talented individuals who are passionate about creating generational wealth in the region of Latin America. We're honored they have chosen to partner with Alpaca. We were able to collaborate with one another efficiently, and we wish them all the success." - Tarun Ajwani, SVP of Sales and Business Development at Alpaca](https://alpaca.markets/blog/content/images/size/w2400/2023/01/quote02_weltio-customer-success.png--1-.png) "The Weltio team is filled with talented individuals who are passionate about creating generational wealth in the region of Latin America. We're honored they have chosen to partner with Alpaca. We were able to collaborate with one another efficiently, and we wish them all the success." - Tarun Ajwani, SVP of Sales and Business Development at Alpaca [Alpaca - Developer-First API for Stocks and Crypto\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, and\\ trade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://alpaca.markets/static/images/meta-image-homepage-crypto.png)](https://alpaca.markets/?ref=alpaca.markets) * * * Alpaca and Weltio LLC are not affiliated and neither are responsible for the liabilities of the other. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) [Next Post : Alpaca 2022 Year in Review](https://alpaca.markets/blog/alpaca-2022-year-in-review/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Elite Trading # Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 08, 2024[0 Comments](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/#disqus_thread) ![Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/content/images/2024/07/elite-blog-graphic.png) We are excited to announce the launch of [Alpaca Elite](https://alpaca.markets/elite?ref=alpaca.markets), a solution designed specifically for sophisticated traders like you. Alpaca Elite provides a cost-effective, advanced algo trading experience with white-glove account support. Whether you're an individual trader exploring advanced algorithmic trading strategies or a hedge fund managing complex strategies, Alpaca Elite is tailored to elevate your trading experience. ## Why Alpaca Elite? At Alpaca, we understand that sophisticated traders and hedge funds require more than just a trading platform. We’ve listened to our community, and that’s why we are proud to introduce Alpaca Elite: a packaged solution designed to elevate your trading journey. Whether you're looking to optimize your trading strategies, reduce costs, or access white-glove account support, Alpaca Elite is designed to fulfill all of your needs and more. With Alpaca Elite, you can trade with confidence, knowing that you have access to an array of resources to support your trading objectives. Our commitment to listening to our users and taking swift action ensures that Alpaca Elite will continuously evolve to meet the dynamic demands. ## Take Advantage of These Exclusive Perks ### Elite Smart Router (Commission Applies): Elite Smart Router is an institutional-grade electronic trading strategy offering cost-effective solutions with higher API limits and premium order types. For example, Alpaca will try to access dark and non-displayed liquidity before crossing the spread on marketable orders. You have two pricing options to choose from, each tailored to provide a cost-effective solution that suits your trading strategy. 1. All-In Plan: A straightforward, predictable cost structure at $0.0040 per share, encompassing all potential fees and rebates (not including regulatory fees). 2. Cost Plus Plan: Exchange fees or rebates are directly passed back to you. Alpaca will charge $0.0025 or lower with volume tiering as a commission on top of your pass-through fees or rebates. Depending on your order flows, you may receive rebates that can offset the Alpaca commission to lower your overall trading cost. ### Lower Margin Rate: Enjoy lower margin rate (benchmark\* plus 1.5%) to maximize your returns. It is a reduced rate from benchmark plus 3.0%. _\*benchmark refers to the Fed Funds Rate_ ### White-Glove Account Support: High-touch account management support to help you streamline operational efficiency. Get access to a team of experts in Risk, Compliance, Corporate Actions, Clearing, and more, who understand the nuances of high-stakes trading. ### Free Market Data Subscription: Get Algo Trader Plus on us (value of $99/month) - only for personal use. **(PS: We’re offering even more perks with Alpaca Elite in the near future)** ## Get Started Today! Ready to advance your trading with Alpaca? Starting today, with a $30,000 deposit, you are eligible to choose Elite Smart Router if it fits your strategy better. With a $100,000 deposit, you will automatically receive a lower margin rate, free market data subscription, and white-glove account support. Join us and see why so many traders and hedge funds choose Alpaca as their preferred trading platform. Elevate your trading experience with Alpaca Elite and unlock new opportunities in the market. ## Looking for more resources? - Learn more about [Alpaca Elite](https://alpaca.markets/elite?ref=alpaca.markets) - Explore our [Trading API Account Documentation](https://docs.alpaca.markets/docs/account-plans?ref=alpaca.markets) - See [Alpaca’s Use Case: Hedge Funds & Prop Firms](https://alpaca.markets/hedge-funds-and-prop-firms?ref=alpaca.markets) ## Contact Us Have questions or need assistance? Our customer support team is here to help. Contact us at [hello-elite@alpaca.markets](mailto:hello-elite@alpaca.markets) or visit our website for more details. * * * _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) [Next Post : Alpaca Secures "Best API" Award from Postman at POST/CON 2024](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Turkey's First Digital Brokerage # Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • November 02, 2021[0 Comments](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/#disqus_thread) ![Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/11/Midas-Concept1.png) Midas is Turkey’s first fully digital stock brokerage enabling investors to trade in both the Turkish and US stock markets. Midas offers commission-free trading of Turkish stocks, low transaction fees for investments in US stocks, and free live market data. For only a $1.50 flat transaction fee, users can now invest in popular American stocks such as Tesla, Apple, and Google. _Relevant SEC and FINRA fees may apply._ [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-22.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=midas-blog) ## About Midas Founded in 2020 by Egem Eraslan and Umut Bozkurt, [Midas](https://www.getmidas.com/?ref=alpaca.markets) aims to radically democratize access to investing in Turkey. Prior to Midas, Turkish residents did not have the opportunity to invest in popular US stocks for many reasons, ranging from high minimum balance requirements to expensive transaction fees. Midas emerged from a realization that there was a need to provide Turkey with an accessible way to start investing. > _“Even with access to US equities, the Turkish Lira to US Dollars conversion makes it very expensive to buy full shares, especially for stocks like Amazon which are hugely popular. Midas is the first and only broker in Turkey to introduce fractional investing.” -_ Egem Eraslan, Founder and CEO, Midas ![](https://alpaca.markets/blog/content/images/2021/11/IMG_11A9B68F5370-1.jpeg)Midas App Powered by Broker API ## Midas Mission Midas is on a mission to empower investors in Turkey by offering a trading app that is accessible and fair. By expanding access to both the Turkish and US financial markets, they hope to contribute to establishing a more equitable society. With Midas, Turkish investors are enabled to invest their money how and where they choose. **Midas Key Features** - Access to Turkish and US stock markets - Commission-free trading of Turkish stocks - Fractional share\* trading of US stocks - Free live market data ![](https://alpaca.markets/blog/content/images/2021/11/60471b2917625142a51355c3_midas.png)Midas App Powered by Broker API ## Midas Powered by Alpaca Broker API Midas’ partnership with Alpaca enables users in Turkey to invest in the US stock market by leveraging [Broker API](https://alpaca.markets/broker?ref=alpaca.markets) to provide fractional share trading, market data, and more. Users can invest with no minimums, trade Turkish stocks commission-free, and invest in US stocks with low transaction fees. > _“Broker API is clean, flexible, and capable. We love working with the Alpaca team on delivering what our customers need. Broker API allows us to build the best trading experience for our users and we are excited to be a part of Alpaca’s journey.” -_ Egem Eraslan, Founder and CEO, Midas [Alpaca Broker API - Modern Infrastructure for Crypto & Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed crypto and\\ stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) ## About Alpaca Alpaca is a globally distributed financial technology company that is opening global access to financial markets starting with our API-first stock brokerage. Alpaca offers commission-free stock trading via API, a suite of developer APIs for brokerages, advisors, and startups, as well as a market data API. Alpaca APIs enable developers and entrepreneurs from around the world to connect their applications to the US Stock Market. ## Contact Us * * * \*A security being available for fractional share trading is not a recommendation; whether to use fractional shares at all or to invest in any specific security. A security’s eligibility on the list of fractional shares available for trading is not an endorsement of any of the securities, nor is it intended to convey that such securities have low risk. Fractional share transactions are executed either on a principal or riskless principal basis, and can only be bought or sold with market orders during normal market hours. Investing and investment strategies involve risk, including loss of value and the loss of principal. Past performance does not guarantee future returns or results. Midas and Alpaca Securities LLC (“Alpaca”) are unaffiliated. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [FINRA](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [SIPC](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. [Relevant SEC and FINRA fees may apply.](https://alpaca.markets/learn/regulatory-fees/?ref=alpaca.markets) Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ( [alpaca.markets](https://alpaca.markets/?utm_source=medium&utm_medium=blog&utm_campaign=strategy_list&utm_content=part1)), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) [Next Post : Breaking Change Notification for Account Creation Tax ID Requirement](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Local Currency Trading API # Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 08, 2022[0 Comments](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/#disqus_thread) ![Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API](https://alpaca.markets/blog/content/images/2022/08/blog_local-currency.png) We've had the opportunity to meet thousands of entrepreneurs and businesses, and one common theme is customer experience. At Alpaca, we strive to provide a flexible brokerage platform so that our partners can focus on creating the best user experience for their customers. User experience and product personalization go hand-in-hand. For our international partners who need to embed app features localized to their customer's regions, seeing unfamiliar currency symbols can harm their experience and productivity. For non-US traders, converting buying power that’s displayed in USD ($) to their local currency is an extra step – these are the types of challenges our international partners need to take into account while building their apps. Through many discussions with our partners, we have learned the importance of supporting localization natively within Alpaca’s platform. This is why we’re excited to announce the launch of a new feature that adds a key component to localizing customer experience – **Local Currency Trading API.** Now, you can embed US stock services such as trades, statements, prices, balances, statements, confirmations, and more in your customer’s local currency. ## Embed a Complete Local Experience for International Retail Investors International customers may be likely to think of money or stock prices in their local currency and time zone, which may not align with US stock market trading hours. **Key Benefits of App Localization** - Increase growth by connecting with retail investors in different countries. - Delivering key features such as prices, statements, and balances in a country’s native currency can create a positive user experience. - Simplify navigation within your app to increase retention and visibility. **Strengthen and Culturalize Customer Experience** Local Currency Trading API can help improve the customer experience by building US stock services in your customer's native local currency without worrying about currency conversion between the local currency and USD. **Enable Customers to Discover US Stock Prices in Local Currency** Create an intuitive customer and investing experience by allowing your users to view the value of stock prices, trades, performance, and statements in their local currency. This can help lead to increased growth, engagement, and customer retention. For instance, financial services providers based in Sweden can offer their customers the opportunity to buy 500 SEK (Swedish Krona) of AAPL and see its stock prices in SEK. **ATTENTION:** Alpaca’s Local Currency Trading is not Forex Trading, and data should not be repurposed for such use. ## Build & Design the Best Customer Experience by Localizing Key App Features **A Cost Effective and Seamless Integration** Localizing an app and building features from the ground up can take time, money, resources, and coordination with multiple third-party providers, including FX marketplaces. By embedding Alpaca’s Local Currency Trading API, you can eliminate the need to start from scratch and are able to integrate app localization functionality seamlessly. **Create Additional Revenue Streams** By handling the FX within the Alpaca Broker API ecosystem, you can generate additional revenue\* at the time of transactions via a flexible spread markup. This is dynamic and customizable, enabling you to easily configure spread markup based on your end-customer profiles or through strategic app promotions. _\*This is only available if you are a licensed broker-dealer._ **Submit and Settle Funds With Alpaca in Your Local Currency** To ease back-office operations, partners can submit and settle funds in accounts with Alpaca in their local currency. For instance, if you are based in Japan or the UK, you can settle funds with Alpaca by sending payments via Japanese Yen or Pound Sterling. This feature also supports trade statements and confirmation documents displayed in your and your customer’s respective local currencies with proper disclosures and reporting built in. ### Local Currency Trading API: Fees Local Currency Trading API is available for all Alpaca partners. We will charge a **flexible spread markup**\\* based on the FX transaction. _\*You will not be charged a markup fee on the equity transaction._ **For Existing Broker API Partners** Partners in the Core plan should contact their Customer Success Manager to learn more. If you fall under the Essential plan, please reach out to [brokersupport@alpaca.markets.](mailto:brokersupport@alpaca.markets) ### Key Features of Local Currency Trading API - 15+ currencies supported: GBP, CHF, EUR, CAD, JPY, AUD, CZK, SEK, DKK, SGD, HKD, HUF, NZD, NOK, MXN, PLN, with more coming soon! - Localize app experience across North America, South America, Europe, Asia, and the Middle East. - Empower your customers to view US stock trades, balances, and prices in local currency. - Broker-dealers can unlock additional revenue from the fx spread by flexibly configuring spread markup to match customer profiles and promotions. - Help ease back-office operations by settling funds in accounts with Alpaca in your local currency. - Access statements and trade confirmations in the respective local currency. - View server-sent-events and activity feeds in the respective local currency. - Local Currency Trading API supports both the pre-funded or Just-in-Time funding model. ### Get Started with Local Currency Trading API Check out our [learn article](https://alpaca.markets/learn/p/a34e151d-6a71-4643-9c06-e7553e875625/?ref=alpaca.markets) on how to get started and view our [documentation](https://alpaca.markets/docs/broker/integration/lct/?ref=alpaca.markets) for additional information. If you are new to Broker API and are interested in learning more about Local Currency Trading API or other features, please reach out to [sales@alpaca.markets.](mailto:sales@alpaca.markets) [Get Started with Local Currency Trading API for App Localization\\ \\ In this learn article, we cover the features and behaviors of Local Currency Trading for Alpaca Broker API.\\ \\ ![](https://alpaca.markets/learn/favicon.png)Alpaca Learn \| Developer-First API for Crypto and StocksGeorge A J Sanders\\ \\ ![](https://alpaca.markets/learn/content/images/2022/08/learn_local-currency-trading.png)](https://alpaca.markets/learn/p/a34e151d-6a71-4643-9c06-e7553e875625/?ref=alpaca.markets)[Local Currency Trading\\ \\ Build stock brokerage in over 15+ local currencies\\ \\ ![](https://alpaca.markets/docs/favicon.png)Alpaca Docs\\ \\ ![](https://alpaca.markets/docs/docs-meta.png)](https://alpaca.markets/docs/broker/integration/lct/?ref=alpaca.markets) * * * Please note that Alpaca will charge a flexible spread markup for broker partners using our Local Currency Trading feature. If you are an existing broker partner and would like to learn more about this new feature, please reach out to either your appointed Customer Success Manager or email at brokersupport@alpaca.markets. The content is for general information only and is believed to be accurate and reliable as of posting date but may be subject to change. Alpaca Securities LLC does not recommend any specific investments or investment strategies. Alpaca Securities LLC does not provide investment, tax, or legal advice. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities LLC is not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) Sponsored Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). Sponsored [Previous Post : Alpaca Recognized on the CB Insights 2022 Fintech 250 List](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) [Next Post : Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca and ErisX Partnership # Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 07, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/#disqus_thread) ![Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/content/images/2021/09/ErisX-Announcement-Blog-5.png) ### Alpaca partners with ErisX to offer liquidity, execution, and custody We’re excited to announce our partnership with [**ErisX**](https://www.erisx.com/?ref=alpaca.markets). Eris Exchange and Eris Clearing, together ErisX, is a spot and regulated futures exchange and clearinghouse with Designated Contract Market (DCM) and Derivatives Clearing Organization (DCO) registrations from the U.S. Commodity Futures Trading Commission (CFTC). ErisX provides crypto traders and investors a high-performance exchange and secured clearinghouse for crypto spot and futures trading, settlement, and storage. ErisX's comprehensive service powers Alpaca with direct market access, deep liquidity, reliable execution, and a complete clearing and custody solution. ### Stable and reliable technology infrastructure ErisX integrates cryptocurrency products and modern technology into reliable, compliant, and robust capital markets workflows. The ErisX solution borrowed building blocks from the traditional markets to provide trading, deposits, and withdrawals on a stable, and reliable technology infrastructure. With a regulated, highly liquid, and accessible offering, ErisX is improving the cryptocurrency space for institutional and individual traders alike. _“Alpaca’s API-first product appeals to developers and traders looking to leverage the power of its platform and partners to build high-performance trading strategies. By integrating with the speed, stability, and low-cost capabilities of ErisX for crypto order execution and clearing, Alpaca’s customers stand to benefit immensely from this partnership and we are excited to be part of this launch,”_ said Thomas Chippas, CEO of ErisX. _“ErisX has established itself as a leading venue for execution, clearing, and custody of cryptocurrencies. We are excited to collaborate with ErisX to provide our customers unparalleled access to rich liquidity sets in the market,” said Tarun Ajwani_, _VP of Partnerships at Alpaca_ ### **Benefits for Alpaca Customers** - Same API, expansion of asset classes to trade with the addition of cryptocurrency\* - Seamlessly toggle between your securities and cryptocurrency accounts - Commission-free access to the top cryptocurrencies: BTC, BCH, ETH, LTC - Secure and trusted custody and trading support ### **About ErisX** [https://www.erisx.com/disclaimer/](https://www.erisx.com/disclaimer/?ref=alpaca.markets) [ErisX](https://hubs.ly/H0THy3R0?ref=alpaca.markets) operates ahigh-performance exchange and secure clearinghouse for crypto spot and U.S. regulated futures markets. ErisX’s exchange offers a fully transparent order book and a low latency, high throughput platform, and maintains uptime and performance, even during market volatility. ErisX’s clearinghouse provides settlement guarantees and eliminates counterparty credit risk. Assets are segregated and protected, as required under Money Service Business and Money Transmitter Licenses and Commodity Futures Trading Commission regulations. ### Licenses and Registrations ErisX Futures are offered through Eris Exchange, LLC, a CFTC-registered DCM and Eris Clearing, LLC, a registered DCO. The CFTC does not have regulatory oversight authority over virtual currency products including spot market trading of virtual currencies. ErisX Spot Market is not licensed, approved, or registered with the CFTC, and transactions on the ErisX Spot Market are not subject to CFTC rules, regulations, or regulatory oversight. ErisX Spot Market may be subject to certain [state licensing](https://cts.businesswire.com/ct/CT?id=smartlink&url=https%3A%2F%2Fwww.erisx.com%2Fregulation%2Flicenses%2F&esheet=52215454&newsitemid=20200506005136&lan=en-US&anchor=state+licensing&index=2&md5=2d5da48738ef493734b9e4b3eb28edc2&ref=alpaca.markets) requirements and operates in NY pursuant to Eris Clearing’s license to engage in virtual currency business activity by the New York State Department of Financial Services. ### About Alpaca Alpaca is an API-first brokerage platform that enables developers to build apps and trading algorithms. The company’s platform powers fintech businesses globally to launch commission-free stock investing apps. The company is backed by some of the top investors in the industry globally including Spark Capital, Portag3, Social Leverage, Tribe Capital, Horizons Ventures, and Y Combinator.­ Securities services are offered by Alpaca Securities LLC. Crypto services are offered by Alpaca Crypto LLC. ### Disclosures: Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency is not regulated or is lightly regulated in most countries. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information please click [here](https://alpaca.markets/disclosures?ref=alpaca.markets). ErisX and Alpaca Crypto LLC (“Alpaca Crypto”) are unaffiliated and neither are responsible for the liabilities of the other. Cryptocurrency services are provided by Alpaca Crypto LLC ("Alpaca Crypto"), a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto LLC is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer or advice to buy or sell cryptocurrencies or open a cryptocurrency account in any jurisdiction where Alpaca Crypto is not registered. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) [Next Post : Alpaca Raises $50 Million Series B & Announces Crypto Offering](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Securities Overview # Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/#disqus_thread) ![Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained](https://alpaca.markets/blog/content/images/2023/08/overview-alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained.png) In today's fast-paced and interconnected world, offering seamless access to US stock trading has become a key requirement for many fintech businesses. Alpaca Securities LLC (Alpaca) as a Carrying Broker Dealer and Clearing for others enables partners all around the world to embed US stock trading into their product offerings for their end customers. With a strong focus on compliance and extensive Broker-Dealer operations expertise, we aim to make running and growing partner businesses easier than ever before. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-18.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=carrying-bd-and-clearing-for-others) ### Understanding the Role of a Carrying Broker Dealer and Clearing firm: As a Carrying Broker Dealer Alpaca maintains the required accounting books and records for the partner firm, we carry all customer and firm assets, we provide certain account maintenance and regulatory reporting on their behalf and we send out customer trade confirmations and customer statements.  In the role of the clearing firm, Alpaca verifies each trade and manages the settlement process to ensure each transaction is settled properly. **Alpaca Licenses and Partners** Securities brokerage services are provided by Alpaca Securities LLC, a member of [FINRA](https://www.finra.org/?ref=alpaca.markets#/)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets). Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. Want to start testing our APIs in Sandbox? [Sign up here](https://hubs.la/Q01-f_pz0?ref=alpaca.markets) ### Alpaca's Supported Partnership Types: To fully grasp the partnership opportunities with Alpaca, it's important to understand the two main types: fully-disclosed and omnibus relationships. Let's delve into each one and explore the common partnership types we support under these structures. **Fully-Disclosed Relationship:** In a fully-disclosed relationship, one firm introduces its customer business to the carrying and clearing firm for the purpose of clearing and settling transactions. The Broker-Dealer executes trades for the fully-disclosed customers and handles the settlement process on their behalf. As a broker partner, you have the opportunity to introduce your customers to Alpaca Securities, utilizing their expertise to execute, clear, and settle trades seamlessly. Through the use of our Broker API the partner is able to customize a front-end application or an app to suit their client needs. **Omnibus Relationship:** In an omnibus setup, you must be a registered broker-dealer\* and have the ability to manage customer accounting. Under this structure, you receive a collection of accounts representing all your underlying customers and their trade flow. The number of accounts will depend on factors such as long/short positions and the need for various tax withholding rates. Importantly, Alpaca does not receive personal information about your customers, such as their name, address, and date of birth. As the partner, you are responsible for all reporting requirements at the client level. _**\*Note:** If you are a non-US broker-dealer, this may require registration with the IRS as a Foreign Financial Institution (FFI) and getting certified as a Qualified Intermediary (QI) to be certified to manage taxes on the US-sourced income by non-US tax residents._ Now, let's explore the common partnership types supported by Alpaca under fully-disclosed or omnibus relationships: ### Fully-Disclosed Support **Registered Investment Advisor (US & International):** If you are an SEC-registered RIA with customers within or outside the US, you can introduce your customers to Alpaca on a fully-disclosed basis. ### Fully-Disclosed or Omnibus Support Alpaca welcomes partnerships with **US broker-dealers** registered with FINRA, allowing them to leverage our APIs to embed investing products and establish individual brokerage accounts. Similarly, international broker-dealers registered in their respective jurisdictions or in countries where customer solicitation is planned can introduce their customers to Alpaca and seamlessly embed US stock trading. ### Other Partnership Types **Note:** On a case-by-case basis we may be able to support **US or International technology providers**. For instance, if you are a new fintech app or an established company wanting to offer self-directed customers an opportunity to invest in the US market via your cash management software tools or apps, payment systems, or payroll solutions. _Please contact and submit a sales form [here](https://hubs.la/Q01-g1Dw0?ref=alpaca.markets) to determine if we can support you as a pure technology partner, as this partnership structure is available only in select countries._ ### Conclusion Alpaca helps empower partners worldwide to provide their customers with access to US stock trading seamlessly. With robust compliance measures and a diverse range of partnership types, Alpaca aims to facilitate the growth and success of businesses across the globe. To explore the possibilities of becoming  partner or integrating US stock trading into your offerings, get in touch with us by submitting this [form](https://hubs.la/Q01-g1Dw0?ref=alpaca.markets). [Alpaca Broker API - Modern Infrastructure for Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) ## Contact Us \-\-\------------ Have more questions? Check out this Broker API guide on [Licensing & US fintech Regulations](https://alpaca.markets/broker-resources/guide/broker-api-guide-licensing-us-fintech-regulations?ref=alpaca.markets) with further insights. This content is for general informational purposes only. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) [Next Post : Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Lightyear Trading App Launch # Lightyear launches commission-free trading app in the UK with Alpaca Broker API By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • September 30, 2021[0 Comments](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/#disqus_thread) ![Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/09/Lightyear-announcement_blog-cover@4x.png) Lightyear enables simple and accessible trading of over 1,000 US stocks to UK investors. With no trading fees and for as low as £1, UK based users can invest in global markets like Apple, Nike, and Amazon. ## About Lightyear Founded in 2020, Martin Sokk and Mikhel Aamer, fintech veterans formerly at Wise, developed [Lightyear](https://golightyear.com/?ref=alpaca.markets) over a shared frustration of the difficulty accessing global markets as European investors. Planning to modernize investing in Europe, they sought a solution that would allow users to trade globally at low costs by eliminating expensive transaction and foreign exchange fees. > “Lightyear came about from a shared desire to fix the broken investment system in Europe. Traditionally, investing globally meant high fees, hidden costs, and an understanding of a complicated system. We realized there had to be a better way to provide European investors accessible and simple access to global markets.” - Martin Sokk, Co-Founder and CEO, Lightyear ![](https://alpaca.markets/blog/content/images/2021/09/Screen-Shot-2021-09-29-at-7.19.12-PM.png)Lightyear App Powered by Broker API ## Lightyear Mission Lightyear’s goal is to make investing simple and approachable. Lightyear is empowering the modern, everyday investor to buy and trade US stocks by removing barriers and expensive fees. Lightyear’s current launch is only available to UK residents, but they plan to offer friction-free access to global markets throughout Europe in the coming year. ## Lightyear Key Features - Europe’s first truly commission-free\* investment platform, with no foreign exchange fees, trading fees or account fees - Fractional shares that can help make diversifying your portfolio easy, with orders starting as low as £1 - Multi-currency accounts that enable customers to deposit, hold and invest in different currencies which powers friction-free access to global markets ![](https://alpaca.markets/blog/content/images/2021/09/Screen-Shot-2021-09-29-at-7.22.22-PM.png)Lightyear App Powered by Broker API ## Lightyear Powered by Alpaca Broker API Lightyear’s partnership with Alpaca enables UK residents to trade and own shares of US companies by leveraging [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets) to provide commission-free stock trading, market data, and more. Alpaca provides US brokerage services which helps investors around the world that hope to engage in the US stock market. > “When dealing with customer money, it’s important to have a partner who understands customer problems and is willing to make an effort to provide solutions. This is not a common practice and where Alpaca excels.” - Martin Sokk, Co-Founder and CEO, Lightyear [Alpaca Broker API - Modern Infrastructure for Crypto & Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed crypto and\\ stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) ## About Alpaca Alpaca is a globally distributed financial technology company that is democratizing global access to financial markets starting with our API-first stock brokerage. Alpaca offers commission-free stock trading via API, a suite of developer APIs for brokerages, advisors, and startups, as well as a market data API. Alpaca APIs enable developers and entrepreneurs from around the world to connect their applications to the US Stock Market. * * * Alpaca does not make recommendations with regard to fractional share trading, whether to use fractional shares at all, or whether to invest in any specific security. A security’s eligibility on the list of fractional shares available for trading is not an endorsement of any of the securities, nor is it intended to convey that such stocks have low risk. Fractional share transactions are executed either on a principal or riskless principal basis and can only be bought or sold with market orders during normal market hours. Investing and investment strategies involve risk, including loss of value and the loss of principal. Past performance does not guarantee future returns or results. Lightyear and Alpaca Securities LLC (“Alpaca”) are not affiliated. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [FINRA](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [SIPC](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. \*Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. [Relevant SEC and FINRA fees may apply.](https://alpaca.markets/learn/regulatory-fees/?ref=alpaca.markets) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). G ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [Favorite this discussion](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api%2F&t_d=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&t_t=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api%2F&t_d=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&t_t=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api%2F&t_d=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&t_t=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api%2F&t_d=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&t_t=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api%2F&t_d=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&t_t=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Flightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api%2F&t_d=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&t_t=Lightyear%20launches%20commission-free%20trading%20app%20in%20the%20UK%20with%20Alpaca%20Broker%20API&s_o=default#) [Previous Post : Hacktoberfest 2021 ? Celebrate Open Source with Alpaca](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/) [Next Post : Shorting Prevention Breaking Change Notification](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Zad App Launch # Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • March 09, 2023[0 Comments](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/#disqus_thread) ![Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca](https://alpaca.markets/blog/content/images/2023/03/zad-customer-story--2-.png) Zad is the first-of-its-kind digital investment platform launched in Kuwait by Securities House, offering end-users access to trade over 4,000 stocks and ETFs in full compliance with Islamic Shariah principles. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-8.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=securitieshouse-case-study) ### About Zad [Zad](https://www.joinzad.com/en/?ref=alpaca.markets), is the brainchild of the fintech Securities House founders Abdulrahman Al Kharafi, Abdullah Al Otaibi, and Abdullah Al Ansari, who were driven by a vision of fostering a culture of investment in Kuwait. They realized the economic and financial hardships caused by the COVID-19 pandemic drove many people towards investing. However, for many aspiring investors, the options available were far from easy to comprehend or user-friendly. This led to the creation of Zad, a way to help make investing accessible, intuitive, and easy to understand for investors. !["Zad, aims to change the understanding and mechanisms of financial investment in the Kuwaiti and foreign markets, and to spread an investment culture. Furthermore, the inspiration for Zad came from the idea that starting a trading portfolio should be a hassle-free process that any potential investor, regardless of their background, can do with as little guidance as possible." - Abdulrahman Al Kharafi, CEO of Zad App & Head of Fintech Securities House.](https://alpaca.markets/blog/content/images/2023/03/quote-banner--7--1.png) "Zad, aims to change the understanding and mechanisms of financial investment in the Kuwaiti and foreign markets, and to spread an investment culture. Furthermore, the inspiration for Zad came from the idea that starting a trading portfolio should be a hassle-free process that any potential investor, regardless of their background, can do with as little guidance as possible." - Abdulrahman Al Kharafi, CEO of Zad App & Head of Fintech Securities House. ![](https://alpaca.markets/blog/content/images/2023/03/Untitled-design--25--1.png)Securities House Launches Zad with Alpaca Broker API (This image is for illustrative purposes only.) ### Zad’s Mission Zad is on a mission to help people reach financial security and freedom. The platform aims to simplify the investment and trading process for investors by offering ease of account opening, straightforward funding, and access to buy over 4,000 US stocks and ETFs with just a few clicks on end-users mobile screens. The company also aims to introduce a fully automated robo-advisory platform to its end-users. Some of the company’s core values and principles are to always lead with integrity, curiosity, offer accessibility, take ownership, and deliver results. ### Zad’s Key Features - Investment starts from $100. - Access to 4,000 US stocks and ETFs. - Low commission investing. - Supports fractional trading. - Simple account opening, funding, and ease of use. - Unlock market news and insights. - All investment opportunities are Shariah-compliant. - The platform supports the Arabic language. ![](https://alpaca.markets/blog/content/images/2023/03/Untitled-design--26-.png)Securities House Launches Zad with Alpaca Broker API (This image is for illustrative purposes only.) ### Securities House Partners with Alpaca Securities House has partnered with [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets) to offer a seamless investing experience to aspiring investors in Kuwait and foreign markets, leveraging their brokerage, custody, and post-trade solutions suite. Securities House chose to partner with Alpaca due to the company’s high focus, technical developments, APIs, and cost-effective solutions. !["Alpaca's Broker API has everything needed to build a full-fledged trading application out of the box. Building our backend infrastructure on top of Broker API was easier than expected, given their extensive documentation, ready-to-test sandbox environment, and professional support." - Abdulrahman Al Kharafi, CEO of Zad App & Head of Fintech Securities House.](https://alpaca.markets/blog/content/images/2023/03/quote-banner-1--4-.png) "Alpaca's Broker API has everything needed to build a full-fledged trading application out of the box. Building our backend infrastructure on top of Broker API was easier than expected, given their extensive documentation, ready-to-test sandbox environment, and professional support." - Abdulrahman Al Kharafi, CEO of Zad App & Head of Fintech Securities House. ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. ![We are honored Securities House has chosen to partner with Alpaca to launch a unique digital investment platform in Kuwait, reflecting the growing need for innovative financial solutions in the region. Together, we aim to continue to support Zad to empower Kuwaiti investors to access a diverse range of assets and opportunities. - Jeff Foster, Vice President of Sales & Success at Alpaca.](https://alpaca.markets/blog/content/images/2023/03/quote-banner-2--4-.png) "We are honored Securities House has chosen to partner with Alpaca to launch a unique digital investment platform in Kuwait, reflecting the growing need for innovative financial solutions in the region. Together, we aim to continue to support Zad to empower Kuwaiti investors to access a diverse range of assets and opportunities." - Jeff Foster, Vice President of Sales & Success at Alpaca. ## Contact us reCAPTCHA Recaptcha requires verification. protected by **reCAPTCHA** [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) [Alpaca Broker API - Modern Infrastructure for Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) Alpaca and Securities House are not affiliated and neither are responsible for the liabilities. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) [Next Post : Alpaca Named to Y Combinator’s Top Private Companies of 2023 List](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca-py SDK # Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 27, 2022[0 Comments](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/#disqus_thread) ![Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/content/images/2022/07/blog_alpaca-py-1.png) We are thrilled to announce the launch of [Alpaca-py](https://alpaca.markets/docs/python-sdk/index.html?ref=alpaca.markets) ? our official Python SDK that offers app developers and traders a versatile and developer-friendly user interface that enables you to easily interact with Alpaca's complete suite of APIs for building your own trading app to trading to streaming real-time crypto and stock market data. ## Alpaca Python SDK Built to Enhance Developer Experience ### A Developer-Friendly Python SDK for all of Alpaca APIs Due to its simplicity and versatility, Python is one of today’s most popular programming languages, with an estimated 8.2 million users [1](https://www.zdnet.com/article/programming-languages-python-developers-now-outnumber-java-ones/?ref=alpaca.markets). Alpaca-py is a Python library built by Alpaca that offers complete module structures with relevant tools, documentation, code samples, examples, and guides to provide you with a cohesive interface to interact with Alpaca’s complete set of API products. ### What’s New? In addition to the Market Data and Trading APIs, Alpaca-py also lets you use Broker API and Alpaca Connect through Python. Broker and Connect partners can also use Alpaca-py to provide investment services to their users. Alpaca-py also makes it easy to use python to create your own investment app on Alpaca. Compared to the previous SDK [alpaca-trade-api](https://github.com/alpacahq/alpaca-trade-api-python?ref=alpaca.markets), Alpaca-py has an upgraded idiomatic Python codebase and generated documentation from docstrings. The SDK includes well-documented models that simplify the process of submitting large object payloads. Here is an example of submitting a market order in Alpaca-py. ``` python from alpaca.trading.client import TradingClient from alpaca.trading.requests import MarketOrderRequest from alpaca.trading.enums import OrderSide, TimeInForce client = TradingClient('api-key', 'secret-key') request_params = MarketOrderRequest( symbol="SPY", qty=3, side=OrderSide.BUY, time_in_force=TimeInForce.DAY ) client.submit_order(order_data=request_params) ``` Copy submitting a market order in Alpaca-py. **Note:** Alpaca Connect Marketplace documentation will be coming soon. ### What will happen to the previous Python SDK? Moving forward, we will continue to support the [alpaca-trade-api](https://github.com/alpacahq/alpaca-trade-api-python?ref=alpaca.markets) SDK until the end of 2022. This means we will patch bugs but will stop pushing new features. At the end of this year, we will deprecate the repository and will no longer push any new changes or patches. ### Key Features of Alpaca-py Alpaca-py allows developers and traders to: - Interact with Alpaca complete API products (Market Data, Trading, Broker) with detailed documentation - Trade and place orders for crypto and stocks under a uniform interface - Access 6+ years of historical data for 20+ cryptocurrencies, 5000+ US Stocks, ETFs, ADRs, and more - Stream live market data for all of our crypto and stock offerings - Create and manage thousands of brokerage accounts on behalf of others with Broker API ### How to Install Alpaca-py? Alpaca-py is supported on **Python 3.7+.** You can install Alpaca-py seamlessly by using pip. ``` python $ pip install alpaca-py ``` Copy Run the following command in your terminal. In order to use Alpaca’s services, you’ll need to sign up for Alpaca’s Trading API or Broker API account and retrieve your API keys. **Signing up is completely free and takes only a few minutes.** Sandbox environments are available to freely experiment and test the API. To use the sandbox environment, you will need to provide sandbox or paper keys. API keys are passed into Alpaca-py through either TradingClient, HistoricalDataClient, MarketDataStream, CryptoDataStream, or BrokerClient. Open your [Trading Account](https://app.alpaca.markets/signup?ref=alpaca.markets) or [Build your App](https://broker-app.alpaca.markets/dashboard?ref=alpaca.markets) today! ### Get Started with Alpaca-py Check our [Alpaca-py documentation](https://alpaca.markets/docs/python-sdk/?ref=alpaca.markets) to get started and for additional information. Happy Coding! **?** [Alpaca-py\\ \\ The Official Python SDK for Alpaca’s Suite of APIs\\ \\ ![](https://files.alpaca.markets/webassets/favicon-32x32.png)Alpaca-py\\ \\ ![](https://alpaca.markets/docs/python-sdk/_images/alpaca-py-banner.png)](https://alpaca.markets/docs/python-sdk/?ref=alpaca.markets)[SDKs & Tools\\ \\ SDKs & Tools # Official Client SDKs # Alpaca provides and supports the following open-source SDKs in a number of languages. You can leverage these libraries to easily access our API in your own application code or your trading scripts. Python: alpaca-trade-api-python / PyPI .NET/C#: alpaca-trade-…\\ \\ ![](https://alpaca.markets/docs/favicon.png)Alpaca Docs\\ \\ ![](https://alpaca.markets/docs/docs-meta.png)](https://alpaca.markets/docs/clients/?ref=alpaca.markets) * * * Investments in securities involve the risk of losses and past performance does not guarantee future results. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency is not regulated or is lightly regulated in most countries. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information please click **[here.](https://files.alpaca.markets/disclosures/library/CryptoRiskDisclosures.pdf?ref=alpaca.markets)** Please note that this article is for general informational purposes only. All screenshots are for illustrative purposes only. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Depending on your location, cryptocurrency services may be provided by West Realm Shires Services, Inc., d/b/a FTX US (NMLS #1957771). Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities, Alpaca Crypto, or FTX US respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Create Custom Portfolios that Automatically Invests Funds with Rebalancing API](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) [Next Post : Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## User-Owned Financial Management # Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 22, 2021[0 Comments](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/#disqus_thread) ![Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Stonks_announcement_blog.png) Stonks Trading is a user-owned trading platform that enables users to buy, sell, and short U.S. stocks commission-free\*. As a platform built for, with, and by the people, users are able to vote on new features. In the coming year, the Stonks Trading platform will add crypto trading, banking, and portfolio management to its product offering. ## About Stonks Trading [Stonks Trading](https://www.trystonks.com/?ref=alpaca.markets) was founded in January 2021 by Anthony Hughes, Niko Hughes, and Carsten Carlsen. From the surge of retail trading in 2020 to the impact the Wall Street Bets subreddit group had on the market, CEO Anthony Hughes was inspired to create a user-centric trading platform. Anthony’s idea was to create a decentralized financial ecosystem partially owned by the users of the platform. As part-owners, users also get to vote on the product roadmap and influence the next set of features coming to the platform. Throughout 2022 new features that will be added include crypto trading, banking, and portfolio management. !["We wanted to create a decentralized financial ecosystem owned by the people. Stonks Trading combines stocks, crypto, banking, and portfolio management in one platform to make money management simple for the average retail investor." - Anthony Hughes, CEO at Stonks Trading](https://alpaca.markets/blog/content/images/size/w2400/2021/12/Frame-3--2-.png) "We wanted to create a decentralized financial ecosystem owned by the people. Stonks Trading combines stocks, crypto, banking, and portfolio management in one platform to make money management simple for the average retail investor." - Anthony Hughes, CEO at Stonks Trading ## Decentralizing Money Management Stonks Trading aims to simplify money management and asset allocation. With Stonks Trading, users are empowered to trade stocks, purchase and stake crypto, bank, and manage their portfolios all within one platform. They believe the Stonks Trading ecosystem has the ability to revolutionize money management while giving power to its users by granting them part ownership of the company. ### Stonks Trading Key Features - Users have part ownership in Stonks Trading - Buy, sell, and short US stocks commission-free\* - Fractional shares, invest with as little as $1\*\* - 4x intraday margin with low margin rates of 3.75% ![](https://lh5.googleusercontent.com/Gl5M_zmYx72-lKPKjTig6_DRnnNKSCgsrD5EIPRohu1ryaQXwdV6JuS05X3cRnbWG3sw8QDEWeXN7hLct4aN95P7rnhHXPKiortLvD18KBWHZfcAHW4tAuALktyz5xZ6xx7fPnya)Stonks Trading powered by Broker API ## Stonks Trading Powered by Alpaca Broker API Stonks Trading leverages Alpaca Broker API to enable users to buy, sell, and short U.S. stocks commission-free\*. With the help of Broker API, Stonks Trading has been able to grow quickly while delivering a seamless experience to its users. !["A relationship first approach is exactly what Stonks Trading needed when looking for a BD partner. We are moving quickly and Alpaca gives a clear direction on new products, timelines, and brings us into the process of determining what offerings should be considered." - Anthony Hughes, CEO at Stonks Trading](https://alpaca.markets/blog/content/images/size/w2400/2021/12/Frame-4.png) "A relationship first approach is exactly what Stonks Trading needed when looking for a BD partner. We are moving quickly and Alpaca gives a clear direction on new products, timelines, and brings us into the process of determining what offerings should be considered." - Anthony Hughes, CEO at Stonks Trading [Alpaca Broker API - Modern Infrastructure for Crypto & Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed crypto and\\ stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) ## About Alpaca Alpaca is an API-first stock and crypto brokerage platform that’s raised over $70m in funding. Alpaca offers brokerage and custody infrastructure for apps to launch and scale investing services with ease. Alpaca offers commission-free stock and crypto trading, real-time market data, brokerage operations, and compliance services through modern APIs. !["The Stonks Trading team is filled with energetic, talented individuals who are truly passionate about creating a financial platform owned by its users. They have an awesome product team that was easy to work with and we look forward to continuing this partnership to develop tailored solutions for their product roadmap." - Andrew Breen, Project Manager at Alpaca](https://alpaca.markets/blog/content/images/size/w2400/2022/03/Andrew-Alpaca-Stonks.png) "The Stonks Trading team is filled with energetic, talented individuals who are truly passionate about creating a financial platform owned by its users. They have an awesome product team that was easy to work with and we look forward to continuing this partnership to develop tailored solutions for their product roadmap." - Andrew Breen, Project Manager at Alpaca * * * \*Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. [Relevant regulatory fees may apply.](https://alpaca.markets/learn/regulatory-fees/?ref=alpaca.markets) \*\*A security being available for fractional share trading is not a recommendation; whether to use fractional shares at all or to invest in any specific security. A security’s eligibility on the list of fractional shares available for trading is not an endorsement of any of the securities, nor is it intended to convey that such securities have low risk. Fractional share transactions are executed either on a principal or riskless principal basis, and can only be bought or sold with market orders during normal market hours. Investing and investment strategies involve risk, including loss of value and the loss of principal. Past performance does not guarantee future returns or results. Stonks Trading and Alpaca Securities LLC (“Alpaca”) are unaffiliated. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [FINRA](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [SIPC](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) ## SOC 2 Compliance Renewal # Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 17, 2022[0 Comments](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/#disqus_thread) ![Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security](https://alpaca.markets/blog/content/images/2022/08/blog_security-update-blog-post.png) At Alpaca, we are committed to building a stable, secure, and trusted experience for our customers and partners. As part of this ongoing effort, we’re pleased to announce that we have successfully renewed the SOC 2 Type 2 compliance assessment. This achievement further demonstrates our dedication to ensuring correct protocols and standards are safely in place for data security. ### What is a SOC 2 Type Assessment? Developed by the American Institute of Certified Public Accountants ( [AICPA](http://www.aicpa.org/InterestAreas/FRC/AssuranceAdvisoryServices/Pages/AICPASOC2Report.aspx?ref=alpaca.markets)), [System and Organization Controls (SOC)](https://us.aicpa.org/interestareas/frc/assuranceadvisoryservices/sorhome?ref=alpaca.markets#:~:text=System%20and%20Organization%20Controls%20(SOC,level%20controls%20of%20other%20organizations.) examinations are industry standards that provide service organizations independent validation of the internal administrative, technical, and physical controls of their systems, procedures, and infrastructure. SOC 2, in particular, defines the criteria for managing sensitive customer data rooted in five trust service principles which are: **Security** Protection of the system’s resources against inappropriate use and unauthorized access. **Availability** Accessibility of the system’s products or services as mentioned by a contract or service level agreement (SLA). **Processing Integrity** Demonstrates whether a system can deliver complete, valid data accurately, timely, and efficiently. **Confidentiality** Whether disclosure of information considered confidential is restricted to a specified set of persons or organizations. **Privacy** Addresses if the system’s collection, use, retention, and disclosure of personal information conforms according to an organization's privacy policy and fulfills AICPA’S generally accepted privacy principles (GAPP). ### Importance of Completing the SOC 2 Assessment Renewal and completion of  SOC 2 compliance assessment indicates Alpaca has demonstrated the required design, operational controls, and principles to protect information and computer systems from unauthorized access, unauthorized disclosure of information, and danger to systems that could compromise information or systems. **Alpaca has attained the Type II report,** which details the operational effectiveness of those systems and includes a historical element that shows how controls were managed effectively by the business. [Alpaca - Developer-First API for Crypto and Stocks\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, and trade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/marketing.alpaca.markets/social/banners/alpaca-landing.png)](https://alpaca.markets/?ref=alpaca.markets) * * * Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Depending on your location, cryptocurrency services may be provided by West Realm Shires Services, Inc., d/b/a FTX US (NMLS #1957771). Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities, Alpaca Crypto, or FTX US respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). [Previous Post : Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) [Next Post : Create Custom Portfolios that Automatically Invests Funds with Rebalancing API](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca TradingView Integration # Alpaca expands TradingView integration to provide advanced charting with real-time market data By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 06, 2021[0 Comments](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/#disqus_thread) ![Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/content/images/2021/11/TradingView-Announcement_blog.png) ## TradingView’s advanced charting integration on the Alpaca dashboard is now powered by Market Data API Alpaca is excited to announce our latest integration and partnership with [TradingView](https://www.tradingview.com/?ref=alpaca.markets), a leading charting platform used by over 30 million traders and investors a month [\*](https://www.tradingview.com/about/?ref=alpaca.markets). As part of Alpaca’s continued efforts to provide the best experience for customers, the TradingView integration combines Alpaca’s real-time market data and TradingView’s advanced charts, to offer users an all-in-one experience directly on the Alpaca dashboard. With TradingView, Alpaca is aiming to provide a more streamlined, seamless user experience on a single platform. > “TradingView is one of the greatest platforms in today’s trading space and it complements Alpaca’s API platform very well. Many of our users love being able to trade both in the advanced user interface and API at the same time, which provides a very unique offering. We’re excited about this integration and our partnership journey with TradingView.” - Hitoshi Harada, Co-founder & CTO at Alpaca ![](https://alpaca.markets/blog/content/images/2021/12/full-chart.png)Updated chart view with real-time market data ## Seamless user experience We’re proud to provide a premium charting experience for Alpaca users. Previously, those using both TradingView and Alpaca had the option of using the Alpaca integration on TradingView’s platform. However, users had to toggle back to Alpaca for features like access to real-time market data. With this new integration, you can leverage TradingView’s best-in-class charts to view real-time market data and submit orders directly within the dashboard — no need to toggle back and forth between two platforms. > “This launch combines best-in-class execution with best-in-class charting in a single dashboard. We look forward to our continued partnership with Alpaca and helping to build great experiences for Alpaca customers.” - Pierce Crosby, General Manager, TradingView ## Integrated with Alpaca Market Data As part of Alpaca’s ongoing efforts to provide the best user experience, the TradingView Chart integration also brings a couple of key improvements to Market Data on Alpaca. Previously charts didn’t display the user’s timezone and data delivery was delayed. Now, when users view a chart it will automatically display in their specific timezone, as fast as possible. We’ve also adjusted the Free plan of Market Data to no longer have a 15-minute delay to retrieve historical data. ## Benefits for Alpaca users - Seamless user experience - use TradingView charting directly from the Alpaca dashboard without having to toggle between the two platforms - Leverage real-time data with Market Data API - SIP displays in real-time for data subscribers - Advanced portfolio and position tools unique to Alpaca - take advantage of Alpaca’s advanced order types and developer-first API ## Features coming soon In the coming weeks, Alpaca plans to roll out new feature updates that will expand on the current capabilities of TradingView’s advanced charting with Alpaca’s real-time market data integration. The upcoming features will add new functionality to the Alpaca trading dashboard by enabling the ability to place fractional orders, the ability to place advanced order types like trailing stop orders, and second-level aggregate bars for deeper insights. ## About Alpaca Alpaca is an API-first stock and crypto brokerage platform that’s raised over $70m in funding. Alpaca offers brokerage and custody infrastructure for apps to launch and scale investing services with ease. Alpaca offers commission-free stock and crypto trading, real-time market data, brokerage operations, and compliance services through modern APIs. * * * **Disclosures** This content is for general information purposes only. Investing and investment strategies involve risk, including loss of value and the loss of principal. Past performance does not guarantee future returns or results. Investors should consider their investment objectives and risks carefully before investing. TradingView and Alpaca Securities LLC (“Alpaca”) are unaffiliated and neither are responsible for the liabilities of the other. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca is not registered (Alpaca is registered only in the United States) Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [**FINRA**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [**SIPC**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. [**Relevant regulatory fees may apply.**](https://forum.alpaca.markets/t/pricing-and-fees/2309?ref=alpaca.markets) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) [Previous Post : Alpaca and Snap Inc. Bring Stock Data to Augmented Reality](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) [Next Post : Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. ## Alpaca Wins Best Brokerage # Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards By [Luke West](https://alpaca.markets/blog/author/luke/) • December 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/#disqus_thread) ![Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/content/images/2024/12/benzinga-2024-graphic.png) Alpaca is a brokerage infrastructure technology company and self-clearing broker-dealer that delivers execution and custody solutions for stocks, ETFs, options, and cryptocurrencies. We are honored to once again earn recognition at the [2024 Benzinga Global Fintech Awards](https://www.benzinga.com/fintech-awards/finalists-2024?ref=alpaca.markets), winning the category of **Best Brokerage for Sophisticated Traders**. This is Alpaca’s third consecutive year of success at the event, having won [**Best API Solution** in 2023](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) and [**Best Automated Trading Software** in 2022](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/). ![Alpaca CEO, Yoshi Yokokawa, accepting the "Best Brokerage for Sophisticated Traders" at the Benzinga 2024 Awards. ](https://alpaca.markets/blog/content/images/2024/12/alpaca-wins-benzinga-award-2024.jpg) The Benzinga Global Fintech Awards celebrates remarkable accomplishments, spotlighting emerging innovators and disruptors making positive change in the fintech landscape. As Jason Raznick, Founder of Benzinga, [emphasized on Twitter](https://x.com/Benzinga/status/1859299131266609620?ref=alpaca.markets): "This year’s finalists and winners embody the transformative power of fintech innovation. Their contributions are driving significant advancements and shaping the future of finance." As winners of the **Best Brokerage for Sophisticated Traders**, we are proud to be recognized for our work in building an end-to-end DTCC member and FINRA registered broker-dealer. This includes developing advanced trading capabilities for institutional and individual traders as well as key features such as being SOC 2 compliant and providing excess SIPC coverage. This achievement highlights the consistency of innovation at Alpaca, reinforcing our mission of opening financial services to everyone on the planet. _“We are honored to be recognized at the 2024 Benzinga Global Fintech Awards. Alpaca will continue to innovate and deliver scalable custody and execution solutions to individual investors, businesses, and developers with the globally trusted technology that we have built.” - Yoshi Yokokawa, Co-Founder & CEO at Alpaca_ Alpaca’s success in 2024 reflects its commitment to consistently delivering solutions that meet the evolving needs of its partners and the global financial markets. This is evident through several new offerings such as [options trading](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/), [IRA accounts](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/), [High-Yield Cash](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/), [FIX API](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/), [Instant Funding](https://alpaca.markets/blog/page/3/), and [more](https://alpaca.markets/blog/)! ## **About Alpaca** Alpaca is a U.S. California headquartered brokerage infrastructure technology company and self-clearing broker-dealer, delivering custody and execution solutions for stocks, ETFs, options, cryptocurrencies, and more. Alpaca has raised over $170 million in funding. Amongst its subsidiaries, Alpaca is a licensed financial services company in multiple countries, and it serves millions of customers and hundreds of financial institutions globally such as broker-dealers, investment advisors, hedge funds, and crypto exchanges. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. ## **Let's See How We Can Partner Together** * * * _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change._ _Alpaca and Benzinga are not affiliated, and neither are responsible for the liabilities of the other._ _The testimonials, statements, and opinions presented in this article are applicable to the specific individuals. It is important to note that individual circumstances may vary and may not be representative of the experiences of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services, or any other benefit in exchange for said statements._ _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _High-Yield Cash API is subject to, among other things, the Alpaca’s API terms and conditions. In addition, customer access to the FDIC Bank Sweep is subject to, among other things, the Alpaca Customer Agreement, Alpaca Terms and Conditions, and the Alpaca FDIC Bank Sweep Program Terms and Conditions. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto, respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : tyba: Creating Investment Access in Latin America](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) [Next Post : Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Rivium and Alpaca Partnership # Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 15, 2023[0 Comments](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/#disqus_thread) ![Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors](https://alpaca.markets/blog/content/images/2023/06/customer-story_rivium.png) Sylon Asesores, a registered investment advisor launches Rivium, in collaboration with Alpaca's advanced brokerage technology, provides Mexican investors with a user-friendly app that delivers a comprehensive and customized banking and investing experience. The platform offers diverse investment products, including individual stocks, fractional shares, bonds, cryptocurrencies, ETFs, and commodities. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-2.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=sylon-case-study) ### About Rivium [Rivium](https://rivium.mx/?ref=alpaca.markets), headquartered in Mexico City, emerged from the founders' Gonzalo Rivera and Gabino Fraga's personal encounters with obstacles in the investment landscape. These obstacles included traditional brokers demanding significant minimum deposits and the challenges posed by international apps with language barriers, limited features, and high fees. Motivated by their own experiences, they developed a deep passion for dismantling such investment barriers and making finance more accessible and comprehensible. !["We experience firsthand the devastating impact of a simple accidental button press on a global app, leading to a significant loss in investment. This event cemented our unwavering determination to find a better solution and build Rivium, empowering Mexicans with a platform that eliminates barriers and ensures a seamless and secure investing experience." - Gonzalo Rivera, Co-Founder and CFO at Rivium](https://alpaca.markets/blog/content/images/2023/06/quote-banner--12-.png) "We experience firsthand the devastating impact of a simple accidental button press on a global app, leading to a significant loss in investment. This event cemented our unwavering determination to find a better solution and build Rivium, empowering Mexicans with a platform that eliminates barriers and ensures a seamless and secure investing experience." - Gonzalo Rivera, Co-Founder and CFO at Rivium ![](https://alpaca.markets/blog/content/images/2023/06/Untitled-design--43-.png)Screenshot is for illustrative purposes only ### Rivium’s Mission Rivium's mission is to break down investment barriers and make investing more accessible. Rivium aims to empower individuals to participate in the global financial markets with ease and confidence. The company is dedicated to providing transparent, user-friendly, and innovative solutions that promote financial inclusion, education, and long-term wealth creation. Through its platform, Rivium strives to bridge the gap in the financial sector, empowering individuals to take control of their financial futures and achieve their investment goals. ### Rivium’s Key Features - Robo-advisor: Automated, diversified investment portfolios. - Fractional shares: Invest in high-priced companies with less capital. - Investment products: US stocks and cryptocurrencies - Competitive fees: 1% commission, better foreign exchange rates. - Financial education: Academy with finance, economics, and accounting resources. - Customizable portfolios: Tailor investments and create shared portfolios. - High-yield savings accounts: Help users grow wealth over time - Banking services: Cards, credit products, and more. ![](https://alpaca.markets/blog/content/images/2023/06/Untitled-design--45-.png)Screenshot is for illustrative purposes only ### Rivium Partners with Alpaca Rivium chose to partner with Alpaca due to several key factors. Alpaca's API-driven approach ensured seamless integration with Rivium's fintech platform, while its competitive pricing allowed Rivium to pass on cost savings to its users through commission-free trading. Alpaca's regulatory compliance and high level of trust provided peace of mind for Rivium's customers. The innovative technology offered by Alpaca, including features like fractional shares and automated investing, enhanced the investing experience. With Alpaca's scalable platform and U.S. market access, Rivium gained the infrastructure and opportunities to grow and provide Mexican investors with a broader range of investment options. The shared vision of democratizing access to investing and cutting-edge financial solutions solidified the partnership. !["Our collaboration with Alpaca enables us to leverage their cutting-edge technology and infrastructure, ensuring that we provide our clients with a seamless and secure investing experience. With this partnership, we are able to tap into their extensive expertise and industry-leading platform, allowing us to deliver a world-class investment experience" - Gabino Fraga, CEO and Co-Founder of Rivium](https://alpaca.markets/blog/content/images/2023/06/quote-banner--11-.png) "Our collaboration with Alpaca enables us to leverage their cutting-edge technology and infrastructure, ensuring that we provide our clients with a seamless and secure investing experience. With this partnership, we are able to tap into their extensive expertise and industry-leading platform, allowing us to deliver a world-class investment experience" - Gabino Fraga, CEO and Co-Founder of Rivium ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. !["Our partnership with Rivium represents a significant step towards providing comprehensive financial solutions to users worldwide. Through ur API-driven approach, scalable infrastructure, and regulatory compliance, we are excited to support Rivium in their mission to make finance more accessible. Together, we aim to empower individuals to achieve their financial goals with confidence." - Tarun Ajwani, SVP Sales and Corporate Development at Alpaca](https://alpaca.markets/blog/content/images/2023/06/tarun_quote-banner-rivium.png) "Our partnership with Rivium represents a significant step towards providing comprehensive financial solutions to users worldwide. Through ur API-driven approach, scalable infrastructure, and regulatory compliance, we are excited to support Rivium in their mission to make finance more accessible. Together, we aim to empower individuals to achieve their financial goals with confidence." - Tarun Ajwani, SVP Sales and Corporate Development at Alpaca * * * ## Contact Us [Alpaca Broker API - Modern Infrastructure for Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) _Fractional share trading allows a customer to buy and sell fractional share quantities and dollar amounts of certain securities. Fractional share trading presents unique risks and is subject to particular limitations that you should be aware of before engaging in such activity._ _The content is for general informational purposes only. All screenshots are for illustrative purposes only._ _Alpaca and Sylon Asesores (Rivium) are not affiliated and neither are responsible for the liabilities of the other._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) [Next Post : Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Premium Investing Experience # Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 12, 2021[0 Comments](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/#disqus_thread) ![Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/Xantos-Announcement-art-V01-Horse-2-1.png) Xantos Labs is a Registered Investment Advisor (RIA) offering a premium investing experience for everyone. As an investment manager for the next generation of investors, Xantos Labs builds and manages portfolios for everyday folks. ### About Xantos Labs [Xantos Labs](https://xantoslabs.com/?ref=alpaca.markets) was founded in 2019 by Chuk Orakwue, Olamide Harrison, and Oladipo Tokunboh. Frustrated by traditional investment advisors and their services, the founders set out to solve two big problems they noticed in the space.  First, there was no premium service available for people that didn’t have millions of dollars to invest.  Second, while outdated ideas such as investing in over-diversified ETFs filtered into everyday conversations, there were novel approaches to portfolio management that remained inaccessible to the average person.  Xantos Labs made it their mission to fix both these issues and set a new benchmark for how everyday people experience investing. > _“Xantos Labs was born out of frustration for the lack of premium investment advice for investors who didn’t have premium sized checking accounts.” - Chuk Orakwue, Managing Partner_ ![](https://alpaca.markets/blog/content/images/2021/08/Screen-Shot-2021-08-11-at-3.38.18-PM.png)Xantos Labs launches on Alpaca Broker API ### Xantos Labs Mission Xantos Labs’ mission is simple -- they want to be the premium investment advisor for everyday folk. Their goal is to offer a low minimum and low fee service with a top-tier premium investing experience for all investors regardless of their wallet size. They strive for exceptional risk-adjusted returns through a combination of qualitative research and systematic quantitative strategies. Xantos Labs also makes it a priority to educate their clients in the process, leaning into a transparent and pragmatic approach of educating their clients on how, why, and what they invest in. ### Xantos Labs Key Features - Knowledge of long-term investing - Quantitative approach to investment management - Transparent and pragmatic investing strategies\* - Scalable cloud infrastructure ![](https://alpaca.markets/blog/content/images/2021/08/Xantos-Labs-App.png)Xantos Labs Mobile App ### Xantos Labs Powered by Alpaca Broker API Xantos Labs discovered Alpaca in 2019 and initially leveraged Alpaca’s OAuth integration to launch their first prototypes. Once [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets) launched in June of 2021, Xantos Labs quickly made the transition. With the help of Broker API, Xantos Labs has grown quickly while delivering a seamless experience to their clients. Alpaca Securities also acts as Xantos Labs’ appointed custodian. > “Before Alpaca, we struggled to offer our product with legacy platforms where custodians catered to ultra-high net worth, charged hefty access premiums, and or lacked the tech infrastructure we needed to keep our services affordable at scale. We quickly realized that many offerings were not capable of integrating with our strategy. ” - Chuk Orakwue, Managing Partner [Alpaca Broker API - Modern Infrastructure for Crypto & Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed crypto andstock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) ### About Alpaca Alpaca is a globally distributed financial technology company that is democratizing global access to financial markets starting with our API-first stock brokerage. Alpaca offers commission-free stock trading via API, a suite of developer APIs for brokerages, advisors, and startups, as well as a market data API. Alpaca APIs enable developers and entrepreneurs from around the world to connect their applications to the US Stock Market. * * * Investing and investment strategies involve risk, including loss of value and the loss of principal. Past performance does not guarantee future returns or results. Xantos Labs and Alpaca Securities LLC (“Alpaca”) are unaffiliated. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [FINRA](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [SIPC](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. [Relevant SEC and FINRA fees may apply.](https://alpaca.markets/learn/regulatory-fees/?ref=alpaca.markets) Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ( [alpaca.markets](https://alpaca.markets/?utm_source=medium&utm_medium=blog&utm_campaign=strategy_list&utm_content=part1)), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Updated Terms for Payments in Fractional Shares](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) [Next Post : Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca and Plaid Partnership # Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 24, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/#disqus_thread) ![Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/content/images/2021/08/Alpaca-Integration-with-Plaid.png) ### Alpaca Integrates with Plaid to Send and Receive Payments We’re excited to announce our latest integration and partnership with Plaid, a data network powering the digital financial ecosystem. Alpaca is committed to helping provide the best developer experience through its Broker API and is excited to help offer developers and Fintech apps a seamless authentication and funding process via Plaid. With Plaid, Alpaca is working to fuel the acceleration and growth of new fintech startups and tech innovators around the world. ### Simplified Funding Experience Alpaca’s integration with Plaid enables fintech apps to securely connect their own Plaid account onto the Alpaca platform. Fintech apps will have to activate the Alpaca integration within the Plaid dashboard. Fintech apps partners will generate Plaid Processor Tokens on behalf of their end users. This token will allow Alpaca to immediately retrieve a user’s bank details in order to deposit or withdraw funds on the Alpaca platform. _“The Plaid partnership enables developers using our APIs to securely add funding functionality to their apps with only a few lines of code, making it faster and easier than ever to bring their products to market.”_ \- Richard Kim, Director of Success Operations ### Benefits for Fintech Apps - Streamlined funding experience for your customers - Simple integration via Plaid’s Processor Tokens - Setup and test in Broker API’s sandbox environment before going live For more information about getting started, please see [Plaid’s Alpaca documentation](https://plaid.com/docs/auth/partnerships/alpaca/?ref=alpaca.markets#overview). If you have further questions, don’t hesitate to reach out to [support@alpaca.markets](http://support@alpaca.markets/?ref=alpaca.markets). ### About Alpaca Alpaca is a globally distributed financial technology company that is democratizing global access to financial markets starting with our API-first stock brokerage. Alpaca offers commission-free stock trading via API, a suite of developer APIs for brokerages, advisors, and startups, as well as a market data API. Alpaca APIs enable developers and entrepreneurs from around the world to connect their applications to the US Stock Market. * * * Investing and investment strategies involve risk, including loss of value and the loss of principal. Please consider your objectives before investing. Past performance does not guarantee future returns or results. Plaid and Alpaca Securities LLC (“Alpaca”) are unaffiliated and neither are responsible for the liabilities of the other. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [**FINRA**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)/ [**SIPC**](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc.Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. [**Relevant SEC and FINRA fees may apply.**](https://alpaca.markets/learn/regulatory-fees/?ref=alpaca.markets) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) [Previous Post : API Breaking Change Notification for Unpriceable Assets](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) [Next Post : Updated Terms for Payments in Fractional Shares](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Trading Strategies with Order Flow [Sitemap](https://medium.com/sitemap/sitemap.xml) [Open in app](https://rsci.app.link/?%24canonical_url=https%3A%2F%2Fmedium.com%2Fp%2F36db73d4f4df&%7Efeature=LoOpenInAppButton&%7Echannel=ShowPostUnderCollection&source=post_page---top_nav_layout_nav-----------------------------------------) Sign up [Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2Fautomation-generation%2Fa-simple-way-to-come-up-with-trading-strategies-using-order-flow-data-36db73d4f4df&source=post_page---top_nav_layout_nav-----------------------global_nav------------------) [Medium Logo](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------) [Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------) Sign up [Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2Fautomation-generation%2Fa-simple-way-to-come-up-with-trading-strategies-using-order-flow-data-36db73d4f4df&source=post_page---top_nav_layout_nav-----------------------global_nav------------------) ![](https://miro.medium.com/v2/resize:fill:32:32/1*dmbNkD5D-u45r44go_cf0g.png) [**Automation Generation**](https://medium.com/automation-generation?source=post_page---publication_nav-3b9c83ac558c-36db73d4f4df---------------------------------------) · [Follow publication](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fsubscribe%2Fcollection%2Fautomation-generation&operation=register&redirect=https%3A%2F%2Fmedium.com%2Fautomation-generation%2Fa-simple-way-to-come-up-with-trading-strategies-using-order-flow-data-36db73d4f4df&collection=Automation+Generation&collectionId=3b9c83ac558c&source=post_page---publication_nav-3b9c83ac558c-36db73d4f4df---------------------publication_nav------------------) [![Automation Generation](https://miro.medium.com/v2/resize:fill:38:38/1*YIdLyGXl3Ro8JuZcr07ZyQ.png)](https://medium.com/automation-generation?source=post_page---post_publication_sidebar-3b9c83ac558c-36db73d4f4df---------------------------------------) News and thought leadership on the changing landscape of automated investing. Changing the market one algorithm at a time. [Follow publication](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fsubscribe%2Fcollection%2Fautomation-generation&operation=register&redirect=https%3A%2F%2Fmedium.com%2Fautomation-generation%2Fa-simple-way-to-come-up-with-trading-strategies-using-order-flow-data-36db73d4f4df&collection=Automation+Generation&collectionId=3b9c83ac558c&source=post_page---post_publication_sidebar-3b9c83ac558c-36db73d4f4df---------------------post_publication_sidebar------------------) # A simple way to come up with trading strategies using order flow data ## FX Order Flow as a Predictor [![Alpaca](https://miro.medium.com/v2/resize:fill:32:32/2*8WHhDjS7FmKgFkhsfHEYZg@2x.png)](https://medium.com/@AlpacaHQ?source=post_page---byline--36db73d4f4df---------------------------------------) [Alpaca](https://medium.com/@AlpacaHQ?source=post_page---byline--36db73d4f4df---------------------------------------) Follow 5 min read · May 17, 2018 72 [Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3D36db73d4f4df&operation=register&redirect=https%3A%2F%2Fmedium.com%2Fautomation-generation%2Fa-simple-way-to-come-up-with-trading-strategies-using-order-flow-data-36db73d4f4df&source=---header_actions--36db73d4f4df---------------------post_audio_button------------------) Share **By** [**Ernest P. Chan**,](http://epchan.blogspot.com/) Managing Member of QTS Capital Management, LLC. Order flow is signed trade size, and it has long been known to be predictive of future price changes. (See [Lyons, 2001](http://amzn.to/2DKKn8j), or [Chan, 2017](https://www.amazon.com/Machine-Trading-Deploying-Computer-Algorithms/dp/1119219604/ref=as_sl_pc_tf_til?tag=quantitativet-20&linkCode=w00&linkId=b6c22e03b04fdcf3f6a14bc4b5891edb&creativeASIN=1119219604).) The problem, however, is that it is often quite difficult or expensive to obtain such data, whether historical or live. This is especially true for foreign exchange transactions which occur over-the-counter. Recognizing the profit potential of such data, most FX market operators guard them as their crown jewels, never to be revealed to customers. But recently FXCM, a FX broker, has kindly provided me with their [proprietary data](https://www.fxcm.com/uk/trading-services/market-data/), and I have made use of that to test a simple trading strategy using order flow on EURUSD. ## First, let us examine some general characteristics of the data. It captures all trades transacted on FXCM occurring in 2017, time stamped in milliseconds, and with their trade prices and signed trade sizes. The sign of a trade is positive if it is the result of a buy market order, and negative if it is the result of a sell. If we take the absolute value of these trade sizes and sum them over hourly intervals, we obtain the usual hourly volumes (click to enlarge) aggregated over the 1 year data set: ![](https://miro.medium.com/v2/resize:fit:586/1*0RcAlmVC3Swkk9AQt3UDxg.png) The highest volume occurs between 15:00–16:00 London time. ## Next, I compute the daily total order flow of EURUSD… (with the end of day at New York’s midnight), and I establish a histogram of the last 20 days’ daily order flow. I then determine the average next-day return of each daily order flow quintile. (I.e. I bin a next-day return based on which quintile the prior day’s order flow fell into, and then take the average of the returns in each bin.) The result is satisfying: ![](https://miro.medium.com/v2/resize:fit:400/0*ct_1k_z55HnuF9_o.) We can see that the average next-day returns are almost monotonically increasing with the previous day’s order flow. The spread between the top and bottom quintiles is about 12 bps, which annualizes to about 30%. This doesn’t mean we will generate 30% annualized returns, since we won’t be able to arbitrage between today’s return (if the order flow is in the top or bottom quintile) with some previous day’s return when its order flow was in the opposite extreme. Nevertheless, it is encouraging. Also, this is an illustration that even though order flow must be computed on a tick-by-tick basis (I am not a fan of the [bulk volume classification](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2182819) technique), it can be used in low-frequency trading strategies. _One may be tempted to also regress future returns against past order flows, but the result is statistically insignificant. Apparently only the top and bottom quintiles of order flow are predictive. This situation is actually quite_ [_common_](https://www.bloomberg.com/news/articles/2017-06-27/ex-bridgewater-quant-says-smart-beta-etfs-use-factors-all-wrong) _in finance, which is why linear regression isn’t used more often in trading strategies._ ## Finally, one more sanity check before backtesting. I want to see if the buy trades (trades resulting from buy market orders) are filled above the bid price, and the sell trades are filled below the ask price. Here is the plot for one day (times are in New York): ![](https://miro.medium.com/v2/resize:fit:400/0*nn6zPIkP1K8wlkH7.) We can see that by and large, the relationship between trade and quote prices is satisfied. We can’t really expect that this relationship holds 100%, due to rare occasions that the quote has moved in the sub-millisecond after the trade occurred and the change is reported as synchronous with the trade, or when there is a delay in the reporting of either a trade or a quote change. ## So now we are ready to construct a simple trading strategy that uses order flow as a predictor. We can simply - buy EURUSD at the end of day when the daily flow is in the top quintile among its last 20 days’ values, - and hold for one day, - and short it when it is in the bottom quintile. Since our daily flow was measured at midnight New York time, we also define the end of day at that time. (Similar results are obtained if we use London or Zurich’s midnight, which suggests we can stagger our positions.) In my backtest, I have subtracted 0.20 bps commissions (based on Interactive Brokers), and I assume I buy at the ask and sell at the bid using market orders. The equity curve is shown below: ![](https://miro.medium.com/v2/resize:fit:400/0*TydSAMPdQhoxGCW8.) ## The CAGR is 13.7%, with a Sharpe ratio of 1.6. Not bad for a single factor model! Acknowledgement: I thank [Zachary David](http://zacharydavid.com/) for his review and comments on an earlier draft of this post, and of course FXCM for providing their [data](https://www.fxcm.com/uk/trading-services/market-data/) for this research. _This post originally appeared on_ [_Quantitative Trading_](http://epchan.blogspot.com/2018/02/fx-order-flow-as-predictor.html) _in February._ ![](https://miro.medium.com/v2/resize:fit:700/1*D2moMI8Yx_t76vP2koBW3w.png) > _About the Author: Ernie is the Managing Member of QTS Capital Management, LLC., a commodity pool operator and trading advisor. Ernie has worked for various investment banks (Morgan Stanley, Credit Suisse, Maple) and hedge funds (Mapleridge, Millennium Partners, MANE) since 1997. He received his Ph.D. in physics from Cornell University and was a member of IBM’s Human Language Technologies group before joining the financial industry. He is the author of “Quantitative Trading: How to Build Your Own Algorithmic Trading Business”, “Algorithmic Trading: Winning Strategies and Their Rationale”, and “Machine Trading: Deploying Computer Algorithms to Conquer the Markets”. Find out more about Ernie at_ [_www.epchan.com._](http://www.epchan.com./) _Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC (“Alpaca”), member_ [_FINRA_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780) _/_ [_SIPC_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781) _, a wholly-owned subsidiary of AlpacaDB, Inc._ **_Follow_** [**_Alpaca_**](https://medium.com/@alpacahq) **_on Medium, and_** [**_@AlpacaHQ_**](https://twitter.com/AlpacaHQ) **_on twitter._** ![](https://miro.medium.com/v2/da:true/resize:fit:0/5c50caa54067fd622d2f0fac18392213bf92f6e2fae89b691e62bceb40885e74) Medium Logo Medium Logo ## Sign up to discover human stories that deepen your understanding of the world. ## Free Distraction-free reading. No ads. Organize your knowledge with lists and highlights. Tell your story. Find your audience. Sign up for free ## Membership Read member-only stories Support writers you read most Earn money for your writing Listen to audio narrations Read offline with the Medium app Try for $5/month [Trading](https://medium.com/tag/trading?source=post_page-----36db73d4f4df---------------------------------------) [Algorithmic Trading](https://medium.com/tag/algorithmic-trading?source=post_page-----36db73d4f4df---------------------------------------) [Crypto Trading](https://medium.com/tag/crypto-trading?source=post_page-----36db73d4f4df---------------------------------------) [Forex Trading](https://medium.com/tag/forex-trading?source=post_page-----36db73d4f4df---------------------------------------) [Trading System](https://medium.com/tag/trading-system?source=post_page-----36db73d4f4df---------------------------------------) [![Automation Generation](https://miro.medium.com/v2/resize:fill:48:48/1*YIdLyGXl3Ro8JuZcr07ZyQ.png)](https://medium.com/automation-generation?source=post_page---post_publication_info--36db73d4f4df---------------------------------------) [![Automation Generation](https://miro.medium.com/v2/resize:fill:64:64/1*YIdLyGXl3Ro8JuZcr07ZyQ.png)](https://medium.com/automation-generation?source=post_page---post_publication_info--36db73d4f4df---------------------------------------) Follow [**Published in Automation Generation**](https://medium.com/automation-generation?source=post_page---post_publication_info--36db73d4f4df---------------------------------------) [2.6K followers](https://medium.com/automation-generation/followers?source=post_page---post_publication_info--36db73d4f4df---------------------------------------) · [Last published Feb 18, 2020](https://medium.com/automation-generation/web-dashboard-gets-a-facelift-e6202271fc73?source=post_page---post_publication_info--36db73d4f4df---------------------------------------) News and thought leadership on the changing landscape of automated investing. Changing the market one algorithm at a time. Follow [![Alpaca](https://miro.medium.com/v2/resize:fill:48:48/2*8WHhDjS7FmKgFkhsfHEYZg@2x.png)](https://medium.com/@AlpacaHQ?source=post_page---post_author_info--36db73d4f4df---------------------------------------) [![Alpaca](https://miro.medium.com/v2/resize:fill:64:64/2*8WHhDjS7FmKgFkhsfHEYZg@2x.png)](https://medium.com/@AlpacaHQ?source=post_page---post_author_info--36db73d4f4df---------------------------------------) Follow [**Written by Alpaca**](https://medium.com/@AlpacaHQ?source=post_page---post_author_info--36db73d4f4df---------------------------------------) [1.8K followers](https://medium.com/@AlpacaHQ/followers?source=post_page---post_author_info--36db73d4f4df---------------------------------------) · [204 following](https://medium.com/@AlpacaHQ/following?source=post_page---post_author_info--36db73d4f4df---------------------------------------) $0 commission API stock brokerage. Join us 🌟 [https://alpaca.markets](https://alpaca.markets/) \*Securities by Alpaca Securities LLC [alpaca.markets/#disclosures](http://alpaca.markets/#disclosures) Follow ## No responses yet ![](https://miro.medium.com/v2/resize:fill:32:32/1*dmbNkD5D-u45r44go_cf0g.png) Write a response [What are your thoughts?](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fautomation-generation%2Fa-simple-way-to-come-up-with-trading-strategies-using-order-flow-data-36db73d4f4df&source=---post_responses--36db73d4f4df---------------------respond_sidebar------------------) Cancel Respond ## More from Alpaca and Automation Generation ![Best Starting Kits for Algo Trading with C#](https://miro.medium.com/v2/resize:fit:679/1*M0nwJM66wFM9IVhZIjBt-Q.jpeg) [![HackerNoon.com](https://miro.medium.com/v2/resize:fill:20:20/1*76XiKOa05Yya6_CdYX8pVg.jpeg)](https://medium.com/hackernoon?source=post_page---author_recirc--36db73d4f4df----0---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) In [HackerNoon.com](https://medium.com/hackernoon?source=post_page---author_recirc--36db73d4f4df----0---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) by [Alpaca](https://medium.com/@AlpacaHQ?source=post_page---author_recirc--36db73d4f4df----0---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) [**Today, the world is transforming towards automated fashion, including manufacture, cars, marketing and logistics. Personal investment is no…**](https://medium.com/hackernoon/best-starting-kits-for-algo-trading-with-c-52952e3c7522?source=post_page---author_recirc--36db73d4f4df----0---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) Aug 31, 2018 [A response icon2](https://medium.com/hackernoon/best-starting-kits-for-algo-trading-with-c-52952e3c7522?source=post_page---author_recirc--36db73d4f4df----0---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) ![15 Well-Known High-Frequency Trading Firms](https://miro.medium.com/v2/resize:fit:679/1*Euagv75V1mQxIkBz5RJYzA.jpeg) [![Automation Generation](https://miro.medium.com/v2/resize:fill:20:20/1*YIdLyGXl3Ro8JuZcr07ZyQ.png)](https://medium.com/automation-generation?source=post_page---author_recirc--36db73d4f4df----1---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) In [Automation Generation](https://medium.com/automation-generation?source=post_page---author_recirc--36db73d4f4df----1---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) by [Evan Akutagawa](https://medium.com/@evanakutagawa?source=post_page---author_recirc--36db73d4f4df----1---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) [**A list of 15 well-known HFTs, jotted down a few notes about each. HFT accounts for approximately 50–60% of U.S. equity trading volume.**](https://medium.com/automation-generation/15-well-known-high-frequency-trading-firms-f45292c56d05?source=post_page---author_recirc--36db73d4f4df----1---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) Dec 9, 2018 [A response icon3](https://medium.com/automation-generation/15-well-known-high-frequency-trading-firms-f45292c56d05?source=post_page---author_recirc--36db73d4f4df----1---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) ![HFT-like Trading Algorithm in 300 Lines of Code You Can Run Now](https://miro.medium.com/v2/resize:fit:679/0*aWqm8OwYwMsRWM5b) [![Automation Generation](https://miro.medium.com/v2/resize:fill:20:20/1*YIdLyGXl3Ro8JuZcr07ZyQ.png)](https://medium.com/automation-generation?source=post_page---author_recirc--36db73d4f4df----2---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) In [Automation Generation](https://medium.com/automation-generation?source=post_page---author_recirc--36db73d4f4df----2---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) by [Hitoshi Harada](https://medium.com/@umitanuki?source=post_page---author_recirc--36db73d4f4df----2---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) [**The full algorithm code that is ready to run is on GitHub here**](https://medium.com/automation-generation/hft-like-trading-algorithm-in-300-lines-of-code-you-can-run-now-983bede4f13a?source=post_page---author_recirc--36db73d4f4df----2---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) Jan 28, 2019 [A response icon2](https://medium.com/automation-generation/hft-like-trading-algorithm-in-300-lines-of-code-you-can-run-now-983bede4f13a?source=post_page---author_recirc--36db73d4f4df----2---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) ![Algo Trading for Dummies— Collecting & Storing The Market Data (Part 1)](https://miro.medium.com/v2/resize:fit:679/1*NSN1a2xVtV1exzcD8fpzhA.jpeg) [![Automation Generation](https://miro.medium.com/v2/resize:fill:20:20/1*YIdLyGXl3Ro8JuZcr07ZyQ.png)](https://medium.com/automation-generation?source=post_page---author_recirc--36db73d4f4df----3---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) In [Automation Generation](https://medium.com/automation-generation?source=post_page---author_recirc--36db73d4f4df----3---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) by [Alpaca](https://medium.com/@AlpacaHQ?source=post_page---author_recirc--36db73d4f4df----3---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) [**The lifeblood of any algorithmic trading system is, of course, its data — so that’s what we’ll cover in the first two posts of the…**](https://medium.com/automation-generation/algorithmic-trading-essentials-collecting-storing-the-market-data-part-1-6257f467efd2?source=post_page---author_recirc--36db73d4f4df----3---------------------b2c77259_5731_4ff5_8d7f_49d271a4b6c2--------------) Jun 21, 2018 [See all from Alpaca](https://medium.com/@AlpacaHQ?source=post_page---author_recirc--36db73d4f4df---------------------------------------) [See all from Automation Generation](https://medium.com/automation-generation?source=post_page---author_recirc--36db73d4f4df---------------------------------------) ## Recommended from Medium ![ADX Trend Strategy from 36% to 182% Profit using Range Filters, and Trailing Stops](https://miro.medium.com/v2/resize:fit:679/1*vip5WpBJ9U1hfpCkFQX5RQ.png) [![PyQuantLab](https://miro.medium.com/v2/resize:fill:20:20/1*y_2Hj6_myuuNg09XAx777g.png)](https://medium.com/@pyquantlab?source=post_page---read_next_recirc--36db73d4f4df----0---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) [PyQuantLab](https://medium.com/@pyquantlab?source=post_page---read_next_recirc--36db73d4f4df----0---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) [**You can read this article and more on my website: www.aliazary.com**](https://medium.com/@pyquantlab/enhancing-adx-trend-strategy-with-ranging-filters-and-trailing-stops-from-36-to-182-profit-6107959c07a4?source=post_page---read_next_recirc--36db73d4f4df----0---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) Apr 13 ![3 Algorithms to Automate Chart Patterns in Trading](https://miro.medium.com/v2/resize:fit:679/0*bs9_vx7-8hxawOxd.png) [![Coding Nexus](https://miro.medium.com/v2/resize:fill:20:20/1*KCZtO6-wFqmTaMmbTMicbw.png)](https://medium.com/coding-nexus?source=post_page---read_next_recirc--36db73d4f4df----1---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) In [Coding Nexus](https://medium.com/coding-nexus?source=post_page---read_next_recirc--36db73d4f4df----1---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) by [Code Coup](https://medium.com/@CodeCoup?source=post_page---read_next_recirc--36db73d4f4df----1---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) [**It’s 3 a.m., and while you’re fast asleep, a perfect head-and-shoulders pattern forms on the EUR/USD chart.**](https://medium.com/coding-nexus/3-algorithms-to-automate-chart-patterns-in-trading-9a7cd3d21a6a?source=post_page---read_next_recirc--36db73d4f4df----1---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) May 17 ![Why most traders fail](https://miro.medium.com/v2/resize:fit:679/0*Tm2QE4TEo1wI5a_A.jpeg) [![Inside The Trade](https://miro.medium.com/v2/resize:fill:20:20/1*cAbDW6hFvOGv1qmRQTHJPQ.png)](https://medium.com/inside-the-trade?source=post_page---read_next_recirc--36db73d4f4df----0---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) In [Inside The Trade](https://medium.com/inside-the-trade?source=post_page---read_next_recirc--36db73d4f4df----0---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) by [RB Trading](https://medium.com/@rb_tradingltd?source=post_page---read_next_recirc--36db73d4f4df----0---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) [**Still Struggling with Funded Accounts? (Part 1)**](https://medium.com/inside-the-trade/why-most-traders-fail-4304e7c7387d?source=post_page---read_next_recirc--36db73d4f4df----0---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) 3d ago ![How $3 Million in Profit Was Made with a Crypto Trading Bot](https://miro.medium.com/v2/resize:fit:679/1*_yMrIQwemkcF3A2y5SX8VA.jpeg) [![Coinmonks](https://miro.medium.com/v2/resize:fill:20:20/1*-_aiJHzJPz655N7iSSrLrQ.png)](https://medium.com/coinmonks?source=post_page---read_next_recirc--36db73d4f4df----1---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) In [Coinmonks](https://medium.com/coinmonks?source=post_page---read_next_recirc--36db73d4f4df----1---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) by [Andrew Miller](https://medium.com/@andrewmiller1412?source=post_page---read_next_recirc--36db73d4f4df----1---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) [**Cryptocurrency trading has long been acknowledged for its excessive capability returns, however, the market’s volatility and complexity…**](https://medium.com/coinmonks/how-3-million-in-profit-was-made-with-a-crypto-trading-bot-64167319582d?source=post_page---read_next_recirc--36db73d4f4df----1---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) Dec 5, 2024 ![Supervised Learning in Quantitative Trading: A Comprehensive Guide](https://miro.medium.com/v2/resize:fit:679/1*yY38TwIjitZrgctBj4ihyg.png) [![Funny AI & Quant](https://miro.medium.com/v2/resize:fill:20:20/1*octjnr0tBRCyislFnoBHIg.jpeg)](https://medium.com/funny-ai-quant?source=post_page---read_next_recirc--36db73d4f4df----2---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) In [Funny AI & Quant](https://medium.com/funny-ai-quant?source=post_page---read_next_recirc--36db73d4f4df----2---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) by [Pham The Anh](https://medium.com/@pta.forwork?source=post_page---read_next_recirc--36db73d4f4df----2---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) [**A deep dive into applying supervised learning algorithms for algorithmic trading strategies**](https://medium.com/funny-ai-quant/supervised-learning-in-quantitative-trading-a-comprehensive-guide-d998b7781cdb?source=post_page---read_next_recirc--36db73d4f4df----2---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) Jan 24 ![Trend Momentum Penetration Indicator Trading Strategy](https://miro.medium.com/v2/resize:fit:679/0*ntzVB4HY8SAUBcqR.png) [![FMZQuant](https://miro.medium.com/v2/resize:fill:20:20/1*lUxEq6Vqk_l9CRxgnmF2JA.png)](https://medium.com/@FMZQuant?source=post_page---read_next_recirc--36db73d4f4df----3---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) [FMZQuant](https://medium.com/@FMZQuant?source=post_page---read_next_recirc--36db73d4f4df----3---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) [**Overview**](https://medium.com/@FMZQuant/trend-momentum-penetration-indicator-trading-strategy-21d2dfc57838?source=post_page---read_next_recirc--36db73d4f4df----3---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) May 12 [A response icon1](https://medium.com/@FMZQuant/trend-momentum-penetration-indicator-trading-strategy-21d2dfc57838?source=post_page---read_next_recirc--36db73d4f4df----3---------------------33e471c3_4550_4ca2_b1c9_1c3d4ad8ae53--------------) [See more recommendations](https://medium.com/?source=post_page---read_next_recirc--36db73d4f4df---------------------------------------) [Help](https://help.medium.com/hc/en-us?source=post_page-----36db73d4f4df---------------------------------------) [Status](https://medium.statuspage.io/?source=post_page-----36db73d4f4df---------------------------------------) [About](https://medium.com/about?autoplay=1&source=post_page-----36db73d4f4df---------------------------------------) [Careers](https://medium.com/jobs-at-medium/work-at-medium-959d1a85284e?source=post_page-----36db73d4f4df---------------------------------------) [Press](mailto:pressinquiries@medium.com) [Blog](https://blog.medium.com/?source=post_page-----36db73d4f4df---------------------------------------) [Privacy](https://policy.medium.com/medium-privacy-policy-f03bf92035c9?source=post_page-----36db73d4f4df---------------------------------------) [Rules](https://policy.medium.com/medium-rules-30e5502c4eb4?source=post_page-----36db73d4f4df---------------------------------------) [Terms](https://policy.medium.com/medium-terms-of-service-9db0094a1e0f?source=post_page-----36db73d4f4df---------------------------------------) [Text to speech](https://speechify.com/medium?source=post_page-----36db73d4f4df---------------------------------------) ## Data Security Compliance Renewal # Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance By [Mariangela Martinez](https://alpaca.markets/blog/author/mariangela/) • August 07, 2024[0 Comments](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/#disqus_thread) ![Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/content/images/2023/07/v02_soc-2-blog_2023-2.png) _This article was originally published on 24/7/2023. We are pleased to announce that Alpaca has successfully renewed its SOC 2 Type 2 compliance for 2024, demonstrating our continued commitment to security._ At Alpaca, we’re all about keeping your data safe and secure. This is why we are thrilled to announce the successful renewal of its SOC 2 Type 2 compliance. We take pride in our commitment to maintaining the highest standards of data security, actively seeking ways to improve our data security practices. [![](https://alpaca.markets/blog/content/images/2023/07/broker-blog-cta.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner) The SOC 2 Type 2 compliance assessment, developed by the American Institute of Certified Public Accountants (AICPA), short for System and Organization Controls 2, evaluates internal control and the ability to protect customer data. The assessment focuses on key trust service principles: security, availability, processing integrity, confidentiality, and privacy. The security principle assesses whether the system is protected against unauthorized access and misuse. The availability principle examines the system's accessibility and uptime, ensuring it meets agreed-upon service level agreements. The processing integrity principle looks at the accuracy, completeness, and timeliness of data processing. The confidentiality principle evaluates whether sensitive information is adequately protected and restricted to authorized individuals. Lastly, the privacy principle addresses compliance with applicable privacy laws and regulations, as well as the organization's own privacy policies. This renewal affirms that our security controls and procedures are designed effectively to safeguard sensitive information. By adhering to industry standards, we provide our users and partners with confidence in our platform's security and reliability. Alpaca users can trade with peace of mind, knowing that their data is protected. Alpaca will continue to prioritize data security, implementing robust security measures, and strengthening a secure environment for our users. We remain dedicated to investing in the latest technologies, training for our team, and adopting best practices. For more information on our overall security practices, please visit [https://alpaca.markets/security](https://alpaca.markets/security?ref=alpaca.markets) and [https://trust.alpaca.markets/](https://trust.alpaca.markets/?ref=alpaca.markets) * * * ## Contact Us * * * Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/mariangela/) About [Mariangela Martinez](https://alpaca.markets/blog/author/mariangela/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Thndr: Opening Investing Accessibility in MENA with Alpaca](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) [Next Post : Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca at GITEX 2023 # Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023 By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 28, 2023[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/#disqus_thread) ![Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023](https://alpaca.markets/blog/content/images/2023/09/gitex-article@4x--1-.png) We are delighted to announce our partnership with GITEX GLOBAL 2023 at the Dubai World Trade Center as a community partner. **?** Alpaca continues to increase its commitment to the region by collaborating with a number of partners in GCC. With that said, we are very much looking forward to being joined by you at GITEX GLOBAL 2023 alongside leading founders, investors & corporate innovators! There will be content from multiple industries, from healthcare to education, mobility to smart cities, and many more with 7,000+ exhibitors across 10 shows, showcasing the latest in technological excellence. **?** Will you be part of The Largest Tech and Startup Event in the World? ### How to Register? Get your PASS: [visit.gitex.com/Visitor/Registration/SelectPass](http://visit.gitex.com/Visitor/Registration/SelectPass?ref=alpaca.markets) GITEX GLOBAL ️ [gitex.com](http://gitex.com/?ref=alpaca.markets) * * * _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) [Next Post : Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Drahim and Alpaca Partnership # Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 14, 2023[0 Comments](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/#disqus_thread) ![Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors](https://alpaca.markets/blog/content/images/2023/08/drahim-customer-story.png) In a world where financial literacy and planning have become paramount, Drahim App Investments (Drahim), a registered investment advisor, has created an innovative financial app, that offers robo-advisory services for individuals seeking personalized auto-investing plans. [Drahim](https://drahim.sa/?ref=alpaca.markets) aims to transform the way people perceive and manage their money. The app integrates seamlessly with banks to offer investors in Saudi Arabia a comprehensive overview of their financial transactions. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-19.png)](https://hubs.la/Q01-ZMh50?ref=alpaca.markets) ### About Drahim Founded by Sultan Alkhayal and Yasser Alshurihi, the story of Drahim is steeped in linguistic history, drawing inspiration from the ancient Greek "Drachma," which translates to money in Arabic slang. Recognizing the importance of language and cultural influences in shaping our financial mindset, the founders chose the name "Drahim" to emphasize this significance. !["We envisioned a financial app that goes beyond traditional saving practices. By integrating with banks and analyzing spending patterns, our app helps provide meaningful insights, empowering individuals to live comfortably and guilt-free. Our focus is on discreetly helping investors to achieve their financial goals, allowing them to continue spending while feeling empowered and in control of their financial future." Sultan Alkhayal, Co-Founder and CEO at Drahim](https://alpaca.markets/blog/content/images/2023/08/quote-banner--2-.png) "We envisioned a financial app that goes beyond traditional saving practices. By integrating with banks and analyzing spending patterns, our app helps provide meaningful insights, empowering individuals to live comfortably and guilt-free. Our focus is on discreetly helping investors to achieve their financial goals, allowing them to continue spending while feeling empowered and in control of their financial future." - Sultan Alkhayal, Co-Founder and CEO at Drahim ![](https://alpaca.markets/blog/content/images/2023/08/Screenshot-2023-08-01-at-11.57.31-AM.png) ### Drahim’s Mission Drahim’s mission is to help empower investors in Saudi Arabia to take control of their finances by gathering all their money in one place. They are driven by a commitment to quality in every aspect of our app's development and service, ensuring that their users receive a seamless and efficient financial experience. ### Drahim’s Key Features **Investment Wallet with Goal-based Automation:** Drahim introduces an investment wallet that is tailored to individual goals. Investors can set financial objectives, such as saving for a vacation, buying a home, or retirement. The app's algorithms then automate the investment process. **Seamless Integration with Banks:** To ensure a comprehensive overview of end-users financial transactions, Drahim seamlessly integrates with various Saudi Arabian banks. This integration enables the app to categorize all transactions automatically, giving users a holistic view of their spending habits ![](https://alpaca.markets/blog/content/images/2023/08/Untitled-design--3-.png) ### Drahim Partners with Alpaca Following careful consideration, Drahim chose to partner with Alpaca for their capability to offer seamless integration with the US stock market. Alpaca's API-first technology and robust infrastructure offer unparalleled access to the US stock market, aligning perfectly with Drahim's commitment to delivering the best possible service. !["We were impressed by how seamlessly the Alpaca Broker API integrated with our platform. Their exceptional team and outstanding support made the entire process remarkably easy and efficient." - Sultan Alkhayal, Co-Founder and CEO at Drahim](https://alpaca.markets/blog/content/images/2023/08/quote-banner-1--2-.png) "We were impressed by how seamlessly the Alpaca Broker API integrated with our platform. Their exceptional team and outstanding support made the entire process remarkably easy and efficient." - Sultan Alkhayal, Co-Founder and CEO at Drahim ![](https://alpaca.markets/blog/content/images/2023/08/drahim-photo.png)The Alpaca and Drahim Team ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. !["We are thrilled to be partnered with Drahim and witness their innovative approach to financial empowerment. As they embark on their journey, we extended our best wishes for success and growth. At Alpaca, we are committed to supporting Drahim every step of the way, ensuring seamless integration and providing the necessary resources to enhance their end-user experience." - Tarun Ajwani, SVP of Sales and Corporate Development at Alpaca](https://alpaca.markets/blog/content/images/2023/08/quote-banner-2--2-.png) "We are thrilled to be partnered with Drahim and witness their innovative approach to financial empowerment. As they embark on their journey, we extended our best wishes for success and growth. At Alpaca, we are committed to supporting Drahim every step of the way, ensuring seamless integration and providing the necessary resources to enhance their end-user experience." - Tarun Ajwani, SVP of Sales and Corporate Development at Alpaca * * * ### Contact Us * * * Alpaca and Drahim App Investments are not affiliated and neither are responsible for the liabilities of the other. All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns.There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the Disclosure Library for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) [Next Post : Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## SOC 2 Type 2 Compliance # Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 07, 2021[0 Comments](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/#disqus_thread) ![Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security](https://alpaca.markets/blog/content/images/2021/08/2-1.png) At Alpaca, we are committed to building a secure and trusted experience. As part of that commitment, we are pleased to announce that Alpaca has successfully completed its SOC 2 Type 2 compliance assessment. SOC 2 defines criteria for managing customer data rooted in five trust service principles: security, availability, processing integrity, confidentiality, and privacy. Completion of the SOC 2 Type 2 compliance assessment indicates that Alpaca has demonstrated the design and operation of controls required to protect its information and systems from unauthorized access, unauthorized disclosure of information, and danger to systems that could compromise information or systems. Alpaca has attained the Type II report which details the operational effectiveness of those systems and includes a historical element that shows how controls were managed by a business. Developed by the American Institute of Certified Public Accountants ( [AICPA](http://www.aicpa.org/InterestAreas/FRC/AssuranceAdvisoryServices/Pages/AICPASOC2Report.aspx?ref=alpaca.markets)), System and Organization Controls (SOC) examinations are industry standards that provide service organizations independent validation of the internal administrative, technical, and physical controls for their systems, procedures, and infrastructure. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Shorting Prevention Breaking Change Notification](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) [Next Post : Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Fixed-Income Trading Launch # Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow By [Luke West](https://alpaca.markets/blog/author/luke/) • May 01, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/#disqus_thread) ![Alpaca Launches Fixed-Income Trading, Delivering Equities-Like Experience for Global Retail Order Flow](https://alpaca.markets/blog/content/images/2025/05/fixed-income_blog-annoucement-copy.png) Alpaca is excited to announce the expansion of our [Broker API](https://alpaca.markets/broker?ref=alpaca.markets) to support US Treasuries and recently launched with our first partner for trading and custody. The global fixed-income market is the largest securities-based asset class at approximately $140T value outstanding1, with US Treasuries representing the largest segment by size2 and trading volume3 within the largest geographic fixed-income market in the world. This launch marks a significant step forward in our mission to open financial services to everyone on the planet. It also lays a strategic foundation for expanding into additional bond types and fixed-income markets across geographic regions. ## **Beyond Modernization: Setting the New Standard** Alpaca’s specialized tech stack provides a highly differentiated fixed-income trading infrastructure, designed for becoming the preferred destination for the next generation of global retail order flow. Beyond just table stakes modernization of operational workflows, Alpaca is defining a new standard for how both partners and final-mile customers interact with this asset class across transaction costs, fee structures, and trading functionality. ### **Equities-Like Trading Experience** Our order book aggregates all quotes across our network of fixed-income liquidity providers for correspondents to execute against in real-time. Whether submitting market orders or marketable limit orders, Alpaca’s infrastructure processes these trades as fast as 2ms on average. Orders are then automatically routed to the most competitive bid/ask available with near instantaneous execution, providing a truly equities-like trading experience. Additionally, orders submitted outside of US bond market hours are automatically queued up on Alpaca’s side. This provides exceptional convenience for international partners with business hours outside of US markets, offloading business logic to Alpaca. ### **Non-Predatory Fee Schedule** We believe that we can achieve our mission by growing together with our partners, both in terms of user base and economics. In practice, this means that broker-dealers of ours are able to comfortably configure markups 2x of Alpaca’s fee schedule without introducing a predatory yield reduction for final-mile retail customers across the entire yield curve. Furthermore, we are excited to share that we offer the flexibility of either a price-based markup or yield-based markup model. This helps to align the business model with one’s customer base, whether for RIAs offering model bond portfolios or broker-dealers providing a self-directed trading experience for retail investors. In summary, our pricing structure is designed to be transparent, partner-friendly, and sustainable, prioritizing fair economics to help you build profitable, scalable businesses. ### **Path to $1 Order Minimums** By leveraging the foundation of our fractional equities trading engine, Alpaca is actively building towards fractional US Treasuries support; namely, $1 order minimums with $0.01 increments. This represents a transformational reduction that is 1/1000th of a whole bond’s par value and 1/100th of US B2C fintech standards today. !["Instead of taking the ‘same ingredients, different packaging’ path, we approached fixed income through first principles. By doing so, we were able to build a truly innovative solution versus something only incremental to what already existed" says Trevor Walters, Sr. Director of Product, Brokerage at Alpaca.](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcQgI1Cpo3c16rsUd7iuMoosT4rpOk294jsckW7S_byNDDL1bkiXr9Lk0ogLLbRKVLPKHun-8T9miG9T4b-I6RbWmArGSs_2NQA6ewi-FGvFo0IaCL-AvcfZ-GErDYy3HihaXAC-Q?key=MAN7gAWAAN0I0uNuSflhFniR) “Instead of taking the ‘same ingredients, different packaging’ path, we approached fixed income through first principles. By doing so, we were able to build a truly innovative solution versus something only incremental to what already existed,” says Trevor Walters, Sr. Director of Product, Brokerage at Alpaca. By lowering the barriers to entry, Alpaca aims to provide seamless platform parity between fixed income and equities trading. This empowers our partners to provide laser-focused allocations for both model portfolios and self-directed bond trading. ## **Get Started** Interested in learning more about fixed income at Alpaca? For prospective partners, please reach out to Alpaca’s Sales team at [sales@alpaca.markets](mailto:sales@alpaca.markets) or fill out the form below. For existing partners, please contact your Customer Success Manager (CSM) or email the Success team at [customersuccess@alpaca.markets](mailto:customersuccess@alpaca.markets). ## **About Alpaca** Alpaca is a US-headquartered self-clearing broker-dealer and brokerage infrastructure for stocks, ETFs, options, and crypto– raising over USD170 million in funding. Alpaca is backed by top-tier investors globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Derayah Financial, Elefund, and Y Combinator. References: 1. 2024 SIFMA Factbook, pg. 9, [https://www.sifma.org/wp-content/uploads/2023/07/2024-SIFMA-Capital-Markets-Factbook.pdf](https://www.sifma.org/wp-content/uploads/2023/07/2024-SIFMA-Capital-Markets-Factbook.pdf?ref=alpaca.markets) 2. April 2024 SIFMA Fixed Income Market Structure Compendium, pg. 7 [https://www.sifma.org/wp-content/uploads/2024/04/SIFMA-Insights-Fixed-Income-Market-Structure-Compendium\_2-26.pdf](https://www.sifma.org/wp-content/uploads/2024/04/SIFMA-Insights-Fixed-Income-Market-Structure-Compendium_2-26.pdf?ref=alpaca.markets) 3. April 2024 SIFMA Fixed Income Market Structure Compendium, pg. 14 [https://www.sifma.org/wp-content/uploads/2024/04/SIFMA-Insights-Fixed-Income-Market-Structure-Compendium\_2-26.pdf](https://www.sifma.org/wp-content/uploads/2024/04/SIFMA-Insights-Fixed-Income-Market-Structure-Compendium_2-26.pdf?ref=alpaca.markets) * * * _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change. The examples above are for illustrative purposes only._ _Fixed income securities can experience a greater risk of principal loss when interest rates rise. These investments are also subject to additional risks, including credit quality fluctuations, market volatility, liquidity constraints, prepayment or early redemption, corporate actions, tax implications, and other influencing factors._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not ensure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto, respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Launches Fully Paid Securities Lending for Broker API](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) [Next Post : Kraken Offers US Securities Through Strategic Partnership with Alpaca](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Charityvest Donor-Advised Funds # Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/#disqus_thread) ![Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Charityvest-Announcement_blog.png) Charityvest is a fintech startup that enables individuals to make giving a part of their daily financial lives. Donors can make tax-deductible contributions of cash, stocks, or crypto to their donor-advised fund, grow their balance with investments, and send funds to over 1.4 million charities. ## About Charityvest [Charityvest](https://www.charityvest.org/?ref=alpaca.markets), a Y Combinator-backed company, was founded in 2019 by Stephen Kump, Jon Koon, and Ashby Foltz. Before co-founding Charityvest, Stephen worked with high-net-worth donors as a charitable impact advisor, and noticed that nearly all made use of a donor-advised fund. However, donor-advised funds traditionally have high minimum opening balances, high service fees, and user experiences that don’t always feel generous. Charityvest was formed to change the narrative and make premier donor-advised funds simpler for everyone at all wealth levels with no minimum opening balance and transparent, low fees. !["Having a donor-advised fund helps you to make impact a real part of your life. Just like everyone should have a retirement account to make it easier to save, everyone should have a giving account to make it easier to give." - Stephen Kump, CEO & Cofounder, Charityvest](https://alpaca.markets/blog/content/images/2021/12/Quote1--1-.png) "Having a donor-advised fund helps you to make impact a real part of your life. Just like everyone should have a retirement account to make it easier to save, everyone should have a giving account to make it easier to give." - Stephen Kump, CEO & Cofounder, Charityvest ## On a Mission to Catalyze Generosity Charityvest is on a mission to catalyze generosity. They believe a generous life is a richer life and want to inspire all to give back. With Charityvest, people of all wealth levels have the opportunity to make an impact by donating cash or assets to charities and supporting multiple causes. ### Charityvest Key Features - Help maximize tax advantages by donating stock and crypto, then sending cash to charities - Track all giving on one tax receipt, no matter how many charities you support - Help grow your charitable dollars by investing your donations in low-cost ETFs. - Receive tax deductions upfront when you contribute to your fund. ## Charityvest Powered by Alpaca Broker API Charityvest’s partnership with Alpaca enables individuals of all wealth levels to open a donor-advised fund and grow their balance by investing in ETF portfolios without any taxes on gains, as all portfolio contributions and returns must ultimately be donated to charity. Leveraging Alpaca Broker API, Charityvest is able to provide investments in ETF portfolios while Alpaca serves as the broker-dealer. !["Alpaca's Broker API gives us the tools we need to manage investment activity, rebalance portfolios, and liquidate holdings to fund the missions of the 1.4 million nonprofits we support at Charityvest." - Ashby Foltz, COO & Cofounder, Charityvest](https://alpaca.markets/blog/content/images/2021/12/Quote2--4-.png) "Alpaca's Broker API gives us the tools we need to manage investment activity, rebalance portfolios, and liquidate holdings to fund the missions of the 1.4 million nonprofits we support at Charityvest." - Ashby Foltz, COO & Cofounder, Charityvest [Alpaca Broker API - Modern Infrastructure for Crypto & Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed crypto and\\ stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) ## About Alpaca Alpaca is an API-first stock and crypto brokerage platform that’s raised over $70m in funding. Alpaca offers brokerage and custody infrastructure for apps to launch and scale investing services with ease. Alpaca offers commission-free stock and crypto trading, real-time market data, brokerage operations, and compliance services through modern APIs. !["We're honored that Charityvest chose to partner with us to help them achieve their mission of providing a premier donor-advised fund experience for everyone. Thanks to their dedication to product excellence, we were able to collaborate closely with the Charityvest team to develop solutions tailored for their use case. It was inspiring to work with such a passionate and committed team and we are excited to be along with them on their journey." - Richard Kim, Strategy & Operations Lead, Alpaca](https://alpaca.markets/blog/content/images/size/w2400/2021/12/Quote3--1-.png) "We're honored that Charityvest chose to partner with us to help them achieve their mission of providing a premier donor-advised fund experience for everyone. Thanks to their dedication to product excellence, we were able to collaborate closely with the Charityvest team to develop solutions tailored for their use case. It was inspiring to work with such a passionate and committed team and we are excited to be along with them on their journey." - Richard Kim, Strategy & Operations Lead, Alpaca * * * _Investing and investment strategies involve risk, including loss of value and the loss of principal. Past performance does not guarantee future returns or results._ _Alpaca Securities LLC does not provide investment, tax, or legal advice. You should consult your own tax, legal and accounting advisors before engaging in any transaction._ _Charityvest and Alpaca Securities LLC (“Alpaca”) are unaffiliated. Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member_ [_FINRA_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets) _/_ [_SIPC_](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) [iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=top&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fcharityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fcharityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api%2F&disqus_version=current&sourceless=false)[iframe](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fcharityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api%2F&t_d=Charityvest%20Launches%20Donor-Advised%20Funds%20with%20Investments%20Powered%20by%20Alpaca%20Broker%20API&t_t=Charityvest%20Launches%20Donor-Advised%20Funds%20with%20Investments%20Powered%20by%20Alpaca%20Broker%20API&s_o=default#version=3aff0245248612911681b2f961ab8531)[iframe](//tempest.services.disqus.com/ads-iframe/taboola/?position=bottom&shortname=example&experiment=network_default&variant=fallthrough&service=dynamic&anchorColor=%230000ee&colorScheme=light&sourceUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fcharityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api%2F&typeface=serif&canonicalUrl=https%3A%2F%2Falpaca.markets%2Fblog%2Fcharityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api%2F&disqus_version=current&sourceless=false) [Previous Post : Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/python36-end-of-life/) [Next Post : Alpaca and Snap Inc. Bring Stock Data to Augmented Reality](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Funding Wallets API # Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 12, 2023[0 Comments](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/#disqus_thread) ![Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/content/images/2023/09/funding-wallets_gtm--1-.png) We're thrilled to present a product solution that will streamline the way you handle fund deposits and elevate your users' experience: **Funding Wallets for Broker API?** This innovative feature is designed to eliminate wire transfer hassles and manual errors with an automated solution. Allow your end-users to seamlessly deposit and withdraw funds in their local currency using local rails for faster settlement. Furthermore, each of your end-users will receive a unique funding wallet number, ensuring precise allocation to brokerage accounts. Discover the convenience, accuracy, and transparency that Funding Wallets API can provide, streamlining how fund management is handled. ### Say Goodbye to Complex Wire Transfers and Special Instructions In today's fast-paced world, we understand the importance of simplifying financial transactions. With Funding Wallets, your end-users will experience a seamless and intuitive fund deposit process. No longer will they need to navigate complex wire transfers or worry about specifying special instructions. Funding Wallets leverages local rails, allowing for faster settlement times and enabling end-users to deposit funds in their local currency. _(Alpaca will convert the applicable local currency to USD)._ This provides an intuitive and user-friendly funding experience, ensuring a smooth journey for your end-users. ### Helping Minimize Errors, Maximizing Efficiency with Funding Wallets But that's not all – we understand the challenges of manual processes and the potential for errors. With Funding Wallets, we've taken proactive measures to address these concerns. Each end-user will have their own unique funding wallet number. Through our automated system, deposited funds will be allocated to individual brokerage accounts seamlessly. This meticulous process aims for better precision and efficient fund allocation, significantly reducing the need for manual intervention and minimizing the risk of errors. It’s as simple as below one API call to create a new wallet. ### Example of a Request and Response to Creating a Funding Wallet ``` hljs python Request POST https://broker-api.sandbox.alpaca.markets/v1beta/accounts/{account_id}/funding_wallet Response { "account_id": "c639c7f8-f776-4fff-8477-aa1a03be5b5b", "created_at": "2023-07-07", "status": "active" } ``` Copy Request and Response to Creating a Funding Wallet ### Key Product Features and Benefits **Streamlined Fund Deposits**: Funding Wallets for Broker API enables your end-users to deposit and withdraw funds via local rails, resulting in faster settlement times and allowing deposits in local currencies, ensuring a more intuitive and user-friendly process. _(Alpaca will convert the applicable currency to USD.)_ **Local Currency Support:** Your end-users can deposit and withdraw funds in their local currency, enhancing convenience and user experience. **Improved Accuracy:** Eliminate the need for your end-users to enter specific instructions within wire transfers. Funds deposited into individual Funding Wallets will be automatically aggregated and swept to our banking partner on a recurring basis, ensuring accurate allocation without manual intervention. **Enhanced Books & Records Processing:** Funding Wallets can simplify fund management. Each end user's designated account will provide a clear record of their deposits, streamlining bookkeeping and auditing processes. **Visibility into Transfers**: You will have access to real-time information regarding fund transfers. This enables you to provide timely updates to your end-user, fostering transparency and strengthening relationships. **Important Note:** There is no cost or deposit fee associated with using Funding Wallets for Broker API. However, it's important to mention that withdrawal and FX fees will be applicable. For further details, please reach out to one of our experts. ### Additional Resources To learn more about Funding Wallets for Broker API, please check out our additional resources - [Frequently Asked Questions](https://alpaca.markets/support/funding-wallets-for-broker-api-2?ref=alpaca.markets) - [Documentation](https://docs.alpaca.markets/reference/createfundingwallet?ref=alpaca.markets) If you are not yet a partner, speak with an expert by submitting our contact sales form below, specifying you would like to learn more about our Funding Wallets solution. ### Contact Us reCAPTCHA Recaptcha requires verification. protected by **reCAPTCHA** [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) [Privacy](https://www.google.com/intl/en/policies/privacy/) \- [Terms](https://www.google.com/intl/en/policies/terms/) * * * _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities is not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). What do you think? 4 Responses ![Upvote](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/upvote-512x512.png) Upvote ![Funny](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/funny-512x512.png) Funny ![Love](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/love-512x512.png) Love ![Surprised](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/surprised-512x512.png) Surprised ![Angry](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/angry-512x512.png) Angry ![Sad](https://c.disquscdn.com/next/current/publisher-admin/assets/img/emoji/sad-512x512.png) Sad G Start the discussion…  Comment ###### Log in with ###### or sign up with Disqus or pick a name ### Disqus is a discussion network - Don't be a jerk or do anything illegal. Everything is easier that way. [Read full terms and conditions](https://docs.disqus.com/kb/terms-and-policies/) This comment platform is hosted by Disqus, Inc. I authorize Disqus and its affiliates to: - Use, sell, and share my information to enable me to use its comment services and for marketing purposes, including cross-context behavioral advertising, as described in our [Terms of Service](https://help.disqus.com/customer/portal/articles/466260-terms-of-service) and [Privacy Policy](https://disqus.com/privacy-policy), including supplementing that information with other data about me, such as my browsing and location data. - Contact me or enable others to contact me by email with offers for goods or services - Process any sensitive personal information that I submit in a comment. See our [Privacy Policy](https://disqus.com/privacy-policy) for more information - [2](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience%2F&t_d=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&t_t=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&s_o=default# "Favorite this discussion") - ## Discussion Favorited! Favoriting means this is a discussion worth sharing. It gets shared to your followers' Disqus feeds, and gives the creator kudos! [Find More Discussions](https://disqus.com/home/?utm_source=disqus_embed&utm_content=recommend_btn) [Share](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience%2F&t_d=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&t_t=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&s_o=default#) - Tweet this discussion - Share this discussion on Facebook - Share this discussion via email - Copy link to discussion - [Best](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience%2F&t_d=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&t_t=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&s_o=default#) - [Newest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience%2F&t_d=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&t_t=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&s_o=default#) - [Oldest](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience%2F&t_d=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&t_t=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&s_o=default#) Be the first to comment. [Load more comments](https://disqus.com/embed/comments/?base=default&f=example&t_u=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience%2F&t_d=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&t_t=Introducing%20Funding%20Wallets%20for%20Broker%20API%3A%20Streamlining%20Fund%20Deposits%20for%20an%20Enhanced%20User%20Experience&s_o=default#) ![](https://io.narrative.io/?companyId=19&id=disqus_id%3Ac7manr0f2rqar72&ret=img&ref=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience%2F)![](https://wt.rqtrk.eu/?pid=afd6afd5-a807-471d-940d-aa3c19fc7dca&src=www&type=100&sid=1&cb=0.505567244266&uid=c7manr0f2rqar72&url=https%3A%2F%2Falpaca.markets%2Fblog%2Fintroducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience%2F&gdpr=0&gdpr_pd=0&gdpr_consent=) live.rezync.com # live.rezync.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() pippio.com # pippio.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() ![](https://io.narrative.io/?companyId=1952&id=disqus_id%3Ac7manr0f2rqar72&red=https%3A%2F%2Fpx.ads.linkedin.com%2Fdb_sync%3Fpid%3D16223%26puuid%3D%24%7Bnarrative.id.value%7D%26rand%3D0.439136559492) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) [Next Post : Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## High-Yield Cash Program # Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits By [Luke West](https://alpaca.markets/blog/author/luke/) • May 15, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/#disqus_thread) ![Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits](https://alpaca.markets/blog/content/images/2025/05/V03_high-yield-cash_LPCA.png) Starting today, Alpaca’s Trading API users\* can earn up to 4.07% annual percentage yield (APY)\*\* on their uninvested USD balances with our new High-Yield Cash1 program—a simple way to earn interest while continuing to trade commission-free. We launched this program to help retail investors maximize growth opportunities on our platform and are excited to bring this to a wider audience after a successful beta test in October. ## **How Alpaca’s High-Yield Cash Program Helps You** Whether you're building cash reserves or waiting for the right market entry, every dollar in your account should work as hard as you do. Our program puts your idle cash to work, earning interest without restricting your trading activity. ### **Put Idle Cash to Work, Effortlessly** When you enroll in Alpaca’s High-Yield Cash program, you’ll start earning up to 4.07% APY\*\* on your uninvested cash. For example, if you hold $10,000 in idle funds from January 1 through year-end, you could earn $407 in interest by the following January. Note: This return assumes no withdrawals, deposits, or trades during that period. With Alpaca, you’ll be earning nearly 10x the national average2—a rate that outpaces traditional savings accounts and is highly competitive against top B2C fintech offerings. ### **FDIC Insurance Up to $1M** Alpaca helps protect your High-Yield Cash with up to $1 million in FDIC insurance through our program banks\*\*\*. This insurance acts as a safety net, covering your funds even in the unlikely event of a bank failure. As we expand this program, we will continually seek to increase coverage limits to extend protection for high-net-worth and institutional customers. ### **Liquidity and Flexibility** You can access your funds at any time, enabling you to withdraw, transfer, or use them as buying power when opportunities arise. Enjoy the same-day flexibility you expect from your trading account, with the added benefit of earning interest when funds are uninvested. ## **How to Enroll** Log in to your [Dashboard Overview](https://app.alpaca.markets/brokerage/dashboard/overview?ref=alpaca.markets) or enroll through the [Plans and Features](https://app.alpaca.markets/account/plans-and-features?ref=alpaca.markets) tab. Within minutes, you can activate your participation and start earning. New to Alpaca? [Create an account](https://app.alpaca.markets/signup?ref=alpaca.markets) in minutes and start earning 4.07% APY\*\* while you trade. ## **About Alpaca** Alpaca is a US-headquartered self-clearing broker-dealer and brokerage infrastructure for stocks, ETFs, options, fixed income, and crypto– raising over USD170 million in funding. Alpaca is backed by top-tier investors globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Derayah Financial, Elefund, and Y Combinator. * * * _\*Please note that this is only available to Alpaca users who are classified as non-pattern day traders._ _\*\*Please note that this interest rate is effective as of December 24, 2024, and is subject to change and may not be the interest rate on the date this is read._ _\*\*\*The FDIC insures $250,000 per customer per deposit bank. Alpaca currently has multiple deposit banks. Please note that this figure will also change if the number of deposit banks changes._ _1\. ‘High-Yield Cash’ or ‘High-Yield Cash API’ is a technology product offered by AlpacaDB, Inc. (“Alpaca”) which allows users to, among other things, access securities brokerage services provided by Alpaca Securities LLC ("Alpaca Securities"), including but not limited to the Alpaca Securities LLC FDIC Bank Sweep Program (the “FDIC Bank Sweep” or “Program”). Alpaca Securities is a member of_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, and is a wholly-owned subsidiary of AlpacaDB, Inc. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _2\. The FDIC reports the national average savings account interest rate. This current interest rate is 0.41 APY, as of April 21, 2025, and is subject to change and may not be the interest rate on the date this is read._ [_https://www.fdic.gov/national-rates-and-rate-caps_](https://www.fdic.gov/national-rates-and-rate-caps?ref=alpaca.markets) _Commission-free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S.-listed securities and options through an API. Relevant regulatory fees may apply. Commission-free trading is available to Alpaca's retail customers. Alpaca reserves the right to charge additional fees if it is determined that order flow is non-retail in nature._ _Alpaca Securities offers a cash management program pursuant to the FDIC Bank Sweep. Customer funds are treated differently and are subject to separate regulatory regimes depending on whether customer funds are held in their brokerage account or within the FDIC Bank Sweep. Specifically, Alpaca Securities is a member of the Securities Investor Protection Corporation (SIPC), which protects securities customers of its members up to $500,000 (including $250,000 for claims for cash). The Federal Deposit Insurance Corporation (FDIC) insures up to $250,000 per deposit against the failure of an FDIC member bank. Customer funds held in brokerage accounts are SIPC insured, but are not eligible for FDIC insurance coverage. Funds maintained in the FDIC Bank Sweep are intended to be eligible for pass-through FDIC insurance coverage, but are not subject to SIPC coverage. FDIC insurance coverage does not protect against the failure of Alpaca, Alpaca Securities, or any of its or their affiliates and/or malfeasance by any Alpaca or Alpaca Securities employee. Program banks that participate in the FDIC Bank Sweep are not members of SIPC and therefore funds held in the Program are not SIPC protected. Please see alpaca.markets/disclosures for important additional disclosures regarding Alpaca Securities brokerage offering as well as FDIC Bank Sweep terms and conditions._ _High-Yield Cash API is subject to, among other things, Alpaca’s API terms and conditions. In addition, customer access to the FDIC Bank Sweep is subject to, among other things, the Alpaca Customer Agreement, Alpaca Terms and Conditions, and the Alpaca FDIC Bank Sweep Program Terms and Conditions. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _Alpaca Securities customers that enroll in the FDIC Bank Sweep are potentially eligible for enhanced FDIC pass-through insurance coverage. Neither Alpaca nor Alpaca Securities are FDIC-insured. FDIC pass-through insurance coverage is subject to various conditions. The Program’s enhanced FDIC insurance coverage is limited to the aggregate number of participating program banks, multiplied by the FDIC insurance limit (i.e., $250,000). The total number of program banks is subject to change and Alpaca Securities may not utilize all program banks at all times which will affect the Program’s enhanced FDIC insurance coverage amount. In addition, if a customer has a direct banking relationship with a program bank this may affect the amount of funds that are potentially eligible for FDIC-pass through insurance coverage. There is no guarantee that customer funds will be held in such a manner as to maximize possible FDIC pass-through insurance coverage. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _Securities brokerage services are provided by Alpaca Securities, member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _.  Technology and related services are offered by AlpacaDB, Inc._ _Please note that the content of this piece article is for general information only and is believed to be accurate as of the posting date but may be subject to change. Alpaca and its affiliates do not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not ensure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/) [Next Post : Alpaca Launches Fully Paid Securities Lending for Broker API](https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Documentation Site Upgrade # Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 12, 2023[0 Comments](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/#disqus_thread) ![Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/content/images/2023/06/new-documentation-site-live-article--1-.png) At Alpaca, we are excited to unveil our newly improved [documentation site](https://docs.alpaca.markets/docs?ref=alpaca.markets) that reflects our commitment to staying ahead of the curve. This innovative improvement aims to provide you with a more seamless and interactive experience, allowing you to navigate and contribute to the platform's extensive documentation easily. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-3.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=doc-site-upgrade) ## How Has The Alpaca Documentation Site Improved? ### Any User Can Suggest Improvements One of the significant enhancements introduced by our integration with [ReadMe](https://readme.com/?ref=alpaca.markets) is " **Suggest Edits."** With this feature, you can make changes and suggest improvements to the documentation. By selecting the "Suggest Edits" option, you have the power to contribute to the accuracy and clarity of the content. This inclusivity allows Alpaca's documentation to remain up-to-date and relevant, benefiting both Alpaca and our community. ### Live API Interaction Under the [API reference page](https://docs.alpaca.markets/reference/getallaccounts?ref=alpaca.markets), we have added a live API interaction feature to the documentation site. This enhancement provides you with the ability to interact directly with the documentation using your unique API keys and secret. **Note:** this will only work on Paper environment. Previously, you had to switch between the documentation and their respective API environments, causing inconvenience. However, with the live API interaction feature, you can seamlessly test and experiment with the APIs all within the documentation, resulting in a more efficient and error-free workflow. ![](https://alpaca.markets/blog/content/images/2023/06/Untitled-design--41-.png)Live API Interaction The introduction of live API interaction brings numerous benefits to you. This enables you to gain a better understanding of how the APIs work by directly interacting with them in real-time. This hands-on experience facilitates faster learning and helps empower you to build robust and reliable applications using Alpaca's APIs. ### 18+ Languages Supported In Live API Interaction The documentation site now accommodates a wide range of programming languages. This upgrade allows you to interact with the documentation in more than 18 languages, including Go, Ruby, Shell, C++, Python, and many others. By supporting a diverse array of programming languages, Alpaca enables developers worldwide to engage with our documentation in a language that is familiar and comfortable to them. ![](https://alpaca.markets/blog/content/images/2023/06/Untitled-design--42-.png)Additional languages supported _In the next section of the article, we will explain how users can easily suggest edits to the documentation._ * * * ### How Can Any User Suggest Edits? Imagine you want to change something on [this](https://docs.alpaca.markets/docs/integration-setup-with-alpaca?ref=alpaca.markets) page Integration Setup with Alpaca. The first step is to click on Suggest Edits at the top right of any page on the Docs. ![](https://alpaca.markets/blog/content/images/2023/06/Screenshot-2023-05-12-at-16.44.48--1-.png)Click on Suggest Edits Then, enter your email address to receive a one-time login link ![](https://alpaca.markets/blog/content/images/2023/06/Untitled-design--40-.png)Enter your email address An email will then be sent to you, please click on the call to action to suggest changes to a particular documentation. ![](https://alpaca.markets/blog/content/images/2023/06/Untitled-design--39-.png)Suggest edits and click submit The edits added will then be reviewed by our team and will be approved or rejected taking into account the information added. _Please see the new documentation_ [_link here_](https://docs.alpaca.markets/docs?ref=alpaca.markets) [Welcome!\\ \\ This page will help you get started with Alpaca Docs. You’ll be up and running in a jiffy!\\ \\ ![](https://files.readme.io/78d4f5a-small-favicon.png)Alpaca API Docs\\ \\ ![](https://files.readme.io/7e7470b-new-documentation-site-live-article_1.png)](https://docs.alpaca.markets/docs?ref=alpaca.markets) We value your input! Take a survey to share your feedback on the new docs site. [Click here](https://docs.google.com/forms/d/e/1FAIpQLSfujp0lRZmlN3bLZH0zAFaMeXOwvHc68wakIjxRNkLhI5ODxg/viewform?ref=alpaca.markets) ## Contact Us * * * The content is for general informational purposes only. Screenshots are for illustrative purposes only. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) [Next Post : \[Overview\]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Matty Trading Platform # Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 06, 2022[0 Comments](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/#disqus_thread) ![Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/07/social_matty-ai.png) Matty is a unique trading platform that combines algorithmic trading with custom interest-focused investment portfolios to help achieve financial growth and  smart money management. ## About Matty [Matty](https://matty.ai/?ref=alpaca.markets), headquartered in the US, was founded in 2021 by CEO Jon Bryson. During the height of the meme stock craze in 2020, Jon was concerned by a majority of new investors participating in frenzied trading with little to no knowledge of the market, which resulted in many people losing substantial amounts of money. At the time, trading apps weren't doing enough to educate these investors. This prompted Jon to create a trading platform that is not only simple to use but also educates individuals on how to manage their money and investments. Jon poured his heart and soul into the creation of this idea and strategically partnered with senior developer Barclay Layman to bring his vision to life. With Jon’s passion and Barclay’s extensive experience in the development space, Matty was established. The name “Matty” is short for “mattress,” referencing cash under the mattress as a safe and dependable place to save money. ![](https://alpaca.markets/blog/content/images/2022/07/Matty-Phone-Mockups.png)Matty partners with Alpaca Broker API _(This image is for illustrative purposes only.)_ ## Matty’s Mission Matty strives to help individuals to trade and save with its first-of-its-kind trading platform that promotes financial growth and smart money management for all. After creating an account, investors are prompted to set a specific saving goal, whether it be to buy a home, save for college tuition, vacation, and more. Matty then analyzes their social media platforms in order to generate and suggest a list of companies that match their unique interests to create custom lifestyle _(Patent Pending)_ investment portfolios. Once designed, Matty uses self-driven and precise algorithmic trading technology to automatically trade shares of these custom-made portfolios within specific sectors and industries. Built on the power of community, Matty also empowers investors to share their specific saving goals with everyone from their social circle or even contribute towards someone else’s saving goal with a touch of a button. ![](https://alpaca.markets/blog/content/images/size/w2400/2022/07/Frame-15--1-.png) ## Matty Key Features - **Interest-Focused:** Designed to create lifestyle _(Patent Pending)_ investment portfolios, Matty analyzes social media platforms in order to generate and suggest an array of companies that match unique interests, lifestyle _(Patent Pending)_ objectives, and favorite brands. - **Self-Driven:** Matty is self-driven and uses precise algorithmic trading technology to automatically trade shares of your custom-made portfolios within specific sectors and industries. - **Goal-Oriented**: Whether you’re saving for college tuition, a first home, an exotic vacation, a gift for a loved one, or something else, Matty enables you to set specific saving goals to attain. - **Community-Centered:** Share your goals with everyone in your social sphere, or contribute towards someone else’s goal. ![](https://alpaca.markets/blog/content/images/2022/07/Matty-App-Screenshot--3-.png)Matty partners with Alpaca Broker API _(This image is for illustrative purposes only.)_ ## Matty Partners with Alpaca Broker API Matty,a **registered investment advisor,** leverages [Alpaca Broker API’s](https://alpaca.markets/broker?ref=alpaca.markets) suite of brokerage, custody, and post-trade infrastructure to offer retail investors access to buy, and sell U.S stocks easily. ![](https://alpaca.markets/blog/content/images/size/w2400/2022/07/Frame-13--2--1.png) ## About Alpaca Alpaca is an API-first crypto and stock trading platform that offers brokerage and custody infrastructure for apps to launch and scale investing services with ease. Alpaca offers stock and crypto trading, real-time market data, brokerage operations, and compliance services through easy-to-use modern APIs. ![](https://alpaca.markets/blog/content/images/size/w2400/2022/07/Frame-16--1-.png)[Alpaca Broker API - Modern Infrastructure for Crypto & Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed crypto and stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) * * * All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Matty Investments, LLC and Alpaca Securities LLC ("Alpaca Securities”) are not affiliated and neither are responsible for the liabilities of the other. Brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [**FINRA**](https://www.finra.org/?ref=alpaca.markets#/)/ [**SIPC**](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities is not registered (Alpaca is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) [Next Post : Display Logos of Popular Crypto & Stock Symbols with Broker API](https://alpaca.markets/blog/display-logos-of-popular-crypto/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Fractional Shares Investing # Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 05, 2021[0 Comments](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/#disqus_thread) ![Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/GoTrade-Blog-Cover-1.png) Gotrade enables retail investors from over 150 countries to trade commission-free in whole or fractional shares of US stocks. With as little as $1, retail investors can now invest in global companies like Tesla, Apple, and Amazon ## About Gotrade Founded in 2019 by Rohit Mulani, David Grant, and Norman Wanto, the Y Combinator backed company [Gotrade](https://www.heygotrade.com/?ref=alpaca.markets), started from the realization that many foreign residents faced similar challenges and increased costs when attempting to invest in US stocks. From requirements like needing US residency to excessive commission fees and minimum deposits, foreign residents were limited in how they could purchase shares of popular US companies that many US residents had access to purchase with ease. > _“Gotrade was born out of a personal frustration when we tried to get access to the US markets ourselves from Singapore. Millennials globally still face significant barriers when trying to invest in US stocks.” -_ Rohit Mulani ![](https://lh3.googleusercontent.com/PP84RHRkLBbq57e37JgDrmgHe37L_DiONM68aY-Nal8ekAAlRWQjJ2w90GlY7R7eLaSsKJF7sBNQZ12krc0TiSQtgqoZ7sBnY2obL-9rceXFHoyXJIDK9d_vItGmJB8qSH_aBGg)Gotrade Mobile App ## Gotrade Mission Gotrade’s goal is simple and their message accessible; they want you to _“ **invest with ease**”_. Gotrade has built an intuitive mobile application to support this technology, allowing retail investors to easily manage their entire portfolio in one place. With Gotrade, investing in US stocks is now just as simple and accessible for all retail investors around the world as it is for US residents. ## Gotrade Key Features - Whole or fractional shares trading in US stocks - Available in over 150 countries - Commission-free trading with minimum orders as low as $1 - No custody, inactivity, or dividend fees - User accounts protected up to $500,000 by the Securities Investor Protection Corporation (SIPC) ![](https://lh3.googleusercontent.com/j1_1HlZLk0SSKK0dZmbYMFsTAz4xlN1te3BXF2LFAvphNC2clWRw1ZXsY06QEI2LuoMp5Itqyleq8TtgDPm535p8c5rSzl9zxw25YhShdKr9uCuuwVX9CHi1fir53uvUrYYtmQA)Gotrade Mobile App ## Gotrade Powered by Alpaca Broker API Gotrade’s partnership with Alpaca enables foreign residents to trade and own shares of US companies by leveraging Alpaca [Broker API](https://alpaca.markets/broker?ref=alpaca.markets) to provide commission-free stock trading, market data, and more. [Alpaca Broker API - Modern Infrastructure for Crypto & Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed crypto andstock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) ## About Alpaca Alpaca is a globally distributed financial technology company that is democratizing global access to financial markets starting with our API-first stock brokerage. Alpaca offers commission-free stock trading via API, a suite of developer APIs for brokerages, advisors, and startups, as well as a market data API. Alpaca APIs enable developers and entrepreneurs from around the world to connect their applications to the US Stock Market. * * * Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member [FINRA](https://brokercheck.finra.org/firm/summary/288202?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. [Relevant SEC and FINRA fees may apply.](https://alpaca.markets/learn/regulatory-fees/?ref=alpaca.markets) Technology and services are offered by AlpacaDB, Inc. Brokerage services are provided by Alpaca Securities LLC ( [alpaca.markets](https://alpaca.markets/?utm_source=medium&utm_medium=blog&utm_campaign=strategy_list&utm_content=part1)), member FINRA/SIPC. Alpaca Securities LLC is a wholly-owned subsidiary of AlpacaDB, Inc. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg)](https://alpaca.markets/blog/author/crest/) About [Crest Saechao](https://alpaca.markets/blog/author/crest/) [Previous Post : Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) [Next Post : US Stock Trading for Everyone](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Global Stocks via ADRs # Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • March 22, 2022[0 Comments](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/#disqus_thread) ![Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/content/images/2022/03/Global-Stocks_Blog.png) We’ve expanded the securities you can trade on Alpaca with our Global Stocks launch via American depository receipts (ADRs)! You can now invest in whole and fractional shares of international stocks like Nintendo, Adidas, Heineken, and Volkswagen as easily as you would any other U.S. stock. ## What are Global Stocks? Global Stocks are our latest product offering that includes all of the American depositary receipts (ADRs) Alpaca supports. ADRs are securities that represent one or more shares of a foreign company and can be traded in U.S. stock exchanges or the over-the-counter (OTC) market with U.S. dollars. ## Simplified Investing into Foreign Stocks ADRs allow traders to invest in stocks outside the U.S. market without extra paperwork or currency exchange hassles. **Trade Stocks from Companies Around the World** Alpaca users can now diversify their portfolio or create trading strategies that include some of their favorite companies from Europe, Asia, and Australia. Developers can also build upon Trading API to create OAuth apps that are centered on global markets. **Embed Stocks from Companies Around the World** Developers building fintech apps with our Broker API product can expand their list of tradable assets to include securities from international companies. This new feature could help drive end-user engagement and interest in new customer segments. ### Key Benefits - Buy and sell over 700 ADRs (with more on the way!) - Trade whole or fractional shares (fractionals are a $5 minimum) - Access to companies in European, Asian, and Australian continents - Test in a sandbox environment before deploying to production - Simple and easy-to-use API integration with access to real-time stock market data - Around the clock global support For more information about tradable assets on Alpaca please view our [Trading API](https://alpaca.markets/docs/api-references/trading-api/assets/?ref=alpaca.markets) and [Broker API](https://alpaca.markets/docs/api-references/broker-api/assets/?ref=alpaca.markets) documentation. **Note:** ADRs can only be traded during normal US market hours from 9:30am ET to 4:00pm ET. ## Global Stocks Fees ADR agents issuing these shares may charge annual custodial or pass-through fees that generally run $0.01 to $0.03 per share. These service fees are intended to compensate banks or agents for providing custodial services and management of the ADR program. Information on any such fees are available in our [Brokerage Fee Schedule](https://files.alpaca.markets/disclosures/library/BrokFeeSched.pdf?ref=alpaca.markets). These fees will appear on your Alpaca statement as "ADR fees." Effective March 15, 2022, Alpaca has begun assessing these ADR fees. Accounts will be charged the rate assessed by custodian bank or ADR agent with a minimum charge of $0.01. * * * [**American depositary receipts (ADRs)**](https://www.sec.gov/investor/alerts/adr-bulletin.pdf?ref=alpaca.markets) **are negotiable securities issued by a bank that represent shares in a non-U.S. company**. These can trade in the U.S. both on national exchanges and in the over-the-counter (OTC) market, are listed in U.S. dollars, and generally represent a number of non-U.S. shares to one ADR. All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is always the potential of losing money when you invest in securities, or other financial products.  Please keep in mind that investing in foreign stocks may involve currency risk, country risk, and additional fees. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC (“Alpaca Securities”), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities LLC, is not registered (Alpaca Securities is registered only in the United States). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG)](https://alpaca.markets/blog/author/sasha/) About [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) [Previous Post : SDK Release Notes: March 2022](https://alpaca.markets/blog/sdk-release-notes-march-2022/) [Next Post : Alpaca Crypto Rewards Program](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## 24/5 Trading Launch # Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets By [Luke West](https://alpaca.markets/blog/author/luke/) • May 20, 2025[0 Comments](https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/#disqus_thread) ![Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets](https://alpaca.markets/blog/content/images/2025/05/blog_24-5_trading.png) ## **Bridging the Gap for International Partners and Retail Investors** Capital markets are evolving—and fast. Global retail investors have more access to US markets than ever before. From June 2020 to June 2024, foreign investment in US equities grew 84%, and 23% from June of 2023 to June of 20241. And according to US Federal Reserve data as of Q4 2024, overseas investors owned $16.5 trillion, or 18%, of US equities—the highest share on record2. As foreign investment grows, international traders may no longer be satisfied with the constraints of the Monday-to-Friday, 9:30 AM to 4:00 PM EST trading window. Today’s investors are trading from primetime overnight and extended hour regions across APAC, EMEA, and Oceania and prefer not to be limited on when they can engage with US markets. They prefer access during hours that work for them. For brokerages and fintech platforms looking to stay competitive, enabling 24/5 trading—24 hours a day, five days a week—isn’t just a forward-looking feature, it can be a strategic feature. ## **The Rise of 24/5 Trading** With the lines between traditional finance and digital-first investing somewhat blurred, 24/5 trading represents an inflection point in brokerage infrastructure. Markets are being influenced by decentralized finance, and investors seem to be growing accustomed to having constant access. Crypto trades 24/7. News breaks around the clock. Yet many equity trading platforms only have access to traditional market hours with just a few brokers providing extended hours. However, with the [SEC's approval of 24/5 trading in November](https://www.sec.gov/newsroom/speeches-statements/peirce-crenshaw-statement-24x-112624?ref=alpaca.markets), 2024, the landscape is shifting. Several exchanges, including [the NYSE](https://ir.theice.com/press/news-details/2024/The-New-York-Stock-Exchange-Plans-to-Extend-Weekday-Trading-on-its-NYSE-Arca-Equities-Exchange-to-22-Hours-a-Day/default.aspx?ref=alpaca.markets), [Cboe Global Markets](https://www.globaltrading.net/cboe-rivals-nyse-with-24-5-trading-plans?ref=alpaca.markets), [Nasdaq](https://www.linkedin.com/pulse/markets-never-sleep-should-trading-tal-cohen-v84be/?trackingId=wfvH5IpjQj2VRAyWPtZOLQ%3D%3D&ref=alpaca.markets), and [OTC Markets](https://www.nasdaq.com/press-release/otc-markets-group-announces-launch-moon-ats-new-overnight-trading-platform-national?ref=alpaca.markets), are actively working to provide continuous access to US markets. Additionally, the Securities Information Processors (SIPs) recently announced their intent to [submit a proposal to the SEC for extending official operating hours](https://www.prnewswire.com/news-releases/sips-to-propose-extended-operating-hours-302447700.html?ref=alpaca.markets). This can be impactful for brokers building or expanding into markets where local trading hours are misaligned with US equities sessions. Rather than having some traders operate during the middle of their night, you can now meet them where they are, better positioning yourself to help grow your platform. ## **The Benefits of 24/5 Trading for Brokers** Integrating a 24/5 trading solution isn't just about access—it's about adding value across your platform. There are several potential benefits to building a robust 24/5 trading infrastructure.\* ### **Higher Order Flow and Trading Activity** Extending market hours can help increase engagement and give users more opportunities to trade. That means more flow, more data, and more monetization potential. ### **Asset Growth and Stickier AUC** Investors who can access markets on their terms may be more likely to fund accounts and maintain balances, potentially improving your AUC profile and downstream revenue opportunities. ### **Differentiation in a Crowded Market** With many brokers offering commoditized experiences, 24/5 trading can serve as a premium differentiator for high-value users and regions with limited market access. ### **Increased Conversion from Emerging Markets** As demand surges across LATAM, MENA, and APAC regions, providing local-time access to US markets may help to position you as the preferred platform in these growth markets. Rather than traders having to operate during the middle of their night, you can design a user experience that is customized to their needs. ## **Alpaca’s 24/5 Infrastructure is Engineered for Speed, Scale, and Simplicity** Alpaca’s 24/5 trading infrastructure was built from the ground up, serving broker-dealers, neobanks, and global fintechs that demand reliable performance. Whether you’re already offering equities and looking to extend your trading hours, or building a multi-asset experience from scratch, our infrastructure gives your team the flexibility to launch quickly and scale confidently. - Enterprise-Grade Uptime: Built for reliability in always-on environments, our systems are built for low-latency and fast trade execution. - Modern API Architecture: REST and FIX support for seamless integration with your OMS or backend. - Order Routing: Alpaca handles all of the order routing for different sessions, requiring no extra lift for you. - Market Data: Power your platform with trusted, real-time overnight data. Expand global access, help boost engagement during non-traditional hours, and give traders the flexibility they expect. - Robust Documentation and SDKs: Get to market faster with battle-tested tools, developer resources, and clear documentation. - Global Support: Work directly with our success managers and engineers to customize implementation and go-to-market planning. ![“We recognized that today's investors expect market access that fits their lives, not the other way around,” says Hakan Bayraksan, Senior Director of Product at Alpaca. “Our 24/5 trading solution is engineered to provide that flexibility, offering enterprise-grade performance and simplifying the complexities of round-the-clock trading so our partners can focus on delivering value to their customers.”](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcUX41RnmgmiNe3zStoXOJM-lzqCalKnQOM3ypAMBRx95KHLJaxhPrhBqApQt5Rc0GXCeBgMIT3lHV_nFk-OJrEpZyYw2IyJeFIPYNgKN06fT1OnUi4-f2lodYtL00BcyJC6MaTlw?key=Iqj8HcDy8wuDE3us_Dbpyg) “We recognized that today's investors expect market access that fits their lives, not the other way around,” says Hakan Bayraksan, Senior Director of Product at Alpaca. “Our 24/5 trading solution is engineered to provide that flexibility, offering enterprise-grade performance and simplifying the complexities of round-the-clock trading so our partners can focus on delivering value to their customers.” ## **Unlock Global Market Access with 24/5 Trading** The move to 24/5 trading is already underway. Brokerages who adopt early may help shape user behavior, capture untapped demand, and expand their global footprint. The question is no longer if 24/5 becomes the norm—it’s when. ## **Get Started** If you’re ready to modernize your brokerage and unlock the next phase of global retail growth, we’re here to help. For prospective partners, please reach out to Alpaca’s Sales team at [sales@alpaca.markets](mailto:sales@alpaca.markets) or fill out the form below. For existing partners, please contact your Customer Success Manager (CSM) or email the Success team at [customersuccess@alpaca.markets](mailto:customersuccess@alpaca.markets). Still have questions? Learn more in our [FAQs about 24/5 trading with Alpaca’s Broker API](https://docs.alpaca.markets/docs/245-trading?ref=alpaca.markets). 24/5 trading will be available to Trading API users soon. ## **About Alpaca** Alpaca is a US-headquartered self-clearing broker-dealer and brokerage infrastructure for stocks, ETFs, options, crypto, fixed income, and 24/5 trading – raising over USD170 million in funding. Alpaca is backed by top-tier investors globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Derayah Financial, Elefund, and Y Combinator. References: 1. Data is from Foreign Portfolio Holdings of the U.S. Securities Pg 6. and reflects data as of June 28, 2024. Calculations are as follows: 16,878 (Equities, 2024) - 9,168 (Equities 2020)/ 9,168 \*100 = 84% and 16,878 (Equities, 2024) - 13,719 (Equities 2023)/ 13,719 \*100 = 23% [https://ticdata.treasury.gov/resource-center/data-chart-center/tic/Documents/shl2024r.pdf](https://ticdata.treasury.gov/resource-center/data-chart-center/tic/Documents/shl2024r.pdf?ref=alpaca.markets) 2. The US stock market has become the global market over the last 60 years. Will that continue? [https://sherwood.news/market](https://sherwood.news/markets/us-stock-market-has-become-the-global-market-over-the-last-sixty-years/?ref=alpaca.markets) [https://ticdata.treasury.gov/resource-center/data-chart-center/tic/Documents/shl2024r.pdf](https://ticdata.treasury.gov/resource-center/data-chart-center/tic/Documents/shl2024r.pdf?ref=alpaca.markets) [s/us-stock-market-has-become-the-global-market-over-the-last-sixty-years/](https://sherwood.news/markets/us-stock-market-has-become-the-global-market-over-the-last-sixty-years/?ref=alpaca.markets) * * * _Orders placed outside regular trading hours (9:30 a.m. – 4:00 p.m. ET) may experience price fluctuations, partial executions, or delays due to lower liquidity and higher volatility._ _Orders not designated for extended hours execution will be queued for the next trading session._ _Additionally, fractional trading may be limited during extended hours. For more details, please review_ [_Alpaca’s Extended Hours Trading Risk Disclosure_](https://files.alpaca.markets/disclosures/library/ExtHrsRisk.pdf?ref=alpaca.markets) _._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change. The examples above are for illustrative purposes only._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not ensure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency regulations are continuously evolving, and it is your responsibility to understand and abide by them. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information, please click_ [**_here._**](https://files.alpaca.markets/disclosures/library/CryptoRiskDisclosures.pdf?ref=alpaca.markets) _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto, respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Next Post : Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits](https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## New Coins and USDC Pairs # Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 16, 2023[0 Comments](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/#disqus_thread) ![Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/content/images/2023/08/new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service.png) Alpaca Crypto is thrilled to share exciting news with our valued traders and partners! ?Starting from **9 am EST on Friday, August 18th,** we will be rolling out support for new cryptocurrencies, expanding our USDC pair support, and facilitating deposits and withdrawals for all supported Ethereum (ERC-20) based tokens. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-23.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=new-coins-extended-usdc-pairs-upgraded-erc-20) ### New Cryptocurrencies Joining the Alpaca Crypto Ecosystem We will be introducing new coins into our platform, with the aim of further enriching you and your end-users crypto trading experience. Here are the new cryptocurrencies that will be supported: - Curve Token (CRV) - Polkadot (DOT) - USD Coin (USDC) - Tezos (XTZ) ### Enhanced Support for USDC Coin Pairs But that's not all – we are thrilled to announce that we are embarking on a substantial expansion of our USDC pairs support. Get ready, because an array of exciting USDC pairings, including BTC/USDC, ETH/USDC, CRV/USDC, and numerous other combinations, will now be readily available to our esteemed crypto traders and partners. **Starting from August 18th, the following USDC coin pairs will be fully supported:** USDC pairs (AAVE, AVAX, BAT, BCH, BTC, CRV, DOT, ETH, GRT, LINK, LTC, MKR, SHIB, UNI, XTZ) ### Deposits and Withdrawals for All ERC-20 Tokens Continuing our commitment to enhancing our customers' crypto experience, we're excited to unveil an expansion of our crypto wallet services. We will facilitate seamless deposits and withdrawals for all Ethereum (ERC-20) based tokens. **ATTENTION:** It's important to note that in the spirit of transparency, we want to inform you about an upcoming change. To maintain a sustainable and thriving crypto ecosystem, we will be implementing an assessed withdrawal fee of 0.5% (50 basis points) for corresponding asset withdrawals. While this adjustment is notable, it is a necessary step to ensure the continued strength of our crypto environment. ### Conclusion At Alpaca we are driven by innovation, guided by transparency, and dedicated to enhancing your crypto journey. Stay tuned for these exciting offerings rolling out Friday, August 18th at 9 am EST. For more details regarding the newly wallet supported tokens, withdrawal fees, and minimum amounts allowed, Alpaca crypto traders and partners can refer to the updated [Crypto Wallets FAQs](https://alpaca.markets/support/crypto-wallet-faq?ref=alpaca.markets) and [documentation](https://docs.alpaca.markets/docs/crypto-trading?ref=alpaca.markets). [Start Trading Today!](https://hubs.la/Q01_cCVk0?ref=alpaca.markets) [Alpaca - Developer-First API for Trading\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, and\\ trade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://alpaca.markets/static/images/meta-image-homepage.png)](https://alpaca.markets/?ref=alpaca.markets) ## Contact Us * * * Cryptocurrency services are made available by Alpaca Crypto, a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. **Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC.** Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell cryptocurrencies, or open a cryptocurrency account in any jurisdiction where Alpaca Crypto is not registered or licensed, as applicable. Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency is not regulated or is lightly regulated in most countries. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information, please click [**here.**](https://files.alpaca.markets/disclosures/library/CryptoRiskDisclosures.pdf?ref=alpaca.markets) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) [Next Post : Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Wealth Management App Launch # Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 01, 2022[0 Comments](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/#disqus_thread) ![Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_abyan-customer-success-1.png) Abyan Capital, a robo-advisor in Saudi Arabia is an easy-to-use investment platform that offers investors a fully automated investing and portfolio wealth management solution. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-16.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=abyan-case-study) ### About Abyan Capital [Abyan Capital](https://abyancapital.sa/?ref=alpaca.markets) was established in June 2021 by Saleh Alaqeel, Abdullah Aljeraiwi, and Omar Almania, who were deeply familiar with the Saudi Arabia investment industry. Together, they realized that the key target segments of Saudi Arabia’s multi-billion dollar asset management industry were high-net-worth individuals and institutional investors. None of the existing players were focused on retail wealth management. With this observation in mind, Abyan was created. !["We understood none of the large players in the Kingdom of Saudi Arabia were focused on providing wealth management solutions to retail investors. With this insight, we founded Abyan with an extreme obsession to make wealth management accessible to as many people as possible in Saudi Arabia." - Saleeh Alaqeel, Cofounder and COO at Abyan Capital](https://alpaca.markets/blog/content/images/2022/11/quote-banner-1-1.png) "We understood none of the large players in the Kingdom of Saudi Arabia were focused on providing wealth management solutions to retail investors. With this insight, we founded Abyan with an extreme obsession to make wealth management accessible to as many people as possible in Saudi Arabia." - Saleeh Alaqeel, Cofounder and COO at Abyan Capital. ![](https://alpaca.markets/blog/content/images/2022/11/screen2--3-.jpg)Abyan Capital partners with Alpaca Broker API (This image is for illustrative purposes only.) ### Abyan Capital’s Mission Abyan Capital, headquartered in Riyadh, Saudi Arabia, is on a mission to make responsible investing easy and accessible similar to an on-demand delivery platform. They achieved this with their seamless onboarding, investing recommendation, portfolio creation, depositing, and withdrawal solutions. The company’s core values and principles are authenticity, integrity, and responsible investing. In less than three months, post commercially launching their platform, Abyan Capital’s wealth management investment platform has reached over **100,000 app downloads**. ### Abyan Capital’s Key Features - 100% app-first platform - Retail investors can complete onboarding in less than 3 minutes - The platform offers portfolio recommendations that are suitable and customized for each investor - Investors have the option to fund their accounts with Apple Pay or wire transfers ![](https://alpaca.markets/blog/content/images/2022/11/screen1.jpg)Abyan Capital partners with Alpaca Broker API (This image is for illustrative purposes only.) ### Abyan Capital Partners with Alpaca Broker API Abyan Capital, leverages [Alpaca Broker API](https://alpaca.markets/broker?ref=alpaca.markets) suite of brokerage, custody, and post-trade solutions to offer seamless onboarding, investing, portfolio creation, and management to retail investors in Saudi Arabia. Abyan Capital chose Alpaca due to their well-documented process, APIs, and product velocity. !["Alpaca has been a great business partner. The Broker API team has been highly responsive and professional throughout our integration and launching journey. They have helped us significantly in decreasing time-to-market by having a well- documented process." - Saleeh Alaqeel, Cofounder and COO at Abyan Capital](https://alpaca.markets/blog/content/images/2022/11/quote-banner.png) "Alpaca has been a great business partner. The Broker API team has been highly responsive and professional throughout our integration and launching journey. They have helped us significantly in decreasing time-to-market by having a well- documented process." - Saleeh Alaqeel, Cofounder and COO at Abyan Capital. ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. !["We thank Abyan Capital for choosing to partner with us via our Broker API solution. At Alpaca, we are committed to our partner's mission and are honored to support them in making responsible investing accessible to retail investors in Saudi Arabia. It's been a pleasure to work with such a passionate, entrepreneurial, and innovative team, and wish the team great success." "We thank Abyan Capital for choosing to partner with us via our Broker API solution. At Alpaca, we are committed to our partner's mission and are honored to support them in making responsible investing accessible to retail investors in Saudi Arabia. It's been a pleasure to work with such a passionate, entrepreneurial, and innovative team, and wish the team great success." - Rinor Kastrati, Customer Success Manager at Alpaca.](https://alpaca.markets/blog/content/images/2022/11/quote-banner-2.png) "We thank Abyan Capital for choosing to partner with us via our Broker API solution. At Alpaca, we are committed to our partner's mission and are honored to support them in making responsible investing accessible to retail investors in Saudi Arabia. It's been a pleasure to work with such a passionate, entrepreneurial, and innovative team, and wish the team great success." - Rinor Kastrati, Customer Success Manager at Alpaca. [Alpaca - Developer-First API for Stocks and Crypto\\ \\ Alpaca’s easy to use APIs allow developers and businesses to build apps, embed investing, and\\ trade algorithms.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://alpaca.markets/static/images/meta-image-homepage-crypto.png)](https://alpaca.markets/?ref=alpaca.markets) * * * Alpaca and Abyan Capital LLC are not affiliated, and neither are responsible for the liabilities of the other. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities is not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) [Next Post : Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Series C Funding # Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership By [Luke West](https://alpaca.markets/blog/author/luke/) • April 23, 2025[0 Comments](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/#disqus_thread) ![Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership](https://alpaca.markets/blog/content/images/2025/04/blog-series-c.png) Alpaca, a self-clearing broker-dealer and brokerage infrastructure API, announced its $52 million Series C funding round today from its new office in Manhattan, New York. This significant milestone further accelerates Alpaca’s global expansion and development of its industry-leading product offerings. This round saw participation from both new and returning investors, including [Derayah Financial](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/), 850 Management, National Investments Company (NIC), Unbound, and Portage Ventures. The participation of returning investors underscores their continued confidence in Alpaca's vision and execution. With this raise, Alpaca sets its sights on continued global expansion, serving both enterprise institutions and fintechs across key regions like the US, the Middle East, and Asia. This will add to the 200+ global partners from 40+ countries already supported by Alpaca’s institutional-grade APIs and self-clearing custody—actively powering over 5 million brokerage accounts today. The company remains committed to building the global de facto standard infrastructure for investing. Alpaca currently offers global access to stocks, ETFs, options, crypto, and fixed income with imminent plans to launch 24/5 trading driven by the company’s underlying vision and growing global investor appetite for continuous access to financial markets. As of Q4 2024, overseas investors owned $16.5 trillion, or 18%, of US equities—the highest share on record, [according to US Federal Reserve data](https://sherwood.news/markets/us-stock-market-has-become-the-global-market-over-the-last-sixty-years/?ref=alpaca.markets). Plans to launch Fully Paid Securities Lending are also just around the corner. Alpaca had a [landmark year in 2024](https://alpaca.markets/blog/alpaca-2024-year-in-review), launching key products like US options trading, instant funding support, FIX API, and High-Yield Cash and IRA accounts. They also delivered multiple enhancements to their current offerings, including Local Currency Trading API, fractional share trading, and entity account onboarding. With the Series C announcement, Alpaca will continue to build upon its robust API infrastructure, accelerating product development across both global regions and asset classes. ![“We have always been focused on enabling access and opportunity for everyone on the planet. This new chapter allows us to expand our efforts globally, supporting our partners and customers with the tools and infrastructure they need to thrive in modern financial markets,” said Yoshi Yokokawa, Alpaca’s Co-Founder & CEO. “This funding round is a testament to the hard work and dedication of our team and the strong partnerships we have built. We are excited to embark on this next phase of growth and deliver even more value to our customers globally.”](https://alpaca.markets/blog/content/images/size/w2400/2025/04/quote-banner-yoshi-series-c.png) “We have always been focused on enabling access and opportunity for everyone on the planet. This new chapter allows us to expand our efforts globally, supporting our partners and customers with the tools and infrastructure they need to thrive in modern financial markets,” said Yoshi Yokokawa, Alpaca’s Co-Founder & CEO. “This funding round is a testament to the hard work and dedication of our team and the strong partnerships we have built. We are excited to embark on this next phase of growth and deliver even more value to our customers globally.” **About Alpaca** Alpaca is a US-headquartered self-clearing broker-dealer and brokerage infrastructure for stocks, ETFs, options, and crypto– raising over USD170 million in funding. Alpaca is backed by top-tier investors globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Derayah Financial, Elefund, and Y Combinator. * * * _Alpaca Securities LLC and the entities referenced in this article are not affiliated and are not responsible for the liabilities of the other._ _The testimonials, statements, and opinions presented on the website are applicable to the specific individuals. It is important to note that individual circumstances may vary, and may not be representative of the experience of others. There are no guarantees of future performance or success. The testimonials are voluntarily provided and are not paid, nor were they provided with free products, services or any other benefit in exchange for said statements._ _Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read_ [_Characteristics and Risks of Standardized Options_](https://www.theocc.com/company-information/documents-and-archives/options-disclosure-document?ref=alpaca.markets) _before investing in options._ _Fractional share trading allows a customer to buy and sell fractional share quantities and dollar amounts of certain securities. Fractional share trading presents unique risks and is subject to particular limitations that you should be aware of before engaging in such activity. See the Alpaca Customer Agreement at_ [_https://alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more details._ _High-Yield Cash API is subject to, among other things, Alpaca’s API terms and conditions. In addition, customer access to the FDIC Bank Sweep is subject to, among other things, the Alpaca Customer Agreement, Alpaca Terms and Conditions, and the Alpaca FDIC Bank Sweep Program Terms and Conditions. Please see_ [_alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for further information and important disclosures._ _Orders placed outside regular trading hours (9:30 a.m. – 4:00 p.m. ET) may experience price fluctuations, partial executions, or delays due to lower liquidity and higher volatility._ _Orders not designated for extended hours execution will be queued for the next trading session._ _Additionally, fractional trading may be limited during extended hours. For more details, please review_ [_Alpaca’s Extended Hours Trading Risk Disclosure_](https://files.alpaca.markets/disclosures/library/ExtHrsRisk.pdf?ref=alpaca.markets) _._ _Please read_ [_Important Risk Disclosures With Respect To Participating In Fully Paid Securities Lending Transactions_](https://files.alpaca.markets/disclosures/Important+Risk+Disclosures+With+Respect+To+Participating+In+Fully+Paid+Securities+Lending+Transactions.pdf?ref=alpaca.markets) _carefully before deciding whether to participate in lending Fully Paid Securities or agreeing to enter into a Master Securities Lending Agreement with Alpaca Securities LLC. These disclosures describe important characteristics of, and risks associated with engaging in, securities-lending transactions._ _Please review important Retirement Account Disclosures at_ [_https://alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _before deciding to open an individual retirement account._ _Please note that this article is for general informational purposes only and is believed to be accurate as of the posting date but may be subject to change. Alpaca Crypto LLC does not recommend any specific cryptocurrencies. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk, it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency regulations are continuously evolving, and it is your responsibility to understand and abide by them. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information, please click_ [**_here._**](https://files.alpaca.markets/disclosures/library/CryptoRiskDisclosures.pdf?ref=alpaca.markets) _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto, respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/luke/) About [Luke West](https://alpaca.markets/blog/author/luke/) [Previous Post : Kraken Offers US Securities Through Strategic Partnership with Alpaca](https://alpaca.markets/blog/kraken-offers-us-securities-through-strategic-partnership-with-alpaca/) [Next Post : Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading API Update # Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 19, 2024[0 Comments](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/#disqus_thread) ![Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/content/images/2024/07/v02_Stop-Limit-on-Fractional.png) Alpaca’s Local Currency Trading API now supports industry-leading limit, stop, and stop limit for both nominal and fractional order types. Additionally, Local Currency Trading now offers extended hours trading to further open financial services to everyone on the planet. [Local Currency Trading API](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) enables businesses of all sizes to offer US stock services in their customer’s local currency; supporting 15+ currencies with real-time FX conversion. These stock services include trades, prices, balances, statements, confirmations, and more to enhance your customer’s investing experience. With Local Currency Trading API, you can offer your customers access to new order types and take advantage of extended trading hours in their local time zones. ## **Differentiate Your Product: Introduce New Order Types and Extended Hours** ### **New Order Types: Limit, Stop and Stop Limit** Local Currency Trading API now supports limit, stop, and stop limit order types with **fractional quantity or notional value**, priced in USD for stability and FX volatility reduction. These additional order types are essential to manage risks in a fast-moving market. Furthermore, stop and stop limit orders are now integrated into Alpaca’s fractional shares trading, completing the suite of order types alongside market and limit orders. Trading in fractional shares is a critical tool for international investors. It opens the door for individuals to invest in stocks that might otherwise be inaccessible. Fractional orders also enable ultra-precise asset allocation and portfolio weightings. Portfolios, regardless of their size, can take advantage of this feature effectively. ### **Enable Extended Hours For Your Customers** The support of limit orders within Local Currency Trading API also includes **pre-market (4:00 a.m. - 9:30 a.m. ET)** and **post-market (4:00 p.m. - 8:00 p.m. ET)** trading, in addition to regular trading hours. You can now enable your customers to trade fractional and notional amounts, during their localized trading hours. This expands trading opportunities for investors in Asia, and EMEA, and other regions to trade fractional shares during their mornings and afternoons. ### **Seamless API Integration** These new capabilities are seamlessly integrated into the existing Local Currency Trading API, requiring minimal implementation effort. At Alpaca, we prioritize simplicity and ease of use in our APIs. Our platform, backed by our custom-built [Order Management System (OMS)](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/), is designed for ultra-low latency and scale to support millions of investors worldwide. ## **Key Features Summarized** - **Expanded Order Types**: Local Currency Trading API now includes limit, stop, and stop limit order types with fractional quantities or notional values.  Please note that only day orders are supported at this time - **Order Execution:** Provides a seamless trading experience with swift order execution and processing. - **Extended Trading Hours**: Limit orders can be executed not only during standard market hours but also before **(4:00 a.m. - 9:30 a.m. ET)** and after **(4:00 p.m. - 8:00 p.m. ET)**. - **Global Investment Opportunities:** Offers your customers worldwide the opportunity to trade during their localized hours, including Asia, and EMEA. - **Easy-to-use API:** A simple API that requires minimal effort to implement new features, ensuring a smooth integration process. ## **Let’s Get Started!** Haven’t experienced Alpaca’s Broker API yet? [Speak with our sales team](https://alpaca.markets/broker-contact-form?ref=alpaca.markets) to explore how to integrate Local Currency Trading API into your existing financial services. Additionally, Local Currency Trading API is available for all existing Alpaca partners. Please reach out to your Success team to learn more. ## **Looking For More Information?** - Read the Local Currency Trading API documentation [here](https://docs.alpaca.markets/docs/local-currency-trading-lct?ref=alpaca.markets). - Deep dive into the features of Local Currency Trading API with our technical [learn article](https://alpaca.markets/learn/get-started-with-local-currency-trading-api-for-app-localization/?ref=alpaca.markets) and [blog](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/). - Have more questions? Visit our [FAQs](https://alpaca.markets/support/local-currency-trading-faq?ref=alpaca.markets). * * * _Please note that Alpaca charges a flexible spread markup for broker partners using our Local Currency Trading feature._ _Extended Hours trading has unique risks and is different than trading in the main trading session, for more information please visit our_ [_Alpaca Extended Hours Trading Risk Disclosure_](https://files.alpaca.markets/disclosures/library/ExtHrsRisk.pdf?ref=alpaca.markets) _Fractional share trading allows a customer to buy and sell fractional share quantities and dollar amounts of certain securities. Fractional share trading presents unique risks and is subject to particular limitations that you should be aware of before engaging in such activity. See Alpaca Customer Agreement at_ [_https://alpaca.markets/disclosures_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more details._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) [Previous Post : IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) [Next Post : Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## RUUT: Fintech for Investors # Mexico's RUUT Pioneering Fintech Solutions for New Investors By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • December 14, 2023[0 Comments](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/#disqus_thread) ![Mexico's RUUT Pioneering Fintech Solutions for New Investors](https://alpaca.markets/blog/content/images/2023/12/ruut_customer_story.png) Born out of a mission to provide accessible, fair, and simple tools for wealth generation, [RUUT](https://ruut.mx/en?ref=alpaca.markets) is addressing Mexico’s unique challenges faced by new investors. Currently situated in Mexico City and supported by Alpaca's Broker API, RUUT has seen significant growth since their launch while ensuring their core values remain intact. ## About RUUT RUUT was founded by Carlos Diaz and Rodrigo Verduzco on September 29, 2021 through a personal struggle. Carlos felt the frustration of having his savings account mistakenly blocked by Mexico's largest investment platform. When he finally regained the required access, after more than a month, the two co-founders realized there had to be a better solution for investing in Mexico. After researching further, they realized that only [~4% of Mexicans](https://www.forbes.com.mx/cuentas-de-inversion-en-bolsa-llegan-5-4-millones-y-esta-casa-gana-9-de-cada-10-nuevas/?ref=alpaca.markets#:~:text=Desde%20la%20pandemia%20las%20cuentas,pasado%2C%20sin%20embargo%2C%20es%20una) have an investment account, and that [93% of the accounts](https://expansion.mx/finanzas-personales/2023/10/30/gbm-tiene-9-de-cada-10-cuentas-de-inversion-en-casa-de-bolsa-en-mexico?ref=alpaca.markets) are centralized to just one platform (data from Forbes.com.mx and Expansion.mx). Therefore it was clear that RUUT’s mission was to guide wealth generation amongst Mexicans with values centered on transparency, teamwork, user obsession, resilience, radical ownership, and strategy. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-19.png)](https://hubs.la/Q02cGJ520?ref=alpaca.markets) ## How RUUT Helps Mexican “Non-Investors” RUUT stands out by addressing the significant challenge of financial education in Mexico. Instead of requiring users to understand intricate investment strategies, RUUT provides a straightforward platform where users can start building wealth without prior knowledge. Approximately 75% of RUUT's users are first-time investors, reflecting the success of this approach. RUUT's platform offers users the ability to create and customize multiple portfolios tailored to different financial goals; these are handled by RUUT with some of the lowest management fees in the market. This user-friendly approach allows investors to plan for retirement, big consumer purchases like vehicles, and vacations with varying risk profiles and time horizons. ![RUUT is a user-friendly approach allows investors to plan for retirement, big consumer purchases like vehicles, and vacations with varying risk profiles and time horizons](https://lh7-us.googleusercontent.com/_VHOfgiw-zwwc9pCGzACscVYgfb-jjYZfuSnGl7o15mXRXIAxA73twtPMGYjy6TLmAIzUxlWb0JNCIotctAU689V3xY7i1N9agHocbd5xQSmujWs3EOaoykpOFZ1_DFUqyvImCaTdkBDrpAhb_7cfgQ) ## Why RUUT Partnered with Alpaca RUUT's choice of Alpaca as its preferred broker stems from Alpaca's reputation as the most startup-friendly, accessible, and agile broker. The partnership has been mutually beneficial, with Alpaca playing a crucial role in supporting RUUT's mission. ![“Alpaca has been an incredible partner for RUUT, we really feel their support for our mission and are very happy to keep building together.” – Rodrigo Verduzco, Co-Founder](https://lh7-us.googleusercontent.com/TCidgSeS0bBiY7opEdbMaYbV0AtMsMLSpkXnvOL6HYHNwxm-RbAKRY9bNHEssTgpKCkPv-SkL26gN0cF48UBIFI7gx58OXatHbPnMfCjVK7rNjj3Ku_mN8_fXocEOv6wM36igQNDde4TXJNwTIwINVg) “Alpaca has been an incredible partner for RUUT, we really feel their support for our mission and are very happy to keep building together.” – Rodrigo Verduzco, Co-Founder at RUUT ## Building for Growth Together ### Utilizing Broker API RUUT's app development process was tightly integrated with Alpaca's Broker API. Initially leveraging Alpaca’s readily available toolkit, RUUT then seamlessly integrated regulatory processes in Mexico, creating a unique solution with Alpaca's RIA (Registered Investment Advisor) specific products. This partnership is continuously evolving, as RUUT actively participates in testing and piloting new Alpaca products. Further, Alpaca's Broker API has empowered RUUT to provide US investment accounts for clients in Mexico seamlessly. The API facilitates multiple equity transactions, streamlining the process of building and rebalancing investment portfolios. RUUT's users, both non-sophisticated and sophisticated investors, love the platform's speed, ease of use, and tailored investment solutions. As a startup,one of RUUT's greatest concerns was scalability as we looked for a suitable Broker partner. Alpaca's scalability has been a crucial asset for RUUT, enabling the opening of thousands of accounts within 24 hours without any issues. ![“Alpaca’s technology has been extremely scalable and reliable through our whole journey as partners.” – Patricio Tena, Sr. Backend Developer](https://lh7-us.googleusercontent.com/Hbr5G9RPqyYOtQxRBUniI8X7ksQLW7FLW-ZX4y1FUh8jWiP6ydszSeHYrr9kMIqAIxSGukYSr6toPTv4bF-PFoWQlw8dqbXxk59aSbrmOaGEmup_bZiGpfQ39z7qzb_4cTNF55jKDF_XHO0lU1csHx8) “Alpaca’s technology has been extremely scalable and reliable through our whole journey as partners.” – Patricio Tena, Sr. Backend Developer at RUUT ### Present Day Impact Alpaca's Broker Dashboard plays a pivotal role in RUUT's operations. Serving as the operations team's essential tool, the dashboard offers an intuitive and fast way to check transactions and positions for users. As a startup, RUUT found the dashboard instrumental in managing client positions while their internal ledger was under development. ![](https://lh7-us.googleusercontent.com/AYIQiJYWqXthCfUGWdcWng7u6IInv7WPGYb9dkkK3PmkjNALSEVr3t6p9ANTO8RTNZhnhCln5eA3AwEDbZSZrXvnyZ50hCQgcZ9SFA1ga8dl8jKAiLK4yMV-6kjFDdCKxYJM-B-xASM5hTvZhZG96B4) Since integrating with Alpaca, RUUT has witnessed remarkable growth, surpassing 10,000 funded accounts within a year. This partnership has allowed RUUT to develop tailored portfolios and an intuitive product that resonates with users. RUUT continues to exemplify a transformative collaboration. By combining innovation, prioritizing accessibility, and ensuring scalability, they’re set to redefine wealth generation for Mexico's retail investors. As they continue their partnership together with Alpaca, the future holds promising developments for those seeking a simplified but empowering financial journey with RUUT. ![“We’re thrilled to support RUUT’s vision and help make it a reality together. Alpaca believes financial literacy and investing should be accessible to everyone and the fact that RUUT is pioneering this in Mexico is inspiring. We can’t wait to see what the future brings them!” – Tarun Ajwani, SVP of Sales and Corporate Development at Alpaca](https://lh7-us.googleusercontent.com/nqfy0mUtg5QdQTzrvIUcqvYkyFg36kgjLtg92vIf5EKG2wXkbvAzr4BtQnsX1GEgN5brwYWDX-I__tB7qSMn4y-hRe9tqnuZMjWqL93bLK4f-83V3_sberH4336Uo7p5f9dUCTN2qOTZm9pBtJNTo68) “We’re thrilled to support RUUT’s vision and help make it a reality together. Alpaca believes financial literacy and investing should be accessible to everyone and the fact that RUUT is pioneering this in Mexico is inspiring. We can’t wait to see what the future brings them!” – Tarun Ajwani, SVP of Sales and Corporate Development at Alpaca ## About Alpaca Alpaca is a developer-first API brokerage platform that’s raised over $120m in funding. Alpaca offers stock and crypto trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. ## Let's See How We Can Partner Together * * * Alpaca and RUUT Partners Asesor en Inversiones Independiente S.A.P.I. de C.V. (“RUUT") are not affiliated and neither are responsible for the liabilities of the other. All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca's 2023 Year in Review](https://alpaca.markets/blog/alpaca-2023-year-in-review/) [Next Post : GUGU Paves the Way for US Stock Investing in Asia](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Pebble Finance and Alpaca Partnership # Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 18, 2023[0 Comments](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/#disqus_thread) ![Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments](https://alpaca.markets/blog/content/images/2023/07/pebble-customer-story--1-.png) Pebble Finance, a registered investment advisor, introduces an innovative app designed for digital natives that helps address the investing challenges faced by individuals who are often overlooked due to their limited financial resources. Whether driven by personal values or the desire to capitalize on emerging trends, these investors hold strong opinions but may lack the means to be recognized in traditional financial circles. Pebble Finance aims to bridge this gap by offering a range of innovative features that empower these investors to take control of their investment journey. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=pebble-case-study) ### About Pebble Finance [Pebble Finance](https://pebble.finance/?ref=alpaca.markets) was founded In 2021 by Justin Whitehead and James Esdaile, who are two fintech veterans that shared a dissatisfaction with the outdated investing experience. They recognized the industry's reliance on relationships, products with hidden fees, and aggressive sales tactics, prompting them to seek a solution. Through exploration, they conceived the idea of "Pebble," a new approach to diversification that puts investors in control. They envisioned a platform that would empower individuals to own and manage their investments while helping to simplify the diversification process. !["With Pebble Finance, we set out to change the investing experience by putting the power back into the hands of the investors. Our vision was to create a platform that empowers individuals to own and manage their investments while simplifying diversification." - Justin Whitehead, Co-Founder and CEO at Pebble Finance](https://alpaca.markets/blog/content/images/2023/07/quote-banner--1-.png) "With Pebble Finance, we set out to change the investing experience by putting the power back into the hands of the investors. Our vision was to create a platform that empowers individuals to own and manage their investments while simplifying diversification." - Justin Whitehead, Co-Founder and CEO at Pebble Finance ![](https://alpaca.markets/blog/content/images/2023/07/Untitled-design--1-.png) ### Pebble Finance’s Mission Pebble Finance's mission is simple yet powerful: to prioritize the investor. By putting the investor first, their aim is to make investing faster, and easier for everyone, regardless of their background. Pebble Finance believes investing should be accessible to all individuals, not just the privileged few. Their commitment to inclusivity drives them to create a platform that levels the playing field, helping empower investors of all sizes to navigate the financial markets with confidence. ### Pebble Finance’s Key Features **Invest in Personalized Thematic Portfolios via Direct Indexing:** Investors have the unique ability to invest in thematic themes or portfolios based on specific industries or trends via direct indexing. Pebble Finance allows users to replicate and customize their favorite ETFs, granting them the freedom to tailor their portfolios according to their preferences and investment strategies. Investors can also specify any number of variables to create their fund: P/E ratio, market caps, and EBITDA. ![](https://alpaca.markets/blog/content/images/2023/07/Untitled-design--2-.png) ### Pebble Finance’s Partners with Alpaca Pebble Finance chose to partner with Alpaca for several reasons. Alpaca's modern APIs, along with support for fractional trading. Additionally, Alpaca's ability to help with crucial aspects like Know Your Customer (KYC) enables Pebble Finance to focus on delivering a streamlined and efficient platform. By leveraging Alpaca's advanced API suite, Pebble Finance can provide its users with cutting-edge investment experiences. !["The Broker API documentation provided by Alpaca is excellent. Its structured format enabled our team to swiftly and efficiently develop comprehensive end-to-end prototypes. In the rare instances where we required further clarification on specific implementation scenarios, the broker support team provide to be consistently responsive and helpful. Alpaca's commitment to providing a user-friendly API and responsive support has been instrumental in our rapid, successful integration with their platform." - Justin Whitehead, Co-Founder and CEO at Pebble Finance](https://alpaca.markets/blog/content/images/2023/07/quote-banner-2--1-.png) "The Broker API documentation provided by Alpaca is excellent. Its structured format enabled our team to swiftly and efficiently develop comprehensive end-to-end prototypes. In the rare instances where we required further clarification on specific implementation scenarios, the broker support team provide to be consistently responsive and helpful. Alpaca's commitment to providing a user-friendly API and responsive support has been instrumental in our rapid, successful integration with their platform." - Justin Whitehead, Co-Founder and CEO at Pebble Finance ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. !["We are delighted to announce our partnership with Pebble Finance, an innovative platform that is designed to empower investors with a new approach to portfolio diversification. We are excited to embark on this journey together and explore the exciting possibilities that lie ahead as we combine our expertise and technologies." - Tarun Ajwani, SVP Sales and Corporate Development at Alpaca.](https://alpaca.markets/blog/content/images/2023/07/quote-banner-1--1-.png) "We are delighted to announce our partnership with Pebble Finance, an innovative platform that is designed to empower investors with a new approach to portfolio diversification. We are excited to embark on this journey together and explore the exciting possibilities that lie ahead as we combine our expertise and technologies." - Tarun Ajwani, SVP Sales and Corporate Development at Alpaca. * * * ## Contact Us * * * [Alpaca Broker API - Modern Infrastructure for Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) _Alpaca and Pebble Finance are not affiliated and neither are responsible for the liabilities of the other._ _All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns.There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Fractional share trading allows a customer to buy and sell fractional share quantities and dollar amounts of certain securities. Fractional share trading presents unique risks and is subject to particular limitations that you should be aware of before engaging in such activity._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities, or open a brokerage account in any jurisdiction where Alpaca Securities is not registered or licensed._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) [Next Post : Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca and SBI Partnership # Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • October 12, 2023[0 Comments](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/#disqus_thread) ![Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business](https://alpaca.markets/blog/content/images/2023/10/v02_sbi-holdings-partnership-announcement.png) ### Alpaca Surpasses 150 Businesses Launching on its Brokerage Platform and Prepares for Accelerated Growth With Strategic Partners For Each Key Region **San Mateo, CA – October 12, 2023** – [Alpaca](https://cts.businesswire.com/ct/CT?id=smartlink&url=https%3A%2F%2Falpaca.markets%2F&esheet=53604043&newsitemid=20231012426487&lan=en-US&anchor=Alpaca&index=1&md5=2b154f0dff6f503beac4174e2df00eae&ref=alpaca.markets), a global brokerage platform for stock and crypto trading that supports launches of hundreds of investing businesses worldwide, today announced a new strategic partnership with [SBI Group](https://cts.businesswire.com/ct/CT?id=smartlink&url=http%3A%2F%2Fwww.sbigroup.co.jp%2F&esheet=53604043&newsitemid=20231012426487&lan=en-US&anchor=SBI+Group&index=2&md5=928c39ce540965367b3d39ea869d340e&ref=alpaca.markets) (“SBI”), a Japan-based financial services group that has the largest online broker (the second largest brokerage firm) in Japan by revenue and has more than 400 billion yen assets under management for VC/PE investments. This partnership allows Alpaca to accelerate its expansion of businesses and extend its reach to enterprise financial institutions for the clearing and execution of US securities in Asia. As part of the new partnership, SBI has made a USD15 million investment in Alpaca. Additionally, SBI has agreed with Alpaca to make respective commitments to drive Alpaca’s future growth through collaborative business development efforts and introducing innovative products. Alpaca continues to provide resources dedicated to expanding its Asian business through a recently acquired broker-dealer license under the Japan FSA. Through this license in Japan, Alpaca can provide brokerage infrastructure for enterprise financial institutions and startups to easily offer US stock investing services to their end customers. “ _We are thrilled to welcome SBI as our strategic partner and to deepen our footprint within the Asian region,_” **said Yoshi Yokokawa, Co-founder and CEO of Alpaca**. “ _This partnership will significantly accelerate our mission of opening financial services to everyone on the planet. SBI’s strategic partner capital enables us to significantly increase our presence in the Asian region, accelerate serving enterprise financial institutions, and launch products and services optimized for local demands. We’re very excited to unlock this tremendous potential._” “ _Our investment in Alpaca directly aligns with our strategic vision to show our commitment to accelerate new product innovation and value creation for end customers,_” **said Shohei Yamada, Deputy General Manager of SBI Investment**. “ _We are amazed by the growth and innovation velocity that Alpaca has shown and are excited to support their even further expansion in the Asian region._” In addition to Alpaca’s growth in Japan, Alpaca’s brokerage platform supports hundreds of businesses in close to 30 different countries such as Turkey, Saudi Arabia, Indonesia, Thailand, and India. Alpaca has raised more than US$120 million in funding from top investors in the industry globally. **About Alpaca** Alpaca is a developer-first API brokerage platform that supports hundreds of businesses globally. Alpaca offers stock and crypto trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca has raised over $120m in funding and is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. **About SBI Group** Established in 1999 as a pioneer of Internet-based financial services in Japan, the SBI Group is a comprehensive Internet financial group that operates globally, encompassing five core businesses: “Financial Services Business,” such as securities, banking and insurance businesses; “Investment Business,” which is engaged in private equity investment including venture capital investment; “Asset Management Business,” that provides various asset management related services; “Crypto-asset Business,” which operates crypto asset trading and exchange services; and “Non-financial Business,” which includes business activities related to biotechnology, healthcare and medical informatics, Web3, and new overseas markets. For more information, please visit [https://www.sbigroup.co.jp/english/](https://cts.businesswire.com/ct/CT?id=smartlink&url=https%3A%2F%2Fwww.sbigroup.co.jp%2Fenglish%2F&esheet=53604043&newsitemid=20231012426487&lan=en-US&anchor=https%3A%2F%2Fwww.sbigroup.co.jp%2Fenglish%2F&index=3&md5=f8d2b4b654661065e570c2fd6468ed4f&ref=alpaca.markets) ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2023/01/symbol-alpaca-logo.png)](https://alpaca.markets/blog/author/alpaca/) About [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) [Previous Post : Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) [Next Post : Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Traderpal: Accessible Stock Trading # Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • May 23, 2023[0 Comments](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/#disqus_thread) ![Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca](https://alpaca.markets/blog/content/images/2023/05/v02_traderpal-customer-story.png) Traderpal is a simple and easy-to-use app designed to democratize access to financial markets for Spanish-speaking individuals. With Traderpal, users can invest in thousands of US stocks, and ETFs and start building a diversified investment portfolio to help them achieve their financial goals. [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-5.png)](https://alpaca.markets/broker-contact-form?utm_campaign=2023%20-%20Broker%20API%20Organic%20Social&utm_source=article%20banner&utm_content=traderpal-case-study) ### About Traderpal Lester Pereira founded [Traderpal](https://www.traderpal.co/?ref=alpaca.markets) in response to a need he observed for an app. The app is designed to offer a range of features and tools that are tailored to Spanish-speaking individuals and their unique needs and preferences. This includes language support in Spanish and a range of educational resources that will help users learn about investing and finance. !["We believe the Spanish-speaking community has been underserved in the investment space. We are committed to changing that by providing them access to the same investment opportunities that have traditionally been available only to the wealthy and the well-connected." - Lester Pereira, Founder and CEO at Tradepal.](https://alpaca.markets/blog/content/images/2023/05/quote-banner--10-.png) "We believe the Spanish-speaking community has been underserved in the investment space. We are committed to changing that by providing them access to the same investment opportunities that have traditionally been available only to the wealthy and the well-connected." - Lester Pereira, Founder and CEO at Tradepal. ![](https://alpaca.markets/blog/content/images/2023/05/Untitled-design--31-.png)Screenshot is for illustrative purposes only ### Traderpal’s Mission Beyond democratizing access to US stock markets for everyone, Traderpal's mission is to serve as an educational tool that helps teach its users how to achieve their financial goals. ### Traderpal’s Key Features - Access to thousands of US stocks and ETFs - The ability for International users to create accounts and invest without the need to have local US bank accounts. - Timely US stock and ETF tickers - Real-time news ![](https://alpaca.markets/blog/content/images/2023/05/Untitled-design--30-.png)Screenshot is for illustrative purposes only ### Traderpal Partners with Alpaca Traderpal has formed a partnership with [Alpaca](https://alpaca.markets/broker?ref=alpaca.markets) via their Broker API solution to provide investors with a seamless investing experience, utilizing Alpaca's suite of brokerage, custody, and post-trade solutions. They chose Alpaca because they believed they had the same mentality of moving agilely and providing a quality service to users. In addition, Alpaca has the ability to adjust according to partners’ needs and care about their internal growth. !["Alpaca's customer obsession is evident in their continuous pursuit of understanding of our current and future pain points, and always provide quick resolutions and future scalable solutions." - Lester Pereira, Founder and CEO at Traderpal.](https://alpaca.markets/blog/content/images/2023/05/quote-banner-2--6-.png) "Alpaca's customer obsession is evident in their continuous pursuit of understanding of our current and future pain points, and always provide quick resolutions and future scalable solutions." - Lester Pereira, Founder and CEO at Traderpal. ### About Alpaca Alpaca is a developer-first embedded financial technologies platform that’s raised over $100m in funding. Alpaca offers crypto and stock trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Social Leverage, Tribe Capital, Horizons Ventures, Unbound, Eldridge, Positive Sum, Elefund, and Y Combinator. !["We're excited to partner with Traderpal and support their mission of democratizing access to financial markets. At Alpaca, we're committed to providing innovative and reliable financial technology solutions to our partners, and we're thrilled to be working with Traderpal to help them achieve their goals." - Tarun Ajwani, SVP, Sales and Corporate Development at Alpaca.](https://alpaca.markets/blog/content/images/2023/05/quote-banner-1--6-.png) "We're excited to partner with Traderpal and support their mission of democratizing access to financial markets. At Alpaca, we're committed to providing innovative and reliable financial technology solutions to our partners, and we're thrilled to be working with Traderpal to help them achieve their goals." - Tarun Ajwani, SVP, Sales and Corporate Development at Alpaca. ## Contact Us [Alpaca Broker API - Modern Infrastructure for Stock Investing\\ \\ Built with developers in mind, our modern API makes it easy for businesses to embed stock trading into their fintech app.\\ \\ ![](https://files.alpaca.markets/webassets/apple-touch-icon.png)Alpaca\\ \\ ![](https://s3.amazonaws.com/files.alpaca.markets/webassets/alpaca+broker+api.png)](https://alpaca.markets/broker?ref=alpaca.markets) * * * _Alpaca and Traderpal are not affiliated and neither are responsible for the liabilities of the other._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the_ [_Disclosure Library_](https://alpaca.markets/disclosures?ref=alpaca.markets) _for more information._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png)](https://alpaca.markets/blog/author/sonia/) About [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) [Previous Post : \[Overview\]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) [Next Post : Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/low-latency-ledger-upgrade/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca and Citadel Partnership # Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading By [Nezar Mansour](https://alpaca.markets/blog/author/nezar/) • July 25, 2024[0 Comments](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/#disqus_thread) ![Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/content/images/2024/07/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-header.png) **SAN MATEO, California — July 25, 2024** **(BUSINESS WIRE) –** [Alpaca](https://alpaca.markets/?ref=alpaca.markets), an API-focused brokerage that operates a modern infrastructure for stocks, ETFs, options, and crypto trading and serves hundreds of financial services businesses globally, and [Citadel Securities](https://www.citadelsecurities.com/?ref=alpaca.markets), a leading global market maker, today announced an extension of their strategic partnership in Japan to jointly leverage their expertise in brokerage infrastructure, trade execution and clearing, and recordkeeping for U.S. Stocks and Options trading. Alpaca has partnered with Citadel Securities for trade execution services since 2019, and today Alpaca’s infrastructure serves businesses from 30 different countries globally. This initiative will provide Japanese brokers with access to world class trade execution, scalable end-user recordkeeping systems, localized system integrations, and support solutions in one stop. Through its local Japanese subsidiary, Alpaca has served financial institutions in Japan for the past decade through its unique offerings of database technology and brokerage services and has contributed to wealth technology innovation in Japan. Citadel Securities opened its Tokyo office in 2022 to provide dedicated coverage to Japan’s financial services industry, powered by consistent, competitive and reliable liquidity in all market conditions and leading customer service. _“We’re excited to continue building on the strong and trusted foundation we have already established in Japan,”_ **said Yoshi Yokokawa, Co-founder and CEO, Alpaca**. _“This expanded partnership brings together Alpaca’s experience and infrastructure that we have nurtured in Japan with Citadel Securities’ leading global trade execution capabilities, creating a compelling value proposition for Japanese investors and institutions.”_ _“This partnership further demonstrates Citadel Securities commitment to Japan and improving the trading experience for Japanese investors of all size,”_ **said Shinichiro Kato, Citadel Securities Japan Representative Director**. _“Our partnership with Alpaca enables Citadel Securities to seamlessly deliver our leading execution platform to Japanese brokers, increasing access to and improving their clients’ experience trading U.S. securities,”_ **said Joseph Mecane, Head of Execution Services at Citadel Securities**. In addition to operating as a regulated brokerage company, Alpaca is well-known in the developer community for offering APIs for developers and entrepreneurs to write trading algorithms and build Fintech applications. Alpaca’s APIs are used by tens of thousands of monthly active developers globally. **About Alpaca** Alpaca is a developer-first API brokerage that builds a modern infrastructure for Stocks, ETFs, Options, and Crypto trading and serves hundreds of businesses globally. Alpaca has raised over $150m in funding and is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Elefund, and Y Combinator. Securities brokerage services are provided by Alpaca Securities LLC, member DTCC/FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. **About Citadel Securities** Citadel Securities is a next-generation capital markets firm and a leading global market maker, providing institutional and retail investors with the liquidity they need to trade a broad array of equity and fixed-income products in any market condition. At Citadel Securities, the brightest minds in finance, science, and technology use powerful, advanced analytics to solve the market’s most critical challenges, turn big ideas into real-world outcomes, and accelerate their careers. For more information, visit [CitadelSecurities.com](https://www.citadelsecurities.com/?ref=alpaca.markets). ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/nezar/) About [Nezar Mansour](https://alpaca.markets/blog/author/nezar/) [Previous Post : Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) [Next Post : Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Spaceship and Alpaca Partnership # Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • October 30, 2023[0 Comments](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/#disqus_thread) ![Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca](https://alpaca.markets/blog/content/images/2023/10/spaceship-customer-story@3x.png) In the dynamic realm of financial technology, Spaceship is set to transform the investment experience for young Australians. The company has not only established itself as a visionary in the field but has strategically chosen Alpaca as a service provider to further enhance its offerings. It’s time to climb aboard this rocket ship! [![](https://alpaca.markets/blog/content/images/2023/08/broker-blog-cta-19.png)](https://hubs.la/Q026VBsN0?ref=alpaca.markets) ### About Spaceship Founded in 2016, Australia’s [Spaceship](https://www.spaceship.com.au/?ref=alpaca.markets) has been at the forefront of changing how young individuals approach and invest their money. The company's legacy is rooted in a timeline of innovations, starting with the launch of Spaceship Super (a retirement product) in 2017, followed by the introduction of the Spaceship Voyager managed funds in 2018, reaching milestones of 200k customers and A$1 billion in funds under management (FUM) by mid-2021. The recent addition of US Investing in September 2023 expands Spaceship's offering substantially. ![Quote from Andrew Moore, CEO at Spaceship](https://lh7-us.googleusercontent.com/1pnt83EGpJKwAropQNtSz8eyylNoANKoQnP7gIaEAksm24fSX7XzBelnL-hWeUr44dIhMbjT9oonb-wt4BHQrG3Qr_WtUpzhjBp_wtlILsHlN-81mzpNrbqbUHd2DI1bWNJ8IPxQeaHDyQG9FXfhVuo) ### Spaceship’s Mission Spaceship is on a mission to transform the mindset of young people regarding money and investments. Guided by forward-thinking, accessibility, curiosity, transparency, and straightforwardness, Spaceship aims to make investing not just a financial activity but a journey of discovery. ### Spaceship’s Key Benefits Spaceship continues to listen and address critical pain points faced by its Australian investors. Current solutions include easy access to US companies and ETFs, the ability to track and buy shares in Australian dollars, centralized management of investment portfolios, and the convenience of setting up automated investment plans for dollar-cost averaging. Spaceship boasts features such as buying fractional shares with as little as A$10, seamless search functionalities, and unlimited trades for a low monthly fee instead of a traditional per trade fee. Perfect for long-term investors, Spaceship provides a one-stop solution for managing Spaceship Voyager, Spaceship Super, and US investments (with as many investment plans as customers want). ![A visual of smartphones showing Spaceship AU features such as fractional shares and low fees](https://lh7-us.googleusercontent.com/Dt9h389vyCthO1WaTOUH5_AiQ1WUmIVFEhsptPkRjtBNOJpBixwL48-kMbrIX2vQroD_deaqSs-rBHGP8HHhNjuugacQROvvOpSQn7vljfWUrEJs2_rD-0UPG771n8cSuNEJsuAit_dj3e_VwROHGFs) ### Spaceship Partners with Alpaca Spaceship's decision to partner with Alpaca is grounded in the Local Currency Trading product; offering Aussie-dollar trading, settlement, and market data. This synergy provides a localized currency experience for Australian customers who wish to invest in the US markets, eliminating the need for complex FX conversions. ![Quote from Anhtai Anhtuan, CPO at Spaceship](https://lh7-us.googleusercontent.com/Mw9kJtoUKfvYaJeCC3gluQCGD2wjq8PjeSd0OgrhyBwdZtXBTuEoEHeZhgrNRLbMMA0fg92FG2aUhYEBjaz-U4G8WV-fOh__t5GZhsPgBwrhjJOtvNiQ9hwjQEAHTnzuoOnfa_24yij55NVl_x5mAis) ### Alpaca and Spaceship Driving Immediate Impact Together **Step 1: Crafting a Seamless Experience** _Researching and Building the Foundation_ Spaceship embarked on the journey of integrating Alpaca's Broker API to elevate its investment solution. The process commenced with a thorough exploration of the API through Postman and curl, laying the groundwork for a seamless connection. _Order Flows and Real-world Testing_ The team transitioned to building order flows for buying and selling. This included getting an estimate, creating the order and handling processing events related to that order. Spaceship strategically selected only a subset of assets for initial testing. This pragmatic approach allowed Spaceship to simplify the process, ensuring a smooth execution while dealing with limited data. _Enhancing Data Displays and Operational Flows_ Spaceship focused on refining the user experience by enhancing data displays for assets, including real-time prices, historical data, and market status. Concurrently, operational flows and reconciliation processes were scrutinized, incorporating insights gained from real-life order testing. **Step 2: Building Operational Resilience** _Detailed Reconciliation Reports and Document Integration_ Delving into the intricacies of order and funding flows, Spaceship generated detailed reconciliation reports from the daily data provided through the Broker API. Early implementation ensured a comprehensive understanding from the start, allowing agile adaptation to any unforeseen changes. The integration with documents provided customers with on-demand access to trade confirmations and account statements. _Customer Onboarding and KYC Integration_ Spaceship proceeded to streamline the customer onboarding flow, addressing non-trade activities such as dividends and corporate actions. A swift follow-up involved extending the onboarding process through the Broker API to include collecting and providing Customer Identification Program (CIP) data, aligning seamlessly with Spaceship's own Know Your Customer (KYC) process. **Step 3: Overcoming Unique Challenges** _Powering Real-Time Trading for AUD_ One of the unique challenges successfully tackled with the Broker API was real-time US stock trading and ETF investing with Australian Dollars. Spaceship leveraged the Local Currency Trading product, allowing users to: access US markets, view positions, monitor prices, and execute orders in Australian Dollars. This greatly enhanced accessibility for Australian investors. **Step 4: Scaling Together** _Syncing and Updating Assets_ Confident in the initial set of assets, Spaceship expanded its capabilities by creating a system to sync and update assets in alignment with the evolving Broker API. The integration of the logos API further enriched the visual representation of assets, contributing to a cohesive and dynamic user interface. **Step 5: User Feedback and Continuous Improvement** _Customer-Centric Success_ Since the launch, Spaceship has received valuable feedback from its Australian investor-focused customer base. Users appreciate the simplicity of their experience and the ability to manage US investments in Australian Dollars. The positive response underscores the impact of the data and functionality provided by the Broker API, aligning with Spaceship's commitment to a customer-centric experience. As Spaceship continues to redefine the investment landscape in Australia, the partnership with Alpaca reinforces its commitment to delivering a seamless, customer-centric, and globally accessible financial solution for a young, modern generation. ![](https://lh7-us.googleusercontent.com/8TIUJPNYTiVKmQAVTx0ntjw6YjkqS0bW70JmQd85bSCu1oq3mHzNFcyYMbQsxv5Eu1mxPVlg-1DhlL1CJpcV1ZXLexx5CNrngGcpgxjwRHP9mNoQcC-dgjMOt1iztguhsJrxof0ChO_qcuVgS7dMkac) ### About Alpaca Alpaca is a developer-first API brokerage platform that’s raised over $120m in funding. Alpaca offers stock and crypto trading, real-time market data, and end-to-end brokerage infrastructure through modern APIs. Alpaca is backed by top investors in the industry globally, including Portage Ventures, Spark Capital, Tribe Capital, Social Leverage, Horizons Ventures, Unbound, SBI Group, Eldridge, Positive Sum, Elefund, and Y Combinator. ### Let's See How We Can Partner Together * * * Alpaca and Spaceship Capital Limited ("Spaceship") are not affiliated and neither are responsible for the liabilities of the other. All investments involve risk and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Keep in mind that while diversification may help spread risk it does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing. Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member [FINRA](https://www.finra.org/?ref=alpaca.markets)/ [SIPC](https://www.sipc.org/?ref=alpaca.markets), a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc. Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the [Disclosure Library](https://alpaca.markets/disclosures?ref=alpaca.markets) for more information. This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable. ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) [Next Post : Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Instant Funding for Trading # Swift Investment Experience with Instant Funding for Broker API By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 12, 2024[0 Comments](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/#disqus_thread) ![Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/content/images/2024/07/learn_instant-fund-broker-api.png) One of the key metrics for consumer investment apps is reducing the time to trade once an account is opened. However, slow funding can be a big friction for this engagement. To provide a seamless user experience, Alpaca has launched **Instant Funding for Broker API**, a new payment feature that gives your end customers instant buying power to start trading right away. ## **Customers Begin Investing Immediately with Broker API** Buying power is the availability of funds to investors in their brokerage accounts to begin purchasing assets. Due to fund transfer settlement times, market holidays, weekends, documentation errors, or time zone differences, customers often experience delays to receive their buying power. With Instant Funding for Broker API, we improve the customer experience by allowing your end-users to begin trading immediately without waiting for funds to arrive and settle. 💡 **How can Embedding Instant Funding Help?** It helps to make the trading experience quicker, smoother, and more consistent. With instant funding, partners can remove the barrier of waiting 1-4 business days for their customers and let them trade instantly, leading to better engagement and reducing churn rates. ## **Single Bulk Payment to Settle Customer Accounts with Broker API** ### **Funding Mechanism for Streamlined Flow of Funds** Alpaca offers various funding models that help partners streamline their operational flow of funds. With the addition of Instant Funding for Broker API, you can wave goodbye to multiple international wires or domestic ACH transfers. Instead, a single payment is due on the the settlement date, removing the friction of creating batch journals or individual wires to fund every customer’s account. This simplifies reconciliation and ensures that you will be able to support your customers’ funding activity at scale. To learn about the settlement date for instant funding transfers, how interest is late payments, and more read our [FAQs](https://alpaca.markets/support/instant-funding-faq-who-is-it-for-broker-api-prospects-or-existing-partners-servicing-international-clients-interested-in-learning-more-about-instant-funding-for-broker-api-what-is-the?ref=alpaca.markets). ### **Open Additional Revenue Streams** You can generate an additional revenue stream via an additional markup fee. This is dynamic and customizable, enabling you to strategically configure a spread markup based on your business needs and goals. ### **Set Specific Limits to End-Customer Accounts** Alpaca offers instant buying power of up to $1,000 per account while waiting for electronic fund transfers to arrive and settle. Broker API partners will have the ability to set specific funding and deposit limits for customers. Note that firm-level instant funding limits apply. ## **Instant Funding’s Summarized Features** - Enable access to instant buying power for end customers to start trading immediately - Eliminate the need to pre-fund with Alpaca on T+0 for stock trading - Configure a flexible fee mark-up to generate additional revenue streams - Set specific limits on customer accounts for instant funding - Integrate seamlessly with Broker API - Support stock trading - Streamlined and compliant reconciliation flow managed via API ## **Instant Funding Availability** Instant Funding for Broker API is currently available to select international partners who fulfill certain eligibility requirements. To learn more, please contact our sales experts below. To learn about the settlement date for stocks, limits, and more, read our [FAQs](https://alpaca.markets/support/instant-funding-faq-who-is-it-for-broker-api-prospects-or-existing-partners-servicing-international-clients-interested-in-learning-more-about-instant-funding-for-broker-api-what-is-the?ref=alpaca.markets). ## **For Existing Broker API Partners** Please contact your Customer Success Manager or our global support team to learn more: [Message our Global Support Team](mailto:brokersupport@alpaca.markets) ## **For Future Partners** If you are new to Broker API and are interested in learning more about Instant Funding: [Message our Sales Experts](mailto:sales@alpaca.markets) * * * _The content article is for general information only and is believed to be accurate as of posting date but may be subject to change. Alpaca does not provide investment, tax, or legal advice. Please consult your own independent advisor as to any investment, tax, or legal statements made herein._ _All investments involve risk, and the past performance of a security, or financial product does not guarantee future results or returns. There is no guarantee that any investment strategy will achieve its objectives. Please note that diversification does not assure a profit, or protect against loss. There is always the potential of losing money when you invest in securities, or other financial products. Investors should consider their investment objectives and risks carefully before investing._ _Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member_ [_FINRA_](https://www.finra.org/?ref=alpaca.markets) _/_ [_SIPC_](https://www.sipc.org/?ref=alpaca.markets) _, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc._ _This is not an offer, solicitation of an offer, or advice to buy or sell securities or open a brokerage account in any jurisdiction where Alpaca Securities are not registered or licensed, as applicable._ ### Interested in learning more about Broker API? Don't miss out on any updates about our Broker API suite of solutions! Share your details with us and be the first to know about our latest content. ![Close modal](https://alpaca.markets/img/x.png) [![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689)](https://alpaca.markets/blog/author/patrick/) About [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() Disqus Comments We were unable to load Disqus. If you are a moderator please see our [troubleshooting guide](https://docs.disqus.com/help/83/). tempest.services.disqus.com # tempest.services.disqus.com is blocked This page has been blocked by an extension - Try disabling your extensions. ERR\_BLOCKED\_BY\_CLIENT Reload This page has been blocked by an extension ![]()![]() [Previous Post : Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) [Next Post : Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) ×You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto ×Welcome back! You've successfully signed in. ×Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Blog Updates ## [Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) By [Luke West](https://alpaca.markets/blog/author/luke/) • April 23, 2025[0 Comments](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/#disqus_thread) [![Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership](https://alpaca.markets/blog/content/images/2025/04/blog-series-c.png)](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) Alpaca announces their Series C funding of $52 million, accelerating their global expansion and development of industry-leading product offerings. [Continue Reading](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) ## [Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) By [Luke West](https://alpaca.markets/blog/author/luke/) • March 13, 2025[0 Comments](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/#disqus_thread) [![Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/content/images/2025/03/blog-stocktwits-article.png)](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) Learn how Alpaca's Stocktwits API integration helps Broker API partners increase trader confidence with community-driven insights and industry news. [Continue Reading](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) ## [Dime!: Revolutionizing Investing in Thailand with Alpaca](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • March 10, 2025[0 Comments](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/#disqus_thread) [![Dime!: Revolutionizing Investing in Thailand with Alpaca](https://alpaca.markets/blog/content/images/2025/03/dime_customer-story.png)](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) Learn more about how Dime! is bringing fun and accessible investing to Thailand through fractional shares, affordable tax filing and more. [Continue Reading](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) ## [Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • February 25, 2025[0 Comments](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/#disqus_thread) [![Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/content/images/2025/02/blog_options-lvl-3-live-announcemnent.png)](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) Level 3 options trading is now available with Alpaca's Trading API and Dashboard. Learn more about how to get started with multi-leg options trading at Alpaca. [Continue Reading](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) ## [Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) By [Luke West](https://alpaca.markets/blog/author/luke/) • January 20, 2025[0 Comments](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/#disqus_thread) [![Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX](https://alpaca.markets/blog/content/images/2025/01/gitex-article.png)](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) We are excited to be attending GITEX's Ai Everything Global from February 4 to 6, 2025, in Abu Dhabi & Dubai! [Continue Reading](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Wealth Management Automation ### Tag: opinion Total 1 Post ## [The Automation of Wealth Management](https://alpaca.markets/blog/automation-of-wealth-management/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 03, 2018[0 Comments](https://alpaca.markets/blog/automation-of-wealth-management/#disqus_thread) [![The Automation of Wealth Management](https://alpaca.markets/blog/content/images/2020/03/1_4_oIV6jsM4ZHPmuaeMQGdQ--1-.jpeg)](https://alpaca.markets/blog/automation-of-wealth-management/) Software-driven automation is rapidly transforming the social and economic landscape, with some of the most prominent examples being autonomous vehicles and home assistants. [Continue Reading](https://alpaca.markets/blog/automation-of-wealth-management/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Commission-Free Trading Updates ### Tag: commission free Total 2 Posts ## [Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/non-us-live-trading-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 30, 2020[0 Comments](https://alpaca.markets/blog/non-us-live-trading-beta/#disqus_thread) [![Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/content/images/2020/07/non-US-alpaca.png)](https://alpaca.markets/blog/non-us-live-trading-beta/) Letting you know that we have started an invite-only beta program for non-US resident Alpaca users to open live-trading accounts ✌️. [Continue Reading](https://alpaca.markets/blog/non-us-live-trading-beta/) ## [Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/business-brokerage-account-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 17, 2020[0 Comments](https://alpaca.markets/blog/business-brokerage-account-beta/#disqus_thread) [![Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/content/images/2020/07/Alpaca_Business_Account.png)](https://alpaca.markets/blog/business-brokerage-account-beta/) Alpaca is launching business trading brokerage accounts Beta, the commission-free trading accounts for your business entities. [Continue Reading](https://alpaca.markets/blog/business-brokerage-account-beta/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Day Trading Insights ### Tag: day trading Total 4 Posts ## [Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2020[0 Comments](https://alpaca.markets/blog/oco-oto/#disqus_thread) [![Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png)](https://alpaca.markets/blog/oco-oto/) New advanced order types supported by Alpaca - this time we are launching OCO (One-Cancels-Other) and OTO (One-Triggers-Other) [Continue Reading](https://alpaca.markets/blog/oco-oto/) ## [Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 10, 2020[0 Comments](https://alpaca.markets/blog/bracket-orders/#disqus_thread) [![Bracket Orders on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order.png)](https://alpaca.markets/blog/bracket-orders/) Trying to stay within a target price range while stock trading? Alpaca is here to help with all-new bracket order functionality. [Continue Reading](https://alpaca.markets/blog/bracket-orders/) ## [Alpaca Trading within TradingView](https://alpaca.markets/blog/tradingview-api-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • November 11, 2019[0 Comments](https://alpaca.markets/blog/tradingview-api-integration/#disqus_thread) [![Alpaca Trading within TradingView](https://alpaca.markets/blog/content/images/2020/03/alpaca-tradingview.png)](https://alpaca.markets/blog/tradingview-api-integration/) Stock trading with Alpaca from TradingView platform - Now you can get all the benefits of real-time market data, charting, and algorithmic trading together in one place. [Continue Reading](https://alpaca.markets/blog/tradingview-api-integration/) ## [Manual Trading Widget on Alpaca](https://alpaca.markets/blog/manual-trading-widget/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 11, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-widget/#disqus_thread) [![Manual Trading Widget on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-manual-trading.png)](https://alpaca.markets/blog/manual-trading-widget/) Manual trading widget on the main dashboard! Trading with an API or algos doesn’t always need to be fully automated :) [Continue Reading](https://alpaca.markets/blog/manual-trading-widget/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Zapier Integration Features ### Tag: zapier Total 1 Post ## [Zapier Integration & User Configuration Features](https://alpaca.markets/blog/zapier-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 16, 2019[0 Comments](https://alpaca.markets/blog/zapier-integration/#disqus_thread) [![Zapier Integration & User Configuration Features](https://alpaca.markets/blog/content/images/2020/03/download.jpeg)](https://alpaca.markets/blog/zapier-integration/) Zapier integration, replace order feature, and more were released from Alpaca! [Continue Reading](https://alpaca.markets/blog/zapier-integration/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Trading Algorithms Overview ### Tag: trading algorithm Total 2 Posts ## [TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/tradingview-oco-tradetron/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 22, 2020[0 Comments](https://alpaca.markets/blog/tradingview-oco-tradetron/#disqus_thread) [![TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/content/images/2020/09/friends.jpg)](https://alpaca.markets/blog/tradingview-oco-tradetron/) Announcing TradingView OCO & Tradetron launch on Alpaca. Alpaca continues to add the integration partners. [Continue Reading](https://alpaca.markets/blog/tradingview-oco-tradetron/) ## [Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 03, 2020[0 Comments](https://alpaca.markets/blog/trading-competition/#disqus_thread) [![Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/content/images/2020/07/trading-competiton-1.png)](https://alpaca.markets/blog/trading-competition/) Alpaca is launching the Alpaca Trading Competition where all the quants, developers, tech-savvy traders can participate globally [Continue Reading](https://alpaca.markets/blog/trading-competition/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Market Data Insights ### Tag: market data Total 15 Posts ## [Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 07, 2022[0 Comments](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/#disqus_thread) [![Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/content/images/2022/02/News_API_Illustration.png)](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) Alpaca extends Market Data API to include News API, which provides developers with access to real-time and historical financial news. [Continue Reading](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) ## [Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • January 28, 2022[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/#disqus_thread) [![Alpaca Partners with Benzinga to Deliver Real-Time Embedded Financial News & Data](https://alpaca.markets/blog/content/images/2022/01/Benzinga-Announcement-Blog--1-.png)](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) In partnership with Benzinga, Alpaca expands its Market Data API offering to include financial news and company logos. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-benzinga-to-deliver-real-time-embedded-financial-news/) ## [Market Data API v1 Sunset Notification](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • January 24, 2022[0 Comments](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/#disqus_thread) [![Market Data API v1 Sunset Notification](https://alpaca.markets/blog/content/images/2022/01/Data-API-v1-Breaking-Change--2-.png)](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) Market Data API v1 endpoints and documentation will sunset on March 15, 2022. [Continue Reading](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) ## [Alpaca and Snap Inc. Bring Stock Data to Augmented Reality](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 08, 2021[0 Comments](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/#disqus_thread) [![Alpaca and Snap Inc. Bring Stock Data to Augmented Reality](https://alpaca.markets/blog/content/images/2021/12/Snap-Partnership-Graphic_blog_V02--2-.png)](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) Alpaca and Snap Inc. collaborate to bring stock market data to augmented reality. [Continue Reading](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) ## [Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 06, 2021[0 Comments](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/#disqus_thread) [![Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/content/images/2021/11/TradingView-Announcement_blog.png)](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) TradingView’s advanced charting integration on the Alpaca dashboard is now powered by Market Data API. [Continue Reading](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Insights ### Tag: tradingview Total 2 Posts ## [Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 03, 2020[0 Comments](https://alpaca.markets/blog/trading-competition/#disqus_thread) [![Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/content/images/2020/07/trading-competiton-1.png)](https://alpaca.markets/blog/trading-competition/) Alpaca is launching the Alpaca Trading Competition where all the quants, developers, tech-savvy traders can participate globally [Continue Reading](https://alpaca.markets/blog/trading-competition/) ## [Alpaca Trading within TradingView](https://alpaca.markets/blog/tradingview-api-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • November 11, 2019[0 Comments](https://alpaca.markets/blog/tradingview-api-integration/#disqus_thread) [![Alpaca Trading within TradingView](https://alpaca.markets/blog/content/images/2020/03/alpaca-tradingview.png)](https://alpaca.markets/blog/tradingview-api-integration/) Stock trading with Alpaca from TradingView platform - Now you can get all the benefits of real-time market data, charting, and algorithmic trading together in one place. [Continue Reading](https://alpaca.markets/blog/tradingview-api-integration/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Python 3.6 Deprecation ### Tag: deprecation Total 1 Post ## [Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/python36-end-of-life/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/python36-end-of-life/#disqus_thread) [![Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/content/images/2021/12/How-to-Use-OAuth-to-Create-Your-Own-Trading-App-With-NodeJS_blog-4.png)](https://alpaca.markets/blog/python36-end-of-life/) On December 23rd 2021, Python 3.6 will reach its end of life and it will stop being maintained. There will not be any new updates to Python 3.6 after that date, including any bug fixes or security patches. [Continue Reading](https://alpaca.markets/blog/python36-end-of-life/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Free Stock Data APIs ### Tag: stock data Total 4 Posts ## [Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/stock-market-data-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 07, 2020[0 Comments](https://alpaca.markets/blog/stock-market-data-api/#disqus_thread) [![Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/content/images/2020/05/01.jpg)](https://alpaca.markets/blog/stock-market-data-api/) Alpaca Data API is free real-time stock market data API for building your algorithmic trading strategies or trading/investing applications. [Continue Reading](https://alpaca.markets/blog/stock-market-data-api/) ## [MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 18, 2019[0 Comments](https://alpaca.markets/blog/websocket-moc-cors/#disqus_thread) [![MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/content/images/2020/03/0_P2DkWhzqgLWpM7Hk.jpeg)](https://alpaca.markets/blog/websocket-moc-cors/) Launching market-on-close, limit-on-close orders, WebSocket, and more and more! [Continue Reading](https://alpaca.markets/blog/websocket-moc-cors/) ## [Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) [![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg)](https://alpaca.markets/blog/paper-trading-api/) In our continuous effort to make automated trading more accessible, we are pleased to announce the Alpaca Paper Trading API to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. [Continue Reading](https://alpaca.markets/blog/paper-trading-api/) ## [MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2018[0 Comments](https://alpaca.markets/blog/marketstore-opensource-database/#disqus_thread) [![MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/content/images/2020/03/fruits.jpeg)](https://alpaca.markets/blog/marketstore-opensource-database/) We are happy to announce MarketStore is now open source! MarketStore is a database server optimized for financial timeseries data written in pure Go, designed and developed by Alpaca. [Continue Reading](https://alpaca.markets/blog/marketstore-opensource-database/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Stock Broker Blog ### Tag: stock broker Total 12 Posts ## [Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/non-us-live-trading-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 30, 2020[0 Comments](https://alpaca.markets/blog/non-us-live-trading-beta/#disqus_thread) [![Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/content/images/2020/07/non-US-alpaca.png)](https://alpaca.markets/blog/non-us-live-trading-beta/) Letting you know that we have started an invite-only beta program for non-US resident Alpaca users to open live-trading accounts ✌️. [Continue Reading](https://alpaca.markets/blog/non-us-live-trading-beta/) ## [Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/portfolio-history-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 16, 2020[0 Comments](https://alpaca.markets/blog/portfolio-history-api/#disqus_thread) [![Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/content/images/2020/03/photo-1461360370896-922624d12aa1.jpeg)](https://alpaca.markets/blog/portfolio-history-api/) Now Portfolio History API allows you to flexibly visualize your portfolio performance in real-time. It is now much easier to make your DIY stock trading app pretty ? [Continue Reading](https://alpaca.markets/blog/portfolio-history-api/) ## [Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2020[0 Comments](https://alpaca.markets/blog/oco-oto/#disqus_thread) [![Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png)](https://alpaca.markets/blog/oco-oto/) New advanced order types supported by Alpaca - this time we are launching OCO (One-Cancels-Other) and OTO (One-Triggers-Other) [Continue Reading](https://alpaca.markets/blog/oco-oto/) ## [Web Dashboard Gets A Facelift](https://alpaca.markets/blog/web-dashboard-update/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 18, 2020[0 Comments](https://alpaca.markets/blog/web-dashboard-update/#disqus_thread) [![Web Dashboard Gets A Facelift](https://alpaca.markets/blog/content/images/2020/03/alpaca-ui-update.png)](https://alpaca.markets/blog/web-dashboard-update/) The Alpaca web dashboard just got a whole lot better. New UI improvements add functionality and clarity to profiles, account settings, banking, and more. Check it out! [Continue Reading](https://alpaca.markets/blog/web-dashboard-update/) ## [Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 10, 2020[0 Comments](https://alpaca.markets/blog/bracket-orders/#disqus_thread) [![Bracket Orders on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order.png)](https://alpaca.markets/blog/bracket-orders/) Trying to stay within a target price range while stock trading? Alpaca is here to help with all-new bracket order functionality. [Continue Reading](https://alpaca.markets/blog/bracket-orders/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. [iframe](about:blank) ## Giovana Avoni's Insights ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Giovana Avoni 1 Post ## [Alpaca's 2023 Year in Review](https://alpaca.markets/blog/alpaca-2023-year-in-review/) By [Giovana Avoni](https://alpaca.markets/blog/author/giovana/) • January 04, 2024[0 Comments](https://alpaca.markets/blog/alpaca-2023-year-in-review/#disqus_thread) [![Alpaca's 2023 Year in Review](https://alpaca.markets/blog/content/images/2024/01/2023-recap-blog-copy@3x.png)](https://alpaca.markets/blog/alpaca-2023-year-in-review/) Welcome to Alpaca's Year-in-Review – a journey through the milestones, partnerships, and innovations that have shaped our remarkable year in 2023. As we are now full speed running in 2024, we are truly grateful for your continuous support. Please join us in revisiting the key moments in 2023 that [Continue Reading](https://alpaca.markets/blog/alpaca-2023-year-in-review/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Trading Competition Announcement ### Tag: Getting Started Total 1 Post ## [The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/2nd-trade-contest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/2nd-trade-contest/#disqus_thread) [![The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/content/images/2020/10/trade_contest.png)](https://alpaca.markets/blog/2nd-trade-contest/) The second Trade Contest is starting on Oct 26 (Mon), a 4-week-long contest where participants compete in a simulated market. [Continue Reading](https://alpaca.markets/blog/2nd-trade-contest/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. ## Rahul Chowdhury's SDK Updates ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Rahul Chowdhury 6 Posts ## [SDK Release Notes: May 2022](https://alpaca.markets/blog/untitled/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • June 02, 2022[0 Comments](https://alpaca.markets/blog/untitled/#disqus_thread) [![SDK Release Notes: May 2022](https://alpaca.markets/blog/content/images/2022/06/may-2022-sdk-release-notes.png)](https://alpaca.markets/blog/untitled/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/untitled/) ## [SDK Release Notes: April 2022](https://alpaca.markets/blog/sdk-release-notes-april/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • May 06, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-april/#disqus_thread) [![SDK Release Notes: April 2022](https://alpaca.markets/blog/content/images/2022/05/April-2022--SDK-Release-Notes.png)](https://alpaca.markets/blog/sdk-release-notes-april/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-april/) ## [SDK Release Notes: March 2022](https://alpaca.markets/blog/sdk-release-notes-march-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • April 08, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-march-2022/#disqus_thread) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. These are the monthly release notes. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-march-2022/) ## [SDK Release Notes: February 2022](https://alpaca.markets/blog/release-notes-feb-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/release-notes-feb-2022/#disqus_thread) [![SDK Release Notes: February 2022](https://alpaca.markets/blog/content/images/2022/03/February-2022_SDK-Release-Notes-5.png)](https://alpaca.markets/blog/release-notes-feb-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. These are the SDK updates for February 2022. [Continue Reading](https://alpaca.markets/blog/release-notes-feb-2022/) ## [SDK Release Notes - January 2022](https://alpaca.markets/blog/sdk-release-notes-january-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • February 02, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-january-2022/#disqus_thread) [![SDK Release Notes - January 2022](https://alpaca.markets/blog/content/images/2022/02/SDK-Release-Notes-January-2022_blog-1.png)](https://alpaca.markets/blog/sdk-release-notes-january-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-january-2022/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Bitcoin Trading Insights ### Tag: Bitcoin Total 2 Posts ## [50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) [![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg)](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) In our last post “How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source MarketStore. [Continue Reading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) ## [How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 08, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/#disqus_thread) [![How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data.png)](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) You want to test your algo when you drop the very first version. But you also want to test the algo when you make changes or adjustments while the algo is running. [Continue Reading](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Open Source ### Tag: opensource Total 6 Posts ## [SDK Release Notes: May 2022](https://alpaca.markets/blog/untitled/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • June 02, 2022[0 Comments](https://alpaca.markets/blog/untitled/#disqus_thread) [![SDK Release Notes: May 2022](https://alpaca.markets/blog/content/images/2022/06/may-2022-sdk-release-notes.png)](https://alpaca.markets/blog/untitled/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/untitled/) ## [SDK Release Notes: April 2022](https://alpaca.markets/blog/sdk-release-notes-april/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • May 06, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-april/#disqus_thread) [![SDK Release Notes: April 2022](https://alpaca.markets/blog/content/images/2022/05/April-2022--SDK-Release-Notes.png)](https://alpaca.markets/blog/sdk-release-notes-april/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-april/) ## [SDK Release Notes: March 2022](https://alpaca.markets/blog/sdk-release-notes-march-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • April 08, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-march-2022/#disqus_thread) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. These are the monthly release notes. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-march-2022/) ## [SDK Release Notes: February 2022](https://alpaca.markets/blog/release-notes-feb-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/release-notes-feb-2022/#disqus_thread) [![SDK Release Notes: February 2022](https://alpaca.markets/blog/content/images/2022/03/February-2022_SDK-Release-Notes-5.png)](https://alpaca.markets/blog/release-notes-feb-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. These are the SDK updates for February 2022. [Continue Reading](https://alpaca.markets/blog/release-notes-feb-2022/) ## [SDK Release Notes - January 2022](https://alpaca.markets/blog/sdk-release-notes-january-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • February 02, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-january-2022/#disqus_thread) [![SDK Release Notes - January 2022](https://alpaca.markets/blog/content/images/2022/02/SDK-Release-Notes-January-2022_blog-1.png)](https://alpaca.markets/blog/sdk-release-notes-january-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-january-2022/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Trading Insights and Competitions ### Tag: Trading Total 2 Posts ## [Introducing Fractional Trading](https://alpaca.markets/blog/fractional-trading/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 03, 2021[0 Comments](https://alpaca.markets/blog/fractional-trading/#disqus_thread) [![Introducing Fractional Trading](https://alpaca.markets/blog/content/images/2021/03/Untitled--4-.png)](https://alpaca.markets/blog/fractional-trading/) We are proud to announce that our trading APIs now support fractional shares [Continue Reading](https://alpaca.markets/blog/fractional-trading/) ## [Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 03, 2020[0 Comments](https://alpaca.markets/blog/trading-competition/#disqus_thread) [![Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/content/images/2020/07/trading-competiton-1.png)](https://alpaca.markets/blog/trading-competition/) Alpaca is launching the Alpaca Trading Competition where all the quants, developers, tech-savvy traders can participate globally [Continue Reading](https://alpaca.markets/blog/trading-competition/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca SDK Overview ### Tag: sdk Total 7 Posts ## [Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 27, 2022[0 Comments](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/#disqus_thread) [![Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/content/images/2022/07/blog_alpaca-py-1.png)](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) Introducing Alpaca-py, ? Our official Python SDK that enables app developers and traders to easily interact with Alpaca's complete suite of API products. [Continue Reading](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) ## [SDK Release Notes: May 2022](https://alpaca.markets/blog/untitled/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • June 02, 2022[0 Comments](https://alpaca.markets/blog/untitled/#disqus_thread) [![SDK Release Notes: May 2022](https://alpaca.markets/blog/content/images/2022/06/may-2022-sdk-release-notes.png)](https://alpaca.markets/blog/untitled/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/untitled/) ## [SDK Release Notes: April 2022](https://alpaca.markets/blog/sdk-release-notes-april/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • May 06, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-april/#disqus_thread) [![SDK Release Notes: April 2022](https://alpaca.markets/blog/content/images/2022/05/April-2022--SDK-Release-Notes.png)](https://alpaca.markets/blog/sdk-release-notes-april/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-april/) ## [SDK Release Notes: March 2022](https://alpaca.markets/blog/sdk-release-notes-march-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • April 08, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-march-2022/#disqus_thread) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. These are the monthly release notes. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-march-2022/) ## [SDK Release Notes: February 2022](https://alpaca.markets/blog/release-notes-feb-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/release-notes-feb-2022/#disqus_thread) [![SDK Release Notes: February 2022](https://alpaca.markets/blog/content/images/2022/03/February-2022_SDK-Release-Notes-5.png)](https://alpaca.markets/blog/release-notes-feb-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. These are the SDK updates for February 2022. [Continue Reading](https://alpaca.markets/blog/release-notes-feb-2022/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## MarketStore Database Insights ### Tag: database Total 3 Posts ## [9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) [![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg)](https://alpaca.markets/blog/marketstore-faq/) I have posted three articles, and these articles generated a lot of great comments and questions. [Continue Reading](https://alpaca.markets/blog/marketstore-faq/) ## [50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) [![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg)](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) In our last post “How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source MarketStore. [Continue Reading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) ## [MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2018[0 Comments](https://alpaca.markets/blog/marketstore-opensource-database/#disqus_thread) [![MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/content/images/2020/03/fruits.jpeg)](https://alpaca.markets/blog/marketstore-opensource-database/) We are happy to announce MarketStore is now open source! MarketStore is a database server optimized for financial timeseries data written in pure Go, designed and developed by Alpaca. [Continue Reading](https://alpaca.markets/blog/marketstore-opensource-database/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Margin Trading Insights ### Tag: margin trading Total 1 Post ## [Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/commission-free-short-selling/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 08, 2019[0 Comments](https://alpaca.markets/blog/commission-free-short-selling/#disqus_thread) [![Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/content/images/2020/03/1_canI2LSf-psNSf7FlPn_HQ.png)](https://alpaca.markets/blog/commission-free-short-selling/) Commission-free short selling finally came to Alpaca. In addition to this, we are introducing margin trading as well. [Continue Reading](https://alpaca.markets/blog/commission-free-short-selling/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## AI Trading Insights ### Tag: Artificial Ingelligence Total 2 Posts ## [9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) [![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg)](https://alpaca.markets/blog/marketstore-faq/) I have posted three articles, and these articles generated a lot of great comments and questions. [Continue Reading](https://alpaca.markets/blog/marketstore-faq/) ## [50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) [![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg)](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) In our last post “How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source MarketStore. [Continue Reading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Open-Source Mobile App ### Tag: build app Total 1 Post ## [Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) [![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png)](https://alpaca.markets/blog/open-source-mobile-trading-app/) Introducing an example mobile app “Alpaca Dashboard” on the App Store and its code in full open-sourced on the GitHub repo. The app is built on React Native. [Continue Reading](https://alpaca.markets/blog/open-source-mobile-trading-app/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Python Resources ### Tag: python Total 2 Posts ## [Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 27, 2022[0 Comments](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/#disqus_thread) [![Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/content/images/2022/07/blog_alpaca-py-1.png)](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) Introducing Alpaca-py, ? Our official Python SDK that enables app developers and traders to easily interact with Alpaca's complete suite of API products. [Continue Reading](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) ## [Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/python36-end-of-life/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/python36-end-of-life/#disqus_thread) [![Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/content/images/2021/12/How-to-Use-OAuth-to-Create-Your-Own-Trading-App-With-NodeJS_blog-4.png)](https://alpaca.markets/blog/python36-end-of-life/) On December 23rd 2021, Python 3.6 will reach its end of life and it will stop being maintained. There will not be any new updates to Python 3.6 after that date, including any bug fixes or security patches. [Continue Reading](https://alpaca.markets/blog/python36-end-of-life/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Financial Market Insights ### Tag: financial market Total 2 Posts ## [9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) [![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg)](https://alpaca.markets/blog/marketstore-faq/) I have posted three articles, and these articles generated a lot of great comments and questions. [Continue Reading](https://alpaca.markets/blog/marketstore-faq/) ## [50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) [![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg)](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) In our last post “How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source MarketStore. [Continue Reading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Stock API ### Tag: stock api Total 14 Posts ## [Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/stock-market-data-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 07, 2020[0 Comments](https://alpaca.markets/blog/stock-market-data-api/#disqus_thread) [![Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/content/images/2020/05/01.jpg)](https://alpaca.markets/blog/stock-market-data-api/) Alpaca Data API is free real-time stock market data API for building your algorithmic trading strategies or trading/investing applications. [Continue Reading](https://alpaca.markets/blog/stock-market-data-api/) ## [Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/portfolio-history-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 16, 2020[0 Comments](https://alpaca.markets/blog/portfolio-history-api/#disqus_thread) [![Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/content/images/2020/03/photo-1461360370896-922624d12aa1.jpeg)](https://alpaca.markets/blog/portfolio-history-api/) Now Portfolio History API allows you to flexibly visualize your portfolio performance in real-time. It is now much easier to make your DIY stock trading app pretty ? [Continue Reading](https://alpaca.markets/blog/portfolio-history-api/) ## [Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 10, 2020[0 Comments](https://alpaca.markets/blog/bracket-orders/#disqus_thread) [![Bracket Orders on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order.png)](https://alpaca.markets/blog/bracket-orders/) Trying to stay within a target price range while stock trading? Alpaca is here to help with all-new bracket order functionality. [Continue Reading](https://alpaca.markets/blog/bracket-orders/) ## [Alpaca Introduces OAuth Support](https://alpaca.markets/blog/oauth/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 04, 2020[0 Comments](https://alpaca.markets/blog/oauth/#disqus_thread) [![Alpaca Introduces OAuth Support](https://alpaca.markets/blog/content/images/2020/03/alpaca-oauth.png)](https://alpaca.markets/blog/oauth/) We’re excited to introduce OAuth support to the Alpaca API! You can now build more things with Alpaca, thanks to the ability to use OAuth clients. Get started today. [Continue Reading](https://alpaca.markets/blog/oauth/) ## [Zapier Integration & User Configuration Features](https://alpaca.markets/blog/zapier-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 16, 2019[0 Comments](https://alpaca.markets/blog/zapier-integration/#disqus_thread) [![Zapier Integration & User Configuration Features](https://alpaca.markets/blog/content/images/2020/03/download.jpeg)](https://alpaca.markets/blog/zapier-integration/) Zapier integration, replace order feature, and more were released from Alpaca! [Continue Reading](https://alpaca.markets/blog/zapier-integration/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Algorithmic Trading Insights ### Tag: algorithmic trading Total 9 Posts ## [The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/2nd-trade-contest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/2nd-trade-contest/#disqus_thread) [![The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/content/images/2020/10/trade_contest.png)](https://alpaca.markets/blog/2nd-trade-contest/) The second Trade Contest is starting on Oct 26 (Mon), a 4-week-long contest where participants compete in a simulated market. [Continue Reading](https://alpaca.markets/blog/2nd-trade-contest/) ## [Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 03, 2020[0 Comments](https://alpaca.markets/blog/trading-competition/#disqus_thread) [![Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/content/images/2020/07/trading-competiton-1.png)](https://alpaca.markets/blog/trading-competition/) Alpaca is launching the Alpaca Trading Competition where all the quants, developers, tech-savvy traders can participate globally [Continue Reading](https://alpaca.markets/blog/trading-competition/) ## [Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/business-brokerage-account-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 17, 2020[0 Comments](https://alpaca.markets/blog/business-brokerage-account-beta/#disqus_thread) [![Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/content/images/2020/07/Alpaca_Business_Account.png)](https://alpaca.markets/blog/business-brokerage-account-beta/) Alpaca is launching business trading brokerage accounts Beta, the commission-free trading accounts for your business entities. [Continue Reading](https://alpaca.markets/blog/business-brokerage-account-beta/) ## [Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 29, 2020[0 Comments](https://alpaca.markets/blog/blueshift-backtest/#disqus_thread) [![Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-blueshift.png)](https://alpaca.markets/blog/blueshift-backtest/) A leading quant finance school QuantInsti and Alpaca team up to offer a super seamless experience in algo trading through Blueshift integration with Alpaca commission-free trading API [Continue Reading](https://alpaca.markets/blog/blueshift-backtest/) ## [Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 10, 2020[0 Comments](https://alpaca.markets/blog/bracket-orders/#disqus_thread) [![Bracket Orders on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order.png)](https://alpaca.markets/blog/bracket-orders/) Trying to stay within a target price range while stock trading? Alpaca is here to help with all-new bracket order functionality. [Continue Reading](https://alpaca.markets/blog/bracket-orders/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Short Selling Insights ### Tag: short selling Total 1 Post ## [Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/commission-free-short-selling/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 08, 2019[0 Comments](https://alpaca.markets/blog/commission-free-short-selling/#disqus_thread) [![Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/content/images/2020/03/1_canI2LSf-psNSf7FlPn_HQ.png)](https://alpaca.markets/blog/commission-free-short-selling/) Commission-free short selling finally came to Alpaca. In addition to this, we are introducing margin trading as well. [Continue Reading](https://alpaca.markets/blog/commission-free-short-selling/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Backtesting Insights ### Tag: backtest Total 2 Posts ## [Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 03, 2020[0 Comments](https://alpaca.markets/blog/trading-competition/#disqus_thread) [![Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/content/images/2020/07/trading-competiton-1.png)](https://alpaca.markets/blog/trading-competition/) Alpaca is launching the Alpaca Trading Competition where all the quants, developers, tech-savvy traders can participate globally [Continue Reading](https://alpaca.markets/blog/trading-competition/) ## [Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 29, 2020[0 Comments](https://alpaca.markets/blog/blueshift-backtest/#disqus_thread) [![Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-blueshift.png)](https://alpaca.markets/blog/blueshift-backtest/) A leading quant finance school QuantInsti and Alpaca team up to offer a super seamless experience in algo trading through Blueshift integration with Alpaca commission-free trading API [Continue Reading](https://alpaca.markets/blog/blueshift-backtest/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## MarketStore FAQs ### Tag: machine trading Total 1 Post ## [9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) [![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg)](https://alpaca.markets/blog/marketstore-faq/) I have posted three articles, and these articles generated a lot of great comments and questions. [Continue Reading](https://alpaca.markets/blog/marketstore-faq/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Start Your Hedge Fund ### Tag: how to start hedge fund Total 1 Post ## [Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/business-brokerage-account-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 17, 2020[0 Comments](https://alpaca.markets/blog/business-brokerage-account-beta/#disqus_thread) [![Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/content/images/2020/07/Alpaca_Business_Account.png)](https://alpaca.markets/blog/business-brokerage-account-beta/) Alpaca is launching business trading brokerage accounts Beta, the commission-free trading accounts for your business entities. [Continue Reading](https://alpaca.markets/blog/business-brokerage-account-beta/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Community Events ### Tag: community Total 4 Posts ## [Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/data-conference/) By [Jason Bohne](https://alpaca.markets/blog/author/jason/) • February 11, 2021[0 Comments](https://alpaca.markets/blog/data-conference/#disqus_thread) [![Our Next Virtual Conference: "Data: Modern Day Gold for Algorithmic Traders"](https://alpaca.markets/blog/content/images/2021/02/blog_cover-1.jpg)](https://alpaca.markets/blog/data-conference/) The Alpaca team is excited to host our second virtual conference "Data: Modern Day Gold for Algorithmic Traders" on March 5th, 2021 featuring speakers from Quiver Quantitative and TradingView. [Continue Reading](https://alpaca.markets/blog/data-conference/) ## [The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/2nd-trade-contest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/2nd-trade-contest/#disqus_thread) [![The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/content/images/2020/10/trade_contest.png)](https://alpaca.markets/blog/2nd-trade-contest/) The second Trade Contest is starting on Oct 26 (Mon), a 4-week-long contest where participants compete in a simulated market. [Continue Reading](https://alpaca.markets/blog/2nd-trade-contest/) ## [Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th](https://alpaca.markets/blog/algo-trading-conference/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 05, 2020[0 Comments](https://alpaca.markets/blog/algo-trading-conference/#disqus_thread) [![Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th](https://alpaca.markets/blog/content/images/2020/10/2020-10-16--7-.png)](https://alpaca.markets/blog/algo-trading-conference/) Alpaca is excited to host the series of algo trading conferences with fellow industry professionals. 1st one with Radovan of Quantpedia and Remy of Vauban. [Continue Reading](https://alpaca.markets/blog/algo-trading-conference/) ## [Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 03, 2020[0 Comments](https://alpaca.markets/blog/trading-competition/#disqus_thread) [![Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/content/images/2020/07/trading-competiton-1.png)](https://alpaca.markets/blog/trading-competition/) Alpaca is launching the Alpaca Trading Competition where all the quants, developers, tech-savvy traders can participate globally [Continue Reading](https://alpaca.markets/blog/trading-competition/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Data Security Insights ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Mariangela Martinez 1 Post ## [Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) By [Mariangela Martinez](https://alpaca.markets/blog/author/mariangela/) • August 07, 2024[0 Comments](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/#disqus_thread) [![Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/content/images/2023/07/v02_soc-2-blog_2023-2.png)](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) At Alpaca, we’re all about keeping your data safe and secure. This is why we are thrilled to announce the successful renewal of its SOC 2 Type 2 compliance. [Continue Reading](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Sasha Cotterell's Trading Insights ![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG) ### Sasha Cotterell 13 Posts ## [Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • November 02, 2021[0 Comments](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/#disqus_thread) [![Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/11/Midas-Concept1.png)](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) Powered by Broker API, Midas is Turkey's first fully digital stock brokerage offering access to both Turkish and US stock markets. [Continue Reading](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) ## [Alpaca Launches Developer-Friendly Crypto Trading API](https://alpaca.markets/blog/alpaca-launches-crypto-trading/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • October 26, 2021[0 Comments](https://alpaca.markets/blog/alpaca-launches-crypto-trading/#disqus_thread) [![Alpaca Launches Developer-Friendly Crypto Trading API](https://alpaca.markets/blog/content/images/2021/10/Crypto-GTM-Launch_Blog-cover-1.png)](https://alpaca.markets/blog/alpaca-launches-crypto-trading/) Alpaca launches easy to use, developer-friendly crypto trading API. Alpaca is excited to launch the public beta of its newest product: Alpaca Crypto API. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-crypto-trading/) ## [Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • September 30, 2021[0 Comments](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/#disqus_thread) [![Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/09/Lightyear-announcement_blog-cover@4x.png)](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) Lightyear enables simple and accessible trading of over 1,000 US stocks to UK investors. [Continue Reading](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Broker API ### Tag: broker api Total 47 Posts ## [Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 12, 2022[0 Comments](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/#disqus_thread) [![Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/04/Composer-Partnership-Announcement.png)](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) Composer, a trading platform, uses Alpaca Broker API to offer retail investors access to systematic investing strategies. [Continue Reading](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) ## [Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • March 22, 2022[0 Comments](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/#disqus_thread) [![Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/content/images/2022/03/Global-Stocks_Blog.png)](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) You can now invest in whole and fractional shares of international stocks like Nintendo, Adidas, Heineken, and Volkswagen via American depository receipts (ADRs). [Continue Reading](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) ## [Alpaca Crypto Extends to Broker API](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/#disqus_thread) [![Alpaca Crypto Extends to Broker API](https://alpaca.markets/blog/content/images/2022/03/Blog---Crypto-for-Broker-API-1.png)](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) Available in 49 U.S states and select international jurisdictions, Crypto for Broker API enables your end-users to access and trade more than 20 crypto coins. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) ## [Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 23, 2022[0 Comments](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/#disqus_thread) [![Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/content/images/2022/02/Final_Blog_ExtendedHours.png)](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) Full extended hours trading from 4 am to 8 pm ET enables you to quickly react to after-hours news and trade flexibly on your schedule. [Continue Reading](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) ## [Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 22, 2022[0 Comments](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/#disqus_thread) [![Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/content/images/2022/02/Corporate-Actions---Learn-Article---blog_cover-.png)](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) Corporate Actions API: Announcements provides information on previous and upcoming dividends, mergers, spinoffs, and stock splits. [Continue Reading](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Patrick Valoppi's Trading Insights ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Patrick Valoppi 15 Posts ## [Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 12, 2024[0 Comments](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/#disqus_thread) [![Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/content/images/2024/07/learn_instant-fund-broker-api.png)](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) To provide a seamless user experience, Alpaca has launched Instant Funding for Broker API, a new payment feature that gives your end customers instant buying power to start trading right away. [Continue Reading](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) ## [Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 08, 2024[0 Comments](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/#disqus_thread) [![Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/content/images/2024/07/elite-blog-graphic.png)](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) Alpaca Elite provides a cost-effective, advanced algo trading experience with white-glove account support. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) ## [Alpaca Secures "Best API" Award from Postman at POST/CON 2024](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 15, 2024[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/#disqus_thread) [![Alpaca Secures "Best API" Award from Postman at POST/CON 2024](https://alpaca.markets/blog/content/images/2024/05/postman-2024-award.png)](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) Alpaca has been recognized in the developer community by receiving the "Best API" award from Postman during their annual 2024 API Network Awards. [Continue Reading](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) ## [Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 08, 2024[0 Comments](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/#disqus_thread) [![Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/content/images/2024/05/broker-options-blog.png)](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) Today, we’re thrilled to announce another development milestone for Alpaca’s Broker and Trading API – offering options to our global community. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) ## [eccuity: Simplifying the Complex for Kiwi Investors](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 01, 2024[0 Comments](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/#disqus_thread) [![eccuity: Simplifying the Complex for Kiwi Investors](https://alpaca.markets/blog/content/images/2024/09/eccuity_customer_story@3x.png)](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) Driven by democratizing access to investment information and assets, eccuity is bridging the gap between DIY platforms and traditional wealth management services in New Zealand. [Continue Reading](https://alpaca.markets/blog/gembot-simplifying-the-complex-for-kiwi-investors/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Yoshi Yokokawa's Trading Insights ![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x) ### Yoshi Yokokawa 35 Posts Co-founder & CEO of Alpaca ## [TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/tradingview-oco-tradetron/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 22, 2020[0 Comments](https://alpaca.markets/blog/tradingview-oco-tradetron/#disqus_thread) [![TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/content/images/2020/09/friends.jpg)](https://alpaca.markets/blog/tradingview-oco-tradetron/) Announcing TradingView OCO & Tradetron launch on Alpaca. Alpaca continues to add the integration partners. [Continue Reading](https://alpaca.markets/blog/tradingview-oco-tradetron/) ## [Trailing Stop Orders on Alpaca!](https://alpaca.markets/blog/trailing-stop/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 11, 2020[0 Comments](https://alpaca.markets/blog/trailing-stop/#disqus_thread) [![Trailing Stop Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/09/trailing-stop.png)](https://alpaca.markets/blog/trailing-stop/) Trailing stop orders are now available at Alpaca - growing the list of advanced order types with Alpaca API [Continue Reading](https://alpaca.markets/blog/trailing-stop/) ## [Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 03, 2020[0 Comments](https://alpaca.markets/blog/trading-competition/#disqus_thread) [![Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/content/images/2020/07/trading-competiton-1.png)](https://alpaca.markets/blog/trading-competition/) Alpaca is launching the Alpaca Trading Competition where all the quants, developers, tech-savvy traders can participate globally [Continue Reading](https://alpaca.markets/blog/trading-competition/) ## [Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/non-us-live-trading-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 30, 2020[0 Comments](https://alpaca.markets/blog/non-us-live-trading-beta/#disqus_thread) [![Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/content/images/2020/07/non-US-alpaca.png)](https://alpaca.markets/blog/non-us-live-trading-beta/) Letting you know that we have started an invite-only beta program for non-US resident Alpaca users to open live-trading accounts ✌️. [Continue Reading](https://alpaca.markets/blog/non-us-live-trading-beta/) ## [Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/business-brokerage-account-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 17, 2020[0 Comments](https://alpaca.markets/blog/business-brokerage-account-beta/#disqus_thread) [![Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/content/images/2020/07/Alpaca_Business_Account.png)](https://alpaca.markets/blog/business-brokerage-account-beta/) Alpaca is launching business trading brokerage accounts Beta, the commission-free trading accounts for your business entities. [Continue Reading](https://alpaca.markets/blog/business-brokerage-account-beta/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Luke West's Insights ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Luke West 16 Posts ## [Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • October 16, 2024[0 Comments](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/#disqus_thread) [![Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/content/images/2024/10/IRA-blog_1@3x.png)](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) Alpaca has officially announced our High-Yield Cash API, a top-of-funnel growth mechanism that empowers our partners to win cash deposits from both new and existing customers. [Continue Reading](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Sonia Sethi's Insights ![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png) ### Sonia Sethi 38 Posts ## [Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/jungleprotocol/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • October 31, 2022[0 Comments](https://alpaca.markets/blog/jungleprotocol/#disqus_thread) [![Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/content/images/2022/10/blog-announcement-jungle-4.png)](https://alpaca.markets/blog/jungleprotocol/) Alpaca accelerates its crypto business and introduces a DeFi protocol - Jungle - that will mint and burn tokenized stocks in ERC20 format with a 1:1 collateral. [Continue Reading](https://alpaca.markets/blog/jungleprotocol/) ## [Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 08, 2022[0 Comments](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/#disqus_thread) [![Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API](https://alpaca.markets/blog/content/images/2022/08/blog_local-currency.png)](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) Alpaca's Local Currency Trading API allows your customers to see the value of stock prices, trades, performance, and statements in their local currencies. [Continue Reading](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) ## [Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 17, 2022[0 Comments](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/#disqus_thread) [![Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security](https://alpaca.markets/blog/content/images/2022/08/blog_security-update-blog-post.png)](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) At Alpaca, we are committed to building a stable, secure, and trusted experience for our customers and partners. As part of this ongoing effort, we’re pleased to announce that we have successfully renewed the SOC 2 Type 2 compliance assessment. This achievement further demonstrates our dedication to ensuring correct [Continue Reading](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) ## [Create Custom Portfolios that Automatically Invests Funds with Rebalancing API](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 09, 2022[0 Comments](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/#disqus_thread) [![Create Custom Portfolios that Automatically Invests Funds with Rebalancing API](https://alpaca.markets/blog/content/images/2022/08/blog_rebalancing-api.png)](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) We are excited to announce the launch of Rebalancing API ? This new offering allows investment advisors or your customers to easily create investment portfolios that are automatically updated to the specified cash, stock symbol, percentage weights, rebalance conditions, and triggers selected. What is Rebalancing? Rebalancing is the process of realigning [Continue Reading](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) ## [Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 27, 2022[0 Comments](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/#disqus_thread) [![Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/content/images/2022/07/blog_alpaca-py-1.png)](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) Introducing Alpaca-py, ? Our official Python SDK that enables app developers and traders to easily interact with Alpaca's complete suite of API products. [Continue Reading](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Global Stock Trading Insights ![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg) ### Crest Saechao 12 Posts ## [Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 05, 2021[0 Comments](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/#disqus_thread) [![Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/GoTrade-Blog-Cover-1.png)](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) Powered by Alpaca Broker API, Gotrade enables retail investors from over 150 countries to trade commission-free in whole or fractional shares of US stocks. [Continue Reading](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) ## [US Stock Trading for Everyone](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 02, 2021[0 Comments](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/#disqus_thread) [![US Stock Trading for Everyone](https://alpaca.markets/blog/content/images/2021/08/International-GTM---BLOG-1.png)](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) Global access to US Stock trading with no minimum deposit. Execute your trading algos commission-free from anywhere in the world. Fund your account with no minimum deposit and start trading with as little as $1. [Continue Reading](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Luke West's Alpaca Insights ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Luke West 16 Posts ## [Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) By [Luke West](https://alpaca.markets/blog/author/luke/) • April 23, 2025[0 Comments](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/#disqus_thread) [![Alpaca Raises $52 Million in Series C Funding to Fuel Global Expansion and Category Leadership](https://alpaca.markets/blog/content/images/2025/04/blog-series-c.png)](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) Alpaca announces their Series C funding of $52 million, accelerating their global expansion and development of industry-leading product offerings. [Continue Reading](https://alpaca.markets/blog/alpaca-raises-52-million-in-series-c-funding-to-fuel-global-expansion-and-category-leadership/) ## [Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) By [Luke West](https://alpaca.markets/blog/author/luke/) • March 13, 2025[0 Comments](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/#disqus_thread) [![Provide Real-Time Social Sentiment to Customers with Alpaca’s Stocktwits Integration](https://alpaca.markets/blog/content/images/2025/03/blog-stocktwits-article.png)](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) Learn how Alpaca's Stocktwits API integration helps Broker API partners increase trader confidence with community-driven insights and industry news. [Continue Reading](https://alpaca.markets/blog/provide-real-time-social-sentiment-to-customers-with-alpacas-stocktwits-integration/) ## [Dime!: Revolutionizing Investing in Thailand with Alpaca](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • March 10, 2025[0 Comments](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/#disqus_thread) [![Dime!: Revolutionizing Investing in Thailand with Alpaca](https://alpaca.markets/blog/content/images/2025/03/dime_customer-story.png)](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) Learn more about how Dime! is bringing fun and accessible investing to Thailand through fractional shares, affordable tax filing and more. [Continue Reading](https://alpaca.markets/blog/dime-revolutionizing-investing-in-thailand-with-alpaca/) ## [Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • February 25, 2025[0 Comments](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/#disqus_thread) [![Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/content/images/2025/02/blog_options-lvl-3-live-announcemnent.png)](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) Level 3 options trading is now available with Alpaca's Trading API and Dashboard. Learn more about how to get started with multi-leg options trading at Alpaca. [Continue Reading](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) ## [Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) By [Luke West](https://alpaca.markets/blog/author/luke/) • January 20, 2025[0 Comments](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/#disqus_thread) [![Alpaca Attends Ai Everything GLOBAL in Partnership with GITEX](https://alpaca.markets/blog/content/images/2025/01/gitex-article.png)](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) We are excited to be attending GITEX's Ai Everything Global from February 4 to 6, 2025, in Abu Dhabi & Dubai! [Continue Reading](https://alpaca.markets/blog/alpaca-attends-ai-everything-global/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 17, 2022[0 Comments](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/#disqus_thread) [![Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security](https://alpaca.markets/blog/content/images/2022/08/blog_security-update-blog-post.png)](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) At Alpaca, we are committed to building a stable, secure, and trusted experience for our customers and partners. As part of this ongoing effort, we’re pleased to announce that we have successfully renewed the SOC 2 Type 2 compliance assessment. This achievement further demonstrates our dedication to ensuring correct [Continue Reading](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) ## [Market Data API v1 Sunset Notification](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • January 24, 2022[0 Comments](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/#disqus_thread) [![Market Data API v1 Sunset Notification](https://alpaca.markets/blog/content/images/2022/01/Data-API-v1-Breaking-Change--2-.png)](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) Market Data API v1 endpoints and documentation will sunset on March 15, 2022. [Continue Reading](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) ## [Shorting Prevention Breaking Change Notification](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 30, 2021[0 Comments](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/#disqus_thread) [![Shorting Prevention Breaking Change Notification](https://alpaca.markets/blog/content/images/2021/09/Shorting-Prevention-Breaking-Change-Notification_blog-cover-6.png)](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) In order to prevent mixed notional and quantity sell sequences outside of market hours, we will introduce a breaking change. [Continue Reading](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) ## [Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 07, 2021[0 Comments](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/#disqus_thread) [![Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security](https://alpaca.markets/blog/content/images/2021/08/2-1.png)](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) At Alpaca, we are committed to building a secure and trusted experience. As part of that commitment, we are pleased to announce that Alpaca has successfully completed its SOC 2 Type 2 compliance assessment. [Continue Reading](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) ## [API Breaking Change Notification for Unpriceable Assets](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 26, 2021[0 Comments](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/#disqus_thread) [![API Breaking Change Notification for Unpriceable Assets](https://alpaca.markets/blog/content/images/2021/08/Cover-Blog---API-Breaking-Change-Notification-for-Unpriceable-Assets@2x.png)](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) In order to avoid the error response and keep the API available even in the event that one of your positions’ underlying asset is missing a price, we will introduce a minor breaking change to the API. [Continue Reading](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Trading API ### Tag: trading api Total 29 Posts ## [Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 29, 2024[0 Comments](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/#disqus_thread) [![Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/content/images/2024/02/fractional-limit-orders_extended-hours.png)](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) Alpaca now supports limit orders and extended hours trading for fractional shares trading. [Continue Reading](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) ## [Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • November 20, 2023[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/#disqus_thread) [![Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2023/11/benzinga-2023-graphic-copy.png)](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) Alpaca, the API-first stock and crypto investing platform, has once again triumphed at the prestigious Benzinga Global Fintech Awards. At the 9th annual ceremony, Alpaca emerged as the unrivaled winner in the category of Best API Solution for 2023. This achievement solidifies Alpaca's commitment to global accessibility in [Continue Reading](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) ## [Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/#disqus_thread) [![Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/content/images/2023/09/v03_excess-sipc-coverage.png)](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection [Continue Reading](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) ## [Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 16, 2023[0 Comments](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/#disqus_thread) [![Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/content/images/2023/08/new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service.png)](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ? Big News Alert! Alpaca Crypto is about to take your trading experience to the next level! Get ready for new cryptocurrencies, expanded USDC pairs, and seamless ERC-20 transactions. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ## [Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 12, 2023[0 Comments](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/#disqus_thread) [![Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/content/images/2023/06/new-documentation-site-live-article--1-.png)](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) ? Big announcement! We are absolutely thrilled to unveil our newly improved documentation site, now integrated with Readme! ?✨ Our hardworking team has worked endless hours to enhance your experience and keep us at the forefront of innovation. [Continue Reading](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca News Updates ### Tag: Alpaca News Total 28 Posts ## [Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/#disqus_thread) [![Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/content/images/2024/12/benzinga-2024-graphic.png)](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) Alpaca wins "Best Brokerage for Sophisticated Traders" at the 2024 Benzinga Global Fintech Awards, marking its third consecutive award at the event. [Continue Reading](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) ## [Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 10, 2024[0 Comments](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/#disqus_thread) [![Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally](https://alpaca.markets/blog/content/images/2024/12/derayah-announcement.png)](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) Alpaca and Saudi's Derayah Financial announce a strategic partnership to expand financial accessibility in the Middle East. [Continue Reading](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) ## [Alpaca Continues Its Partnership with GITEX GLOBAL 2024](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • September 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/#disqus_thread) [![Alpaca Continues Its Partnership with GITEX GLOBAL 2024](https://alpaca.markets/blog/content/images/2024/09/gitex-article-1.png)](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) We are delighted to announce our continued partnership with GITEX GLOBAL in 2024 at the Dubai World Trade Center as a community partner. Register and save now. [Continue Reading](https://alpaca.markets/blog/alpaca-partnership-gitex-global-2024/) ## [Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • August 15, 2024[0 Comments](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/#disqus_thread) [![Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/content/images/2024/08/blog-quantconnect-article.png)](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) Explore Alpaca's integration with QuantConnect, enabling you to create, backtest, and trade algorithmic strategies with ease. [Continue Reading](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) ## [Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) By [Mariangela Martinez](https://alpaca.markets/blog/author/mariangela/) • August 07, 2024[0 Comments](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/#disqus_thread) [![Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/content/images/2023/07/v02_soc-2-blog_2023-2.png)](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) At Alpaca, we’re all about keeping your data safe and secure. This is why we are thrilled to announce the successful renewal of its SOC 2 Type 2 compliance. [Continue Reading](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading API ### Tag: trading api Total 29 Posts ## [Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/low-latency-ledger-upgrade/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 27, 2023[0 Comments](https://alpaca.markets/blog/low-latency-ledger-upgrade/#disqus_thread) [![Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/content/images/2023/04/asyn-mode-product-blog.png)](https://alpaca.markets/blog/low-latency-ledger-upgrade/) ?We are excited to share that we have significantly improved our ledger, resulting in meaningful enhancements of bringing down the median processing time from over 15 minutes to under 250ms (0.15 seconds). ? [Continue Reading](https://alpaca.markets/blog/low-latency-ledger-upgrade/) ## [Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 09, 2022[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/#disqus_thread) [![Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2022/12/blog_benzinga-global-fintech-award--1-.png)](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) Alpaca, a modern stock and crypto investing platform, was recognized at the 8th annual Benzinga Global Fintech Awards and named the overall winner for Best Automated Trading Software in 2022. The Benzinga Global Fintech Awards recognizes outstanding performance, rising stars, and disruptive innovators creating positive changes in the financial technology [Continue Reading](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) ## [Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 27, 2022[0 Comments](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/#disqus_thread) [![Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/content/images/2022/07/blog_alpaca-py-1.png)](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) Introducing Alpaca-py, ? Our official Python SDK that enables app developers and traders to easily interact with Alpaca's complete suite of API products. [Continue Reading](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) ## [Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 25, 2022[0 Comments](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/#disqus_thread) [![Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/content/images/2022/07/blog_crypto-wallets-and-coin-pair.png)](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) Alpaca Crypto Wallets and Coin Pair Trading with 48 BTC, USDT, & USD Pairs is now available. Unlock a new level of crypto trading with a better way to deposit, withdraw and trade with Alpaca Crypto. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) ## [Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • March 22, 2022[0 Comments](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/#disqus_thread) [![Alpaca Launches Global Stocks to Broaden Access to Financial Markets via American Depository Receipts](https://alpaca.markets/blog/content/images/2022/03/Global-Stocks_Blog.png)](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) You can now invest in whole and fractional shares of international stocks like Nintendo, Adidas, Heineken, and Volkswagen via American depository receipts (ADRs). [Continue Reading](https://alpaca.markets/blog/alpaca-launches-global-stocks-to-broaden-access-to-financial-markets-via-american-depository-receipts-adrs/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Stock Broker ### Tag: stock broker Total 12 Posts ## [Alpaca Introduces OAuth Support](https://alpaca.markets/blog/oauth/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 04, 2020[0 Comments](https://alpaca.markets/blog/oauth/#disqus_thread) [![Alpaca Introduces OAuth Support](https://alpaca.markets/blog/content/images/2020/03/alpaca-oauth.png)](https://alpaca.markets/blog/oauth/) We’re excited to introduce OAuth support to the Alpaca API! You can now build more things with Alpaca, thanks to the ability to use OAuth clients. Get started today. [Continue Reading](https://alpaca.markets/blog/oauth/) ## [Alpaca Trading within TradingView](https://alpaca.markets/blog/tradingview-api-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • November 11, 2019[0 Comments](https://alpaca.markets/blog/tradingview-api-integration/#disqus_thread) [![Alpaca Trading within TradingView](https://alpaca.markets/blog/content/images/2020/03/alpaca-tradingview.png)](https://alpaca.markets/blog/tradingview-api-integration/) Stock trading with Alpaca from TradingView platform - Now you can get all the benefits of real-time market data, charting, and algorithmic trading together in one place. [Continue Reading](https://alpaca.markets/blog/tradingview-api-integration/) ## [Manual Trading Widget on Alpaca](https://alpaca.markets/blog/manual-trading-widget/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 11, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-widget/#disqus_thread) [![Manual Trading Widget on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-manual-trading.png)](https://alpaca.markets/blog/manual-trading-widget/) Manual trading widget on the main dashboard! Trading with an API or algos doesn’t always need to be fully automated :) [Continue Reading](https://alpaca.markets/blog/manual-trading-widget/) ## [Zapier Integration & User Configuration Features](https://alpaca.markets/blog/zapier-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 16, 2019[0 Comments](https://alpaca.markets/blog/zapier-integration/#disqus_thread) [![Zapier Integration & User Configuration Features](https://alpaca.markets/blog/content/images/2020/03/download.jpeg)](https://alpaca.markets/blog/zapier-integration/) Zapier integration, replace order feature, and more were released from Alpaca! [Continue Reading](https://alpaca.markets/blog/zapier-integration/) ## [Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/manual-trading-stocks/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 21, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-stocks/#disqus_thread) [![Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/content/images/2020/03/1_Ko5g2SPcOc5-yV74vkt7eA.png)](https://alpaca.markets/blog/manual-trading-stocks/) With Alpaca, you can now liquidate positions, cancel open orders manually, and you can active and deactivate API manually on the mobile app. [Continue Reading](https://alpaca.markets/blog/manual-trading-stocks/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Broker API News ### Tag: broker api Total 47 Posts ## [Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • November 20, 2023[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/#disqus_thread) [![Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2023/11/benzinga-2023-graphic-copy.png)](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) Alpaca, the API-first stock and crypto investing platform, has once again triumphed at the prestigious Benzinga Global Fintech Awards. At the 9th annual ceremony, Alpaca emerged as the unrivaled winner in the category of Best API Solution for 2023. This achievement solidifies Alpaca's commitment to global accessibility in [Continue Reading](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) ## [Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 12, 2023[0 Comments](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/#disqus_thread) [![Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/content/images/2023/09/funding-wallets_gtm--1-.png)](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) ? Introducing Funding Wallets for Broker API: Simplify fund management and elevate user experience with seamless deposits and withdrawals in local currency using local rails. [Continue Reading](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) ## [Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/#disqus_thread) [![Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/content/images/2023/09/v03_excess-sipc-coverage.png)](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection [Continue Reading](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) ## [Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 16, 2023[0 Comments](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/#disqus_thread) [![Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/content/images/2023/08/new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service.png)](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ? Big News Alert! Alpaca Crypto is about to take your trading experience to the next level! Get ready for new cryptocurrencies, expanded USDC pairs, and seamless ERC-20 transactions. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ## [Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/#disqus_thread) [![Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained](https://alpaca.markets/blog/content/images/2023/08/overview-alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained.png)](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) Curious about Alpaca Securities LLC's role as a Carrying Broker-Dealer and Clearing firm? ? Dive into our article and discover how we help empower global partners to provide their customers with seamless access to US stock trading. ?? [Continue Reading](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Python 3.6 Deprecation Notice ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Rahul Chowdhury 6 Posts ## [Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/python36-end-of-life/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/python36-end-of-life/#disqus_thread) [![Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/content/images/2021/12/How-to-Use-OAuth-to-Create-Your-Own-Trading-App-With-NodeJS_blog-4.png)](https://alpaca.markets/blog/python36-end-of-life/) On December 23rd 2021, Python 3.6 will reach its end of life and it will stop being maintained. There will not be any new updates to Python 3.6 after that date, including any bug fixes or security patches. [Continue Reading](https://alpaca.markets/blog/python36-end-of-life/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Market Data ### Tag: market data Total 15 Posts ## [Alpaca Launches Data API](https://alpaca.markets/blog/market-data-apiv2/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • May 26, 2021[0 Comments](https://alpaca.markets/blog/market-data-apiv2/#disqus_thread) [![Alpaca Launches Data API](https://alpaca.markets/blog/content/images/2021/05/Gallery--3-Data-1@2x--1--2.png)](https://alpaca.markets/blog/market-data-apiv2/) Alpaca is excited to launch Alpaca Data API. Access unlimited real-time stock data through rest APIs and SDKs. Data API is built to be simple, powerful, and scalable. [Continue Reading](https://alpaca.markets/blog/market-data-apiv2/) ## [Market Data v2 Beta Status Update](https://alpaca.markets/blog/market-data-api-beta-update/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • March 25, 2021[0 Comments](https://alpaca.markets/blog/market-data-api-beta-update/#disqus_thread) [![Market Data v2 Beta Status Update](https://alpaca.markets/blog/content/images/2021/03/blog_img-4.png)](https://alpaca.markets/blog/market-data-api-beta-update/) We launched our data v2 in public beta at the end of February after launching v1 last May. Read our status update on or new beta product. [Continue Reading](https://alpaca.markets/blog/market-data-api-beta-update/) ## [Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/stock-market-data-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 07, 2020[0 Comments](https://alpaca.markets/blog/stock-market-data-api/#disqus_thread) [![Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/content/images/2020/05/01.jpg)](https://alpaca.markets/blog/stock-market-data-api/) Alpaca Data API is free real-time stock market data API for building your algorithmic trading strategies or trading/investing applications. [Continue Reading](https://alpaca.markets/blog/stock-market-data-api/) ## [MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 18, 2019[0 Comments](https://alpaca.markets/blog/websocket-moc-cors/#disqus_thread) [![MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/content/images/2020/03/0_P2DkWhzqgLWpM7Hk.jpeg)](https://alpaca.markets/blog/websocket-moc-cors/) Launching market-on-close, limit-on-close orders, WebSocket, and more and more! [Continue Reading](https://alpaca.markets/blog/websocket-moc-cors/) ## [Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) [![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg)](https://alpaca.markets/blog/paper-trading-api/) In our continuous effort to make automated trading more accessible, we are pleased to announce the Alpaca Paper Trading API to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. [Continue Reading](https://alpaca.markets/blog/paper-trading-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Product Updates Overview ### Tag: product update Total 57 Posts ## [Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 29, 2024[0 Comments](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/#disqus_thread) [![Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/content/images/2024/02/fractional-limit-orders_extended-hours.png)](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) Alpaca now supports limit orders and extended hours trading for fractional shares trading. [Continue Reading](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) ## [Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 12, 2023[0 Comments](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/#disqus_thread) [![Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/content/images/2023/09/funding-wallets_gtm--1-.png)](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) ? Introducing Funding Wallets for Broker API: Simplify fund management and elevate user experience with seamless deposits and withdrawals in local currency using local rails. [Continue Reading](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) ## [Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/#disqus_thread) [![Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/content/images/2023/09/v03_excess-sipc-coverage.png)](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection [Continue Reading](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) ## [\[Overview\]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 06, 2023[0 Comments](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/#disqus_thread) [![[Overview]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/content/images/2023/06/feature-updates-on-broker-api-dashboard.png)](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) We're thrilled to announce the latest additions and improvements to our Broker API dashboard! ?✨ These updates have been carefully designed to help enhance functionality and streamline your experiences. ?? [Continue Reading](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) ## [Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/low-latency-ledger-upgrade/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 27, 2023[0 Comments](https://alpaca.markets/blog/low-latency-ledger-upgrade/#disqus_thread) [![Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/content/images/2023/04/asyn-mode-product-blog.png)](https://alpaca.markets/blog/low-latency-ledger-upgrade/) ?We are excited to share that we have significantly improved our ledger, resulting in meaningful enhancements of bringing down the median processing time from over 15 minutes to under 250ms (0.15 seconds). ? [Continue Reading](https://alpaca.markets/blog/low-latency-ledger-upgrade/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Stock Trading Insights ### Tag: stock trading Total 8 Posts ## [Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/position-liquidation-cancel-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 29, 2019[0 Comments](https://alpaca.markets/blog/position-liquidation-cancel-orders/#disqus_thread) [![Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/content/images/2020/03/0_Z9_c0uNWOKn8-Yt7.jpeg)](https://alpaca.markets/blog/position-liquidation-cancel-orders/) New API features include cancelling orders & position liquidations. [Continue Reading](https://alpaca.markets/blog/position-liquidation-cancel-orders/) ## [Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/submit-queue-order-stock-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 18, 2018[0 Comments](https://alpaca.markets/blog/submit-queue-order-stock-trading/#disqus_thread) [![Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/content/images/2020/03/1_NRmFLgceg9dqL0xkfglrAw.jpeg)](https://alpaca.markets/blog/submit-queue-order-stock-trading/) As one of the many steps towards a more advanced trading platform, we are pleased to let you know that we have allowed everyone to submit and queue orders for the next market open. [Continue Reading](https://alpaca.markets/blog/submit-queue-order-stock-trading/) ## [Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 23, 2018[0 Comments](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/#disqus_thread) [![Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/content/images/2020/03/16x9-1.png)](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) Fintech Startup Alpaca Unveils World’s First Commission Free API Stock Broker For Algorithmic Trading [Continue Reading](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Algo Trading Insights ### Tag: algo trading Total 15 Posts ## [Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/passive-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 10, 2019[0 Comments](https://alpaca.markets/blog/passive-integration/#disqus_thread) [![Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/content/images/2020/03/alpaca-passiv-integration.png)](https://alpaca.markets/blog/passive-integration/) Canadian-based financial startup, Passiv, and American brokerage Alpaca combine forces to bring you passive investing without high management expense ratios. [Continue Reading](https://alpaca.markets/blog/passive-integration/) ## [Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/position-liquidation-cancel-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 29, 2019[0 Comments](https://alpaca.markets/blog/position-liquidation-cancel-orders/#disqus_thread) [![Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/content/images/2020/03/0_Z9_c0uNWOKn8-Yt7.jpeg)](https://alpaca.markets/blog/position-liquidation-cancel-orders/) New API features include cancelling orders & position liquidations. [Continue Reading](https://alpaca.markets/blog/position-liquidation-cancel-orders/) ## [MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 18, 2019[0 Comments](https://alpaca.markets/blog/websocket-moc-cors/#disqus_thread) [![MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/content/images/2020/03/0_P2DkWhzqgLWpM7Hk.jpeg)](https://alpaca.markets/blog/websocket-moc-cors/) Launching market-on-close, limit-on-close orders, WebSocket, and more and more! [Continue Reading](https://alpaca.markets/blog/websocket-moc-cors/) ## [Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/commission-free-short-selling/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 08, 2019[0 Comments](https://alpaca.markets/blog/commission-free-short-selling/#disqus_thread) [![Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/content/images/2020/03/1_canI2LSf-psNSf7FlPn_HQ.png)](https://alpaca.markets/blog/commission-free-short-selling/) Commission-free short selling finally came to Alpaca. In addition to this, we are introducing margin trading as well. [Continue Reading](https://alpaca.markets/blog/commission-free-short-selling/) ## [Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/submit-queue-order-stock-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 18, 2018[0 Comments](https://alpaca.markets/blog/submit-queue-order-stock-trading/#disqus_thread) [![Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/content/images/2020/03/1_NRmFLgceg9dqL0xkfglrAw.jpeg)](https://alpaca.markets/blog/submit-queue-order-stock-trading/) As one of the many steps towards a more advanced trading platform, we are pleased to let you know that we have allowed everyone to submit and queue orders for the next market open. [Continue Reading](https://alpaca.markets/blog/submit-queue-order-stock-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Broker API Insights ### Tag: broker api Total 47 Posts ## [Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 12, 2023[0 Comments](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/#disqus_thread) [![Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/content/images/2023/06/new-documentation-site-live-article--1-.png)](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) ? Big announcement! We are absolutely thrilled to unveil our newly improved documentation site, now integrated with Readme! ?✨ Our hardworking team has worked endless hours to enhance your experience and keep us at the forefront of innovation. [Continue Reading](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) ## [\[Overview\]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 06, 2023[0 Comments](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/#disqus_thread) [![[Overview]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/content/images/2023/06/feature-updates-on-broker-api-dashboard.png)](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) We're thrilled to announce the latest additions and improvements to our Broker API dashboard! ?✨ These updates have been carefully designed to help enhance functionality and streamline your experiences. ?? [Continue Reading](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) ## [Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/low-latency-ledger-upgrade/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 27, 2023[0 Comments](https://alpaca.markets/blog/low-latency-ledger-upgrade/#disqus_thread) [![Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/content/images/2023/04/asyn-mode-product-blog.png)](https://alpaca.markets/blog/low-latency-ledger-upgrade/) ?We are excited to share that we have significantly improved our ledger, resulting in meaningful enhancements of bringing down the median processing time from over 15 minutes to under 250ms (0.15 seconds). ? [Continue Reading](https://alpaca.markets/blog/low-latency-ledger-upgrade/) ## [Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 01, 2022[0 Comments](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/#disqus_thread) [![Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_abyan-customer-success-1.png)](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) Abyan Capital is a platform that offers an automated investing and wealth management solution. Discover how they’re leveraging Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) ## [Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • November 23, 2022[0 Comments](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/#disqus_thread) [![Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_birdwingo-customer-success_2.png)](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) Birdwingo launches an investment app that focuses on empowering young Europeans to start investing while supporting causes that inspire them. Find out how they’re using Alpaca Broker API to achieve this [Continue Reading](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Yoshi's Alpaca Insights ![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x) ### Yoshi Yokokawa 35 Posts Co-founder & CEO of Alpaca ## [Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 10, 2020[0 Comments](https://alpaca.markets/blog/bracket-orders/#disqus_thread) [![Bracket Orders on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order.png)](https://alpaca.markets/blog/bracket-orders/) Trying to stay within a target price range while stock trading? Alpaca is here to help with all-new bracket order functionality. [Continue Reading](https://alpaca.markets/blog/bracket-orders/) ## [Alpaca Introduces OAuth Support](https://alpaca.markets/blog/oauth/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 04, 2020[0 Comments](https://alpaca.markets/blog/oauth/#disqus_thread) [![Alpaca Introduces OAuth Support](https://alpaca.markets/blog/content/images/2020/03/alpaca-oauth.png)](https://alpaca.markets/blog/oauth/) We’re excited to introduce OAuth support to the Alpaca API! You can now build more things with Alpaca, thanks to the ability to use OAuth clients. Get started today. [Continue Reading](https://alpaca.markets/blog/oauth/) ## [Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/passive-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 10, 2019[0 Comments](https://alpaca.markets/blog/passive-integration/#disqus_thread) [![Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/content/images/2020/03/alpaca-passiv-integration.png)](https://alpaca.markets/blog/passive-integration/) Canadian-based financial startup, Passiv, and American brokerage Alpaca combine forces to bring you passive investing without high management expense ratios. [Continue Reading](https://alpaca.markets/blog/passive-integration/) ## [Alpaca Trading within TradingView](https://alpaca.markets/blog/tradingview-api-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • November 11, 2019[0 Comments](https://alpaca.markets/blog/tradingview-api-integration/#disqus_thread) [![Alpaca Trading within TradingView](https://alpaca.markets/blog/content/images/2020/03/alpaca-tradingview.png)](https://alpaca.markets/blog/tradingview-api-integration/) Stock trading with Alpaca from TradingView platform - Now you can get all the benefits of real-time market data, charting, and algorithmic trading together in one place. [Continue Reading](https://alpaca.markets/blog/tradingview-api-integration/) ## [Manual Trading Widget on Alpaca](https://alpaca.markets/blog/manual-trading-widget/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 11, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-widget/#disqus_thread) [![Manual Trading Widget on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-manual-trading.png)](https://alpaca.markets/blog/manual-trading-widget/) Manual trading widget on the main dashboard! Trading with an API or algos doesn’t always need to be fully automated :) [Continue Reading](https://alpaca.markets/blog/manual-trading-widget/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Crest Saechao's Alpaca Insights ![Author image](https://alpaca.markets/blog/content/images/2021/09/e3vxsnfnlmiiimg9imn7.jpeg) ### Crest Saechao 12 Posts ## [API Breaking Change Notification for Unpriceable Assets](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 26, 2021[0 Comments](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/#disqus_thread) [![API Breaking Change Notification for Unpriceable Assets](https://alpaca.markets/blog/content/images/2021/08/Cover-Blog---API-Breaking-Change-Notification-for-Unpriceable-Assets@2x.png)](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) In order to avoid the error response and keep the API available even in the event that one of your positions’ underlying asset is missing a price, we will introduce a minor breaking change to the API. [Continue Reading](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) ## [Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 24, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/#disqus_thread) [![Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/content/images/2021/08/Alpaca-Integration-with-Plaid.png)](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) We’re excited to announce our latest integration and partnership with Plaid, a data network powering the digital financial ecosystem. With Plaid, Alpaca is working to fuel the acceleration and growth of new fintech startups and tech innovators around the world. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) ## [Updated Terms for Payments in Fractional Shares](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 17, 2021[0 Comments](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/#disqus_thread) [![Updated Terms for Payments in Fractional Shares](https://alpaca.markets/blog/content/images/2021/08/Cash-in-Lieu-Customer-Update-blog-cover.png)](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) Please be advised that Alpaca will begin paying out fractional shares in the event of a stock split, effective August 2nd, 2021. [Continue Reading](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) ## [Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 12, 2021[0 Comments](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/#disqus_thread) [![Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/Xantos-Announcement-art-V01-Horse-2-1.png)](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) Powered by Broker API, Xantos Labs offers a premium investing experience. As the investment manager for the next generation of investors, Xantos Labs builds and manages portfolios for everday folks. [Continue Reading](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) ## [Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 10, 2021[0 Comments](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/#disqus_thread) [![Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/content/images/2021/08/Borrow-Fee-Communications-Blog-1.png)](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) Please be advised that Alpaca will begin charging borrow fees on overnight short positions for the month of June 2021 and onward. [Continue Reading](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 12, 2024[0 Comments](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/#disqus_thread) [![Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/content/images/2024/07/learn_instant-fund-broker-api.png)](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) To provide a seamless user experience, Alpaca has launched Instant Funding for Broker API, a new payment feature that gives your end customers instant buying power to start trading right away. [Continue Reading](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) ## [Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 08, 2024[0 Comments](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/#disqus_thread) [![Introducing Alpaca Elite: Low-Cost, Advanced-Algorithmic Trading with White-Glove Support](https://alpaca.markets/blog/content/images/2024/07/elite-blog-graphic.png)](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) Alpaca Elite provides a cost-effective, advanced algo trading experience with white-glove account support. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-elite-low-cost-advanced-algorithmic-trading-with-white-glove-support/) ## [Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • May 13, 2024[0 Comments](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/#disqus_thread) [![Faster and Easier Business Accounts Onboarding Than Ever](https://alpaca.markets/blog/content/images/2024/05/v04_entity-accounts.png)](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) We've upgraded our business account onboarding process to make it faster and simpler than ever before! [Continue Reading](https://alpaca.markets/blog/faster-and-easier-business-accounts-onboarding-than-ever/) ## [Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 08, 2024[0 Comments](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/#disqus_thread) [![Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/content/images/2024/05/broker-options-blog.png)](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) Today, we’re thrilled to announce another development milestone for Alpaca’s Broker and Trading API – offering options to our global community. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) ## [Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • April 18, 2024[0 Comments](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/#disqus_thread) [![Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/content/images/2024/04/DTCC-Self-Clearing-Status-1.png)](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ? We are thrilled to announce that Alpaca has successfully transitioned to self-clearing at DTCC, marking a significant milestone in our journey. [Continue Reading](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Yoshi Yokokawa's Insights ![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x) ### Yoshi Yokokawa 35 Posts Co-founder & CEO of Alpaca ## [9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) [![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg)](https://alpaca.markets/blog/marketstore-faq/) I have posted three articles, and these articles generated a lot of great comments and questions. [Continue Reading](https://alpaca.markets/blog/marketstore-faq/) ## [50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) [![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg)](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) In our last post “How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source MarketStore. [Continue Reading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) ## [How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 08, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/#disqus_thread) [![How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data.png)](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) You want to test your algo when you drop the very first version. But you also want to test the algo when you make changes or adjustments while the algo is running. [Continue Reading](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) ## [MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2018[0 Comments](https://alpaca.markets/blog/marketstore-opensource-database/#disqus_thread) [![MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/content/images/2020/03/fruits.jpeg)](https://alpaca.markets/blog/marketstore-opensource-database/) We are happy to announce MarketStore is now open source! MarketStore is a database server optimized for financial timeseries data written in pure Go, designed and developed by Alpaca. [Continue Reading](https://alpaca.markets/blog/marketstore-opensource-database/) ## [Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/algorithmic-trading-puzzle/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 26, 2018[0 Comments](https://alpaca.markets/blog/algorithmic-trading-puzzle/#disqus_thread) [![Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/content/images/2020/03/coding.gif)](https://alpaca.markets/blog/algorithmic-trading-puzzle/) Announcing the answer for the algorithmic trading puzzle. [Continue Reading](https://alpaca.markets/blog/algorithmic-trading-puzzle/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • February 25, 2025[0 Comments](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/#disqus_thread) [![Multi-Leg (Level 3) Options Trading Now Available with Alpaca’s Trading API](https://alpaca.markets/blog/content/images/2025/02/blog_options-lvl-3-live-announcemnent.png)](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) Level 3 options trading is now available with Alpaca's Trading API and Dashboard. Learn more about how to get started with multi-leg options trading at Alpaca. [Continue Reading](https://alpaca.markets/blog/level-3-options-trading-now-available-with-alpacas-trading-api/) ## [FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • November 11, 2024[0 Comments](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/#disqus_thread) [![FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/content/images/2024/11/fix-api-blog.png)](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) With this FIX API integration, Alpaca continues to meet industry-standard expectations while delivering exceptional performance to our partners. [Continue Reading](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) ## [Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • October 16, 2024[0 Comments](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/#disqus_thread) [![Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/content/images/2024/10/IRA-blog_1@3x.png)](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) Alpaca has officially announced our High-Yield Cash API, a top-of-funnel growth mechanism that empowers our partners to win cash deposits from both new and existing customers. [Continue Reading](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) ## [IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • September 03, 2024[0 Comments](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/#disqus_thread) [![IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/content/images/2024/09/IRA-blog.png)](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) Alpaca now offers Individual Retirement Arrangements (IRAs) accounts for your customers – learn how to enable this tax-advantaged option that drives business impact. [Continue Reading](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) ## [Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 19, 2024[0 Comments](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/#disqus_thread) [![Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/content/images/2024/07/v02_Stop-Limit-on-Fractional.png)](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) Alpaca’s Local Currency Trading API now supports limit, stop, and stop limit for both nominal and fractional order types. LCT now offers extended hours trading for limit orders too. [Continue Reading](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Case Studies ### Tag: Alpaca Broker API Case Study Total 30 Posts Introducing apps and services that leverage Alpaca Broker API to build innovative products. ## [Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • March 09, 2023[0 Comments](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/#disqus_thread) [![Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca](https://alpaca.markets/blog/content/images/2023/03/zad-customer-story--2-.png)](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) Securities House launches Zad, the first-of-its-kind digital investment platform in Kuwait, offering end-users access to trade over 4,000 stocks and ETFs in full compliance with Islamic Shariah principles. Discover their story and how they partnered with Alpaca. [Continue Reading](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) ## [UAE Fintech InvestSky Launches Social Investing Platform with Alpaca](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 13, 2023[0 Comments](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/#disqus_thread) [![UAE Fintech InvestSky Launches Social Investing Platform with Alpaca](https://alpaca.markets/blog/content/images/2023/02/investsky-customer-story--1-.png)](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) InvestSky is a social investing platform that offers a new generation of investors the opportunity to embark on trading stocks in a more inclusive, intuitive, and informed way. About InvestSky InvestSky, was established in 2021 by Nitish Mittal and Turki Alshaikh to help remove the challenges and hurdles of investing [Continue Reading](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) ## [Quantbase Launches Investment Platform with Alpaca Broker API](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • January 23, 2023[0 Comments](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/#disqus_thread) [![Quantbase Launches Investment Platform with Alpaca Broker API](https://alpaca.markets/blog/content/images/2023/01/blog_quantbase-launches-investment-platform-with-alpaca-broker-api.png)](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) Quantbase, an SEC-registered investment advisor, helps make it simple for financial companies and individuals to turn research data points into an investable strategy. Check out how they partnered with Alpaca Broker API to make this experience seamless. [Continue Reading](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) ## [Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 19, 2023[0 Comments](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/#disqus_thread) [![Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca](https://alpaca.markets/blog/content/images/2023/01/woodstock-customer-success.png)](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) Woodstock is Japan’s very first social US stock trading app, offering its end-users the opportunity to invest in the US stock market for as little as 1,000 yen. Find out how they have partnered with Alpaca. [Continue Reading](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) ## [Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 05, 2023[0 Comments](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/#disqus_thread) [![Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API](https://alpaca.markets/blog/content/images/2023/01/weltio-customer-success--1-.png)](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) Weltio, launches a wealth management platform that offers Latin American investors the opportunity to invest in U.S. stocks, ETFs, and cryptocurrencies. Find out how they’re leveraging Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Luke West's Alpaca Insights ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Luke West 16 Posts ## [Alpaca’s 2024 Year in Review](https://alpaca.markets/blog/alpaca-2024-year-in-review/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 20, 2024[0 Comments](https://alpaca.markets/blog/alpaca-2024-year-in-review/#disqus_thread) [![Alpaca’s 2024 Year in Review](https://alpaca.markets/blog/content/images/2024/12/2024-recap-blog.png)](https://alpaca.markets/blog/alpaca-2024-year-in-review/) Alpaca had a landmark year in 2024, becoming a fully self-clearing broker-dealer, launching options trading, and developing more advanced Broker API products. [Continue Reading](https://alpaca.markets/blog/alpaca-2024-year-in-review/) ## [tyba: Creating Investment Access in Latin America](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 12, 2024[0 Comments](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/#disqus_thread) [![tyba: Creating Investment Access in Latin America](https://alpaca.markets/blog/content/images/2024/12/tyba-customer-story.png)](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) tyba has enabled over 10,000 clients to invest in US equities across Colombia and Peru, generating $7 million in AUM, using Alpaca's Broker API. [Continue Reading](https://alpaca.markets/blog/tyba-creating-investment-access-in-latin-america/) ## [Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/#disqus_thread) [![Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/content/images/2024/12/benzinga-2024-graphic.png)](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) Alpaca wins "Best Brokerage for Sophisticated Traders" at the 2024 Benzinga Global Fintech Awards, marking its third consecutive award at the event. [Continue Reading](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) ## [Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 10, 2024[0 Comments](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/#disqus_thread) [![Alpaca and Saudi’s Derayah Financial Announce Partnership and Strategic Investment to Accelerate Alpaca’s Middle East Business and Saudi Stocks Offering Globally](https://alpaca.markets/blog/content/images/2024/12/derayah-announcement.png)](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) Alpaca and Saudi's Derayah Financial announce a strategic partnership to expand financial accessibility in the Middle East. [Continue Reading](https://alpaca.markets/blog/alpaca-and-saudis-derayah-financial-announce-partnership-and-strategic-investment/) ## [FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • November 11, 2024[0 Comments](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/#disqus_thread) [![FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/content/images/2024/11/fix-api-blog.png)](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) With this FIX API integration, Alpaca continues to meet industry-standard expectations while delivering exceptional performance to our partners. [Continue Reading](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Market Data Insights ### Tag: market data Total 15 Posts ## [9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) [![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg)](https://alpaca.markets/blog/marketstore-faq/) I have posted three articles, and these articles generated a lot of great comments and questions. [Continue Reading](https://alpaca.markets/blog/marketstore-faq/) ## [50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 21, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/#disqus_thread) [![50x Faster Bitcoin Price Data Powered by MarketStore for AI Trading](https://alpaca.markets/blog/content/images/2020/03/chuttersnap-381966-unsplash-.jpg)](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) In our last post “How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes”, we introduced how to set up bitcoin price data in five minutes and we got a lot of good feedback and contributions to the open source MarketStore. [Continue Reading](https://alpaca.markets/blog/bitcoin-marketstore-algorithmic-trading/) ## [How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 08, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/#disqus_thread) [![How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data.png)](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) You want to test your algo when you drop the very first version. But you also want to test the algo when you make changes or adjustments while the algo is running. [Continue Reading](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) ## [MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2018[0 Comments](https://alpaca.markets/blog/marketstore-opensource-database/#disqus_thread) [![MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/content/images/2020/03/fruits.jpeg)](https://alpaca.markets/blog/marketstore-opensource-database/) We are happy to announce MarketStore is now open source! MarketStore is a database server optimized for financial timeseries data written in pure Go, designed and developed by Alpaca. [Continue Reading](https://alpaca.markets/blog/marketstore-opensource-database/) ## [Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/algorithmic-trading-puzzle/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 26, 2018[0 Comments](https://alpaca.markets/blog/algorithmic-trading-puzzle/#disqus_thread) [![Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/content/images/2020/03/coding.gif)](https://alpaca.markets/blog/algorithmic-trading-puzzle/) Announcing the answer for the algorithmic trading puzzle. [Continue Reading](https://alpaca.markets/blog/algorithmic-trading-puzzle/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Fintech Innovations by Patrick ![Author image](https://alpaca.markets/blog/assets/images/default-user-image.jpg?v=a138640689) ### Patrick Valoppi 15 Posts ## [Elphinstone: Transforming Pakistani Investing with USD Accessibility](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • February 20, 2024[0 Comments](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/#disqus_thread) [![Elphinstone: Transforming Pakistani Investing with USD Accessibility](https://alpaca.markets/blog/content/images/2024/02/elphinstone_customer_story.png)](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) Co-founded by Farooq Tirmizi and Uzair Mahmud in 2020, Elphinstone addresses a critical pain point faced by Pakistanis — earning in American dollars but struggling to save and invest with them. [Continue Reading](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) ## [Mexico's RUUT Pioneering Fintech Solutions for New Investors](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • December 14, 2023[0 Comments](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/#disqus_thread) [![Mexico's RUUT Pioneering Fintech Solutions for New Investors](https://alpaca.markets/blog/content/images/2023/12/ruut_customer_story.png)](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) Born out of a mission to provide accessible, fair, and simple tools for wealth generation, RUUT is addressing Mexico’s unique challenges faced by new investors. Currently situated in Mexico City and supported by Alpaca's Broker API, RUUT has seen significant growth since their launch while ensuring their [Continue Reading](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) ## [GUGU Paves the Way for US Stock Investing in Asia](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • December 07, 2023[0 Comments](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/#disqus_thread) [![GUGU Paves the Way for US Stock Investing in Asia](https://alpaca.markets/blog/content/images/2023/12/V02_gugu-customer-story-copy@4x.png)](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) In the bustling financial landscape of Hong Kong, Asia Win Inc Limited, under Owen Huang’s leadership, introduced GUGU in June 2020. GUGU is not just a financial platform; it's a mission-driven venture committed to breaking down barriers for Asian investors looking to enter the US stock market. [Continue Reading](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) ## [Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • November 20, 2023[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/#disqus_thread) [![Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2023/11/benzinga-2023-graphic-copy.png)](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) Alpaca, the API-first stock and crypto investing platform, has once again triumphed at the prestigious Benzinga Global Fintech Awards. At the 9th annual ceremony, Alpaca emerged as the unrivaled winner in the category of Best API Solution for 2023. This achievement solidifies Alpaca's commitment to global accessibility in [Continue Reading](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) ## [Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • October 30, 2023[0 Comments](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/#disqus_thread) [![Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca](https://alpaca.markets/blog/content/images/2023/10/spaceship-customer-story@3x.png)](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) In the dynamic realm of financial technology, Spaceship is set to transform the investment experience for young Australians. The company has not only established itself as a visionary in the field but has strategically chosen Alpaca as a service provider to further enhance its offerings. It’s time to climb [Continue Reading](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Yoshi's Alpaca Insights ![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x) ### Yoshi Yokokawa 35 Posts Co-founder & CEO of Alpaca ## [Zapier Integration & User Configuration Features](https://alpaca.markets/blog/zapier-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 16, 2019[0 Comments](https://alpaca.markets/blog/zapier-integration/#disqus_thread) [![Zapier Integration & User Configuration Features](https://alpaca.markets/blog/content/images/2020/03/download.jpeg)](https://alpaca.markets/blog/zapier-integration/) Zapier integration, replace order feature, and more were released from Alpaca! [Continue Reading](https://alpaca.markets/blog/zapier-integration/) ## [Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/position-liquidation-cancel-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 29, 2019[0 Comments](https://alpaca.markets/blog/position-liquidation-cancel-orders/#disqus_thread) [![Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/content/images/2020/03/0_Z9_c0uNWOKn8-Yt7.jpeg)](https://alpaca.markets/blog/position-liquidation-cancel-orders/) New API features include cancelling orders & position liquidations. [Continue Reading](https://alpaca.markets/blog/position-liquidation-cancel-orders/) ## [MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 18, 2019[0 Comments](https://alpaca.markets/blog/websocket-moc-cors/#disqus_thread) [![MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/content/images/2020/03/0_P2DkWhzqgLWpM7Hk.jpeg)](https://alpaca.markets/blog/websocket-moc-cors/) Launching market-on-close, limit-on-close orders, WebSocket, and more and more! [Continue Reading](https://alpaca.markets/blog/websocket-moc-cors/) ## [Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/commission-free-short-selling/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 08, 2019[0 Comments](https://alpaca.markets/blog/commission-free-short-selling/#disqus_thread) [![Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/content/images/2020/03/1_canI2LSf-psNSf7FlPn_HQ.png)](https://alpaca.markets/blog/commission-free-short-selling/) Commission-free short selling finally came to Alpaca. In addition to this, we are introducing margin trading as well. [Continue Reading](https://alpaca.markets/blog/commission-free-short-selling/) ## [Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/manual-trading-stocks/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 21, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-stocks/#disqus_thread) [![Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/content/images/2020/03/1_Ko5g2SPcOc5-yV74vkt7eA.png)](https://alpaca.markets/blog/manual-trading-stocks/) With Alpaca, you can now liquidate positions, cancel open orders manually, and you can active and deactivate API manually on the mobile app. [Continue Reading](https://alpaca.markets/blog/manual-trading-stocks/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Broker API Case Studies ### Tag: Alpaca Broker API Case Study Total 30 Posts Introducing apps and services that leverage Alpaca Broker API to build innovative products. ## [Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 01, 2022[0 Comments](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/#disqus_thread) [![Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_abyan-customer-success-1.png)](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) Abyan Capital is a platform that offers an automated investing and wealth management solution. Discover how they’re leveraging Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) ## [Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • November 23, 2022[0 Comments](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/#disqus_thread) [![Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_birdwingo-customer-success_2.png)](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) Birdwingo launches an investment app that focuses on empowering young Europeans to start investing while supporting causes that inspire them. Find out how they’re using Alpaca Broker API to achieve this [Continue Reading](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) ## [Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 06, 2022[0 Comments](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/#disqus_thread) [![Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/07/social_matty-ai.png)](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) Matty strives to help individuals to trade and save with its first-of-its-kind trading platform that helps promotes financial growth and smart money management for all. [Continue Reading](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) ## [Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 12, 2022[0 Comments](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/#disqus_thread) [![Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/04/Composer-Partnership-Announcement.png)](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) Composer, a trading platform, uses Alpaca Broker API to offer retail investors access to systematic investing strategies. [Continue Reading](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) ## [Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 22, 2021[0 Comments](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/#disqus_thread) [![Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Stonks_announcement_blog.png)](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) Powered by Broker API, Stonks Trading is a user-owned trading platform that enables users to buy, sell, and short U.S. stocks commission-free. [Continue Reading](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Stock Brokerage ### Tag: stock broker Total 12 Posts ## [Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) [![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png)](https://alpaca.markets/blog/open-source-mobile-trading-app/) Introducing an example mobile app “Alpaca Dashboard” on the App Store and its code in full open-sourced on the GitHub repo. The app is built on React Native. [Continue Reading](https://alpaca.markets/blog/open-source-mobile-trading-app/) ## [Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 23, 2018[0 Comments](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/#disqus_thread) [![Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/content/images/2020/03/16x9-1.png)](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) Fintech Startup Alpaca Unveils World’s First Commission Free API Stock Broker For Algorithmic Trading [Continue Reading](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Stock API Updates ### Tag: stock api Total 14 Posts ## [Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/position-liquidation-cancel-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 29, 2019[0 Comments](https://alpaca.markets/blog/position-liquidation-cancel-orders/#disqus_thread) [![Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/content/images/2020/03/0_Z9_c0uNWOKn8-Yt7.jpeg)](https://alpaca.markets/blog/position-liquidation-cancel-orders/) New API features include cancelling orders & position liquidations. [Continue Reading](https://alpaca.markets/blog/position-liquidation-cancel-orders/) ## [MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 18, 2019[0 Comments](https://alpaca.markets/blog/websocket-moc-cors/#disqus_thread) [![MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/content/images/2020/03/0_P2DkWhzqgLWpM7Hk.jpeg)](https://alpaca.markets/blog/websocket-moc-cors/) Launching market-on-close, limit-on-close orders, WebSocket, and more and more! [Continue Reading](https://alpaca.markets/blog/websocket-moc-cors/) ## [Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/commission-free-short-selling/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 08, 2019[0 Comments](https://alpaca.markets/blog/commission-free-short-selling/#disqus_thread) [![Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/content/images/2020/03/1_canI2LSf-psNSf7FlPn_HQ.png)](https://alpaca.markets/blog/commission-free-short-selling/) Commission-free short selling finally came to Alpaca. In addition to this, we are introducing margin trading as well. [Continue Reading](https://alpaca.markets/blog/commission-free-short-selling/) ## [Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/manual-trading-stocks/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 21, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-stocks/#disqus_thread) [![Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/content/images/2020/03/1_Ko5g2SPcOc5-yV74vkt7eA.png)](https://alpaca.markets/blog/manual-trading-stocks/) With Alpaca, you can now liquidate positions, cancel open orders manually, and you can active and deactivate API manually on the mobile app. [Continue Reading](https://alpaca.markets/blog/manual-trading-stocks/) ## [Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) [![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png)](https://alpaca.markets/blog/open-source-mobile-trading-app/) Introducing an example mobile app “Alpaca Dashboard” on the App Store and its code in full open-sourced on the GitHub repo. The app is built on React Native. [Continue Reading](https://alpaca.markets/blog/open-source-mobile-trading-app/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Broker API Updates ### Tag: broker api Total 47 Posts ## [Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) By [Luke West](https://alpaca.markets/blog/author/luke/) • December 11, 2024[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/#disqus_thread) [![Alpaca Wins "Best Brokerage for Sophisticated Traders" at 2024 Benzinga Global Fintech Awards](https://alpaca.markets/blog/content/images/2024/12/benzinga-2024-graphic.png)](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) Alpaca wins "Best Brokerage for Sophisticated Traders" at the 2024 Benzinga Global Fintech Awards, marking its third consecutive award at the event. [Continue Reading](https://alpaca.markets/blog/alpaca-wins-best-brokerage-for-sophisticated-traders-at-2024-benzinga-global-fintech-awards/) ## [FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) By [Luke West](https://alpaca.markets/blog/author/luke/) • November 11, 2024[0 Comments](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/#disqus_thread) [![FIX API Now Supported Through Alpaca](https://alpaca.markets/blog/content/images/2024/11/fix-api-blog.png)](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) With this FIX API integration, Alpaca continues to meet industry-standard expectations while delivering exceptional performance to our partners. [Continue Reading](https://alpaca.markets/blog/fix-api-now-supported-through-alpaca/) ## [Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) By [Luke West](https://alpaca.markets/blog/author/luke/) • October 16, 2024[0 Comments](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/#disqus_thread) [![Alpaca Launches Global High-Yield Cash API](https://alpaca.markets/blog/content/images/2024/10/IRA-blog_1@3x.png)](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) Alpaca has officially announced our High-Yield Cash API, a top-of-funnel growth mechanism that empowers our partners to win cash deposits from both new and existing customers. [Continue Reading](https://alpaca.markets/blog/alpacas-global-high-yield-cash-api/) ## [IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • September 03, 2024[0 Comments](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/#disqus_thread) [![IRA Accounts Now Available Through Alpaca’s Broker API](https://alpaca.markets/blog/content/images/2024/09/IRA-blog.png)](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) Alpaca now offers Individual Retirement Arrangements (IRAs) accounts for your customers – learn how to enable this tax-advantaged option that drives business impact. [Continue Reading](https://alpaca.markets/blog/ira-accounts-now-available-through-alpacas-broker-api/) ## [Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 19, 2024[0 Comments](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/#disqus_thread) [![Alpaca’s Local Currency Trading API Now Supports Stop, Stop Limit and Limit Orders with Extended Hours](https://alpaca.markets/blog/content/images/2024/07/v02_Stop-Limit-on-Fractional.png)](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) Alpaca’s Local Currency Trading API now supports limit, stop, and stop limit for both nominal and fractional order types. LCT now offers extended hours trading for limit orders too. [Continue Reading](https://alpaca.markets/blog/alpacas-local-currency-trading-api-now-supports-stop-stop-limit-and-limit-orders-with-extended-hours/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Open Source ![Author image](https://alpaca.markets/blog/content/images/2021/10/Image-from-iOS--1-.jpg) ### Crystal Xue 6 Posts ## [Hacktoberfest 2021 ? Celebrate Open Source with Alpaca](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 08, 2021[0 Comments](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/#disqus_thread) [![Hacktoberfest 2021 ? Celebrate Open Source with Alpaca](https://alpaca.markets/blog/content/images/2021/10/Hacktoberfest-blog-cover-1.png)](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/) October is for open-source celebrations and Alpaca is excited to participate! For the first time ever, we’re actively seeking Hacktoberfest contributions. Contribute to our open-source projects in the month of October and win cool Alpaca swag. [Continue Reading](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Sasha Cotterell's Trading Insights ![Author image](https://alpaca.markets/blog/content/images/2021/09/image0-2.JPEG) ### Sasha Cotterell 13 Posts ## [Market Data API v1 Sunset Notification](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • January 24, 2022[0 Comments](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/#disqus_thread) [![Market Data API v1 Sunset Notification](https://alpaca.markets/blog/content/images/2022/01/Data-API-v1-Breaking-Change--2-.png)](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) Market Data API v1 endpoints and documentation will sunset on March 15, 2022. [Continue Reading](https://alpaca.markets/blog/market-data-api-v1-sunset-notification/) ## [Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 22, 2021[0 Comments](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/#disqus_thread) [![Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Stonks_announcement_blog.png)](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) Powered by Broker API, Stonks Trading is a user-owned trading platform that enables users to buy, sell, and short U.S. stocks commission-free. [Continue Reading](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) ## [Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/#disqus_thread) [![Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Charityvest-Announcement_blog.png)](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) Powered by Broker API, Charityvest enables individuals to open donor-advised funds and grow their balance with investments. [Continue Reading](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) ## [Alpaca and Snap Inc. Bring Stock Data to Augmented Reality](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 08, 2021[0 Comments](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/#disqus_thread) [![Alpaca and Snap Inc. Bring Stock Data to Augmented Reality](https://alpaca.markets/blog/content/images/2021/12/Snap-Partnership-Graphic_blog_V02--2-.png)](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) Alpaca and Snap Inc. collaborate to bring stock market data to augmented reality. [Continue Reading](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) ## [Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 06, 2021[0 Comments](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/#disqus_thread) [![Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/content/images/2021/11/TradingView-Announcement_blog.png)](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) TradingView’s advanced charting integration on the Alpaca dashboard is now powered by Market Data API. [Continue Reading](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Broker API Case Studies ### Tag: Alpaca Broker API Case Study Total 30 Posts Introducing apps and services that leverage Alpaca Broker API to build innovative products. ## [Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/#disqus_thread) [![Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Charityvest-Announcement_blog.png)](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) Powered by Broker API, Charityvest enables individuals to open donor-advised funds and grow their balance with investments. [Continue Reading](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) ## [Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • November 02, 2021[0 Comments](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/#disqus_thread) [![Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/11/Midas-Concept1.png)](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) Powered by Broker API, Midas is Turkey's first fully digital stock brokerage offering access to both Turkish and US stock markets. [Continue Reading](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) ## [Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • September 30, 2021[0 Comments](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/#disqus_thread) [![Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/09/Lightyear-announcement_blog-cover@4x.png)](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) Lightyear enables simple and accessible trading of over 1,000 US stocks to UK investors. [Continue Reading](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) ## [Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 12, 2021[0 Comments](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/#disqus_thread) [![Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/Xantos-Announcement-art-V01-Horse-2-1.png)](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) Powered by Broker API, Xantos Labs offers a premium investing experience. As the investment manager for the next generation of investors, Xantos Labs builds and manages portfolios for everday folks. [Continue Reading](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) ## [Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 05, 2021[0 Comments](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/#disqus_thread) [![Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/GoTrade-Blog-Cover-1.png)](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) Powered by Alpaca Broker API, Gotrade enables retail investors from over 150 countries to trade commission-free in whole or fractional shares of US stocks. [Continue Reading](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Integrations and Features ### Tag: integrations Total 7 Posts ## [Zapier Integration & User Configuration Features](https://alpaca.markets/blog/zapier-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 16, 2019[0 Comments](https://alpaca.markets/blog/zapier-integration/#disqus_thread) [![Zapier Integration & User Configuration Features](https://alpaca.markets/blog/content/images/2020/03/download.jpeg)](https://alpaca.markets/blog/zapier-integration/) Zapier integration, replace order feature, and more were released from Alpaca! [Continue Reading](https://alpaca.markets/blog/zapier-integration/) ## [Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) [![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png)](https://alpaca.markets/blog/open-source-mobile-trading-app/) Introducing an example mobile app “Alpaca Dashboard” on the App Store and its code in full open-sourced on the GitHub repo. The app is built on React Native. [Continue Reading](https://alpaca.markets/blog/open-source-mobile-trading-app/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca API Case Studies ### Tag: Alpaca Broker API Case Study Total 30 Posts Introducing apps and services that leverage Alpaca Broker API to build innovative products. ## [Elphinstone: Transforming Pakistani Investing with USD Accessibility](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • February 20, 2024[0 Comments](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/#disqus_thread) [![Elphinstone: Transforming Pakistani Investing with USD Accessibility](https://alpaca.markets/blog/content/images/2024/02/elphinstone_customer_story.png)](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) Co-founded by Farooq Tirmizi and Uzair Mahmud in 2020, Elphinstone addresses a critical pain point faced by Pakistanis — earning in American dollars but struggling to save and invest with them. [Continue Reading](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) ## [Mexico's RUUT Pioneering Fintech Solutions for New Investors](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • December 14, 2023[0 Comments](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/#disqus_thread) [![Mexico's RUUT Pioneering Fintech Solutions for New Investors](https://alpaca.markets/blog/content/images/2023/12/ruut_customer_story.png)](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) Born out of a mission to provide accessible, fair, and simple tools for wealth generation, RUUT is addressing Mexico’s unique challenges faced by new investors. Currently situated in Mexico City and supported by Alpaca's Broker API, RUUT has seen significant growth since their launch while ensuring their [Continue Reading](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) ## [GUGU Paves the Way for US Stock Investing in Asia](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • December 07, 2023[0 Comments](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/#disqus_thread) [![GUGU Paves the Way for US Stock Investing in Asia](https://alpaca.markets/blog/content/images/2023/12/V02_gugu-customer-story-copy@4x.png)](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) In the bustling financial landscape of Hong Kong, Asia Win Inc Limited, under Owen Huang’s leadership, introduced GUGU in June 2020. GUGU is not just a financial platform; it's a mission-driven venture committed to breaking down barriers for Asian investors looking to enter the US stock market. [Continue Reading](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) ## [Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • October 30, 2023[0 Comments](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/#disqus_thread) [![Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca](https://alpaca.markets/blog/content/images/2023/10/spaceship-customer-story@3x.png)](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) In the dynamic realm of financial technology, Spaceship is set to transform the investment experience for young Australians. The company has not only established itself as a visionary in the field but has strategically chosen Alpaca as a service provider to further enhance its offerings. It’s time to climb [Continue Reading](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) ## [Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 14, 2023[0 Comments](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/#disqus_thread) [![Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors](https://alpaca.markets/blog/content/images/2023/08/drahim-customer-story.png)](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) ? Discover a new era of financial management with Drahim App Investments (“Drahim”)! ?? As a registered investment adviser, Drahim aims to transform how people perceive and manage their money. Discover their story today! [Continue Reading](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## SDK Updates and Notices ### Tag: sdk Total 7 Posts ## [SDK Release Notes - January 2022](https://alpaca.markets/blog/sdk-release-notes-january-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • February 02, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-january-2022/#disqus_thread) [![SDK Release Notes - January 2022](https://alpaca.markets/blog/content/images/2022/02/SDK-Release-Notes-January-2022_blog-1.png)](https://alpaca.markets/blog/sdk-release-notes-january-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-january-2022/) ## [Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/python36-end-of-life/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/python36-end-of-life/#disqus_thread) [![Deprecation Notice: Python 3.6 Has Reached Its End of Life](https://alpaca.markets/blog/content/images/2021/12/How-to-Use-OAuth-to-Create-Your-Own-Trading-App-With-NodeJS_blog-4.png)](https://alpaca.markets/blog/python36-end-of-life/) On December 23rd 2021, Python 3.6 will reach its end of life and it will stop being maintained. There will not be any new updates to Python 3.6 after that date, including any bug fixes or security patches. [Continue Reading](https://alpaca.markets/blog/python36-end-of-life/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Investment Insights ![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png) ### Sonia Sethi 38 Posts ## [Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 20, 2023[0 Comments](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/#disqus_thread) [![Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca](https://alpaca.markets/blog/content/images/2023/04/blog-streetbeat-customer-success--1-.png)](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) Streetbeat,is a registered investment adviser that offers an investment platform designed to make the stock and ETF trading process accessible for retail investors. Discover how they have partnered with Alpaca! [Continue Reading](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) ## [Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • March 09, 2023[0 Comments](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/#disqus_thread) [![Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca](https://alpaca.markets/blog/content/images/2023/03/zad-customer-story--2-.png)](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) Securities House launches Zad, the first-of-its-kind digital investment platform in Kuwait, offering end-users access to trade over 4,000 stocks and ETFs in full compliance with Islamic Shariah principles. Discover their story and how they partnered with Alpaca. [Continue Reading](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) ## [Alpaca Named to Y Combinator’s Top Private Companies of 2023 List](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 28, 2023[0 Comments](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/#disqus_thread) [![Alpaca Named to Y Combinator’s Top Private Companies of 2023 List](https://alpaca.markets/blog/content/images/2023/02/y-combinator_top-company-list_2023.png)](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) Alpaca has been recognized on Y Combinator's Top Private Companies 2023 list! ? We are deeply honored to be recognized alongside more than 290 companies. [Continue Reading](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) ## [UAE Fintech InvestSky Launches Social Investing Platform with Alpaca](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 13, 2023[0 Comments](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/#disqus_thread) [![UAE Fintech InvestSky Launches Social Investing Platform with Alpaca](https://alpaca.markets/blog/content/images/2023/02/investsky-customer-story--1-.png)](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) InvestSky is a social investing platform that offers a new generation of investors the opportunity to embark on trading stocks in a more inclusive, intuitive, and informed way. About InvestSky InvestSky, was established in 2021 by Nitish Mittal and Turki Alshaikh to help remove the challenges and hurdles of investing [Continue Reading](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) ## [Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 19, 2023[0 Comments](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/#disqus_thread) [![Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca](https://alpaca.markets/blog/content/images/2023/01/woodstock-customer-success.png)](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) Woodstock is Japan’s very first social US stock trading app, offering its end-users the opportunity to invest in the US stock market for as little as 1,000 yen. Find out how they have partnered with Alpaca. [Continue Reading](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Sonia Sethi's Wealth Management Insights ![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png) ### Sonia Sethi 38 Posts ## [Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 05, 2023[0 Comments](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/#disqus_thread) [![Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API](https://alpaca.markets/blog/content/images/2023/01/weltio-customer-success--1-.png)](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) Weltio, launches a wealth management platform that offers Latin American investors the opportunity to invest in U.S. stocks, ETFs, and cryptocurrencies. Find out how they’re leveraging Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) ## [Alpaca 2022 Year in Review](https://alpaca.markets/blog/alpaca-2022-year-in-review/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 03, 2023[0 Comments](https://alpaca.markets/blog/alpaca-2022-year-in-review/#disqus_thread) [![Alpaca 2022 Year in Review](https://alpaca.markets/blog/content/images/2023/01/2022-recap-blog.png)](https://alpaca.markets/blog/alpaca-2022-year-in-review/) 2022 was an interesting year, to say the least; we’re taking a moment to reflect on all the major milestones Alpaca has achieved in the last twelve months. Let’s recap the key moments below. [Continue Reading](https://alpaca.markets/blog/alpaca-2022-year-in-review/) ## [Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 09, 2022[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/#disqus_thread) [![Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2022/12/blog_benzinga-global-fintech-award--1-.png)](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) Alpaca, a modern stock and crypto investing platform, was recognized at the 8th annual Benzinga Global Fintech Awards and named the overall winner for Best Automated Trading Software in 2022. The Benzinga Global Fintech Awards recognizes outstanding performance, rising stars, and disruptive innovators creating positive changes in the financial technology [Continue Reading](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) ## [Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 01, 2022[0 Comments](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/#disqus_thread) [![Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_abyan-customer-success-1.png)](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) Abyan Capital is a platform that offers an automated investing and wealth management solution. Discover how they’re leveraging Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) ## [Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • November 23, 2022[0 Comments](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/#disqus_thread) [![Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_birdwingo-customer-success_2.png)](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) Birdwingo launches an investment app that focuses on empowering young Europeans to start investing while supporting causes that inspire them. Find out how they’re using Alpaca Broker API to achieve this [Continue Reading](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## New Alpaca API Plans # 404 ## Page not found [Go to the front page →](https://alpaca.markets/blog) ## Alpaca Broker API Insights ### Tag: broker api Total 47 Posts ## [Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 05, 2021[0 Comments](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/#disqus_thread) [![Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/GoTrade-Blog-Cover-1.png)](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) Powered by Alpaca Broker API, Gotrade enables retail investors from over 150 countries to trade commission-free in whole or fractional shares of US stocks. [Continue Reading](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) ## [Introducing Alpaca Broker API](https://alpaca.markets/blog/introducing-broker-api/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • April 21, 2021[0 Comments](https://alpaca.markets/blog/introducing-broker-api/#disqus_thread) [![Introducing Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/04/broker-api-1.png)](https://alpaca.markets/blog/introducing-broker-api/) Open brokerage accounts, enable commission-free trading, and manage the ongoing user experience with Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/introducing-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Updates ## [Breaking Change Notification for Account Creation Tax ID Requirement](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 28, 2021[0 Comments](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/#disqus_thread) [![Breaking Change Notification for Account Creation Tax ID Requirement](https://alpaca.markets/blog/content/images/2021/10/Account-Creation-Tax-ID-Requirement-Breaking-Change-Notificatio_blog-2.png)](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) As part of the onboarding process for Broker API user accounts, we require specific attributes to be passed in at the time of account creation. [Continue Reading](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) ## [Alpaca Launches Developer-Friendly Crypto Trading API](https://alpaca.markets/blog/alpaca-launches-crypto-trading/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • October 26, 2021[0 Comments](https://alpaca.markets/blog/alpaca-launches-crypto-trading/#disqus_thread) [![Alpaca Launches Developer-Friendly Crypto Trading API](https://alpaca.markets/blog/content/images/2021/10/Crypto-GTM-Launch_Blog-cover-1.png)](https://alpaca.markets/blog/alpaca-launches-crypto-trading/) Alpaca launches easy to use, developer-friendly crypto trading API. Alpaca is excited to launch the public beta of its newest product: Alpaca Crypto API. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-crypto-trading/) ## [Hacktoberfest 2021 ? Celebrate Open Source with Alpaca](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 08, 2021[0 Comments](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/#disqus_thread) [![Hacktoberfest 2021 ? Celebrate Open Source with Alpaca](https://alpaca.markets/blog/content/images/2021/10/Hacktoberfest-blog-cover-1.png)](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/) October is for open-source celebrations and Alpaca is excited to participate! For the first time ever, we’re actively seeking Hacktoberfest contributions. Contribute to our open-source projects in the month of October and win cool Alpaca swag. [Continue Reading](https://alpaca.markets/blog/hacktoberfest-2021-celebrate-open-source-with-alpaca/) ## [Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • September 30, 2021[0 Comments](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/#disqus_thread) [![Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/09/Lightyear-announcement_blog-cover@4x.png)](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) Lightyear enables simple and accessible trading of over 1,000 US stocks to UK investors. [Continue Reading](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) ## [Shorting Prevention Breaking Change Notification](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 30, 2021[0 Comments](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/#disqus_thread) [![Shorting Prevention Breaking Change Notification](https://alpaca.markets/blog/content/images/2021/09/Shorting-Prevention-Breaking-Change-Notification_blog-cover-6.png)](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) In order to prevent mixed notional and quantity sell sequences outside of market hours, we will introduce a breaking change. [Continue Reading](https://alpaca.markets/blog/shorting-prevention-breaking-change-notification/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Broker API ### Tag: broker api Total 47 Posts ## [Alpaca Launches Onfido SDK for Broker API](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 10, 2022[0 Comments](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/#disqus_thread) [![Alpaca Launches Onfido SDK for Broker API](https://alpaca.markets/blog/content/images/2022/02/Onfido_BlogAnnouncement.png)](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) Onfido SDK for Broker API enables you to quickly onboard end-users, offer a frictionless user experience, and reduce fraud attempts. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) ## [Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 07, 2022[0 Comments](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/#disqus_thread) [![Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/content/images/2022/02/News_API_Illustration.png)](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) Alpaca extends Market Data API to include News API, which provides developers with access to real-time and historical financial news. [Continue Reading](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) ## [Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 22, 2021[0 Comments](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/#disqus_thread) [![Stonks Trading Launches User-Owned Financial Management Platform Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Stonks_announcement_blog.png)](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) Powered by Broker API, Stonks Trading is a user-owned trading platform that enables users to buy, sell, and short U.S. stocks commission-free. [Continue Reading](https://alpaca.markets/blog/stonks-trading-launches-user-owned-financial-management-platform-powered-by-alpaca-broker-api/) ## [Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/#disqus_thread) [![Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Charityvest-Announcement_blog.png)](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) Powered by Broker API, Charityvest enables individuals to open donor-advised funds and grow their balance with investments. [Continue Reading](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) ## [Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) By [Neal Patel](https://alpaca.markets/blog/author/neal/) • November 22, 2021[0 Comments](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/#disqus_thread) [![Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/content/images/2021/11/OMS-Launch-announcement_V03--3-.png)](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) Alpaca launches the next version of its Order Management System (OMS) that's 100 times faster and maintains low latency order processing, even during heavy trading volume. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Broker API Insights ### Tag: broker api Total 47 Posts ## [Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 08, 2022[0 Comments](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/#disqus_thread) [![Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API](https://alpaca.markets/blog/content/images/2022/08/blog_local-currency.png)](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) Alpaca's Local Currency Trading API allows your customers to see the value of stock prices, trades, performance, and statements in their local currencies. [Continue Reading](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) ## [Create Custom Portfolios that Automatically Invests Funds with Rebalancing API](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 09, 2022[0 Comments](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/#disqus_thread) [![Create Custom Portfolios that Automatically Invests Funds with Rebalancing API](https://alpaca.markets/blog/content/images/2022/08/blog_rebalancing-api.png)](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) We are excited to announce the launch of Rebalancing API ? This new offering allows investment advisors or your customers to easily create investment portfolios that are automatically updated to the specified cash, stock symbol, percentage weights, rebalance conditions, and triggers selected. What is Rebalancing? Rebalancing is the process of realigning [Continue Reading](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) ## [Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 27, 2022[0 Comments](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/#disqus_thread) [![Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/content/images/2022/07/blog_alpaca-py-1.png)](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) Introducing Alpaca-py, ? Our official Python SDK that enables app developers and traders to easily interact with Alpaca's complete suite of API products. [Continue Reading](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) ## [Display Logos of Popular Crypto & Stock Symbols with Broker API](https://alpaca.markets/blog/display-logos-of-popular-crypto/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 22, 2022[0 Comments](https://alpaca.markets/blog/display-logos-of-popular-crypto/#disqus_thread) [![Display Logos of Popular Crypto & Stock Symbols with Broker API](https://alpaca.markets/blog/content/images/2022/06/Logo_API_Social--1-.png)](https://alpaca.markets/blog/display-logos-of-popular-crypto/) Easily embed logos of popular stock and crypto coins such as Apple, Tesla, Google, Bitcoin, Ethereum, and more into your app's interface with Logo API. [Continue Reading](https://alpaca.markets/blog/display-logos-of-popular-crypto/) ## [Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 13, 2022[0 Comments](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/#disqus_thread) [![Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/06/MT5_Social_-Yellow-.png)](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) MT5 Omni Gateway is a turnkey solution that enables your customers to trade U.S stocks directly in MetaTrader 5 by connecting to Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. ## Sonia Sethi's Insights ![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png) ### Sonia Sethi 38 Posts ## [Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 15, 2023[0 Comments](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/#disqus_thread) [![Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors](https://alpaca.markets/blog/content/images/2023/06/customer-story_rivium.png)](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) ?Sylon Asesores, a registered investment advisor, introduces Rivium,a user-friendly app that delivers a personalized banking and investing experience to Mexican investors. ? Curious to know more about Rivium's collaboration with Alpaca? ? Dive deeper into the details in our latest article. [Continue Reading](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) ## [Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 12, 2023[0 Comments](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/#disqus_thread) [![Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/content/images/2023/06/new-documentation-site-live-article--1-.png)](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) ? Big announcement! We are absolutely thrilled to unveil our newly improved documentation site, now integrated with Readme! ?✨ Our hardworking team has worked endless hours to enhance your experience and keep us at the forefront of innovation. [Continue Reading](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) ## [\[Overview\]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 06, 2023[0 Comments](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/#disqus_thread) [![[Overview]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/content/images/2023/06/feature-updates-on-broker-api-dashboard.png)](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) We're thrilled to announce the latest additions and improvements to our Broker API dashboard! ?✨ These updates have been carefully designed to help enhance functionality and streamline your experiences. ?? [Continue Reading](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) ## [Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • May 23, 2023[0 Comments](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/#disqus_thread) [![Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca](https://alpaca.markets/blog/content/images/2023/05/v02_traderpal-customer-story.png)](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) ?Exciting news! Traderpal teams up with Alpaca to bring accessible stock trading to Spanish-speaking individuals. [Continue Reading](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) ## [Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/low-latency-ledger-upgrade/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 27, 2023[0 Comments](https://alpaca.markets/blog/low-latency-ledger-upgrade/#disqus_thread) [![Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/content/images/2023/04/asyn-mode-product-blog.png)](https://alpaca.markets/blog/low-latency-ledger-upgrade/) ?We are excited to share that we have significantly improved our ledger, resulting in meaningful enhancements of bringing down the median processing time from over 15 minutes to under 250ms (0.15 seconds). ? [Continue Reading](https://alpaca.markets/blog/low-latency-ledger-upgrade/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [Alpaca Introduces OAuth Support](https://alpaca.markets/blog/oauth/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 04, 2020[0 Comments](https://alpaca.markets/blog/oauth/#disqus_thread) [![Alpaca Introduces OAuth Support](https://alpaca.markets/blog/content/images/2020/03/alpaca-oauth.png)](https://alpaca.markets/blog/oauth/) We’re excited to introduce OAuth support to the Alpaca API! You can now build more things with Alpaca, thanks to the ability to use OAuth clients. Get started today. [Continue Reading](https://alpaca.markets/blog/oauth/) ## [Manual Trading Widget on Alpaca](https://alpaca.markets/blog/manual-trading-widget/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 11, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-widget/#disqus_thread) [![Manual Trading Widget on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-manual-trading.png)](https://alpaca.markets/blog/manual-trading-widget/) Manual trading widget on the main dashboard! Trading with an API or algos doesn’t always need to be fully automated :) [Continue Reading](https://alpaca.markets/blog/manual-trading-widget/) ## [Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/position-liquidation-cancel-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 29, 2019[0 Comments](https://alpaca.markets/blog/position-liquidation-cancel-orders/#disqus_thread) [![Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/content/images/2020/03/0_Z9_c0uNWOKn8-Yt7.jpeg)](https://alpaca.markets/blog/position-liquidation-cancel-orders/) New API features include cancelling orders & position liquidations. [Continue Reading](https://alpaca.markets/blog/position-liquidation-cancel-orders/) ## [MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 18, 2019[0 Comments](https://alpaca.markets/blog/websocket-moc-cors/#disqus_thread) [![MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/content/images/2020/03/0_P2DkWhzqgLWpM7Hk.jpeg)](https://alpaca.markets/blog/websocket-moc-cors/) Launching market-on-close, limit-on-close orders, WebSocket, and more and more! [Continue Reading](https://alpaca.markets/blog/websocket-moc-cors/) ## [Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/commission-free-short-selling/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 08, 2019[0 Comments](https://alpaca.markets/blog/commission-free-short-selling/#disqus_thread) [![Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/content/images/2020/03/1_canI2LSf-psNSf7FlPn_HQ.png)](https://alpaca.markets/blog/commission-free-short-selling/) Commission-free short selling finally came to Alpaca. In addition to this, we are introducing margin trading as well. [Continue Reading](https://alpaca.markets/blog/commission-free-short-selling/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Trading API Updates ## [Alpaca Launches Data API](https://alpaca.markets/blog/market-data-apiv2/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • May 26, 2021[0 Comments](https://alpaca.markets/blog/market-data-apiv2/#disqus_thread) [![Alpaca Launches Data API](https://alpaca.markets/blog/content/images/2021/05/Gallery--3-Data-1@2x--1--2.png)](https://alpaca.markets/blog/market-data-apiv2/) Alpaca is excited to launch Alpaca Data API. Access unlimited real-time stock data through rest APIs and SDKs. Data API is built to be simple, powerful, and scalable. [Continue Reading](https://alpaca.markets/blog/market-data-apiv2/) ## [REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/reg-taf-fees/) By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • May 03, 2021[0 Comments](https://alpaca.markets/blog/reg-taf-fees/#disqus_thread) [![REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/content/images/2021/05/Alpaca-1.png)](https://alpaca.markets/blog/reg-taf-fees/) In this blog, we provide an update on the REG/TAF Fee calculation which has changed for all Alpaca customers [Continue Reading](https://alpaca.markets/blog/reg-taf-fees/) ## [Introducing Alpaca Broker API](https://alpaca.markets/blog/introducing-broker-api/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • April 21, 2021[0 Comments](https://alpaca.markets/blog/introducing-broker-api/#disqus_thread) [![Introducing Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/04/broker-api-1.png)](https://alpaca.markets/blog/introducing-broker-api/) Open brokerage accounts, enable commission-free trading, and manage the ongoing user experience with Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/introducing-broker-api/) ## [Market Data v2 Beta Status Update](https://alpaca.markets/blog/market-data-api-beta-update/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • March 25, 2021[0 Comments](https://alpaca.markets/blog/market-data-api-beta-update/#disqus_thread) [![Market Data v2 Beta Status Update](https://alpaca.markets/blog/content/images/2021/03/blog_img-4.png)](https://alpaca.markets/blog/market-data-api-beta-update/) We launched our data v2 in public beta at the end of February after launching v1 last May. Read our status update on or new beta product. [Continue Reading](https://alpaca.markets/blog/market-data-api-beta-update/) ## [Introducing Fractional Trading](https://alpaca.markets/blog/fractional-trading/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 03, 2021[0 Comments](https://alpaca.markets/blog/fractional-trading/#disqus_thread) [![Introducing Fractional Trading](https://alpaca.markets/blog/content/images/2021/03/Untitled--4-.png)](https://alpaca.markets/blog/fractional-trading/) We are proud to announce that our trading APIs now support fractional shares [Continue Reading](https://alpaca.markets/blog/fractional-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Bitcoin Trading Insights ## [How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 08, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/#disqus_thread) [![How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data.png)](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) You want to test your algo when you drop the very first version. But you also want to test the algo when you make changes or adjustments while the algo is running. [Continue Reading](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) ## [MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2018[0 Comments](https://alpaca.markets/blog/marketstore-opensource-database/#disqus_thread) [![MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/content/images/2020/03/fruits.jpeg)](https://alpaca.markets/blog/marketstore-opensource-database/) We are happy to announce MarketStore is now open source! MarketStore is a database server optimized for financial timeseries data written in pure Go, designed and developed by Alpaca. [Continue Reading](https://alpaca.markets/blog/marketstore-opensource-database/) ## [Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/algorithmic-trading-puzzle/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 26, 2018[0 Comments](https://alpaca.markets/blog/algorithmic-trading-puzzle/#disqus_thread) [![Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/content/images/2020/03/coding.gif)](https://alpaca.markets/blog/algorithmic-trading-puzzle/) Announcing the answer for the algorithmic trading puzzle. [Continue Reading](https://alpaca.markets/blog/algorithmic-trading-puzzle/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Investment Accessibility Innovations ## [Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 18, 2023[0 Comments](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/#disqus_thread) [![Pebble Finance Partners with Alpaca to Introduce App for Digital Natives to Take Control of Their Investments](https://alpaca.markets/blog/content/images/2023/07/pebble-customer-story--1-.png)](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) ? Exciting news! Pebble Finance, a registered investment advisor, has partnered with Alpaca to introduce an innovative app designed specifically for digital natives to take control of their investments. ?? [Continue Reading](https://alpaca.markets/blog/pebble-finance-partners-with-alpaca-to-introduce-app-for-digital-natives-to-take-control-of-their-investments/) ## [Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 05, 2023[0 Comments](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/#disqus_thread) [![Investlink Empowers Investors in Kazakhstan with Diverse Investment Opportunities with Alpaca](https://alpaca.markets/blog/content/images/2023/07/v02_customer-story_investlink.png)](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) Investlink, a registered broker-dealer, is on a mission to democratize investments and promote financial literacy. With an intuitive interface and reliable infrastructure provided by Alpaca, they are empowering investors to make informed decisions. Discover their story today!? [Continue Reading](https://alpaca.markets/blog/investlink-empowers-investors-in-kazakhstan-with-diverse-investment-opportunities-with-alpaca/) ## [Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 15, 2023[0 Comments](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/#disqus_thread) [![Sylon Launches Rivium with Alpaca to Make Investing More Accessible for Mexican Investors](https://alpaca.markets/blog/content/images/2023/06/customer-story_rivium.png)](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) ?Sylon Asesores, a registered investment advisor, introduces Rivium,a user-friendly app that delivers a personalized banking and investing experience to Mexican investors. ? Curious to know more about Rivium's collaboration with Alpaca? ? Dive deeper into the details in our latest article. [Continue Reading](https://alpaca.markets/blog/sylon-launches-rivium-with-alpaca-to-make-investing-more-accessible-for-mexican-investors/) ## [Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 12, 2023[0 Comments](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/#disqus_thread) [![Alpaca's Documentation Site Upgrade: Helping Empower Users with Seamless Edits and Live API Interaction](https://alpaca.markets/blog/content/images/2023/06/new-documentation-site-live-article--1-.png)](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) ? Big announcement! We are absolutely thrilled to unveil our newly improved documentation site, now integrated with Readme! ?✨ Our hardworking team has worked endless hours to enhance your experience and keep us at the forefront of innovation. [Continue Reading](https://alpaca.markets/blog/alpacas-documentation-site-upgrade-helping-empower-users-with-seamless-edits-and-live-api-interaction/) ## [\[Overview\]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 06, 2023[0 Comments](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/#disqus_thread) [![[Overview]New Features and Enhancements Added to Broker API Dashboard](https://alpaca.markets/blog/content/images/2023/06/feature-updates-on-broker-api-dashboard.png)](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) We're thrilled to announce the latest additions and improvements to our Broker API dashboard! ?✨ These updates have been carefully designed to help enhance functionality and streamline your experiences. ?? [Continue Reading](https://alpaca.markets/blog/overview-new-features-and-enhancements-added-to-broker-api-dashboard/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Algo Trading Insights ### Tag: algo trading Total 15 Posts ## [Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) [![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg)](https://alpaca.markets/blog/paper-trading-api/) In our continuous effort to make automated trading more accessible, we are pleased to announce the Alpaca Paper Trading API to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. [Continue Reading](https://alpaca.markets/blog/paper-trading-api/) ## [The Automation of Wealth Management](https://alpaca.markets/blog/automation-of-wealth-management/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 03, 2018[0 Comments](https://alpaca.markets/blog/automation-of-wealth-management/#disqus_thread) [![The Automation of Wealth Management](https://alpaca.markets/blog/content/images/2020/03/1_4_oIV6jsM4ZHPmuaeMQGdQ--1-.jpeg)](https://alpaca.markets/blog/automation-of-wealth-management/) Software-driven automation is rapidly transforming the social and economic landscape, with some of the most prominent examples being autonomous vehicles and home assistants. [Continue Reading](https://alpaca.markets/blog/automation-of-wealth-management/) ## [Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 23, 2018[0 Comments](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/#disqus_thread) [![Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/content/images/2020/03/16x9-1.png)](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) Fintech Startup Alpaca Unveils World’s First Commission Free API Stock Broker For Algorithmic Trading [Continue Reading](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) ## [9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/marketstore-faq/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • June 06, 2018[0 Comments](https://alpaca.markets/blog/marketstore-faq/#disqus_thread) [![9 Most Commonly Asked Questions About MarketStore And Answers To Them](https://alpaca.markets/blog/content/images/2020/03/william-stitt-224297-unsplash.jpg)](https://alpaca.markets/blog/marketstore-faq/) I have posted three articles, and these articles generated a lot of great comments and questions. [Continue Reading](https://alpaca.markets/blog/marketstore-faq/) ## [How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 08, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/#disqus_thread) [![How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data.png)](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) You want to test your algo when you drop the very first version. But you also want to test the algo when you make changes or adjustments while the algo is running. [Continue Reading](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Trading Innovations ## [Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • May 23, 2023[0 Comments](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/#disqus_thread) [![Traderpal's User-Friendly App Makes Stock Trading Accessible to Spanish-Speaking Individuals in the U.S. with Alpaca](https://alpaca.markets/blog/content/images/2023/05/v02_traderpal-customer-story.png)](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) ?Exciting news! Traderpal teams up with Alpaca to bring accessible stock trading to Spanish-speaking individuals. [Continue Reading](https://alpaca.markets/blog/traderpals-user-friendly-app-makes-stock-trading-accessible-to-spanish-speaking-individuals-in-the-u-s-with-alpaca/) ## [Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/low-latency-ledger-upgrade/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 27, 2023[0 Comments](https://alpaca.markets/blog/low-latency-ledger-upgrade/#disqus_thread) [![Alpaca Platform Upgrade: 24/7 sub-250ms Latency Transaction Processing](https://alpaca.markets/blog/content/images/2023/04/asyn-mode-product-blog.png)](https://alpaca.markets/blog/low-latency-ledger-upgrade/) ?We are excited to share that we have significantly improved our ledger, resulting in meaningful enhancements of bringing down the median processing time from over 15 minutes to under 250ms (0.15 seconds). ? [Continue Reading](https://alpaca.markets/blog/low-latency-ledger-upgrade/) ## [Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 20, 2023[0 Comments](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/#disqus_thread) [![Streetbeat Brings Data-Driven Investment Strategies Accessible to All with Alpaca](https://alpaca.markets/blog/content/images/2023/04/blog-streetbeat-customer-success--1-.png)](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) Streetbeat,is a registered investment adviser that offers an investment platform designed to make the stock and ETF trading process accessible for retail investors. Discover how they have partnered with Alpaca! [Continue Reading](https://alpaca.markets/blog/streetbeat-brings-data-driven-investment-strategies-accessible-to-all-with-alpaca/) ## [Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • March 09, 2023[0 Comments](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/#disqus_thread) [![Securities House Launches Zad App- Kuwait’s First Shariah-Compliant Investment Platform with Alpaca](https://alpaca.markets/blog/content/images/2023/03/zad-customer-story--2-.png)](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) Securities House launches Zad, the first-of-its-kind digital investment platform in Kuwait, offering end-users access to trade over 4,000 stocks and ETFs in full compliance with Islamic Shariah principles. Discover their story and how they partnered with Alpaca. [Continue Reading](https://alpaca.markets/blog/securities-house-launches-zad-app-kuwaits-first-shariah-compliant-investment-platform-with-alpaca/) ## [Alpaca Named to Y Combinator’s Top Private Companies of 2023 List](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 28, 2023[0 Comments](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/#disqus_thread) [![Alpaca Named to Y Combinator’s Top Private Companies of 2023 List](https://alpaca.markets/blog/content/images/2023/02/y-combinator_top-company-list_2023.png)](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) Alpaca has been recognized on Y Combinator's Top Private Companies 2023 list! ? We are deeply honored to be recognized alongside more than 290 companies. [Continue Reading](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading API ### Tag: trading api Total 29 Posts ## [Alpaca Crypto Rewards Program](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • March 21, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-rewards-program/#disqus_thread) [![Alpaca Crypto Rewards Program](https://alpaca.markets/blog/content/images/2022/03/Crypto-Rewards-Promo_blog.png)](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) Earn $100 in crypto for every $100K in trading volume. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-rewards-program/) ## [SDK Release Notes: February 2022](https://alpaca.markets/blog/release-notes-feb-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/release-notes-feb-2022/#disqus_thread) [![SDK Release Notes: February 2022](https://alpaca.markets/blog/content/images/2022/03/February-2022_SDK-Release-Notes-5.png)](https://alpaca.markets/blog/release-notes-feb-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. These are the SDK updates for February 2022. [Continue Reading](https://alpaca.markets/blog/release-notes-feb-2022/) ## [Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 23, 2022[0 Comments](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/#disqus_thread) [![Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/content/images/2022/02/Final_Blog_ExtendedHours.png)](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) Full extended hours trading from 4 am to 8 pm ET enables you to quickly react to after-hours news and trade flexibly on your schedule. [Continue Reading](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) ## [Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 22, 2022[0 Comments](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/#disqus_thread) [![Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/content/images/2022/02/Corporate-Actions---Learn-Article---blog_cover-.png)](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) Corporate Actions API: Announcements provides information on previous and upcoming dividends, mergers, spinoffs, and stock splits. [Continue Reading](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) ## [Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 07, 2022[0 Comments](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/#disqus_thread) [![Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/content/images/2022/02/News_API_Illustration.png)](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) Alpaca extends Market Data API to include News API, which provides developers with access to real-time and historical financial news. [Continue Reading](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/portfolio-history-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 16, 2020[0 Comments](https://alpaca.markets/blog/portfolio-history-api/#disqus_thread) [![Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/content/images/2020/03/photo-1461360370896-922624d12aa1.jpeg)](https://alpaca.markets/blog/portfolio-history-api/) Now Portfolio History API allows you to flexibly visualize your portfolio performance in real-time. It is now much easier to make your DIY stock trading app pretty ? [Continue Reading](https://alpaca.markets/blog/portfolio-history-api/) ## [Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2020[0 Comments](https://alpaca.markets/blog/oco-oto/#disqus_thread) [![Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png)](https://alpaca.markets/blog/oco-oto/) New advanced order types supported by Alpaca - this time we are launching OCO (One-Cancels-Other) and OTO (One-Triggers-Other) [Continue Reading](https://alpaca.markets/blog/oco-oto/) ## [Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 29, 2020[0 Comments](https://alpaca.markets/blog/blueshift-backtest/#disqus_thread) [![Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-blueshift.png)](https://alpaca.markets/blog/blueshift-backtest/) A leading quant finance school QuantInsti and Alpaca team up to offer a super seamless experience in algo trading through Blueshift integration with Alpaca commission-free trading API [Continue Reading](https://alpaca.markets/blog/blueshift-backtest/) ## [Web Dashboard Gets A Facelift](https://alpaca.markets/blog/web-dashboard-update/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 18, 2020[0 Comments](https://alpaca.markets/blog/web-dashboard-update/#disqus_thread) [![Web Dashboard Gets A Facelift](https://alpaca.markets/blog/content/images/2020/03/alpaca-ui-update.png)](https://alpaca.markets/blog/web-dashboard-update/) The Alpaca web dashboard just got a whole lot better. New UI improvements add functionality and clarity to profiles, account settings, banking, and more. Check it out! [Continue Reading](https://alpaca.markets/blog/web-dashboard-update/) ## [Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 10, 2020[0 Comments](https://alpaca.markets/blog/bracket-orders/#disqus_thread) [![Bracket Orders on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order.png)](https://alpaca.markets/blog/bracket-orders/) Trying to stay within a target price range while stock trading? Alpaca is here to help with all-new bracket order functionality. [Continue Reading](https://alpaca.markets/blog/bracket-orders/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Financial Innovations ## [Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 09, 2021[0 Comments](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/#disqus_thread) [![Charityvest Launches Donor-Advised Funds with Investments Powered by Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/12/Charityvest-Announcement_blog.png)](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) Powered by Broker API, Charityvest enables individuals to open donor-advised funds and grow their balance with investments. [Continue Reading](https://alpaca.markets/blog/charityvest-launches-donor-advised-funds-with-investments-on-balances-powered-by-alpaca-broker-api/) ## [Alpaca and Snap Inc. Bring Stock Data to Augmented Reality](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 08, 2021[0 Comments](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/#disqus_thread) [![Alpaca and Snap Inc. Bring Stock Data to Augmented Reality](https://alpaca.markets/blog/content/images/2021/12/Snap-Partnership-Graphic_blog_V02--2-.png)](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) Alpaca and Snap Inc. collaborate to bring stock market data to augmented reality. [Continue Reading](https://alpaca.markets/blog/alpaca-and-snap-inc-bring-stock-data-to-augmented-reality/) ## [Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 06, 2021[0 Comments](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/#disqus_thread) [![Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/content/images/2021/11/TradingView-Announcement_blog.png)](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) TradingView’s advanced charting integration on the Alpaca dashboard is now powered by Market Data API. [Continue Reading](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) ## [Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) By [Neal Patel](https://alpaca.markets/blog/author/neal/) • November 22, 2021[0 Comments](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/#disqus_thread) [![Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/content/images/2021/11/OMS-Launch-announcement_V03--3-.png)](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) Alpaca launches the next version of its Order Management System (OMS) that's 100 times faster and maintains low latency order processing, even during heavy trading volume. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) ## [Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • November 02, 2021[0 Comments](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/#disqus_thread) [![Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/11/Midas-Concept1.png)](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) Powered by Broker API, Midas is Turkey's first fully digital stock brokerage offering access to both Turkish and US stock markets. [Continue Reading](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Innovations ## [Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • April 18, 2024[0 Comments](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/#disqus_thread) [![Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/content/images/2024/04/DTCC-Self-Clearing-Status-1.png)](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ? We are thrilled to announce that Alpaca has successfully transitioned to self-clearing at DTCC, marking a significant milestone in our journey. [Continue Reading](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ## [Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 29, 2024[0 Comments](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/#disqus_thread) [![Fractional Shares Trading Supports Limit Orders and Extended Hours](https://alpaca.markets/blog/content/images/2024/02/fractional-limit-orders_extended-hours.png)](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) Alpaca now supports limit orders and extended hours trading for fractional shares trading. [Continue Reading](https://alpaca.markets/blog/fractional-shares-trading-supports-limit-orders-and-extended-hours/) ## [Elphinstone: Transforming Pakistani Investing with USD Accessibility](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • February 20, 2024[0 Comments](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/#disqus_thread) [![Elphinstone: Transforming Pakistani Investing with USD Accessibility](https://alpaca.markets/blog/content/images/2024/02/elphinstone_customer_story.png)](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) Co-founded by Farooq Tirmizi and Uzair Mahmud in 2020, Elphinstone addresses a critical pain point faced by Pakistanis — earning in American dollars but struggling to save and invest with them. [Continue Reading](https://alpaca.markets/blog/elphinstone-transforming-pakistani-investing-with-usd-accessibility/) ## [Alpaca's 2023 Year in Review](https://alpaca.markets/blog/alpaca-2023-year-in-review/) By [Giovana Avoni](https://alpaca.markets/blog/author/giovana/) • January 04, 2024[0 Comments](https://alpaca.markets/blog/alpaca-2023-year-in-review/#disqus_thread) [![Alpaca's 2023 Year in Review](https://alpaca.markets/blog/content/images/2024/01/2023-recap-blog-copy@3x.png)](https://alpaca.markets/blog/alpaca-2023-year-in-review/) Welcome to Alpaca's Year-in-Review – a journey through the milestones, partnerships, and innovations that have shaped our remarkable year in 2023. As we are now full speed running in 2024, we are truly grateful for your continuous support. Please join us in revisiting the key moments in 2023 that [Continue Reading](https://alpaca.markets/blog/alpaca-2023-year-in-review/) ## [Mexico's RUUT Pioneering Fintech Solutions for New Investors](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • December 14, 2023[0 Comments](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/#disqus_thread) [![Mexico's RUUT Pioneering Fintech Solutions for New Investors](https://alpaca.markets/blog/content/images/2023/12/ruut_customer_story.png)](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) Born out of a mission to provide accessible, fair, and simple tools for wealth generation, RUUT is addressing Mexico’s unique challenges faced by new investors. Currently situated in Mexico City and supported by Alpaca's Broker API, RUUT has seen significant growth since their launch while ensuring their [Continue Reading](https://alpaca.markets/blog/mexicos-ruut-pioneering-fintech-solutions-for-new-investors/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Innovations ## [Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 08, 2022[0 Comments](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/#disqus_thread) [![Offer US Stocks in your Native Currency with Alpaca’s Local Currency Trading API](https://alpaca.markets/blog/content/images/2022/08/blog_local-currency.png)](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) Alpaca's Local Currency Trading API allows your customers to see the value of stock prices, trades, performance, and statements in their local currencies. [Continue Reading](https://alpaca.markets/blog/offer-us-stocks-in-your-native-currency-with-alpacas-local-currency-trading-api/) ## [Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 17, 2022[0 Comments](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/#disqus_thread) [![Alpaca Effectively Renews SOC 2 Type 2 Assessment, Strengthening Commitment to Data Security](https://alpaca.markets/blog/content/images/2022/08/blog_security-update-blog-post.png)](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) At Alpaca, we are committed to building a stable, secure, and trusted experience for our customers and partners. As part of this ongoing effort, we’re pleased to announce that we have successfully renewed the SOC 2 Type 2 compliance assessment. This achievement further demonstrates our dedication to ensuring correct [Continue Reading](https://alpaca.markets/blog/alpaca-effectively-renews-soc-2-type-2-assessment-strengthening-commitment-to-data-security/) ## [Create Custom Portfolios that Automatically Invests Funds with Rebalancing API](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 09, 2022[0 Comments](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/#disqus_thread) [![Create Custom Portfolios that Automatically Invests Funds with Rebalancing API](https://alpaca.markets/blog/content/images/2022/08/blog_rebalancing-api.png)](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) We are excited to announce the launch of Rebalancing API ? This new offering allows investment advisors or your customers to easily create investment portfolios that are automatically updated to the specified cash, stock symbol, percentage weights, rebalance conditions, and triggers selected. What is Rebalancing? Rebalancing is the process of realigning [Continue Reading](https://alpaca.markets/blog/create-custom-portfolios-that-automatically-invests-funds-with-rebalancing-api/) ## [Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 27, 2022[0 Comments](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/#disqus_thread) [![Unveiling Alpaca-py the Official Python SDK for Alpaca’s Suite of APIs](https://alpaca.markets/blog/content/images/2022/07/blog_alpaca-py-1.png)](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) Introducing Alpaca-py, ? Our official Python SDK that enables app developers and traders to easily interact with Alpaca's complete suite of API products. [Continue Reading](https://alpaca.markets/blog/unveiling-alpaca-py-the-official-python-sdk-for-alpacas-suite-of-apis-2/) ## [Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 25, 2022[0 Comments](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/#disqus_thread) [![Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/content/images/2022/07/blog_crypto-wallets-and-coin-pair.png)](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) Alpaca Crypto Wallets and Coin Pair Trading with 48 BTC, USDT, & USD Pairs is now available. Unlock a new level of crypto trading with a better way to deposit, withdraw and trade with Alpaca Crypto. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Updates ## [Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/trading-competition/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 03, 2020[0 Comments](https://alpaca.markets/blog/trading-competition/#disqus_thread) [![Join Us For the 1st Alpaca Trading Competition](https://alpaca.markets/blog/content/images/2020/07/trading-competiton-1.png)](https://alpaca.markets/blog/trading-competition/) Alpaca is launching the Alpaca Trading Competition where all the quants, developers, tech-savvy traders can participate globally [Continue Reading](https://alpaca.markets/blog/trading-competition/) ## [Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/non-us-live-trading-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 30, 2020[0 Comments](https://alpaca.markets/blog/non-us-live-trading-beta/#disqus_thread) [![Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/content/images/2020/07/non-US-alpaca.png)](https://alpaca.markets/blog/non-us-live-trading-beta/) Letting you know that we have started an invite-only beta program for non-US resident Alpaca users to open live-trading accounts ✌️. [Continue Reading](https://alpaca.markets/blog/non-us-live-trading-beta/) ## [Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/business-brokerage-account-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 17, 2020[0 Comments](https://alpaca.markets/blog/business-brokerage-account-beta/#disqus_thread) [![Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/content/images/2020/07/Alpaca_Business_Account.png)](https://alpaca.markets/blog/business-brokerage-account-beta/) Alpaca is launching business trading brokerage accounts Beta, the commission-free trading accounts for your business entities. [Continue Reading](https://alpaca.markets/blog/business-brokerage-account-beta/) ## [Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/stock-market-data-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 07, 2020[0 Comments](https://alpaca.markets/blog/stock-market-data-api/#disqus_thread) [![Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/content/images/2020/05/01.jpg)](https://alpaca.markets/blog/stock-market-data-api/) Alpaca Data API is free real-time stock market data API for building your algorithmic trading strategies or trading/investing applications. [Continue Reading](https://alpaca.markets/blog/stock-market-data-api/) ## [Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/portfolio-history-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 16, 2020[0 Comments](https://alpaca.markets/blog/portfolio-history-api/#disqus_thread) [![Personalize Your Portfolio Performance View With Portfolio History API](https://alpaca.markets/blog/content/images/2020/03/photo-1461360370896-922624d12aa1.jpeg)](https://alpaca.markets/blog/portfolio-history-api/) Now Portfolio History API allows you to flexibly visualize your portfolio performance in real-time. It is now much easier to make your DIY stock trading app pretty ? [Continue Reading](https://alpaca.markets/blog/portfolio-history-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Updates ## [Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 23, 2022[0 Comments](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/#disqus_thread) [![Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/content/images/2022/02/Final_Blog_ExtendedHours.png)](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) Full extended hours trading from 4 am to 8 pm ET enables you to quickly react to after-hours news and trade flexibly on your schedule. [Continue Reading](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) ## [Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 22, 2022[0 Comments](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/#disqus_thread) [![Introducing Corporate Actions API: Announcements](https://alpaca.markets/blog/content/images/2022/02/Corporate-Actions---Learn-Article---blog_cover-.png)](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) Corporate Actions API: Announcements provides information on previous and upcoming dividends, mergers, spinoffs, and stock splits. [Continue Reading](https://alpaca.markets/blog/introducing-corporate-actions-api-announcements/) ## [Alpaca Launches Onfido SDK for Broker API](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 10, 2022[0 Comments](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/#disqus_thread) [![Alpaca Launches Onfido SDK for Broker API](https://alpaca.markets/blog/content/images/2022/02/Onfido_BlogAnnouncement.png)](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) Onfido SDK for Broker API enables you to quickly onboard end-users, offer a frictionless user experience, and reduce fraud attempts. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) ## [Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • February 07, 2022[0 Comments](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/#disqus_thread) [![Introducing News API for Real-Time Stock & Crypto Stories](https://alpaca.markets/blog/content/images/2022/02/News_API_Illustration.png)](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) Alpaca extends Market Data API to include News API, which provides developers with access to real-time and historical financial news. [Continue Reading](https://alpaca.markets/blog/introducing-news-api-for-real-time-fiancial-news/) ## [SDK Release Notes - January 2022](https://alpaca.markets/blog/sdk-release-notes-january-2022/) By [Rahul Chowdhury](https://alpaca.markets/blog/author/rahul/) • February 02, 2022[0 Comments](https://alpaca.markets/blog/sdk-release-notes-january-2022/#disqus_thread) [![SDK Release Notes - January 2022](https://alpaca.markets/blog/content/images/2022/02/SDK-Release-Notes-January-2022_blog-1.png)](https://alpaca.markets/blog/sdk-release-notes-january-2022/) Alpaca maintains 4 SDKs in Python, TypeScript/JS, C#/.NET, and Go where we ship the latest functionality for Alpaca APIs. [Continue Reading](https://alpaca.markets/blog/sdk-release-notes-january-2022/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Blog Updates ## [Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 12, 2023[0 Comments](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/#disqus_thread) [![Introducing Funding Wallets for Broker API: Streamlining Fund Deposits for an Enhanced User Experience](https://alpaca.markets/blog/content/images/2023/09/funding-wallets_gtm--1-.png)](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) ? Introducing Funding Wallets for Broker API: Simplify fund management and elevate user experience with seamless deposits and withdrawals in local currency using local rails. [Continue Reading](https://alpaca.markets/blog/introducing-funding-wallets-for-broker-api-streamlining-fund-deposits-for-an-enhanced-user-experience/) ## [Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/#disqus_thread) [![Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection](https://alpaca.markets/blog/content/images/2023/09/v03_excess-sipc-coverage.png)](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) Alpaca Introduces Excess SIPC Coverage Bolstering Commitment Towards Enhanced Protection [Continue Reading](https://alpaca.markets/blog/alpaca-introduces-excess-sipc-coverage-bolstering-commitment-towards-enhanced-protection/) ## [Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 16, 2023[0 Comments](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/#disqus_thread) [![Alpaca Crypto to Introduce New Coins, Extended USDC Pairs and Upgraded ERC-20 Token Service](https://alpaca.markets/blog/content/images/2023/08/new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service.png)](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ? Big News Alert! Alpaca Crypto is about to take your trading experience to the next level! Get ready for new cryptocurrencies, expanded USDC pairs, and seamless ERC-20 transactions. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-to-introduce-new-coins-extended-usdc-pairs-and-upgraded-erc-20-token-service/) ## [Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 14, 2023[0 Comments](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/#disqus_thread) [![Drahim App Investments Partners with Alpaca to Transform Financial Management for Saudi Arabian Investors](https://alpaca.markets/blog/content/images/2023/08/drahim-customer-story.png)](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) ? Discover a new era of financial management with Drahim App Investments (“Drahim”)! ?? As a registered investment adviser, Drahim aims to transform how people perceive and manage their money. Discover their story today! [Continue Reading](https://alpaca.markets/blog/drahim-app-investments-partners-with-alpaca-to-transform-financial-management-for-saudi-arabian-investors/) ## [Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • August 07, 2023[0 Comments](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/#disqus_thread) [![Alpaca Securities LLC as a Carrying Broker Dealer and Clearing for Others Explained](https://alpaca.markets/blog/content/images/2023/08/overview-alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained.png)](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) Curious about Alpaca Securities LLC's role as a Carrying Broker-Dealer and Clearing firm? ? Dive into our article and discover how we help empower global partners to provide their customers with seamless access to US stock trading. ?? [Continue Reading](https://alpaca.markets/blog/alpaca-securities-llc-as-a-carrying-broker-dealer-and-clearing-for-others-explained/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [Updated Terms for Payments in Fractional Shares](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 17, 2021[0 Comments](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/#disqus_thread) [![Updated Terms for Payments in Fractional Shares](https://alpaca.markets/blog/content/images/2021/08/Cash-in-Lieu-Customer-Update-blog-cover.png)](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) Please be advised that Alpaca will begin paying out fractional shares in the event of a stock split, effective August 2nd, 2021. [Continue Reading](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) ## [Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 10, 2021[0 Comments](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/#disqus_thread) [![Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/content/images/2021/08/Borrow-Fee-Communications-Blog-1.png)](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) Please be advised that Alpaca will begin charging borrow fees on overnight short positions for the month of June 2021 and onward. [Continue Reading](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) ## [Alpaca Launches Data API](https://alpaca.markets/blog/market-data-apiv2/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • May 26, 2021[0 Comments](https://alpaca.markets/blog/market-data-apiv2/#disqus_thread) [![Alpaca Launches Data API](https://alpaca.markets/blog/content/images/2021/05/Gallery--3-Data-1@2x--1--2.png)](https://alpaca.markets/blog/market-data-apiv2/) Alpaca is excited to launch Alpaca Data API. Access unlimited real-time stock data through rest APIs and SDKs. Data API is built to be simple, powerful, and scalable. [Continue Reading](https://alpaca.markets/blog/market-data-apiv2/) ## [REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/reg-taf-fees/) By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • May 03, 2021[0 Comments](https://alpaca.markets/blog/reg-taf-fees/#disqus_thread) [![REG/TAF Fee Updates with Alpaca](https://alpaca.markets/blog/content/images/2021/05/Alpaca-1.png)](https://alpaca.markets/blog/reg-taf-fees/) In this blog, we provide an update on the REG/TAF Fee calculation which has changed for all Alpaca customers [Continue Reading](https://alpaca.markets/blog/reg-taf-fees/) ## [Introducing Alpaca Broker API](https://alpaca.markets/blog/introducing-broker-api/) By [Mahmoud Sherif](https://alpaca.markets/blog/author/mahmoud/) • April 21, 2021[0 Comments](https://alpaca.markets/blog/introducing-broker-api/#disqus_thread) [![Introducing Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/04/broker-api-1.png)](https://alpaca.markets/blog/introducing-broker-api/) Open brokerage accounts, enable commission-free trading, and manage the ongoing user experience with Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/introducing-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Yoshi's Trading Insights ![Author image](https://www.gravatar.com/avatar/0c8a1757f5d82737007e369a18ba14f1?s=250&d=mm&r=x) ### Yoshi Yokokawa 35 Posts Co-founder & CEO of Alpaca ## [Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) [![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png)](https://alpaca.markets/blog/open-source-mobile-trading-app/) Introducing an example mobile app “Alpaca Dashboard” on the App Store and its code in full open-sourced on the GitHub repo. The app is built on React Native. [Continue Reading](https://alpaca.markets/blog/open-source-mobile-trading-app/) ## [Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/submit-queue-order-stock-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 18, 2018[0 Comments](https://alpaca.markets/blog/submit-queue-order-stock-trading/#disqus_thread) [![Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/content/images/2020/03/1_NRmFLgceg9dqL0xkfglrAw.jpeg)](https://alpaca.markets/blog/submit-queue-order-stock-trading/) As one of the many steps towards a more advanced trading platform, we are pleased to let you know that we have allowed everyone to submit and queue orders for the next market open. [Continue Reading](https://alpaca.markets/blog/submit-queue-order-stock-trading/) ## [Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) [![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg)](https://alpaca.markets/blog/paper-trading-api/) In our continuous effort to make automated trading more accessible, we are pleased to announce the Alpaca Paper Trading API to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. [Continue Reading](https://alpaca.markets/blog/paper-trading-api/) ## [The Automation of Wealth Management](https://alpaca.markets/blog/automation-of-wealth-management/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 03, 2018[0 Comments](https://alpaca.markets/blog/automation-of-wealth-management/#disqus_thread) [![The Automation of Wealth Management](https://alpaca.markets/blog/content/images/2020/03/1_4_oIV6jsM4ZHPmuaeMQGdQ--1-.jpeg)](https://alpaca.markets/blog/automation-of-wealth-management/) Software-driven automation is rapidly transforming the social and economic landscape, with some of the most prominent examples being autonomous vehicles and home assistants. [Continue Reading](https://alpaca.markets/blog/automation-of-wealth-management/) ## [Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 23, 2018[0 Comments](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/#disqus_thread) [![Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/content/images/2020/03/16x9-1.png)](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) Fintech Startup Alpaca Unveils World’s First Commission Free API Stock Broker For Algorithmic Trading [Continue Reading](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca's Recent Developments ## [Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 07, 2021[0 Comments](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/#disqus_thread) [![Alpaca successfully completes SOC 2 Type 2 assessment, demonstrating our commitment to data security](https://alpaca.markets/blog/content/images/2021/08/2-1.png)](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) At Alpaca, we are committed to building a secure and trusted experience. As part of that commitment, we are pleased to announce that Alpaca has successfully completed its SOC 2 Type 2 compliance assessment. [Continue Reading](https://alpaca.markets/blog/alpaca-successfully-completes-soc-2-type-2-assessment-demonstrating-our-commitment-to-data-security/) ## [Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 07, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/#disqus_thread) [![Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/content/images/2021/09/ErisX-Announcement-Blog-5.png)](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) We’re excited to announce our partnership with ErisX. Eris Exchange and Eris Clearing, together ErisX, is a spot and regulated futures exchange and clearinghouse. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) ## [Alpaca Raises $50 Million Series B & Announces Crypto Offering](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 30, 2021[0 Comments](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/#disqus_thread) [![Alpaca Raises $50 Million Series B & Announces Crypto Offering](https://alpaca.markets/blog/content/images/2021/08/Series-B_V04@4x.png)](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) Alpaca Raises $50 Million Series B & Announces Crypto Offering. Tribe Capital Leads Round As Alpaca Reports 1500 Percent Growth YTD With Over 100,000 Accounts, And Expanded Partnerships in Europe, SE Asia, Africa, Latin Americas [Continue Reading](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) ## [API Breaking Change Notification for Unpriceable Assets](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 26, 2021[0 Comments](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/#disqus_thread) [![API Breaking Change Notification for Unpriceable Assets](https://alpaca.markets/blog/content/images/2021/08/Cover-Blog---API-Breaking-Change-Notification-for-Unpriceable-Assets@2x.png)](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) In order to avoid the error response and keep the API available even in the event that one of your positions’ underlying asset is missing a price, we will introduce a minor breaking change to the API. [Continue Reading](https://alpaca.markets/blog/api-breaking-change-notification-for-unpriceable-assets/) ## [Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 24, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/#disqus_thread) [![Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/content/images/2021/08/Alpaca-Integration-with-Plaid.png)](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) We’re excited to announce our latest integration and partnership with Plaid, a data network powering the digital financial ecosystem. With Plaid, Alpaca is working to fuel the acceleration and growth of new fintech startups and tech innovators around the world. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [Market Data v2 Beta Status Update](https://alpaca.markets/blog/market-data-api-beta-update/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • March 25, 2021[0 Comments](https://alpaca.markets/blog/market-data-api-beta-update/#disqus_thread) [![Market Data v2 Beta Status Update](https://alpaca.markets/blog/content/images/2021/03/blog_img-4.png)](https://alpaca.markets/blog/market-data-api-beta-update/) We launched our data v2 in public beta at the end of February after launching v1 last May. Read our status update on or new beta product. [Continue Reading](https://alpaca.markets/blog/market-data-api-beta-update/) ## [Important Update: Alpaca Launches Market Data API 2.0](https://alpaca.markets/blog/market-data-api-launch/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • February 24, 2021[0 Comments](https://alpaca.markets/blog/market-data-api-launch/#disqus_thread) [![Important Update: Alpaca Launches Market Data API 2.0](https://alpaca.markets/blog/content/images/2021/02/update-1.png)](https://alpaca.markets/blog/market-data-api-launch/) Alpaca is excited to announce version 2 of Alpaca Market Data API! The API will consist of real time and historical price data and will evolve with more upgrades with time. [Continue Reading](https://alpaca.markets/blog/market-data-api-launch/) ## [Web Dashboard Updates and Support Page Launch](https://alpaca.markets/blog/dashboard-and-support-page/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 18, 2021[0 Comments](https://alpaca.markets/blog/dashboard-and-support-page/#disqus_thread) [![Web Dashboard Updates and Support Page Launch](https://alpaca.markets/blog/content/images/2021/01/ania-archer-ybs5Q8Jk4p4-unsplash.jpg)](https://alpaca.markets/blog/dashboard-and-support-page/) We made multiple updates on the web dashboard of the Trading API and launched a long-awaited Support & Help page that collects many types of FAQs. [Continue Reading](https://alpaca.markets/blog/dashboard-and-support-page/) ## [New API Features & Dashboard Updates, Quantopian-Closing](https://alpaca.markets/blog/api-dashboard-update-quantopian/) By [Abel Sohajda](https://alpaca.markets/blog/author/abel/) • December 11, 2020[0 Comments](https://alpaca.markets/blog/api-dashboard-update-quantopian/#disqus_thread) [![New API Features & Dashboard Updates, Quantopian-Closing](https://alpaca.markets/blog/content/images/2020/12/alpaca.jpeg)](https://alpaca.markets/blog/api-dashboard-update-quantopian/) Last month, we launched multiple API features and dashboard updates. Also, we took a proactive approach to support the community after the Quantopian closing. [Continue Reading](https://alpaca.markets/blog/api-dashboard-update-quantopian/) ## [Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started](https://alpaca.markets/blog/execution-broker-oms-dashboard/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 28, 2020[0 Comments](https://alpaca.markets/blog/execution-broker-oms-dashboard/#disqus_thread) [![Dashboard Update, More Execution Brokers, OMS Upgrade, Trade Contest Started](https://alpaca.markets/blog/content/images/2020/10/Investigating-Alpaca.png)](https://alpaca.markets/blog/execution-broker-oms-dashboard/) Alpaca recently added new capabilities and upgraded our infrastructure for improved overall platform stability and performance. [Continue Reading](https://alpaca.markets/blog/execution-broker-oms-dashboard/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca's Financial Innovations ## [GUGU Paves the Way for US Stock Investing in Asia](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • December 07, 2023[0 Comments](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/#disqus_thread) [![GUGU Paves the Way for US Stock Investing in Asia](https://alpaca.markets/blog/content/images/2023/12/V02_gugu-customer-story-copy@4x.png)](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) In the bustling financial landscape of Hong Kong, Asia Win Inc Limited, under Owen Huang’s leadership, introduced GUGU in June 2020. GUGU is not just a financial platform; it's a mission-driven venture committed to breaking down barriers for Asian investors looking to enter the US stock market. [Continue Reading](https://alpaca.markets/blog/gugu-paves-the-way-for-us-stock-investing-in-asia/) ## [Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • November 20, 2023[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/#disqus_thread) [![Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2023/11/benzinga-2023-graphic-copy.png)](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) Alpaca, the API-first stock and crypto investing platform, has once again triumphed at the prestigious Benzinga Global Fintech Awards. At the 9th annual ceremony, Alpaca emerged as the unrivaled winner in the category of Best API Solution for 2023. This achievement solidifies Alpaca's commitment to global accessibility in [Continue Reading](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) ## [Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • October 30, 2023[0 Comments](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/#disqus_thread) [![Australia’s Spaceship Redefines Investing for the Modern Generation through Partnership with Alpaca](https://alpaca.markets/blog/content/images/2023/10/spaceship-customer-story@3x.png)](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) In the dynamic realm of financial technology, Spaceship is set to transform the investment experience for young Australians. The company has not only established itself as a visionary in the field but has strategically chosen Alpaca as a service provider to further enhance its offerings. It’s time to climb [Continue Reading](https://alpaca.markets/blog/australias-spaceship-redefines-investing-for-the-modern-generation-through-partnership-with-alpaca/) ## [Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • October 12, 2023[0 Comments](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/#disqus_thread) [![Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business](https://alpaca.markets/blog/content/images/2023/10/v02_sbi-holdings-partnership-announcement.png)](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) Alpaca Surpasses 150 Businesses Launching on its Brokerage Platform and Prepares for Accelerated Growth With Strategic Partners For Each Key Region [Continue Reading](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) ## [Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 28, 2023[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/#disqus_thread) [![Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023](https://alpaca.markets/blog/content/images/2023/09/gitex-article@4x--1-.png)](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023 [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca News Updates ### Tag: Alpaca News Total 28 Posts ## [Alpaca 2021 Year in Review](https://alpaca.markets/blog/alpaca-2021-year-in-review/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • January 11, 2022[0 Comments](https://alpaca.markets/blog/alpaca-2021-year-in-review/#disqus_thread) [![Alpaca 2021 Year in Review](https://alpaca.markets/blog/content/images/2022/01/Alpaca-Year-in-Review-2021.png)](https://alpaca.markets/blog/alpaca-2021-year-in-review/) With 2021 in the rearview mirror and a new year in front of us, we’re taking a moment to reflect on the milestones that have shaped Alpaca in the last twelve months. [Continue Reading](https://alpaca.markets/blog/alpaca-2021-year-in-review/) ## [Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • September 07, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/#disqus_thread) [![Alpaca Partners with ErisX to Provide Market Access for Launch of Crypto Trading](https://alpaca.markets/blog/content/images/2021/09/ErisX-Announcement-Blog-5.png)](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) We’re excited to announce our partnership with ErisX. Eris Exchange and Eris Clearing, together ErisX, is a spot and regulated futures exchange and clearinghouse. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-erisx-to-provide-market-access-for-launch-of-crypto-trading/) ## [Alpaca Raises $50 Million Series B & Announces Crypto Offering](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 30, 2021[0 Comments](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/#disqus_thread) [![Alpaca Raises $50 Million Series B & Announces Crypto Offering](https://alpaca.markets/blog/content/images/2021/08/Series-B_V04@4x.png)](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) Alpaca Raises $50 Million Series B & Announces Crypto Offering. Tribe Capital Leads Round As Alpaca Reports 1500 Percent Growth YTD With Over 100,000 Accounts, And Expanded Partnerships in Europe, SE Asia, Africa, Latin Americas [Continue Reading](https://alpaca.markets/blog/alpaca-raises-50-million-series-b-announces-crypto/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca News Updates ### Tag: Alpaca News Total 28 Posts ## [Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • November 20, 2023[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/#disqus_thread) [![Alpaca Secures "Best API Solution" at 2023 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2023/11/benzinga-2023-graphic-copy.png)](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) Alpaca, the API-first stock and crypto investing platform, has once again triumphed at the prestigious Benzinga Global Fintech Awards. At the 9th annual ceremony, Alpaca emerged as the unrivaled winner in the category of Best API Solution for 2023. This achievement solidifies Alpaca's commitment to global accessibility in [Continue Reading](https://alpaca.markets/blog/alpaca-secures-best-api-solution-at-2023-benzinga-fintech-awards/) ## [Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • October 12, 2023[0 Comments](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/#disqus_thread) [![Alpaca and Japan’s SBI Holdings Announce Partnership and USD 15 Million Strategic Investment to Accelerate Alpaca’s Asian Business](https://alpaca.markets/blog/content/images/2023/10/v02_sbi-holdings-partnership-announcement.png)](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) Alpaca Surpasses 150 Businesses Launching on its Brokerage Platform and Prepares for Accelerated Growth With Strategic Partners For Each Key Region [Continue Reading](https://alpaca.markets/blog/alpaca-and-japans-sbi-holdings-announce-partnership-and-usd15-million-strategic-investment-to-accelerate-alpacas-asian-business/) ## [Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • September 28, 2023[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/#disqus_thread) [![Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023](https://alpaca.markets/blog/content/images/2023/09/gitex-article@4x--1-.png)](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) Alpaca Partners with GITEX GLOBAL for the Tech Event of the Year in 2023 [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-gitex-global-for-the-tech-event-of-the-year-in-2023/) ## [Alpaca Named to Y Combinator’s Top Private Companies of 2023 List](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 28, 2023[0 Comments](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/#disqus_thread) [![Alpaca Named to Y Combinator’s Top Private Companies of 2023 List](https://alpaca.markets/blog/content/images/2023/02/y-combinator_top-company-list_2023.png)](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) Alpaca has been recognized on Y Combinator's Top Private Companies 2023 list! ? We are deeply honored to be recognized alongside more than 290 companies. [Continue Reading](https://alpaca.markets/blog/alpaca-named-to-y-combinators-top-private-companies-of-2023-list/) ## [Alpaca 2022 Year in Review](https://alpaca.markets/blog/alpaca-2022-year-in-review/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 03, 2023[0 Comments](https://alpaca.markets/blog/alpaca-2022-year-in-review/#disqus_thread) [![Alpaca 2022 Year in Review](https://alpaca.markets/blog/content/images/2023/01/2022-recap-blog.png)](https://alpaca.markets/blog/alpaca-2022-year-in-review/) 2022 was an interesting year, to say the least; we’re taking a moment to reflect on all the major milestones Alpaca has achieved in the last twelve months. Let’s recap the key moments below. [Continue Reading](https://alpaca.markets/blog/alpaca-2022-year-in-review/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Innovations ## [Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • August 15, 2024[0 Comments](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/#disqus_thread) [![Elevate Your Trading with the New Alpaca and QuantConnect Integration](https://alpaca.markets/blog/content/images/2024/08/blog-quantconnect-article.png)](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) Explore Alpaca's integration with QuantConnect, enabling you to create, backtest, and trade algorithmic strategies with ease. [Continue Reading](https://alpaca.markets/blog/elevate-your-trading-with-the-new-alpaca-and-quantconnect-integration/) ## [Thndr: Opening Investing Accessibility in MENA with Alpaca](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • August 14, 2024[0 Comments](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/#disqus_thread) [![Thndr: Opening Investing Accessibility in MENA with Alpaca](https://alpaca.markets/blog/content/images/2024/06/thndr-customer-story_1.png)](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) Thndr is an emerging force in MENA, who’s team is on a mission to increase access to personal investing. [Continue Reading](https://alpaca.markets/blog/thndr-opening-investing-accessibility-in-mena-with-alpaca/) ## [Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) By [Mariangela Martinez](https://alpaca.markets/blog/author/mariangela/) • August 07, 2024[0 Comments](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/#disqus_thread) [![Alpaca Strengthens Data Security Practices with Successful Renewal of SOC 2 Type 2 Compliance](https://alpaca.markets/blog/content/images/2023/07/v02_soc-2-blog_2023-2.png)](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) At Alpaca, we’re all about keeping your data safe and secure. This is why we are thrilled to announce the successful renewal of its SOC 2 Type 2 compliance. [Continue Reading](https://alpaca.markets/blog/alpaca-strengthens-data-security-practices-with-successful-renewal-of-soc-2-type-2-compliance/) ## [Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) By [Nezar Mansour](https://alpaca.markets/blog/author/nezar/) • July 25, 2024[0 Comments](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/#disqus_thread) [![Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/content/images/2024/07/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-header.png)](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) Alpaca and Citadel Securities expand their Japan partnership, enhancing access to advanced trading and execution services for U.S. securities. [Continue Reading](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) ## [Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • July 12, 2024[0 Comments](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/#disqus_thread) [![Swift Investment Experience with Instant Funding for Broker API](https://alpaca.markets/blog/content/images/2024/07/learn_instant-fund-broker-api.png)](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) To provide a seamless user experience, Alpaca has launched Instant Funding for Broker API, a new payment feature that gives your end customers instant buying power to start trading right away. [Continue Reading](https://alpaca.markets/blog/swift-investment-experience-with-instant-funding-for-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Stock API Insights ### Tag: stock api Total 14 Posts ## [Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/submit-queue-order-stock-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 18, 2018[0 Comments](https://alpaca.markets/blog/submit-queue-order-stock-trading/#disqus_thread) [![Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/content/images/2020/03/1_NRmFLgceg9dqL0xkfglrAw.jpeg)](https://alpaca.markets/blog/submit-queue-order-stock-trading/) As one of the many steps towards a more advanced trading platform, we are pleased to let you know that we have allowed everyone to submit and queue orders for the next market open. [Continue Reading](https://alpaca.markets/blog/submit-queue-order-stock-trading/) ## [Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/paper-trading-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 16, 2018[0 Comments](https://alpaca.markets/blog/paper-trading-api/#disqus_thread) [![Introducing the Alpaca Paper Trading API](https://alpaca.markets/blog/content/images/2020/03/1_mb-wx9qdsOeAw89gFMIcXg.jpeg)](https://alpaca.markets/blog/paper-trading-api/) In our continuous effort to make automated trading more accessible, we are pleased to announce the Alpaca Paper Trading API to allow more people to easily try our API. The Alpaca Paper Trading API will be free to use and will be open to anyone globally. [Continue Reading](https://alpaca.markets/blog/paper-trading-api/) ## [The Automation of Wealth Management](https://alpaca.markets/blog/automation-of-wealth-management/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 03, 2018[0 Comments](https://alpaca.markets/blog/automation-of-wealth-management/#disqus_thread) [![The Automation of Wealth Management](https://alpaca.markets/blog/content/images/2020/03/1_4_oIV6jsM4ZHPmuaeMQGdQ--1-.jpeg)](https://alpaca.markets/blog/automation-of-wealth-management/) Software-driven automation is rapidly transforming the social and economic landscape, with some of the most prominent examples being autonomous vehicles and home assistants. [Continue Reading](https://alpaca.markets/blog/automation-of-wealth-management/) ## [Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 23, 2018[0 Comments](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/#disqus_thread) [![Commission-Free API Stock Brokerage Is Finally Here](https://alpaca.markets/blog/content/images/2020/03/16x9-1.png)](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) Fintech Startup Alpaca Unveils World’s First Commission Free API Stock Broker For Algorithmic Trading [Continue Reading](https://alpaca.markets/blog/commission-free-api-stock-algorithmic-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Open Source Trading Insights ### Tag: opensource Total 6 Posts ## [How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 08, 2018[0 Comments](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/#disqus_thread) [![How to Setup Bitcoin Historical Price Data for Algo Trading in Five Minutes](https://alpaca.markets/blog/content/images/2020/03/Medium---bitcoin-data.png)](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) You want to test your algo when you drop the very first version. But you also want to test the algo when you make changes or adjustments while the algo is running. [Continue Reading](https://alpaca.markets/blog/bitcoin-algorithmic-trading-data/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Updates ## [MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/websocket-moc-cors/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 18, 2019[0 Comments](https://alpaca.markets/blog/websocket-moc-cors/#disqus_thread) [![MOC, WebSocket, CORS, Bug & Security Fixes](https://alpaca.markets/blog/content/images/2020/03/0_P2DkWhzqgLWpM7Hk.jpeg)](https://alpaca.markets/blog/websocket-moc-cors/) Launching market-on-close, limit-on-close orders, WebSocket, and more and more! [Continue Reading](https://alpaca.markets/blog/websocket-moc-cors/) ## [Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/commission-free-short-selling/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 08, 2019[0 Comments](https://alpaca.markets/blog/commission-free-short-selling/#disqus_thread) [![Commission-Free Short Selling & More on Alpaca](https://alpaca.markets/blog/content/images/2020/03/1_canI2LSf-psNSf7FlPn_HQ.png)](https://alpaca.markets/blog/commission-free-short-selling/) Commission-free short selling finally came to Alpaca. In addition to this, we are introducing margin trading as well. [Continue Reading](https://alpaca.markets/blog/commission-free-short-selling/) ## [Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/manual-trading-stocks/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 21, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-stocks/#disqus_thread) [![Non-Algorithmic Way (the Manual Way) to Use Alpaca Trading API](https://alpaca.markets/blog/content/images/2020/03/1_Ko5g2SPcOc5-yV74vkt7eA.png)](https://alpaca.markets/blog/manual-trading-stocks/) With Alpaca, you can now liquidate positions, cancel open orders manually, and you can active and deactivate API manually on the mobile app. [Continue Reading](https://alpaca.markets/blog/manual-trading-stocks/) ## [Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/open-source-mobile-trading-app/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 05, 2019[0 Comments](https://alpaca.markets/blog/open-source-mobile-trading-app/#disqus_thread) [![Launching an OSS Mobile App — Alpaca Dashboard](https://alpaca.markets/blog/content/images/2020/03/1_6AfnE1MI14Uu3WXonDftiQ.png)](https://alpaca.markets/blog/open-source-mobile-trading-app/) Introducing an example mobile app “Alpaca Dashboard” on the App Store and its code in full open-sourced on the GitHub repo. The app is built on React Native. [Continue Reading](https://alpaca.markets/blog/open-source-mobile-trading-app/) ## [Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/submit-queue-order-stock-trading/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 18, 2018[0 Comments](https://alpaca.markets/blog/submit-queue-order-stock-trading/#disqus_thread) [![Now You Can Submit Orders Outside of Market Hours with Alpaca API](https://alpaca.markets/blog/content/images/2020/03/1_NRmFLgceg9dqL0xkfglrAw.jpeg)](https://alpaca.markets/blog/submit-queue-order-stock-trading/) As one of the many steps towards a more advanced trading platform, we are pleased to let you know that we have allowed everyone to submit and queue orders for the next market open. [Continue Reading](https://alpaca.markets/blog/submit-queue-order-stock-trading/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Fintech Innovations ## [Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 09, 2022[0 Comments](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/#disqus_thread) [![Alpaca Wins Best Automated Trading Software at 2022 Benzinga Fintech Awards](https://alpaca.markets/blog/content/images/2022/12/blog_benzinga-global-fintech-award--1-.png)](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) Alpaca, a modern stock and crypto investing platform, was recognized at the 8th annual Benzinga Global Fintech Awards and named the overall winner for Best Automated Trading Software in 2022. The Benzinga Global Fintech Awards recognizes outstanding performance, rising stars, and disruptive innovators creating positive changes in the financial technology [Continue Reading](https://alpaca.markets/blog/alpaca-wins-best-automated-trading-software-at-2022-benzinga-fintech-awards/) ## [Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • December 01, 2022[0 Comments](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/#disqus_thread) [![Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_abyan-customer-success-1.png)](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) Abyan Capital is a platform that offers an automated investing and wealth management solution. Discover how they’re leveraging Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/) ## [Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • November 23, 2022[0 Comments](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/#disqus_thread) [![Birdwingo Launches Investment App for Young European Investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/11/blog_birdwingo-customer-success_2.png)](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) Birdwingo launches an investment app that focuses on empowering young Europeans to start investing while supporting causes that inspire them. Find out how they’re using Alpaca Broker API to achieve this [Continue Reading](https://alpaca.markets/blog/birdwingo-launches-investment-app-for-young-european-investors-with-alpaca-broker-api/) ## [Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/jungleprotocol/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • October 31, 2022[0 Comments](https://alpaca.markets/blog/jungleprotocol/#disqus_thread) [![Meet Jungle, A Community Driven DeFi Protocol for 24/7 Stock Market Access](https://alpaca.markets/blog/content/images/2022/10/blog-announcement-jungle-4.png)](https://alpaca.markets/blog/jungleprotocol/) Alpaca accelerates its crypto business and introduces a DeFi protocol - Jungle - that will mint and burn tokenized stocks in ERC20 format with a 1:1 collateral. [Continue Reading](https://alpaca.markets/blog/jungleprotocol/) ## [Alpaca Recognized on the CB Insights 2022 Fintech 250 List](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 06, 2022[0 Comments](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/#disqus_thread) [![Alpaca Recognized on the CB Insights 2022 Fintech 250 List](https://alpaca.markets/blog/content/images/2022/10/blog_cbinsights-fintech-250-list-social-graphic.png)](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) CB Insights has named Alpaca to the 2022 Fintech 250, a list that honors the 250 most promising private fintech companies. [Continue Reading](https://alpaca.markets/blog/alpaca-recognized-cb-insights-fintech-250-list/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Market Updates ## [Updated Terms for Payments in Fractional Shares](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 17, 2021[0 Comments](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/#disqus_thread) [![Updated Terms for Payments in Fractional Shares](https://alpaca.markets/blog/content/images/2021/08/Cash-in-Lieu-Customer-Update-blog-cover.png)](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) Please be advised that Alpaca will begin paying out fractional shares in the event of a stock split, effective August 2nd, 2021. [Continue Reading](https://alpaca.markets/blog/updated-terms-for-payments-in-fractional-shares/) ## [Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 12, 2021[0 Comments](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/#disqus_thread) [![Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/Xantos-Announcement-art-V01-Horse-2-1.png)](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) Powered by Broker API, Xantos Labs offers a premium investing experience. As the investment manager for the next generation of investors, Xantos Labs builds and manages portfolios for everday folks. [Continue Reading](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) ## [Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 10, 2021[0 Comments](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/#disqus_thread) [![Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/content/images/2021/08/Borrow-Fee-Communications-Blog-1.png)](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) Please be advised that Alpaca will begin charging borrow fees on overnight short positions for the month of June 2021 and onward. [Continue Reading](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) ## [Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 05, 2021[0 Comments](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/#disqus_thread) [![Gotrade launches fractional shares investing in US stocks to 150+ countries with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/GoTrade-Blog-Cover-1.png)](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) Powered by Alpaca Broker API, Gotrade enables retail investors from over 150 countries to trade commission-free in whole or fractional shares of US stocks. [Continue Reading](https://alpaca.markets/blog/gotrade-launches-fractional-shares-investing-in-us-stocks-to-150-countries-with-alpaca-broker-api/) ## [US Stock Trading for Everyone](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 02, 2021[0 Comments](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/#disqus_thread) [![US Stock Trading for Everyone](https://alpaca.markets/blog/content/images/2021/08/International-GTM---BLOG-1.png)](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) Global access to US Stock trading with no minimum deposit. Execute your trading algos commission-free from anywhere in the world. Fund your account with no minimum deposit and start trading with as little as $1. [Continue Reading](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Investment Platforms ## [UAE Fintech InvestSky Launches Social Investing Platform with Alpaca](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 13, 2023[0 Comments](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/#disqus_thread) [![UAE Fintech InvestSky Launches Social Investing Platform with Alpaca](https://alpaca.markets/blog/content/images/2023/02/investsky-customer-story--1-.png)](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) InvestSky is a social investing platform that offers a new generation of investors the opportunity to embark on trading stocks in a more inclusive, intuitive, and informed way. About InvestSky InvestSky, was established in 2021 by Nitish Mittal and Turki Alshaikh to help remove the challenges and hurdles of investing [Continue Reading](https://alpaca.markets/blog/uae-fintech-investsky-launches-social-investing-platform-with-alpaca/) ## [Quantbase Launches Investment Platform with Alpaca Broker API](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) By [Alpaca Team](https://alpaca.markets/blog/author/alpaca/) • January 23, 2023[0 Comments](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/#disqus_thread) [![Quantbase Launches Investment Platform with Alpaca Broker API](https://alpaca.markets/blog/content/images/2023/01/blog_quantbase-launches-investment-platform-with-alpaca-broker-api.png)](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) Quantbase, an SEC-registered investment advisor, helps make it simple for financial companies and individuals to turn research data points into an investable strategy. Check out how they partnered with Alpaca Broker API to make this experience seamless. [Continue Reading](https://alpaca.markets/blog/quantbase-launches-investment-platform-with-alpaca-broker-api/) ## [Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 19, 2023[0 Comments](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/#disqus_thread) [![Woodstock Launches Japan’s First Social US Stock Trading App with Alpaca](https://alpaca.markets/blog/content/images/2023/01/woodstock-customer-success.png)](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) Woodstock is Japan’s very first social US stock trading app, offering its end-users the opportunity to invest in the US stock market for as little as 1,000 yen. Find out how they have partnered with Alpaca. [Continue Reading](https://alpaca.markets/blog/woodstock-launches-japans-first-social-us-stock-trading-app-with-alpaca/) ## [Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 05, 2023[0 Comments](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/#disqus_thread) [![Weltio Launches Wealth Management Platform for Latin Americans with Alpaca Broker API](https://alpaca.markets/blog/content/images/2023/01/weltio-customer-success--1-.png)](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) Weltio, launches a wealth management platform that offers Latin American investors the opportunity to invest in U.S. stocks, ETFs, and cryptocurrencies. Find out how they’re leveraging Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/weltio-launches-wealth-management-platform-for-latin-americans-with-alpaca-broker-api/) ## [Alpaca 2022 Year in Review](https://alpaca.markets/blog/alpaca-2022-year-in-review/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • January 03, 2023[0 Comments](https://alpaca.markets/blog/alpaca-2022-year-in-review/#disqus_thread) [![Alpaca 2022 Year in Review](https://alpaca.markets/blog/content/images/2023/01/2022-recap-blog.png)](https://alpaca.markets/blog/alpaca-2022-year-in-review/) 2022 was an interesting year, to say the least; we’re taking a moment to reflect on all the major milestones Alpaca has achieved in the last twelve months. Let’s recap the key moments below. [Continue Reading](https://alpaca.markets/blog/alpaca-2022-year-in-review/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca's Global Expansion ## [Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • July 19, 2022[0 Comments](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/#disqus_thread) [![Crypto & Stock Investing Platform Alpaca Acquires Japanese Broker-Dealer to Accelerate Global Expansion](https://alpaca.markets/blog/content/images/2022/07/A-AJ.jpeg)](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) Alpaca, a crypto and stock investing platform for businesses from startups to Fortune 500s, announced it has closed the acquisition of a Japanese licensed broker-dealer, AlpacaJapan Co.,Ltd. (“AlpacaJapan”). [Continue Reading](https://alpaca.markets/blog/crypto-and-stock-investing-platform-alpaca-acquires-japanese-broker-dealer/) ## [Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 06, 2022[0 Comments](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/#disqus_thread) [![Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/07/social_matty-ai.png)](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) Matty strives to help individuals to trade and save with its first-of-its-kind trading platform that helps promotes financial growth and smart money management for all. [Continue Reading](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) ## [Display Logos of Popular Crypto & Stock Symbols with Broker API](https://alpaca.markets/blog/display-logos-of-popular-crypto/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 22, 2022[0 Comments](https://alpaca.markets/blog/display-logos-of-popular-crypto/#disqus_thread) [![Display Logos of Popular Crypto & Stock Symbols with Broker API](https://alpaca.markets/blog/content/images/2022/06/Logo_API_Social--1-.png)](https://alpaca.markets/blog/display-logos-of-popular-crypto/) Easily embed logos of popular stock and crypto coins such as Apple, Tesla, Google, Bitcoin, Ethereum, and more into your app's interface with Logo API. [Continue Reading](https://alpaca.markets/blog/display-logos-of-popular-crypto/) ## [Introducing Alpaca Connect Marketplace](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • June 15, 2022[0 Comments](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/#disqus_thread) [![Introducing Alpaca Connect Marketplace](https://alpaca.markets/blog/content/images/2022/06/Alpaca-Connect-announcement_blog.png)](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/) We’re excited to announce the beta launch of Alpaca Connect Marketplace, which helps you discover apps and tools from around the world and easily integrate them with your Alpaca trading account. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-connect-marketplace/) ## [Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 13, 2022[0 Comments](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/#disqus_thread) [![Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/06/MT5_Social_-Yellow-.png)](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) MT5 Omni Gateway is a turnkey solution that enables your customers to trade U.S stocks directly in MetaTrader 5 by connecting to Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Trading Integrations ## [Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/passive-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • December 10, 2019[0 Comments](https://alpaca.markets/blog/passive-integration/#disqus_thread) [![Integrating Alpaca and Passiv for Better Passive Investing](https://alpaca.markets/blog/content/images/2020/03/alpaca-passiv-integration.png)](https://alpaca.markets/blog/passive-integration/) Canadian-based financial startup, Passiv, and American brokerage Alpaca combine forces to bring you passive investing without high management expense ratios. [Continue Reading](https://alpaca.markets/blog/passive-integration/) ## [Alpaca Trading within TradingView](https://alpaca.markets/blog/tradingview-api-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • November 11, 2019[0 Comments](https://alpaca.markets/blog/tradingview-api-integration/#disqus_thread) [![Alpaca Trading within TradingView](https://alpaca.markets/blog/content/images/2020/03/alpaca-tradingview.png)](https://alpaca.markets/blog/tradingview-api-integration/) Stock trading with Alpaca from TradingView platform - Now you can get all the benefits of real-time market data, charting, and algorithmic trading together in one place. [Continue Reading](https://alpaca.markets/blog/tradingview-api-integration/) ## [Manual Trading Widget on Alpaca](https://alpaca.markets/blog/manual-trading-widget/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 11, 2019[0 Comments](https://alpaca.markets/blog/manual-trading-widget/#disqus_thread) [![Manual Trading Widget on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-manual-trading.png)](https://alpaca.markets/blog/manual-trading-widget/) Manual trading widget on the main dashboard! Trading with an API or algos doesn’t always need to be fully automated :) [Continue Reading](https://alpaca.markets/blog/manual-trading-widget/) ## [Zapier Integration & User Configuration Features](https://alpaca.markets/blog/zapier-integration/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 16, 2019[0 Comments](https://alpaca.markets/blog/zapier-integration/#disqus_thread) [![Zapier Integration & User Configuration Features](https://alpaca.markets/blog/content/images/2020/03/download.jpeg)](https://alpaca.markets/blog/zapier-integration/) Zapier integration, replace order feature, and more were released from Alpaca! [Continue Reading](https://alpaca.markets/blog/zapier-integration/) ## [Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/position-liquidation-cancel-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • August 29, 2019[0 Comments](https://alpaca.markets/blog/position-liquidation-cancel-orders/#disqus_thread) [![Cancel All Orders & Position Liquidations Through API](https://alpaca.markets/blog/content/images/2020/03/0_Z9_c0uNWOKn8-Yt7.jpeg)](https://alpaca.markets/blog/position-liquidation-cancel-orders/) New API features include cancelling orders & position liquidations. [Continue Reading](https://alpaca.markets/blog/position-liquidation-cancel-orders/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca News Updates ### Tag: Alpaca News Total 28 Posts ## [Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) By [Nezar Mansour](https://alpaca.markets/blog/author/nezar/) • July 25, 2024[0 Comments](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/#disqus_thread) [![Alpaca Extends Partnership with Citadel Securities to Unlock Japanese Investor Demand for US Stocks and Options Trading](https://alpaca.markets/blog/content/images/2024/07/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-header.png)](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) Alpaca and Citadel Securities expand their Japan partnership, enhancing access to advanced trading and execution services for U.S. securities. [Continue Reading](https://alpaca.markets/blog/alpaca-extends-partnership-with-citadel-securities-to-unlock-japanese-investor-demand-for-us-stocks-and-options-trading-2/) ## [Alpaca Secures "Best API" Award from Postman at POST/CON 2024](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 15, 2024[0 Comments](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/#disqus_thread) [![Alpaca Secures "Best API" Award from Postman at POST/CON 2024](https://alpaca.markets/blog/content/images/2024/05/postman-2024-award.png)](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) Alpaca has been recognized in the developer community by receiving the "Best API" award from Postman during their annual 2024 API Network Awards. [Continue Reading](https://alpaca.markets/blog/alpaca-secures-best-api-award-postman-2024/) ## [Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) By [Patrick Valoppi](https://alpaca.markets/blog/author/patrick/) • May 08, 2024[0 Comments](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/#disqus_thread) [![Alpaca Launches US Options Trading to Global Investors and Algo Traders](https://alpaca.markets/blog/content/images/2024/05/broker-options-blog.png)](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) Today, we’re thrilled to announce another development milestone for Alpaca’s Broker and Trading API – offering options to our global community. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-us-options-trading-to-global-investors-and-algo-traders/) ## [Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) By [Hitoshi Harada](https://alpaca.markets/blog/author/hitoshi/) • April 18, 2024[0 Comments](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/#disqus_thread) [![Alpaca Successfully Transitions to Self-Clearing at DTCC](https://alpaca.markets/blog/content/images/2024/04/DTCC-Self-Clearing-Status-1.png)](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ? We are thrilled to announce that Alpaca has successfully transitioned to self-clearing at DTCC, marking a significant milestone in our journey. [Continue Reading](https://alpaca.markets/blog/alpaca-successfully-transitions-to-self-clearing-at-dtcc/) ## [Alpaca's 2023 Year in Review](https://alpaca.markets/blog/alpaca-2023-year-in-review/) By [Giovana Avoni](https://alpaca.markets/blog/author/giovana/) • January 04, 2024[0 Comments](https://alpaca.markets/blog/alpaca-2023-year-in-review/#disqus_thread) [![Alpaca's 2023 Year in Review](https://alpaca.markets/blog/content/images/2024/01/2023-recap-blog-copy@3x.png)](https://alpaca.markets/blog/alpaca-2023-year-in-review/) Welcome to Alpaca's Year-in-Review – a journey through the milestones, partnerships, and innovations that have shaped our remarkable year in 2023. As we are now full speed running in 2024, we are truly grateful for your continuous support. Please join us in revisiting the key moments in 2023 that [Continue Reading](https://alpaca.markets/blog/alpaca-2023-year-in-review/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Broker API Insights ### Tag: broker api Total 47 Posts ## [Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • November 02, 2021[0 Comments](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/#disqus_thread) [![Midas Launches Turkey’s First Fully Digital Stock Brokerage with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/11/Midas-Concept1.png)](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) Powered by Broker API, Midas is Turkey's first fully digital stock brokerage offering access to both Turkish and US stock markets. [Continue Reading](https://alpaca.markets/blog/midas-launches-turkeys-first-fully-digital-stock-brokerage-with-alpaca-broker-api/) ## [Breaking Change Notification for Account Creation Tax ID Requirement](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) By [Crystal Xue](https://alpaca.markets/blog/author/crystal/) • October 28, 2021[0 Comments](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/#disqus_thread) [![Breaking Change Notification for Account Creation Tax ID Requirement](https://alpaca.markets/blog/content/images/2021/10/Account-Creation-Tax-ID-Requirement-Breaking-Change-Notificatio_blog-2.png)](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) As part of the onboarding process for Broker API user accounts, we require specific attributes to be passed in at the time of account creation. [Continue Reading](https://alpaca.markets/blog/account-creation-tax-id-requirement-breaking-change-notification/) ## [Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • September 30, 2021[0 Comments](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/#disqus_thread) [![Lightyear launches commission-free trading app in the UK with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/09/Lightyear-announcement_blog-cover@4x.png)](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) Lightyear enables simple and accessible trading of over 1,000 US stocks to UK investors. [Continue Reading](https://alpaca.markets/blog/lightyear-launches-commission-free-trading-app-in-the-uk-with-alpaca-broker-api/) ## [Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 24, 2021[0 Comments](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/#disqus_thread) [![Alpaca Partners with Plaid to Simplify Money Transferring for Fintech Apps Built on Alpaca](https://alpaca.markets/blog/content/images/2021/08/Alpaca-Integration-with-Plaid.png)](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) We’re excited to announce our latest integration and partnership with Plaid, a data network powering the digital financial ecosystem. With Plaid, Alpaca is working to fuel the acceleration and growth of new fintech startups and tech innovators around the world. [Continue Reading](https://alpaca.markets/blog/alpaca-partners-with-plaid-to-simplify-money-transferring-for-fintech-apps-built-on-alpaca/) ## [Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 12, 2021[0 Comments](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/#disqus_thread) [![Xantos Labs launches premium investing experience for everyday investors with Alpaca Broker API](https://alpaca.markets/blog/content/images/2021/08/Xantos-Announcement-art-V01-Horse-2-1.png)](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) Powered by Broker API, Xantos Labs offers a premium investing experience. As the investment manager for the next generation of investors, Xantos Labs builds and manages portfolios for everday folks. [Continue Reading](https://alpaca.markets/blog/xantos-labs-launches-premium-investing-experience-for-everyday-investors-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Sonia Sethi's Trading Insights ![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png) ### Sonia Sethi 38 Posts ## [Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 25, 2022[0 Comments](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/#disqus_thread) [![Introducing Alpaca Crypto Wallets and Coin Pair Trading with BTC, USDT & USD Pairs](https://alpaca.markets/blog/content/images/2022/07/blog_crypto-wallets-and-coin-pair.png)](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) Alpaca Crypto Wallets and Coin Pair Trading with 48 BTC, USDT, & USD Pairs is now available. Unlock a new level of crypto trading with a better way to deposit, withdraw and trade with Alpaca Crypto. [Continue Reading](https://alpaca.markets/blog/introducing-alpaca-crypto-wallets-and-coin-pair-trading/) ## [Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • July 06, 2022[0 Comments](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/#disqus_thread) [![Matty To Introduce Trading Platform for Growth and Smart Money Management with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/07/social_matty-ai.png)](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) Matty strives to help individuals to trade and save with its first-of-its-kind trading platform that helps promotes financial growth and smart money management for all. [Continue Reading](https://alpaca.markets/blog/matty-to-introduce-trading-platform-for-growth-and-smart-money-management-with-alpaca-broker-api/) ## [Display Logos of Popular Crypto & Stock Symbols with Broker API](https://alpaca.markets/blog/display-logos-of-popular-crypto/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 22, 2022[0 Comments](https://alpaca.markets/blog/display-logos-of-popular-crypto/#disqus_thread) [![Display Logos of Popular Crypto & Stock Symbols with Broker API](https://alpaca.markets/blog/content/images/2022/06/Logo_API_Social--1-.png)](https://alpaca.markets/blog/display-logos-of-popular-crypto/) Easily embed logos of popular stock and crypto coins such as Apple, Tesla, Google, Bitcoin, Ethereum, and more into your app's interface with Logo API. [Continue Reading](https://alpaca.markets/blog/display-logos-of-popular-crypto/) ## [Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • June 13, 2022[0 Comments](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/#disqus_thread) [![Announcing MetaTrader 5 Omni Gateway for Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/06/MT5_Social_-Yellow-.png)](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) MT5 Omni Gateway is a turnkey solution that enables your customers to trade U.S stocks directly in MetaTrader 5 by connecting to Alpaca Broker API. [Continue Reading](https://alpaca.markets/blog/announcing-metatrader-5-omni-gateway-for-alpaca-broker-api/) ## [Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • April 12, 2022[0 Comments](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/#disqus_thread) [![Composer Launches Automated Trading Platform with Alpaca Broker API](https://alpaca.markets/blog/content/images/2022/04/Composer-Partnership-Announcement.png)](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) Composer, a trading platform, uses Alpaca Broker API to offer retail investors access to systematic investing strategies. [Continue Reading](https://alpaca.markets/blog/composer-partners-with-alpaca-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Trading API Updates ### Tag: trading api Total 29 Posts ## [Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) By [Sasha Cotterell](https://alpaca.markets/blog/author/sasha/) • December 06, 2021[0 Comments](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/#disqus_thread) [![Alpaca expands TradingView integration to provide advanced charting with real-time market data](https://alpaca.markets/blog/content/images/2021/11/TradingView-Announcement_blog.png)](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) TradingView’s advanced charting integration on the Alpaca dashboard is now powered by Market Data API. [Continue Reading](https://alpaca.markets/blog/alpaca-expands-tradingview-integration-to-provide-advanced-charting-with-real-time-market-data/) ## [Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) By [Neal Patel](https://alpaca.markets/blog/author/neal/) • November 22, 2021[0 Comments](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/#disqus_thread) [![Alpaca Launches Next-Gen Order Management System That Makes Order Processing 100x Faster](https://alpaca.markets/blog/content/images/2021/11/OMS-Launch-announcement_V03--3-.png)](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) Alpaca launches the next version of its Order Management System (OMS) that's 100 times faster and maintains low latency order processing, even during heavy trading volume. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-next-gen-order-management-system/) ## [Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 10, 2021[0 Comments](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/#disqus_thread) [![Updated Terms for Customer Borrow Fees](https://alpaca.markets/blog/content/images/2021/08/Borrow-Fee-Communications-Blog-1.png)](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) Please be advised that Alpaca will begin charging borrow fees on overnight short positions for the month of June 2021 and onward. [Continue Reading](https://alpaca.markets/blog/updated-terms-for-customer-borrow-fees/) ## [US Stock Trading for Everyone](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) By [Crest Saechao](https://alpaca.markets/blog/author/crest/) • August 02, 2021[0 Comments](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/#disqus_thread) [![US Stock Trading for Everyone](https://alpaca.markets/blog/content/images/2021/08/International-GTM---BLOG-1.png)](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) Global access to US Stock trading with no minimum deposit. Execute your trading algos commission-free from anywhere in the world. Fund your account with no minimum deposit and start trading with as little as $1. [Continue Reading](https://alpaca.markets/blog/international-us-stock-trading-for-everyone/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Sonia Sethi's Trading Insights ![Author image](https://alpaca.markets/blog/content/images/2022/11/Screen-Shot-2022-11-22-at-2.42.57-PM.png) ### Sonia Sethi 38 Posts ## [Alpaca Crypto Extends to Broker API](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • March 15, 2022[0 Comments](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/#disqus_thread) [![Alpaca Crypto Extends to Broker API](https://alpaca.markets/blog/content/images/2022/03/Blog---Crypto-for-Broker-API-1.png)](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) Available in 49 U.S states and select international jurisdictions, Crypto for Broker API enables your end-users to access and trade more than 20 crypto coins. [Continue Reading](https://alpaca.markets/blog/alpaca-crypto-extends-to-broker-api-with-access-to-20-coins/) ## [Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 23, 2022[0 Comments](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/#disqus_thread) [![Alpaca Introduces Stock Trading from 4 am to 8 pm ET](https://alpaca.markets/blog/content/images/2022/02/Final_Blog_ExtendedHours.png)](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) Full extended hours trading from 4 am to 8 pm ET enables you to quickly react to after-hours news and trade flexibly on your schedule. [Continue Reading](https://alpaca.markets/blog/alpaca-introduces-stock-trading-from-4-am-to-8-pm-et/) ## [Alpaca Launches Onfido SDK for Broker API](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) By [Sonia Sethi](https://alpaca.markets/blog/author/sonia/) • February 10, 2022[0 Comments](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/#disqus_thread) [![Alpaca Launches Onfido SDK for Broker API](https://alpaca.markets/blog/content/images/2022/02/Onfido_BlogAnnouncement.png)](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) Onfido SDK for Broker API enables you to quickly onboard end-users, offer a frictionless user experience, and reduce fraud attempts. [Continue Reading](https://alpaca.markets/blog/alpaca-launches-onfido-sdk-for-broker-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/marketstore-opensource-database/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2018[0 Comments](https://alpaca.markets/blog/marketstore-opensource-database/#disqus_thread) [![MarketStore, the financial time series database, is now open source](https://alpaca.markets/blog/content/images/2020/03/fruits.jpeg)](https://alpaca.markets/blog/marketstore-opensource-database/) We are happy to announce MarketStore is now open source! MarketStore is a database server optimized for financial timeseries data written in pure Go, designed and developed by Alpaca. [Continue Reading](https://alpaca.markets/blog/marketstore-opensource-database/) ## [Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/algorithmic-trading-puzzle/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • January 26, 2018[0 Comments](https://alpaca.markets/blog/algorithmic-trading-puzzle/#disqus_thread) [![Are You a Winner of the Alpaca Algo Trading Coding Challenge?](https://alpaca.markets/blog/content/images/2020/03/coding.gif)](https://alpaca.markets/blog/algorithmic-trading-puzzle/) Announcing the answer for the algorithmic trading puzzle. [Continue Reading](https://alpaca.markets/blog/algorithmic-trading-puzzle/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Trading Updates ## [API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/sdk-api-trade-contest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/sdk-api-trade-contest/#disqus_thread) [![API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/content/images/2020/10/update03.png)](https://alpaca.markets/blog/sdk-api-trade-contest/) These new features are to offer more flexibility when using Alpaca products and are to give you more visibility on the web-dashboard as well. [Continue Reading](https://alpaca.markets/blog/sdk-api-trade-contest/) ## [The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/2nd-trade-contest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/2nd-trade-contest/#disqus_thread) [![The 2nd Trading Competition Starts on Oct 26th](https://alpaca.markets/blog/content/images/2020/10/trade_contest.png)](https://alpaca.markets/blog/2nd-trade-contest/) The second Trade Contest is starting on Oct 26 (Mon), a 4-week-long contest where participants compete in a simulated market. [Continue Reading](https://alpaca.markets/blog/2nd-trade-contest/) ## [Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th](https://alpaca.markets/blog/algo-trading-conference/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 05, 2020[0 Comments](https://alpaca.markets/blog/algo-trading-conference/#disqus_thread) [![Virtual Conference "An Insight into the Algo Trading Industry" on Oct 30th](https://alpaca.markets/blog/content/images/2020/10/2020-10-16--7-.png)](https://alpaca.markets/blog/algo-trading-conference/) Alpaca is excited to host the series of algo trading conferences with fellow industry professionals. 1st one with Radovan of Quantpedia and Remy of Vauban. [Continue Reading](https://alpaca.markets/blog/algo-trading-conference/) ## [TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/tradingview-oco-tradetron/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 22, 2020[0 Comments](https://alpaca.markets/blog/tradingview-oco-tradetron/#disqus_thread) [![TradingView OCO & Tradetron Launch](https://alpaca.markets/blog/content/images/2020/09/friends.jpg)](https://alpaca.markets/blog/tradingview-oco-tradetron/) Announcing TradingView OCO & Tradetron launch on Alpaca. Alpaca continues to add the integration partners. [Continue Reading](https://alpaca.markets/blog/tradingview-oco-tradetron/) ## [Trailing Stop Orders on Alpaca!](https://alpaca.markets/blog/trailing-stop/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 11, 2020[0 Comments](https://alpaca.markets/blog/trailing-stop/#disqus_thread) [![Trailing Stop Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/09/trailing-stop.png)](https://alpaca.markets/blog/trailing-stop/) Trailing stop orders are now available at Alpaca - growing the list of advanced order types with Alpaca API [Continue Reading](https://alpaca.markets/blog/trailing-stop/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept ## Alpaca Product Updates ### Tag: product update Total 57 Posts ## [API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/sdk-api-trade-contest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • October 12, 2020[0 Comments](https://alpaca.markets/blog/sdk-api-trade-contest/#disqus_thread) [![API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent](https://alpaca.markets/blog/content/images/2020/10/update03.png)](https://alpaca.markets/blog/sdk-api-trade-contest/) These new features are to offer more flexibility when using Alpaca products and are to give you more visibility on the web-dashboard as well. [Continue Reading](https://alpaca.markets/blog/sdk-api-trade-contest/) ## [Trailing Stop Orders on Alpaca!](https://alpaca.markets/blog/trailing-stop/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • September 11, 2020[0 Comments](https://alpaca.markets/blog/trailing-stop/#disqus_thread) [![Trailing Stop Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/09/trailing-stop.png)](https://alpaca.markets/blog/trailing-stop/) Trailing stop orders are now available at Alpaca - growing the list of advanced order types with Alpaca API [Continue Reading](https://alpaca.markets/blog/trailing-stop/) ## [Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/non-us-live-trading-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 30, 2020[0 Comments](https://alpaca.markets/blog/non-us-live-trading-beta/#disqus_thread) [![Finally an Update for Non-US Resident Alpaca Users](https://alpaca.markets/blog/content/images/2020/07/non-US-alpaca.png)](https://alpaca.markets/blog/non-us-live-trading-beta/) Letting you know that we have started an invite-only beta program for non-US resident Alpaca users to open live-trading accounts ✌️. [Continue Reading](https://alpaca.markets/blog/non-us-live-trading-beta/) ## [Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/business-brokerage-account-beta/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • July 17, 2020[0 Comments](https://alpaca.markets/blog/business-brokerage-account-beta/#disqus_thread) [![Launching Alpaca Business Trading Accounts Beta](https://alpaca.markets/blog/content/images/2020/07/Alpaca_Business_Account.png)](https://alpaca.markets/blog/business-brokerage-account-beta/) Alpaca is launching business trading brokerage accounts Beta, the commission-free trading accounts for your business entities. [Continue Reading](https://alpaca.markets/blog/business-brokerage-account-beta/) ## [Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/stock-market-data-api/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • May 07, 2020[0 Comments](https://alpaca.markets/blog/stock-market-data-api/#disqus_thread) [![Alpaca Data API - API for Free Real-Time Stock Market Data](https://alpaca.markets/blog/content/images/2020/05/01.jpg)](https://alpaca.markets/blog/stock-market-data-api/) Alpaca Data API is free real-time stock market data API for building your algorithmic trading strategies or trading/investing applications. [Continue Reading](https://alpaca.markets/blog/stock-market-data-api/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) ## Alpaca Trading Updates ## [Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/oco-oto/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • March 05, 2020[0 Comments](https://alpaca.markets/blog/oco-oto/#disqus_thread) [![Now You Can Place OCO & OTO Orders on Alpaca!](https://alpaca.markets/blog/content/images/2020/03/alpaca-oco-oto-1.png)](https://alpaca.markets/blog/oco-oto/) New advanced order types supported by Alpaca - this time we are launching OCO (One-Cancels-Other) and OTO (One-Triggers-Other) [Continue Reading](https://alpaca.markets/blog/oco-oto/) ## [Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/blueshift-backtest/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 29, 2020[0 Comments](https://alpaca.markets/blog/blueshift-backtest/#disqus_thread) [![Backtesting to Live Trading in One Place Finally! Blueshift Integration with Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-blueshift.png)](https://alpaca.markets/blog/blueshift-backtest/) A leading quant finance school QuantInsti and Alpaca team up to offer a super seamless experience in algo trading through Blueshift integration with Alpaca commission-free trading API [Continue Reading](https://alpaca.markets/blog/blueshift-backtest/) ## [Web Dashboard Gets A Facelift](https://alpaca.markets/blog/web-dashboard-update/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 18, 2020[0 Comments](https://alpaca.markets/blog/web-dashboard-update/#disqus_thread) [![Web Dashboard Gets A Facelift](https://alpaca.markets/blog/content/images/2020/03/alpaca-ui-update.png)](https://alpaca.markets/blog/web-dashboard-update/) The Alpaca web dashboard just got a whole lot better. New UI improvements add functionality and clarity to profiles, account settings, banking, and more. Check it out! [Continue Reading](https://alpaca.markets/blog/web-dashboard-update/) ## [Bracket Orders on Alpaca](https://alpaca.markets/blog/bracket-orders/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 10, 2020[0 Comments](https://alpaca.markets/blog/bracket-orders/#disqus_thread) [![Bracket Orders on Alpaca](https://alpaca.markets/blog/content/images/2020/03/alpaca-bracket-order.png)](https://alpaca.markets/blog/bracket-orders/) Trying to stay within a target price range while stock trading? Alpaca is here to help with all-new bracket order functionality. [Continue Reading](https://alpaca.markets/blog/bracket-orders/) ## [Alpaca Introduces OAuth Support](https://alpaca.markets/blog/oauth/) By [Yoshi Yokokawa](https://alpaca.markets/blog/author/yoshi/) • February 04, 2020[0 Comments](https://alpaca.markets/blog/oauth/#disqus_thread) [![Alpaca Introduces OAuth Support](https://alpaca.markets/blog/content/images/2020/03/alpaca-oauth.png)](https://alpaca.markets/blog/oauth/) We’re excited to introduce OAuth support to the Alpaca API! You can now build more things with Alpaca, thanks to the ability to use OAuth clients. Get started today. [Continue Reading](https://alpaca.markets/blog/oauth/) [×](javascript:;) You've successfully subscribed to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Great! Next, complete checkout for full access to Alpaca Blog \| Developer-First API for Stocks, Options, and Crypto [×](javascript:;) Welcome back! You've successfully signed in. [×](javascript:;) Success! Your account is fully activated, you now have access to all content. Alpaca and selected third parties use cookies on this website as specified in the [cookie policy](https://files.alpaca.markets/disclosures/CookiePolicy.pdf). You accept the use of these cookies or other identifiers by pressing ‘Accept’, closing this notice, or logging into your account. Accept [iframe](about:blank) BatchScrapeJob(status='completed', completed=327, total=327, credits_used=327, expires_at=datetime.datetime(2025, 9, 25, 15, 29, 45, tzinfo=TzInfo(UTC)), next=None, data=[Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The page focuses on the App-Integration category, which is dedicated to discussions about app integration related to Alpaca. Users can find FAQs, share ideas, and follow discussions. Notable posts include a mention of an Android app under development with live trading features, and various related topics such as AI-enabled trading apps and integration requests. The community encourages feedback and interaction among users.', metadata=DocumentMetadata(title='About the App-Integration category - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='For all discussion centered around app-integration. :llama:', url='https://forum.alpaca.markets/t/about-the-app-integration-category/13', language='en', keywords=None, robots=None, og_title='About the App-Integration category - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='For all discussion centered around app-integration. 🦙', og_url='https://forum.alpaca.markets/t/about-the-app-integration-category/13', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-11T17:59:16+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-app-integration-category/13', status_code=200, scrape_id='92ccb3e1-a3ee-40f3-a45e-d22decd52bff', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T15:18:38.011Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. The forum provides a space for FAQs, idea sharing, and discussions. The 'Random' category is designated for topics that don't fit elsewhere, encouraging civil conversation. Notable related categories include Tutorials, Tutorial Requests, Announcements, and Examples, each with varying levels of engagement and views.", metadata=DocumentMetadata(title='About the Random category - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='For anything that doesn’t fit in other topics. Keep it civil! :llama:', url='https://forum.alpaca.markets/t/about-the-random-category/15', language='en', keywords=None, robots=None, og_title='About the Random category - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='For anything that doesn’t fit in other topics. Keep it civil! 🦙', og_url='https://forum.alpaca.markets/t/about-the-random-category/15', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-11T18:18:12+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-random-category/15', status_code=200, scrape_id='09653ec6-dd8d-4f12-9579-52fcea943c1f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T15:18:37.285Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users interested in trading, particularly regarding OTC (Over-the-Counter) stock trading. Users express interest in Alpaca's API and inquire about the inclusion of OTC markets on the platform. Key discussions include requests for OTC trading support, with users emphasizing its potential impact on their trading experience. Alpaca representatives acknowledge the interest and suggest users open feature requests on their GitHub repository for better tracking. The community is engaged, with multiple users advocating for the addition of OTC trading capabilities.", metadata=DocumentMetadata(title='OTC Stock Trading? - Alpaca Trading - Alpaca Community Forum', description='Hi, \nI am really interested in Alpaca’s approach to trading; I am glad an institution is trying to be more open with its API than the other competitors. \nI was wondering, does anyone know if Alpaca has any plans–or thoug…', url='https://forum.alpaca.markets/t/otc-stock-trading/2278', language='en', keywords=None, robots=None, og_title='OTC Stock Trading? - Alpaca Trading - Alpaca Community Forum', og_description='Hi, I am really interested in Alpaca’s approach to trading; I am glad an institution is trying to be more open with its API than the other competitors. I was wondering, does anyone know if Alpaca has any plans–or thoughts–about including the OTC markets on their platform? Thanks', og_url='https://forum.alpaca.markets/t/otc-stock-trading/2278', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-08-05T21:41:28+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/otc-stock-trading/2278', status_code=200, scrape_id='ef87b8e4-8979-4843-a52f-2414f972fccd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T15:18:36.973Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The page promotes trading with Alpaca on the TradingView platform, highlighting its advanced charting and analytical tools. Key features include commission-free trading for over 11,000 stocks and ETFs, industry-leading charts with 15+ types and 90+ drawing tools, advanced technical analysis with 100+ indicators, and customizable alerts. Users can sign up for an Alpaca account, connect to TradingView, and authorize trading. The platform also offers a desktop app for enhanced trading experience.', metadata=DocumentMetadata(title='Alpaca - Connect to TradingView using Brokerage Account', description='Connect and trade 11,000+ stocks and ETFs on\n TradingView. With your Alpaca brokerage account, you gain access to the\n best-in-class charting and analytical tools.', url='https://alpaca.markets/tradingview', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Connect to TradingView using Brokerage Account', og_description='Connect and trade 11,000+ stocks and ETFs on\n TradingView. With your Alpaca brokerage account, you gain access to the\n best-in-class charting and analytical tools.', og_url='https://alpaca.markets/tradingview', og_image='https://alpaca.markets/static/images/meta-image-tradingview.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/tradingview', status_code=200, scrape_id='ff23ee07-aa33-473f-93c3-4e627839a37b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T14:40:02.220Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a platform for trading over 11,000 U.S. stocks and ETFs through a simple API, web dashboard, or TradingView. Key features include fractional shares allowing investments from $1, a sandbox environment for testing strategies, margin trading with up to 4X intraday leverage, and advanced order types such as Market, Limit, and Stop orders. Extended hours trading is available, and both individual and business accounts can be opened with a minimum deposit. Alpaca supports a developer community with SDKs in various programming languages and provides global support.', metadata=DocumentMetadata(title='Alpaca - Stock & ETF Trading API - Buy, Sell, Short', description="Buy, sell, and short over 11,000+ U.S. listed stocks and ETFs using Alpaca's Trading API", url='https://alpaca.markets/stocks', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Stock & ETF Trading API - Buy, Sell, Short', og_description="Buy, sell, and short over 11,000+ U.S. listed stocks and ETFs using Alpaca's Trading API", og_url='https://alpaca.markets/stocks', og_image='https://alpaca.markets/static/images/meta-image-stocks.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/stocks', status_code=200, scrape_id='95cf2b3d-17e6-4fd6-a44b-21dbe6a692f1', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T13:30:08.845Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. The forum provides various categories for discussions, including 'Getting Started with Alpaca', 'Alpaca Trading', 'Integration Applications', 'Products Discussion', 'Account Troubleshooting', and 'Market Data'. Each category contains topics for users to ask questions, share ideas, and follow discussions. Recent topics include issues with historical stock data, limit orders, and market data access. Users can also find tutorials and request features.", metadata=DocumentMetadata(title='Alpaca Community Forum - Alpaca Community Forum | Stock Trading API', description='Alpaca user forum for FAQ, feature requests, many discussions around Alpaca stock trading API', url='https://forum.alpaca.markets/', language='en', keywords=None, robots=None, og_title='Alpaca Community Forum - Alpaca Community Forum | Stock Trading API', og_description='Alpaca user forum for FAQ, feature requests, many discussions around Alpaca stock trading API', og_url='https://forum.alpaca.markets/', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://forum.alpaca.markets', status_code=200, scrape_id='62c2842d-3cdb-42cf-9808-a31cb59318ef', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T15:18:32.376Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. The forum provides various categories for discussions, including 'Getting Started with Alpaca', 'Alpaca Trading', 'Integration Applications', 'Products Discussion', 'Account Troubleshooting', and 'Market Data'. Each category contains topics for users to ask questions, share ideas, and follow discussions. Recent topics include issues with historical stock data, limit orders, and market data access. Users can also find tutorials and request features.", metadata=DocumentMetadata(title='Alpaca Community Forum - Alpaca Community Forum | Stock Trading API', description='Alpaca user forum for FAQ, feature requests, many discussions around Alpaca stock trading API', url='https://forum.alpaca.markets/', language='en', keywords=None, robots=None, og_title='Alpaca Community Forum - Alpaca Community Forum | Stock Trading API', og_description='Alpaca user forum for FAQ, feature requests, many discussions around Alpaca stock trading API', og_url='https://forum.alpaca.markets/', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://forum.alpaca.markets', status_code=200, scrape_id='d72e7cc2-5df9-447e-bdb0-b69cfcadcaca', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T15:18:32.376Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum provides various categories for discussions, including Getting Started with Alpaca, Alpaca Trading, Integration Applications, Products Discussion, Account Troubleshooting, and Market Data. Each category contains topics for users to ask questions, share ideas, and follow discussions. Recent topics include issues with historical stock data, limit orders, and market data access. The community encourages users to engage and seek help on various trading and account-related topics.', metadata=DocumentMetadata(title='Alpaca Community Forum - Alpaca Community Forum | Stock Trading API', description='Alpaca user forum for FAQ, feature requests, many discussions around Alpaca stock trading API', url='https://forum.alpaca.markets/', language='en', keywords=None, robots=None, og_title='Alpaca Community Forum - Alpaca Community Forum | Stock Trading API', og_description='Alpaca user forum for FAQ, feature requests, many discussions around Alpaca stock trading API', og_url='https://forum.alpaca.markets/', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://forum.alpaca.markets', status_code=200, scrape_id='e984ae4d-67f0-4041-9ac2-02e5affd6804', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T15:18:32.376Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca is a broker API trusted by over 200 global financial institutions and fintechs, providing accessible investing solutions for customers worldwide. Key features include fractional trading of US stocks, options, crypto, and fixed income, supported by a developer-first API and self-clearing operations. The platform offers real-time market data, flexible trading hours, and advanced capabilities like high-yield cash accounts, tokenization, and local currency trading. Alpaca ensures security and compliance with regulatory standards, providing a comprehensive platform for partners to build and scale their financial services.', metadata=DocumentMetadata(title='Alpaca - Build Your Fintech App with Broker API for Stock, Options, Crypto', description="Built with developers in mind, Alpaca's modern APIs make it easy for businesses to embed stock, options and crypto trading into their fintech app.", url='https://alpaca.markets/broker', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Build Your Fintech App with Broker API for Stock, Options, Crypto', og_description="Built with developers in mind, Alpaca's modern APIs make it easy for businesses to embed stock, options and crypto trading into their fintech app.", og_url='https://alpaca.markets/broker', og_image='https://alpaca.markets/static/images/meta-image-broker.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/broker', status_code=200, scrape_id='40d154dc-20b0-48b8-9227-171fae46e409', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T13:30:08.845Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a commission-free options trading platform that allows users to paper trade, backtest, and execute multi-leg options strategies through its Trading API. Key features include:\n- Advanced options trading capabilities for single and multi-leg strategies.\n- API and web dashboard for intuitive trading.\n- Ultra-low latency order execution.\n- Free API access with SDKs available in multiple programming languages.\n- No funding minimums required to start trading.\n- Options trading levels up to Level 3, supporting US equity and ETF options.\n- Comprehensive resources for onboarding and strategy development.\nUsers can trade thousands of contracts with zero commissions and access a thriving OAuth ecosystem for additional tools.', metadata=DocumentMetadata(title='Alpaca Markets - Options Trading', description='Paper trade, backtest, and execute your multi-leg options trading strategies via API or dashboard. All commission-free.', url='https://alpaca.markets/options', language='en', keywords=None, robots='index, follow', og_title='Alpaca Markets - Options Trading', og_description='Paper trade, backtest, and execute your multi-leg options trading strategies via API or dashboard. All commission-free.', og_url='https://alpaca.markets/options', og_image='https://alpaca.markets/static/images/meta-image-options-multi-leg.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/options', status_code=200, scrape_id='f6af0983-fc25-4a54-842c-7eecdaf5e79d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T13:30:08.910Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca offers commission-free trading for stocks, ETFs, and options, along with a High-Yield Cash program that earns 3.82% APY on uninvested cash. Key features include a commission-free API, real-time market data, ultra-low latency FIX messaging, and support for business accounts. Users can test strategies in a secure environment and benefit from two-factor authentication. Alpaca provides advanced trading options such as margin trading, short selling, and various order types. The platform supports pre-market and after-hours trading, and users can access institutional-grade tools through Alpaca Elite. Alpaca Securities is a member of FINRA and SIPC, ensuring regulatory compliance and protection for users' accounts.", metadata=DocumentMetadata(title='Alpaca - Algorithmic Trading API, Commission-Free', description="Start commission-free algorithmic trading with Alpaca's Trading API for stock, options and crypto.", url='https://alpaca.markets/algotrading', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Algorithmic Trading API, Commission-Free', og_description="Start commission-free algorithmic trading with Alpaca's Trading API for stock, options and crypto.", og_url='https://alpaca.markets/algotrading', og_image='https://s3.amazonaws.com/marketing.alpaca.markets/social/banners/alpaca-trading.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/algotrading', status_code=200, scrape_id='f639b8ea-3d90-4f77-8b2c-39b7277362bb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T13:30:08.845Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to closing positions in paper trading accounts. Users report difficulties in closing multiple positions, often receiving errors like 'insufficient qty available' due to existing open orders. Key points include: 1) Users must cancel outstanding orders before closing positions. 2) Bracket orders can complicate the process, requiring cancellation of all related orders. 3) Developers suggest using specific Python code to manage positions and orders effectively. 4) The community offers support and encourages users to reach out for help if issues persist.", metadata=DocumentMetadata(title='Unable to close positions - Alpaca Trading - Alpaca Community Forum', description='Hello, \nDuring paper trading today I have been unable to close positions on my paper trading account for over 9 positions \nThe error I get when trying to trigger a sell in python is as follows: \n \nHowever, when I look a…', url='https://forum.alpaca.markets/t/unable-to-close-positions/6024', language='en', keywords=None, robots=None, og_title='Unable to close positions - Alpaca Trading - Alpaca Community Forum', og_description='Hello, During paper trading today I have been unable to close positions on my paper trading account for over 9 positions The error I get when trying to trigger a sell in python is as follows: However, when I look at the Alpaca paper trading dashboard I can see that I still have 100 shares of that particular stock: I am using the following code: Is there specific python code I need to use to reverse a position? Thank you', og_url='https://forum.alpaca.markets/t/unable-to-close-positions/6024', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/8/841833f8cf63c9f0ee02d66637a1b30051510dd3_2_1024x68.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-06-22T17:59:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/unable-to-close-positions/6024', status_code=200, scrape_id='826d43d0-9cbe-482c-91d3-4d6091de395a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T15:18:37.790Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a user-friendly API for trading cryptocurrencies like BTC, ETH, and DOGE, backed by a secure custody infrastructure. Key features include high uptime (99.95%), fast order processing (1.5ms), and various trading solutions such as spot trading, crypto-to-crypto trading, and a secure wallet for deposits and withdrawals. Alpaca ensures asset protection through responsible private key management and is SOC 2 Type II certified. Developers can easily integrate trading functionalities with SDKs available in multiple programming languages, and access real-time market data for both paper and live trading. Comprehensive documentation and support resources are available for users.', metadata=DocumentMetadata(title='Alpaca - Easy to Use Trading API for Crypto', description="Trade Bitcoin, Ethereum, Dogecoin and other cryptocurrencies with Alpaca's easy to use Trading API.", url='https://alpaca.markets/crypto', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Easy to Use Trading API for Crypto', og_description="Trade Bitcoin, Ethereum, Dogecoin and other cryptocurrencies with Alpaca's easy to use Trading API.", og_url='https://alpaca.markets/crypto', og_image='https://alpaca.markets/static/images/meta-image-crypto-overview.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/crypto', status_code=200, scrape_id='21b13266-fce0-4b59-8487-a2573b95c581', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T14:40:02.345Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca is a developer-first brokerage platform offering a range of APIs for trading and market data. Key products include the Broker API for end-to-end brokerage services, Trading API for executing trading algorithms, and access to various asset classes such as US stocks, ETFs, options, and cryptocurrencies. The platform provides extensive resources for developers, including documentation, SDKs, and community support. Alpaca offers flexible pricing plans for market data access, catering to individuals, businesses, and professional traders. The platform emphasizes security and compliance, with services provided by Alpaca Securities LLC and Alpaca Crypto LLC, both of which are regulated entities. Users can sign up for accounts and access various tools to enhance their trading experience.', metadata=DocumentMetadata(title='Alpaca - Unlimited Access, Real-time Market Data API', description='Developer-first market data API with up to 10,000\n API calls/min and over 7 years of historical data.', url='https://alpaca.markets/data', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Unlimited Access, Real-time Market Data API', og_description='Developer-first market data API with up to 10,000\n API calls/min and over 7 years of historical data.', og_url='https://alpaca.markets/data', og_image='https://alpaca.markets/static/images/meta-image-data.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/data', status_code=200, scrape_id='610a6945-29da-43aa-bd72-c2b51f6155fc', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T13:30:08.845Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers spot trading for 20 cryptocurrencies including BTC, ETH, and DOGE, accessible through various platforms like TradingView and Trading APIs. The Alpaca Crypto Trading API allows traders to develop algorithms and trading bots, while the Broker API enables businesses to create their own crypto trading applications. Alpaca is SOC 2 Type II Certified, ensuring robust data security protocols are in place to protect customer information.', metadata=DocumentMetadata(title='Alpaca Markets - SPOT TRADING', description='Trade over 20+ coins like BTC, ETH, and more. Available in select international jurisdictions using our dashboard, Trading APIs, or your favorite Connect app', url='https://alpaca.markets/spot-trading', language='en', keywords=None, robots='index, follow', og_title='Alpaca Markets - SPOT TRADING', og_description='Trade over 20+ coins like BTC, ETH, and more. Available in select international jurisdictions using our dashboard, Trading APIs, or your favorite Connect app', og_url='https://alpaca.markets/spot-trading', og_image='https://alpaca.markets/static/images/meta-image-crypto-overview.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/spot-trading', status_code=200, scrape_id='86883939-01d4-4069-87b1-57836ca630a4', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca introduces a crypto-to-crypto trading platform allowing users to trade BTC, USD, USDT, and USDC pairs without converting to fiat currency. Users can deposit supported cryptocurrencies or buy them with USD for direct trading, enhancing efficiency. The platform ensures secure custody of digital assets through Fireblocks' MPC-CMP architecture. For more details, users can visit the provided links.", metadata=DocumentMetadata(title='Alpaca Markets - CRYPTO-TO-CRYPTO', description='Tap into a new dimension of crypto trading and access arbitrating opportunities with our BTC, USD, USD, and USDC pairs.', url='https://alpaca.markets/crypto-to-crypto', language='en', keywords=None, robots='index, follow', og_title='Alpaca Markets - CRYPTO-TO-CRYPTO', og_description='Tap into a new dimension of crypto trading and access arbitrating opportunities with our BTC, USD, USD, and USDC pairs.', og_url='https://alpaca.markets/crypto-to-crypto', og_image='https://alpaca.markets/static/images/meta-image-crypto-overview.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/crypto-to-crypto', status_code=200, scrape_id='7dfd0d50-6727-4ca0-9f1c-322b475e366d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a commission-free Trading API designed for algorithmic traders, enabling quick deployment and evolution of trading strategies across Stocks, ETFs, Options, and Cryptocurrencies. The platform emphasizes a developer-first approach with extensive resources, including how-to articles and code snippets, allowing users to start trading within days. Alpaca provides high execution quality and speed, along with Excess SIPC Insurance for enhanced protection. Community support is available through Slack and forums, fostering collaboration among traders. The platform also offers tutorials and resources for building algorithmic trading setups, blending finance and technology.', metadata=DocumentMetadata(title='Alpaca - Algorithmic Traders', description='Commission Free API for Your Trading Algorithms', url='https://alpaca.markets/algorithmic-traders', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Algorithmic Traders', og_description='Commission Free API for Your Trading Algorithms', og_url='https://alpaca.markets/algorithmic-traders', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/algorithmic-traders', status_code=200, scrape_id='78a57b34-a714-4e87-a60d-eb19677982cf', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The content discusses Robinhood's financial performance in 2021, focusing on its revenue streams, product offerings, technology, and the opportunities and challenges it faces. It highlights partnerships with over 150 global companies, showcasing various collaborations that enhance investment accessibility and innovation in the financial sector.", metadata=DocumentMetadata(title='How Does Robinhood Make Money?', description="Get insights on Robinhood's 2021 financials, its revenue streams, product and technology, and opportunities and challenges.", url='https://alpaca.markets/broker-resources/ebook/how-does-robinhood-make-money', language='en', keywords=None, robots='index, follow', og_title='How Does Robinhood Make Money?', og_description="Get insights on Robinhood's 2021 financials, its revenue streams, product and technology, and opportunities and challenges.", og_url='https://alpaca.markets/broker-resources/ebook/how-does-robinhood-make-money', og_image='https://alpaca.markets/img/broker-resources/3.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/broker-resources/ebook/how-does-robinhood-make-money', status_code=200, scrape_id='fb8739f6-6b1b-4b61-bc7e-5c7f37d90b92', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca is a commission-free trading platform offering a range of APIs for brokerage and trading services. Key products include the Broker API for end-to-end brokerage solutions, Trading API for executing trading algorithms, and various asset classes such as US stocks, ETFs, options, and cryptocurrencies. The platform supports fintech startups, digital wallets, hedge funds, and algorithmic traders, among others. Developers can access extensive resources, including API documentation, SDKs, and community support. Alpaca emphasizes security and compliance, providing services through Alpaca Securities LLC and Alpaca Crypto LLC, with a focus on low-cost trading and user-friendly tools.', metadata=DocumentMetadata(title='Alpaca - Commission-Free Fractional Shares Trading API for trading & building apps', description="Offering the world's first commission-free fractional trading API for algorithmic trading & building apps", url='https://alpaca.markets/fractional', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Commission-Free Fractional Shares Trading API for trading & building apps', og_description="Offering the world's first commission-free fractional trading API for algorithmic trading & building apps", og_url='https://alpaca.markets/fractional', og_image='https://s3.amazonaws.com/files.alpaca.markets/webassets/Alpaca+Fractional+01.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/fractional', status_code=200, scrape_id='9fad5b13-8ef9-477c-b62d-437072445dc6', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. The forum provides various categories for discussions, including 'Getting Started with Alpaca', 'Alpaca Trading', 'Alpaca Integration Applications', 'Alpaca Products Discussion', 'Alpaca Account Troubleshooting', and 'Alpaca Market Data'. Each category contains topics for users to ask questions, share ideas, and discuss trading strategies. Recent discussions include issues with historical stock data, limit orders, and market data access. Users can also find tutorials and request features.", metadata=DocumentMetadata(title='Alpaca Community Forum - Alpaca Community Forum | Stock Trading API', description='Alpaca user forum for FAQ, feature requests, many discussions around Alpaca stock trading API', url='https://forum.alpaca.markets/', language='en', keywords=None, robots=None, og_title='Alpaca Community Forum - Alpaca Community Forum | Stock Trading API', og_description='Alpaca user forum for FAQ, feature requests, many discussions around Alpaca stock trading API', og_url='https://forum.alpaca.markets/', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://forum.alpaca.markets', status_code=200, scrape_id='b49446dc-7cf7-4a00-8bb5-ef47b14492e7', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T15:28:21.394Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca aims to democratize access to financial services globally through its financial services APIs, operating remotely across 20+ countries. The company values diversity, creativity, and a goal-oriented culture, encouraging team members to solve complex problems collaboratively. Alpaca promotes a global mindset, with a fully remote team that embraces diverse cultural experiences. The startup emphasizes honesty, empathy, and high-trust partnerships to drive significant impact in the financial industry. They are actively hiring for various roles across departments, seeking curious and resourceful individuals.', metadata=DocumentMetadata(title="Alpaca - We're Hiring! Find Your Next Career Role", description="We're hiring at Alpaca! Join our herd (team) and help open access to financial services for everyone on the planet.", url='https://alpaca.markets/hiring', language='en', keywords=None, robots='index, follow', og_title="Alpaca - We're Hiring! Find Your Next Career Role", og_description="We're hiring at Alpaca! Join our herd (team) and help open access to financial services for everyone on the planet.", og_url='https://alpaca.markets/hiring', og_image='https://alpaca.markets/static/images/meta-image-hiring.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/hiring', status_code=200, scrape_id='b5433f17-a3d0-4787-b95c-fb6c63928cfb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a modern, developer-first Fintech API platform that allows developers and businesses to easily build and integrate trading solutions. The platform is trusted by numerous developers and Fintech companies globally, providing free access to start building projects. Key features include clean documentation, an active developer community for support, and a team that understands startup challenges. Alpaca is a FINRA registered broker-dealer, facilitating stock, options, and crypto trading while ensuring compliance and operational efficiency for partners. The platform supports various integrations, enabling businesses to create brokerage accounts and streamline operations.', metadata=DocumentMetadata(title='Alpaca - Your Next Project', description='Build Your Next Project with an Easy-to-Start Fintech API', url='https://alpaca.markets/your-new-project', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Your Next Project', og_description='Build Your Next Project with an Easy-to-Start Fintech API', og_url='https://alpaca.markets/your-new-project', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/your-new-project', status_code=200, scrape_id='a8bcba75-4d49-436f-b75c-8436dbb88256', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Broker API allows users to easily build applications for trading over 5,000 US stocks, ETFs, and 20+ cryptocurrencies. Key benefits include 24/7 crypto trading, fractional stock trading with extended hours, and opportunities to unlock revenue and streamline operations. The API is designed for seamless integration for partners and end-users, functioning as a Correspondent Clearing Broker-Dealer. Users can contact the team for more information through a provided form.', metadata=DocumentMetadata(title='Alpaca Broker API Contact Form', description='Effortlessly build your app with Alpaca Broker API. Contact us to get started.', url='https://alpaca.markets/broker-contact-form', language='en', keywords=None, robots='index, follow', og_title='Alpaca Broker API Contact Form', og_description='Effortlessly build your app with Alpaca Broker API. Contact us to get started.', og_url='https://alpaca.markets/broker-contact-form', og_image='https://alpaca.markets/static/images/meta-image-broker.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/broker-contact-form', status_code=200, scrape_id='54194093-8d9f-4263-8ac0-b1a40568ae43', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Documents Library provides a comprehensive collection of disclosures and agreements related to securities, crypto, FDIC bank sweep programs, and retirement accounts. Key sections include:\n\n1. **Securities Disclosures**: Includes business continuity plans, privacy notices, risk disclosures, and various financial statements.\n2. **Securities Agreements**: Contains customer agreements, terms and conditions, and various account applications.\n3. **FDIC Bank Sweep Disclosures**: Outlines terms and conditions for the bank sweep program and a list of participating banks.\n4. **Retirement Account Disclosures**: Features trust agreements and IRA disclosures from Equity Trust Company.\n5. **Crypto Disclosures**: Covers business continuity plans, privacy notices, risk disclosures, and custodial account statements for crypto.\n6. **Crypto Agreements**: Lists terms and conditions for crypto services and customer agreements.\n7. **606 Reports**: Provides SEC Rule 606 reports detailing order routing and execution information.\n\nAdditionally, the library includes advisory documents from federal agencies regarding cryptocurrency risks.', metadata=DocumentMetadata(title='Alpaca - Disclosures and Agreements', description='Developer-first, easy to use APIs for developers and\n businesses to build apps, embed investing, and trade algorithms.', url='https://alpaca.markets/disclosures', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Disclosures and Agreements', og_description='Developer-first, easy to use APIs for developers and\n businesses to build apps, embed investing, and trade algorithms.', og_url='https://alpaca.markets/disclosures', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/disclosures', status_code=200, scrape_id='e038ee74-42f6-4538-902f-3d4890ec2e96', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T13:25:58.812Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The content outlines various partnerships and services offered by Alpaca, emphasizing their commitment to enhancing user experience through advanced charting and cross-border payments. Key partners include Airwallex, BMO Harris, Checkout, Currency Cloud, Eflow Global, Evolve, I2C, Intuit, Mastercard, MSCI, Nasdaq, Nium, Plaid, Refinitiv, Sanlam, Sila Money, Snap, Synctera, and Wise. Each partner provides unique services ranging from banking solutions, payment processing, regulatory compliance, to financial data services.', metadata=DocumentMetadata(title='Alpaca Partnerships', description='Alpaca partners with industry leaders from cross-border payments to identity verification to customize experiences and solutions for our users.', url='https://alpaca.markets/enablement-partners', language='en', keywords=None, robots='index, follow', og_title='Alpaca Partnerships', og_description='Alpaca partners with industry leaders from cross-border payments to identity verification to customize experiences and solutions for our users.', og_url='https://alpaca.markets/enablement-partners', og_image='https://alpaca.markets/static/images/meta-image-partners.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/enablement-partners', status_code=200, scrape_id='599d4806-d06d-42f8-a059-95e807455a6d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The content provides contact information for various services offered by Alpaca. It includes sections for Sales, Support, Community, Partnerships, and Press. Users can reach out to Sales for business inquiries, get Support for trading assistance, connect with other users in the Community via Slack, and explore Partnerships with industry players. For media inquiries, a dedicated email is provided. Additionally, there is a note about cookie usage on the website.', metadata=DocumentMetadata(title='Alpaca - Contact Us', description='Find contact information for sales, customer support, press relations, and our online community.', url='https://alpaca.markets/contact', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Contact Us', og_description='Find contact information for sales, customer support, press relations, and our online community.', og_url='https://alpaca.markets/contact', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/contact', status_code=200, scrape_id='26d28d39-9f6d-4bd4-8880-6828aa7ddc01', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca offers a user-friendly API for trading cryptocurrencies like BTC, ETH, and DOGE, backed by a secure custody infrastructure. Key features include:\n\n- **Speed and Performance**: 99.95% uptime and 1.5ms order processing time, recognized as the best API by Postman.\n- **Trading Solutions**: Options for spot trading, crypto-to-crypto trading, and a secure wallet for deposits and withdrawals.\n- **Asset Protection**: Utilizes Fireblocks' MPC-CMP architecture for secure custody and follows strict private key management protocols.\n- **Certification**: SOC 2 Type II certified, ensuring data security standards are met.\n- **Developer Resources**: Easy-to-use SDKs in multiple programming languages, real-time market data, and a testing environment for paper trading.\n- **Support**: 24/7 global support available for users.\n\nFor more information, users can access API documentation, FAQs, and guides on getting started with crypto trading.", metadata=DocumentMetadata(title='Alpaca - Easy to Use Trading API for Crypto', description="Trade Bitcoin, Ethereum, Dogecoin and other cryptocurrencies with Alpaca's easy to use Trading API.", url='https://alpaca.markets/crypto', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Easy to Use Trading API for Crypto', og_description="Trade Bitcoin, Ethereum, Dogecoin and other cryptocurrencies with Alpaca's easy to use Trading API.", og_url='https://alpaca.markets/crypto', og_image='https://alpaca.markets/static/images/meta-image-crypto-overview.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/crypto', status_code=200, scrape_id='a070e535-208c-4d9e-b58a-036783507b79', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T14:40:02.345Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='QuantConnect and Alpaca offer a comprehensive platform for quantitative trading, featuring extensive research, cloud backtesting, and live trading capabilities. Key statistics include a community of 301,000 users, over 500,000 monthly backtests, and $5 billion in monthly trading volume. Users can access a variety of trading strategies across stocks, ETFs, options, and cryptocurrencies, all while enjoying commission-free trades through Alpaca. The process to get started involves creating an Alpaca account, signing up for QuantConnect, building and backtesting trading strategies, and deploying them for trading. The platform provides powerful tools, including an API, rich data libraries, and parameter optimization.', metadata=DocumentMetadata(title='Alpaca & QuantConnect', description='Leverage Community-Driven, End-to-End Quant Trading Platform', url='https://alpaca.markets/quantconnect', language='en', keywords=None, robots='index, follow', og_title='Alpaca & QuantConnect', og_description='Leverage Community-Driven, End-to-End Quant Trading Platform', og_url='https://alpaca.markets/quantconnect', og_image='https://alpaca.markets/static/images/meta-image-quantconnect.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/quantconnect', status_code=200, scrape_id='214054ee-a020-4fcd-b56d-b1db0d8462af', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The content provides an overview of Alpaca's Broker API resources, focusing on onboarding and building trading applications. Key highlights include a guide on launching a trading app, insights into India's fintech potential, and case studies like Pebble Finance's rapid launch using Alpaca's API. Various resources such as guides, eBooks, webinars, and articles are available, covering topics like KYC processes, local currency trading, and investment strategies. The page emphasizes the importance of understanding regulatory requirements and offers tutorials for using the Broker API effectively.", metadata=DocumentMetadata(title='Broker API Resources: Webinars, eBooks, and Guides', description='Discover Alpaca Broker API resource hub, a complete library featuring our latest ebooks, guides, learn articles, webinars and more.', url='https://alpaca.markets/broker-resources', language='en', keywords=None, robots='index, follow', og_title='Broker API Resources: Webinars, eBooks, and Guides', og_description='Discover Alpaca Broker API resource hub, a complete library featuring our latest ebooks, guides, learn articles, webinars and more.', og_url='https://alpaca.markets/broker-resources', og_image='https://alpaca.markets/static/images/meta-image-broker-resources.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/broker-resources', status_code=200, scrape_id='46b43d3b-4e04-45e9-b829-8e7ecf3bb135', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The guide provides an overview of how to build and launch a trading app using Alpaca's Broker API Dashboard. It includes a form for potential users to fill out their details, such as name, email, company name, and use case. The page highlights that Alpaca is trusted by over 150 partners globally, showcasing various partner logos and links to their respective success stories. Additionally, it mentions the use of cookies on the website and provides links to privacy and terms of service.", metadata=DocumentMetadata(title='Build your Trading App: A Broker API Dashboard Guide', description="Learn how you can build and launch your own trading app with Alpaca's Broker API Dashboard.", url='https://alpaca.markets/broker-resources/guide/build-your-trading-app-a-broker-api-dashboard-guide', language='en', keywords=None, robots='index, follow', og_title='Build your Trading App: A Broker API Dashboard Guide', og_description="Learn how you can build and launch your own trading app with Alpaca's Broker API Dashboard.", og_url='https://alpaca.markets/broker-resources/guide/build-your-trading-app-a-broker-api-dashboard-guide', og_image='https://alpaca.markets/img/broker-resources/2.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/broker-resources/guide/build-your-trading-app-a-broker-api-dashboard-guide', status_code=200, scrape_id='747a2bb0-7bd6-4f27-b7b8-7034d7b04db2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a digital wallet solution that allows users to embed US stocks and cryptocurrency investments directly into their payment apps. Key features include a modern API for fractional shares starting at $1, flexible fund transfers, and instant account opening using existing KYC processes. Alpaca is a FINRA registered broker-dealer, enabling seamless integration of trading services for global partners. The platform supports compliance and operations for stock, options, and crypto trading, enhancing user engagement and investment opportunities.', metadata=DocumentMetadata(title='Alpaca - Digital Wallets', description='Embed US Stocks and Crypto Investments Directly into Your Wallet App', url='https://alpaca.markets/digital-wallets', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Digital Wallets', og_description='Embed US Stocks and Crypto Investments Directly into Your Wallet App', og_url='https://alpaca.markets/digital-wallets', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/digital-wallets', status_code=200, scrape_id='1e2b5487-a85e-4140-85d9-9afebb4b4e92', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a solution for crypto exchanges to integrate stocks and options trading, enhancing customer retention by expanding asset classes. Key features include flexible fund transfers, support for fractional and notional investing, and instant account opening using existing KYC processes. Alpaca is a FINRA registered broker-dealer, facilitating compliance and operations for global partners to seamlessly incorporate various trading options. The platform supports investments starting from $1 and allows for efficient fund management.', metadata=DocumentMetadata(title='Alpaca - Crypto Exchanges', description='Add Stocks and Options Trading on Your Crypto Exchange', url='https://alpaca.markets/crypto-exchanges', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Crypto Exchanges', og_description='Add Stocks and Options Trading on Your Crypto Exchange', og_url='https://alpaca.markets/crypto-exchanges', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/crypto-exchanges', status_code=200, scrape_id='62414950-62e3-4958-9508-040244313e1d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a modern API platform for fintech startups to build and scale investment apps, enabling global access to US investments through fractional shares trading. With a developer-first approach, Alpaca provides clean documentation and support from an approachable team that understands startup challenges. As a FINRA registered broker-dealer, Alpaca facilitates compliance and operations for partners, allowing seamless integration of stock, options, and crypto trading. The platform supports low-cost trades starting at $1, making investing accessible to a wider audience.', metadata=DocumentMetadata(title='Alpaca - Fintech Startups', description="Build and Scale Your Region's Next Generation Investment App with a Modern API Platform", url='https://alpaca.markets/fintech-startups', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Fintech Startups', og_description="Build and Scale Your Region's Next Generation Investment App with a Modern API Platform", og_url='https://alpaca.markets/fintech-startups', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/fintech-startups', status_code=200, scrape_id='d8f7092c-b30a-45b5-aa29-21c780010cd0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The content provides an overview of connecting to the Alpaca Trading API using OAuth for building customized trading applications, algo bots, and dashboards. Key points include: \n1. **Simple Integration**: Users can connect with the Trading API for stock and crypto trading directly from Alpaca.\n2. **Developer Community**: Access to a strong developer community and modern APIs.\n3. **Seamless Onboarding**: Alpaca handles user onboarding, allowing developers to focus on their applications.\n4. **Featured Apps**: A variety of trading applications are highlighted, including TradingView, TradersPost, and others, each offering unique features for trading automation and strategy development.\n5. **Getting Started with OAuth**: A step-by-step guide is available for creating trading apps using OAuth.\n6. **Documentation and FAQs**: Links to OAuth integration documentation and FAQs for further assistance.', metadata=DocumentMetadata(title='OAuth - Connect your app to Alpaca', description='Easily connect your app to Alpaca though OAuth to gain access to financial markets and reach new users.', url='https://alpaca.markets/oauth', language='en', keywords=None, robots='index, follow', og_title='OAuth - Connect your app to Alpaca', og_description='Easily connect your app to Alpaca though OAuth to gain access to financial markets and reach new users.', og_url='https://alpaca.markets/oauth', og_image='https://alpaca.markets/static/images/meta-image-oauth.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/oauth', status_code=200, scrape_id='cf52bfc8-6f3d-480f-937d-e844bd9fdf68', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca is a modern brokerage platform that provides access to financial markets via developer-friendly APIs, enabling businesses to create investing applications and automate trading strategies. Their mission is to democratize financial services globally. Currently, Alpaca supports over 150 businesses in 30 countries, with a community of 25,000 active developers. The platform offers access to US stocks, options, and cryptocurrencies in both notional and fractional formats. Alpaca Securities LLC is a registered US broker-dealer and has received various regulatory approvals, including excess SIPC coverage for customer protection. Founded in 2015 as a database and machine learning company, Alpaca has raised $120 million from leading global investors and operates as a fully remote company with 150 members across 25 countries. The name 'Alpaca' was chosen for its approachable and lively connotations.", metadata=DocumentMetadata(title='Alpaca - About Us', description='Modern Brokerage Platform to Give Financial Markets Access', url='https://alpaca.markets/about-us', language='en', keywords=None, robots='index, follow', og_title='Alpaca - About Us', og_description='Modern Brokerage Platform to Give Financial Markets Access', og_url='https://alpaca.markets/about-us', og_image='https://alpaca.markets/static/images/meta-image-homepage-options.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/about-us', status_code=200, scrape_id='e161ea41-8793-4c7b-86fd-80be377c06c7', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca is a technology-first clearing broker for stocks and options trading, offering flexible account setups and robust operational capabilities globally. Registered with the SEC and a member of FINRA and DTCC, Alpaca supports over 150 global businesses with experienced operations and compliance professionals. The platform minimizes development costs and time-to-market through REST API support and event streaming. It features a stable and scalable order management system capable of handling millions of transactions, and is licensed for self-clearing, facilitating fund transfers, and offering fractional securities trading. Alpaca's expertise allows partners to integrate stock, options, and crypto trading seamlessly.", metadata=DocumentMetadata(title='Alpaca - Broker-Dealers', description='Technology-First Clearing Broker for Stocks and Options Trading', url='https://alpaca.markets/broker-dealers', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Broker-Dealers', og_description='Technology-First Clearing Broker for Stocks and Options Trading', og_url='https://alpaca.markets/broker-dealers', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/broker-dealers', status_code=200, scrape_id='3814d90e-ed7f-4f1a-b6dd-264739854677', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca prioritizes security by implementing industry best practices to protect user data. The company adheres to ISO 27001:2022 and undergoes annual SOC 2 Type 2 assessments, ensuring compliance with GDPR and the UK's ICO Data Protection programs. Alpaca's infrastructure is built on Google Cloud Platform, which has multiple security certifications. The company employs a Zero Trust architecture, requiring strong credentials and two-factor authentication for access. Confidential data is encrypted at rest and in transit, with strict access controls and staff training on data handling. Alpaca also has a vulnerability disclosure and bug bounty program to address security weaknesses.", metadata=DocumentMetadata(title='Security at Alpaca', description='At Alpaca we have implemented industry best practices to ensure your data remains secure on our platform.', url='https://alpaca.markets/security', language='en', keywords=None, robots='index, follow', og_title='Security at Alpaca', og_description='At Alpaca we have implemented industry best practices to ensure your data remains secure on our platform.', og_url='https://alpaca.markets/security', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/security', status_code=200, scrape_id='24ad78b1-373c-4515-99ee-c7756e568228', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses solutions for obtaining missing bars due to a 15-minute historical data delay. Users express frustration over the delay in accessing real-time data and suggest combining historical data with real-time streaming for a complete view of intraday charts. A user recommends subscribing to a data plan to avoid the delay, but there is confusion regarding the cost of subscriptions, with some users noting a price increase from $9 to $99 per month. The conversation highlights the challenges faced by users in accessing timely market data.', metadata=DocumentMetadata(title='Solutions for getting bars missing due to 15 minute historical delay - Alpaca Integration Applications - Alpaca Community Forum', description='I’d like to combine the bars from historical data with bars obtained from real-time streaming to build a complete and current representation of intraday 1 minute charts. I understand that historical data does not include…', url='https://forum.alpaca.markets/t/solutions-for-getting-bars-missing-due-to-15-minute-historical-delay/8913', language='en', keywords=None, robots=None, og_title='Solutions for getting bars missing due to 15 minute historical delay - Alpaca Integration Applications - Alpaca Community Forum', og_description='I’d like to combine the bars from historical data with bars obtained from real-time streaming to build a complete and current representation of intraday 1 minute charts. I understand that historical data does not include the most recent 15 minutes of data. Per this article How to Fetch Historical Data in Alpaca Market Data API v2 : “There is a 15-minute delay for data to be classified as historical data.” Is the only way to do this to collect 15 minutes of streamed real-time 1 minute bars, the...', og_url='https://forum.alpaca.markets/t/solutions-for-getting-bars-missing-due-to-15-minute-historical-delay/8913', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-03-23T00:38:40+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/solutions-for-getting-bars-missing-due-to-15-minute-historical-delay/8913', status_code=200, scrape_id='996b92da-3acd-42c8-8adf-765c576475c6', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca Institutional is designed for founders, high net worth individuals, trusts, and family offices, offering commission-free trading on over 8,000 U.S. stocks and ETFs. Users benefit from dedicated relationship management, optimized rates, and access to tailored services. The platform features high-performance APIs with 99.95% uptime and 1.5ms order processing speed, recognized as the No.1 API broker by BrokerChooser. Alpaca provides a developer-first API for easy integration, first access to new features, and a global support team. Users can contact sales for advanced access to the trading API.', metadata=DocumentMetadata(title='Alpaca Institutional', description='Gain private client access to Trading API designed for performance-driven algo traders and advanced trading strategies.', url='https://alpaca.markets/institutional', language='en', keywords=None, robots='index, follow', og_title='Alpaca Institutional', og_description='Gain private client access to Trading API designed for performance-driven algo traders and advanced trading strategies.', og_url='https://alpaca.markets/institutional', og_image='https://alpaca.markets/static/images/meta-image-institutional.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/institutional', status_code=200, scrape_id='86cb26ac-d984-471f-a862-c8a95c6a1046', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca offers a modern clearing and custody platform designed for next-generation investment advisors, enabling the creation of innovative robo-advisor services through a flexible suite of APIs. The platform supports long-tail small customers with low average balances and is backed by robust operations and proprietary technology. Registered with the SEC and a member of FINRA and DTCC, Alpaca facilitates seamless integration of stock, options, and crypto trading for global partners. The platform allows for flexible KYC processes, enabling instant account openings and immediate investing. Alpaca's expertise in compliance and broker-dealer operations enhances business operations for its partners.", metadata=DocumentMetadata(title='Alpaca - Robo-Advisors', description='Modern Clearing and Custody Platform for the Next Generation Investment Advisors', url='https://alpaca.markets/robo-advisors', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Robo-Advisors', og_description='Modern Clearing and Custody Platform for the Next Generation Investment Advisors', og_url='https://alpaca.markets/robo-advisors', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/robo-advisors', status_code=200, scrape_id='56313f56-caf5-4c59-b5f6-ba1f70599eee', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca offers a streamlined process for opening business trading accounts, allowing applications in under 5 minutes. Key features include:\n- **Cost Efficiency**: Trading fees as low as $0.0005 per share and a margin rate of 5.25% with Alpaca Elite.\n- **Speed and Reliability**: Order processing time of 1.5ms and 99.98% system uptime since January 2024.\n- **Diverse Trading Options**: Access to stocks, ETFs, options, and crypto, with a High Yield Cash program for idle cash.\n- **Developer-Friendly**: Quick integration with Alpaca's Trading API and support for FIX messaging.\n- **Global Reach**: Services available in 196 countries, ensuring low-latency connectivity.\n- **Security and Compliance**: Self-clearing at DTCC, FINRA regulation, SIPC protection, and adherence to global privacy standards.\n- **Support**: Dedicated account support through Alpaca Elite.\nOverall, Alpaca is designed for institutional traders seeking efficient, secure, and comprehensive trading solutions.", metadata=DocumentMetadata(title='Alpaca - Scale Your Trading with Business Accounts', description='Trade US stocks, ETFs, options, and crypto with one platform. Apply for a business account in minutes.', url='https://alpaca.markets/business-account', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Scale Your Trading with Business Accounts', og_description='Trade US stocks, ETFs, options, and crypto with one platform. Apply for a business account in minutes.', og_url='https://alpaca.markets/business-account', og_image='https://alpaca.markets/static/images/meta-image-business-account.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/business-account', status_code=200, scrape_id='018917a4-0799-4f6e-8007-13ea6711fabd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a streamlined trading platform with several key features: \n1. **Simplified Onboarding**: No minimum deposits required for account funding with local and international payment options.\n2. **Commission-free API**: Allows users to execute thousands of trades without commission fees.\n3. **Fractional Trading**: Invest in over 2,000 US equities and ETFs starting with as little as $1.\n4. **Real-time Market Data**: Provides event-based market data streaming with nanosecond precision.\n5. **Testing Environment**: Users can test their strategies in a simulated environment before going live.\n6. **Order Types**: Supports various order types for sophisticated trading strategies.\n7. **Active Global Community**: Connect with a community of traders and developers.\n8. **Live Support**: Dedicated support for trading and API inquiries.\n9. **Integration with Trading Apps**: Connects with popular platforms like TradingView and MetaTrader5.\n10. **Broker API**: A suite of APIs for managing customer accounts and trading experiences, while ensuring compliance with US brokerage regulations.\n11. **Regulatory Compliance**: Alpaca Securities LLC is a registered broker with FINRA and SIPC, providing protection for securities in accounts.', metadata=DocumentMetadata(title='Alpaca International - Commission-Free API First Stock Brokerage', description="International Onboarding and No Minimum Deposits with Alpaca's commission-free Trading API", url='https://alpaca.markets/international', language='en', keywords=None, robots='index, follow', og_title='Alpaca International - Commission-Free API First Stock Brokerage', og_description="International Onboarding and No Minimum Deposits with Alpaca's commission-free Trading API", og_url='https://alpaca.markets/international', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/international', status_code=200, scrape_id='dc313737-7898-4b5d-8fcb-f6c9e53c2c74', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca's Partner Summit 2025 will take place on May 19-20 in Kyoto, Japan, following the success of the inaugural summit in Abu Dhabi. The event aims to strengthen partnerships and celebrate achievements in the fintech ecosystem, with over 70 companies from 30+ countries expected to attend. Key features include networking opportunities, product engagement, and recognition of partner contributions. Special guests include Howard Lindzon and Nathan Rodland, both influential figures in fintech. The agenda includes keynote speeches, panel discussions, and networking events, culminating in a grand welcome dinner and a summit reception. Attendees are encouraged to secure accommodations early, as discounted rates are available at The Westin Miyako Kyoto.", metadata=DocumentMetadata(title="Alpaca's Partner Summit", description="Join us May 19th for our 2nd edition of Alpaca's Partner\n Summit, an exclusive in-person gathering of fintech visionaries", url='https://alpaca.markets/partner-summit', language='en', keywords=None, robots='index, follow', og_title="Alpaca's Partner Summit", og_description="Join us May 19th for our 2nd edition of Alpaca's Partner\n Summit, an exclusive in-person gathering of fintech visionaries", og_url='https://alpaca.markets/partner-summit', og_image='https://alpaca.markets/static/images/meta-image-partner-summit-2025.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/partner-summit', status_code=200, scrape_id='81964364-4210-4147-b818-efd85d524272', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users and offers assistance with FAQs and discussions. A specific topic discussed is the 'Error 422: Unprocessable Entity,' where a user named 'hello123' reports an issue with verifying their account due to this error while applying for KYC. Dan Whitnable from Alpaca Developer Relations responds, suggesting that the error may be due to a formatting issue, particularly with dates, and requests more details about the API endpoint being used. The conversation highlights the importance of providing specific information for troubleshooting. Related topics include other instances of the 422 error in market data and trading.", metadata=DocumentMetadata(title='Error 422: Unprocessable Entity - Getting Started with Alpaca - Alpaca Community Forum', description='Cant verify due to error 422: unprocessable entity. Any help?', url='https://forum.alpaca.markets/t/error-422-unprocessable-entity/7130/3', language='en', keywords=None, robots=None, og_title='Error 422: Unprocessable Entity - Getting Started with Alpaca - Alpaca Community Forum', og_description='Sorry if i wasnt more specific. I dont think im trying to call an API… im honestly new so i dont really know… I get the error when trying to apply my KYC The url is Alpaca – Crypto, Stock Trading API And on the site they tell me to contact support.', og_url='https://forum.alpaca.markets/t/error-422-unprocessable-entity/7130/3', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-10-18T21:58:40+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/error-422-unprocessable-entity/7130/3', status_code=200, scrape_id='99db4f32-e8ae-49cd-b9c2-6501a3039898', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The announcement highlights new features in the Alpaca Trading API Web API v2, including: 1) Commission-free short selling for long/short strategies, 2) Margin trading with a 3.75% interest rate for up to 4X intraday and 2X overnight buying power, 3) Pre-market and after-hours trading from 9:00am to 6:00pm ET, 4) Business account onboarding for proprietary trading firms, and 5) Automatic updates for paper-only account users to access Web API v2. Brokerage account users who opened accounts before June 19th need to sign up with a new email to access the latest features.', metadata=DocumentMetadata(title='Commission-Free Short Selling & Margin Trading! - Alpaca Products Discussion / Announcements - Alpaca Community Forum', description='We are excited to announce the addition of several new features available through the Alpaca Trading API Web API v2 . This launch includes highly requested features from you, and we are excited to see how you will take …', url='https://forum.alpaca.markets/t/commission-free-short-selling-margin-trading/16', language='en', keywords=None, robots=None, og_title='Commission-Free Short Selling & Margin Trading! - Alpaca Products Discussion / Announcements - Alpaca Community Forum', og_description='We are excited to announce the addition of several new features available through the Alpaca Trading API Web API v2 . This launch includes highly requested features from you, and we are excited to see how you will take advantage of them. You can check out more information on those features here: https://alpaca.markets/algotrading Commission-free short selling: Giving you the ability to run long/short or market neutral strategies. Margin trading with 3.75% margin rate: Offering a 3.75% ma...', og_url='https://forum.alpaca.markets/t/commission-free-short-selling-margin-trading/16', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-11T18:33:04+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/commission-free-short-selling-margin-trading/16', status_code=200, scrape_id='ddc05646-a122-431e-97e4-bead7336ba91', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion thread focuses on obtaining specific historical intraday volume data for stocks, particularly 5-minute volume totals. A user inquires about accessing this data for AAPL on a specific date and time. Another user responds, explaining that the Alpaca API can provide this data through IEX and Polygon data sources, with links to relevant documentation. Example Python code snippets are provided for fetching the data. A later comment mentions issues with API key usage when accessing Polygon data, affecting long-term price analysis. Related topics on the forum include various aspects of market data.', metadata=DocumentMetadata(title='Historical intraday volume specific data - Alpaca Market Data - Alpaca Community Forum', description='Hi all, \nIs there a way to get the specific 5 minute volume total for a specific stock at a specific time? For example AAPL 10/21 10:45am? \nIf so, could you point me in the right direction in the documentation? I’ve look…', url='https://forum.alpaca.markets/t/historical-intraday-volume-specific-data/3083', language='en', keywords=None, robots=None, og_title='Historical intraday volume specific data - Alpaca Market Data - Alpaca Community Forum', og_description='Hi all, Is there a way to get the specific 5 minute volume total for a specific stock at a specific time? For example AAPL 10/21 10:45am? If so, could you point me in the right direction in the documentation? I’ve looked but could only see daily volume. Thanks!', og_url='https://forum.alpaca.markets/t/historical-intraday-volume-specific-data/3083', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-10-22T00:14:10+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/historical-intraday-volume-specific-data/3083', status_code=200, scrape_id='29540327-5a61-4c8f-9f5b-8657826cef99', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers a Trading API designed for hedge funds and proprietary trading firms, enabling quick deployment of trading strategies with flexible and cost-effective executions. Key features include:\n\n1. **Tech-Native Trading API**: Rapid setup for testing in both paper and live trading environments, typically within days or hours.\n2. **Serious Trading Platform**: Provides high-quality execution and speed, with additional insurance beyond SIPC coverage.\n3. **Frictionless Technology and Support**: Streamlined account opening, low latency, high-volume order processing, and real-time event streaming via WebSockets, along with personalized support.\n4. **Comprehensive Resources**: Access to documentation for trading options, stocks, and crypto, with features like short selling and advanced order types. Up to 4x intraday and 2x overnight buying power is available.\n5. **Technical Tutorials**: Introductory tutorials with code examples for various API endpoints to assist users in getting started.\n\nUsers can sign up for free and access additional resources through the provided links.', metadata=DocumentMetadata(title='Alpaca - Hedge Funds and Prop Firms', description='API Clearing Firm for Hedge Funds and Prop Firms', url='https://alpaca.markets/hedge-funds-and-prop-firms', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Hedge Funds and Prop Firms', og_description='API Clearing Firm for Hedge Funds and Prop Firms', og_url='https://alpaca.markets/hedge-funds-and-prop-firms', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/hedge-funds-and-prop-firms', status_code=200, scrape_id='316b78f0-1c1c-45ba-8290-38bb55b3035c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum discussion titled 'Does polygon source support multiple stocks bars request' addresses a user's inquiry about retrieving bars for multiple stocks in a single request using the polygon source. The user mentions the REST.polygon.historic_agg_v2 method, which only supports a single symbol. Responses indicate that while there is no direct method for multiple stocks, the Polygon API has a Grouped Daily endpoint for market-wide data, though not supported by Alpaca. Another user suggests using the '/v2/snapshot/locale/us/markets/stocks/tickers' service to get data for over 9000 stocks in one call. Related topics include requests for multiple tickers and formatting of market data endpoints.", metadata=DocumentMetadata(title='Does polygon source support multiple stocks bars request - Alpaca Market Data - Alpaca Community Forum', description='I’m trying to get bars of multiple stocks in one single request using polygon source. \nLike the method, REST.polygon.historic_agg_v2, which only support single symbol param, is there any method in alpaca_trade_api suit m…', url='https://forum.alpaca.markets/t/does-polygon-source-support-multiple-stocks-bars-request/4653', language='en', keywords=None, robots=None, og_title='Does polygon source support multiple stocks bars request - Alpaca Market Data - Alpaca Community Forum', og_description='I’m trying to get bars of multiple stocks in one single request using polygon source. Like the method, REST.polygon.historic_agg_v2, which only support single symbol param, is there any method in alpaca_trade_api suit my need? Any help would be appreciated. Thanks a lot.', og_url='https://forum.alpaca.markets/t/does-polygon-source-support-multiple-stocks-bars-request/4653', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-02-26T07:20:22+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/does-polygon-source-support-multiple-stocks-bars-request/4653', status_code=200, scrape_id='84858f20-af39-4de1-aaf7-ea1e8cc99837', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses the limited account types available, particularly the absence of IRA accounts. Users express interest in having IRA options such as Traditional, Rollover, and ROTH accounts. Several users, including Salil Gangal and CraigP, highlight the benefits of Alpaca's zero-commission trading and superior API, but they are unable to fully utilize the service without IRA account support. The conversation includes inquiries about the potential for Alpaca to offer IRA accounts and the regulatory implications of providing API services for such accounts. Users share their experiences with other brokers like Interactive Brokers, which do offer IRA accounts with API services. The discussion reflects a desire for clarity on whether Alpaca plans to introduce IRA accounts in the future.", metadata=DocumentMetadata(title='Limited account types - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='I’m hoping Alpaca will soon support IRA accounts. Nearly all my investment money is in those, so although your service sounds great, I really can’t use it yet. I have developed my own trading system that interacts with…', url='https://forum.alpaca.markets/t/limited-account-types/51', language='en', keywords=None, robots=None, og_title='Limited account types - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='I’m hoping Alpaca will soon support IRA accounts. Nearly all my investment money is in those, so although your service sounds great, I really can’t use it yet. I have developed my own trading system that interacts with another API, but I like the zero commissions and probably superior API you offer.', og_url='https://forum.alpaca.markets/t/limited-account-types/51', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-26T18:25:06+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/limited-account-types/51', status_code=200, scrape_id='c623a106-2516-4c90-bb0b-b72fc4f4dbe7', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca offers secure crypto wallets for depositing and withdrawing Bitcoin (BTC), Ethereum (ETH), and ERC-20 tokens. Users can enhance security by whitelisting wallet addresses. Alpaca ensures the safety of customer assets through responsible private key management, adhering to industry standards for asset segregation and liability accounting.', metadata=DocumentMetadata(title='Alpaca Markets - WALLET', description='Crypto wallets allow you to deposit and withdraw coins faster than traditional banking rails.', url='https://alpaca.markets/wallet', language='en', keywords=None, robots='index, follow', og_title='Alpaca Markets - WALLET', og_description='Crypto wallets allow you to deposit and withdraw coins faster than traditional banking rails.', og_url='https://alpaca.markets/wallet', og_image='https://alpaca.markets/static/images/meta-image-crypto-overview.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/wallet', status_code=200, scrape_id='7b754391-a4f0-4fd4-9703-bb862b90da52', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum discusses issues related to streaming and Polygon credentials, particularly regarding the validity of v2 paper credentials for receiving streaming quote updates. A user reported an error with invalid Polygon credentials, while another confirmed that their v2 paper credentials worked with Polygon after resolving a mix-up with v1 credentials. Related topics include discussions on invalid credentials and connection issues with Polygon.', metadata=DocumentMetadata(title='Streaming and Polygon paper and live credentials - Alpaca Account Troubleshooting - Alpaca Community Forum', description='When using I use my power (aka v2) paper credentials to receive streaming quote updates from Polygon, I’m getting the error I am getting Invalid Polygon credentials, anybody having this issue? both with live and paper cr…', url='https://forum.alpaca.markets/t/streaming-and-polygon-paper-and-live-credentials/77', language='en', keywords=None, robots=None, og_title='Streaming and Polygon paper and live credentials - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='When using I use my power (aka v2) paper credentials to receive streaming quote updates from Polygon, I’m getting the error I am getting Invalid Polygon credentials, anybody having this issue? both with live and paper credentials. Are v2 paper credentials valid for Polygon use if I also have a v2 live account?', og_url='https://forum.alpaca.markets/t/streaming-and-polygon-paper-and-live-credentials/77', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-27T19:58:38+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/streaming-and-polygon-paper-and-live-credentials/77', status_code=200, scrape_id='62c05aec-6049-48ed-92a5-c8dbaec4c57c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. The forum post titled 'Getting Started With Colab Errors' discusses troubleshooting issues related to using the Alpaca API with Google Colab. Users share their experiences with installation errors, specifically with the command '!pip install alpaca-trade-api'. Key points include the importance of using Python 3, correcting syntax errors in API key usage, and resolving installation issues. The community is supportive, with users helping each other troubleshoot and share solutions.", metadata=DocumentMetadata(title='Getting Started With Colab Errors - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Hello, \nTrying to follow along here: https://forum.alpaca.markets/t/analyze-data-and-trade-stocks-through-your-browser-using-google-colab-and-alpaca-api/196 \nAnyone else experiencing (or more importantly, overcome) this …', url='https://forum.alpaca.markets/t/getting-started-with-colab-errors/330', language='en', keywords=None, robots=None, og_title='Getting Started With Colab Errors - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Hello, Trying to follow along here: Analyze Data and Trade Stocks Through Your Browser Using Google Colab and Alpaca API Anyone else experiencing (or more importantly, overcome) this error: Thanks, EM', og_url='https://forum.alpaca.markets/t/getting-started-with-colab-errors/330', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/92a90a7aa3c4642aed77661e76b1287023fe8f4d_2_1024x144.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-30T16:39:06+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/getting-started-with-colab-errors/330', status_code=200, scrape_id='0408e048-08d9-4516-ac03-c5e195d47660', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread addresses the error '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed' encountered while running a Python script on MacOS. Users share their experiences and solutions, including running the 'Install Certificates.command' file and checking for SSL certificate issues. The thread has garnered 2.7k views and includes various related topics on SSL errors in Python.", metadata=DocumentMetadata(title='ERROR: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='I am attempting to run the alpacahq/example-scalping script in Python 3.8 but I continue to get the [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed error each time I run. \nI am on a Mac with 10.14.6 running Py…', url='https://forum.alpaca.markets/t/error-ssl-certificate-verify-failed-certificate-verify-failed/2587', language='en', keywords=None, robots=None, og_title='ERROR: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='I am attempting to run the alpacahq/example-scalping script in Python 3.8 but I continue to get the [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed error each time I run. I am on a Mac with 10.14.6 running Python 3.8, I have already tried the Install Certificates command in the application folder as well as installing certifi, neither of which have worked. any ideas?', og_url='https://forum.alpaca.markets/t/error-ssl-certificate-verify-failed-certificate-verify-failed/2587', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-09-09T14:28:25+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/error-ssl-certificate-verify-failed-certificate-verify-failed/2587', status_code=200, scrape_id='e99a9a35-dbc7-4a73-a3ed-e287b906c6c1', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A discussion thread addresses the API call limits for the free tier market data. Users inquire about the specific limits, noting that while the free tier does not offer unlimited API calls, it is believed to have a limit of 200 calls per minute. The 'Unlimited' plan allows for 1000 requests per minute and unlimited websocket subscriptions, while the 'Business' tier has no limitations. Related topics include clarity on rate limits and the nature of the unlimited plan.", metadata=DocumentMetadata(title='What is the api call limit for free tier market data? - Alpaca Market Data - Alpaca Community Forum', description='The free tier just says it doesn’t have “Unlimited API Calls”, but doesn’t specify what the limit is. So what is the limit? I know there’s a 200 call per minute limit but I’m guessing free tier is under that? I’m tryin…', url='https://forum.alpaca.markets/t/what-is-the-api-call-limit-for-free-tier-market-data/5708', language='en', keywords=None, robots=None, og_title='What is the api call limit for free tier market data? - Alpaca Market Data - Alpaca Community Forum', og_description='The free tier just says it doesn’t have “Unlimited API Calls”, but doesn’t specify what the limit is. So what is the limit? I know there’s a 200 call per minute limit but I’m guessing free tier is under that? I’m trying to fetch 1 day 5 minute bars for a bunch of tickers. Also, is the “Unlimited” data plan limited by the 200 call/minute or is it truly unlimited?', og_url='https://forum.alpaca.markets/t/what-is-the-api-call-limit-for-free-tier-market-data/5708', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-05-15T03:04:22+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/what-is-the-api-call-limit-for-free-tier-market-data/5708', status_code=200, scrape_id='b54339d3-3570-440e-a935-0f168d35472d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum provides support for users, including FAQs and discussions. A user seeks advice on opening two positions (long and short) in the same stock simultaneously. The challenge is that buying a share and then shorting it effectively closes the original position. Responses suggest that this approach may not be logical, as equal long and short positions offset each other. One user proposes using Python dictionaries to manage separate positions, allowing for tracking and ordering of shares. Related topics include tutorials on shorting stocks and managing positions.', metadata=DocumentMetadata(title='HELP opening 2 positions Long/short - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nLanguage \nPython 3 \nAlpaca SDK Version \nlatest alpaca sdk \nHello everyone, now this may seem like a weird thing to want to do but I want too anyway haha: \nI want to open 2 positions in the same stock, one sho…', url='https://forum.alpaca.markets/t/help-opening-2-positions-long-short/570', language='en', keywords=None, robots=None, og_title='HELP opening 2 positions Long/short - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment Language Python 3 Alpaca SDK Version latest alpaca sdk Hello everyone, now this may seem like a weird thing to want to do but I want too anyway haha: I want to open 2 positions in the same stock, one short and one long. So in summary I want one long and one short position in the same stock at the same time. However Obviously when I buy a share and then go to short it I am essentially just closing the original position. Could anyone suggest a way in which to do this?', og_url='https://forum.alpaca.markets/t/help-opening-2-positions-long-short/570', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-23T19:28:31+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/help-opening-2-positions-long-short/570', status_code=200, scrape_id='a6a2c245-6e29-43f5-8a9d-16c540eeeb1d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca Elite is a comprehensive trading solution aimed at advanced traders and quant funds, offering enhanced features such as higher API limits, premium order types, and dedicated account support. Key offerings include: \n- **Elite Smart Router**: Supports advanced trading strategies with cost-effective pricing.\n- **Lower Margin Rate**: Competitive rate of 5.25% for elite users.\n- **FIX API and Next-Gen OMS**: Facilitates low-latency trading and strategy execution.\n- **White-Glove Support**: Personalized account management from experts.\n- **Free Market Data Subscription**: Includes Algo Trader Plus for personal use.\n- **Asset Class Diversification**: Trade stocks, ETFs, options, and crypto in one platform.\n- **Commission-Free Trading**: $0 commissions on US-listed stocks, ETFs, and options.\n- **Eligibility**: Requires a minimum deposit of $30,000 for elite features, with additional benefits at $100,000.\n- **Pricing Plans**: Offers an All-in Plan at $0.0040 per share and a Cost Plus Plan with tiered pricing.\nOverall, Alpaca Elite is designed to optimize trading efficiency and profitability for serious investors.', metadata=DocumentMetadata(title='Alpaca - Elite', description='Low-Cost, Advanced Algorithmic Trading with Dedicated Support', url='https://alpaca.markets/elite', language='en', keywords=None, robots='index, follow', og_title='Alpaca - Elite', og_description='Low-Cost, Advanced Algorithmic Trading with Dedicated Support', og_url='https://alpaca.markets/elite', og_image='https://alpaca.markets/static/images/meta-image-homepage.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/elite', status_code=200, scrape_id='165a3033-05f6-497b-b7f9-17d72046bb2e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses a feature request for uploading CSV files to place multiple orders at once. User Salil Gangal suggests that each row in the CSV should represent an order with specific columns for order type, time in force, ticker, order type, quantity, and price. This feature would allow traders to submit hundreds of orders in a single upload, enhancing convenience and efficiency. Other users, including Alpaca staff, express interest in the idea, noting its potential benefits for traders who prefer not to use programming or Google Sheets for order management.', metadata=DocumentMetadata(title='CSV file upload for orders - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='Hello, \nI request Alpaca to consider a feature for uploading the CSV file with order details. \nOne row of CSV is for one order. The columns within the CSV can be as below (or whatever else that Alpaca decides). \nColumn …', url='https://forum.alpaca.markets/t/csv-file-upload-for-orders/182', language='en', keywords=None, robots=None, og_title='CSV file upload for orders - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='Hello, I request Alpaca to consider a feature for uploading the CSV file with order details. One row of CSV is for one order. The columns within the CSV can be as below (or whatever else that Alpaca decides). Column 1) Order_To (Buy / Sell / Short / Cover) Column 2) Time_In_Force (Good-till-cancelled / Day) Column 3) Ticker (whatever security e.g. AAPL, GOOG, MSFT …) Column 4) Order_Type (Limit / Market) Column 5) Quantity ( 10 / 100 / 1000 … whatever) Column 6) Price (applicable for li...', og_url='https://forum.alpaca.markets/t/csv-file-upload-for-orders/182', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-22T22:39:03+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/csv-file-upload-for-orders/182', status_code=200, scrape_id='6b925d46-f90f-41c7-b87c-f511c75df499', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The main focus is on the Alpaca Dashboard, which allows users to manage their portfolios with real-time data, buy/sell capabilities, and display candlestick charts. Users can share ideas and seek help through discussions. Notable contributions include a Python GUI for portfolio management and discussions about enhancing its functionality. Related topics include API tools for building trading dashboards and updates on watchlists and transfers.', metadata=DocumentMetadata(title='Alpaca Dashboard - Alpaca Integration Applications - Alpaca Community Forum', description='Alpaca Dashboard! … \nI have created a GUI in python for displaying you portfolio with real time data, ability to buy, sell and display candlestick chart, display you own watchlist, scanners and algos.', url='https://forum.alpaca.markets/t/alpaca-dashboard/371', language='en', keywords=None, robots=None, og_title='Alpaca Dashboard - Alpaca Integration Applications - Alpaca Community Forum', og_description='Alpaca Dashboard! … I have created a GUI in python for displaying you portfolio with real time data, ability to buy, sell and display candlestick chart, display you own watchlist, scanners and algos.', og_url='https://forum.alpaca.markets/t/alpaca-dashboard/371', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-14T17:47:09+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alpaca-dashboard/371', status_code=200, scrape_id='fd7b25c4-51fb-49a5-8fb0-afa3018c451f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users and offers support for creating a simple stock screener. A user shares their experience with coding in Python and seeks help with understanding a stock screener algorithm. They express confusion about the necessity of certain functions in the code and the lack of output showing filtered stock data. Another user responds, clarifying that functions need to be instantiated to run and suggests how to properly call the functions to get the desired output. The discussion highlights the importance of understanding function definitions and the process of filtering stock data.', metadata=DocumentMetadata(title='Creating a simple stock screener - Getting Started with Alpaca / Examples - Alpaca Community Forum', description='So I’m new to Alpaca and relatively new to coding in general. I run Linux and have written some very basic Python code before, but things like dictionaries and dataframes can quickly go straight over my head. \nHowever, t…', url='https://forum.alpaca.markets/t/creating-a-simple-stock-screener/228', language='en', keywords=None, robots=None, og_title='Creating a simple stock screener - Getting Started with Alpaca / Examples - Alpaca Community Forum', og_description='So I’m new to Alpaca and relatively new to coding in general. I run Linux and have written some very basic Python code before, but things like dictionaries and dataframes can quickly go straight over my head. However, that being said, I feel like creating a simple stock screener is something within my grasp. I’ve been going through the momentum day-trading algo that’s linked in the ‘getting started with Alpaca’ page. Here’s the code that’s confusing me: session = requests.session() min_share_...', og_url='https://forum.alpaca.markets/t/creating-a-simple-stock-screener/228', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-04T20:24:41+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/creating-a-simple-stock-screener/228', status_code=200, scrape_id='e9aec7f5-8dc2-4f9e-9548-cacd45502730', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread highlights a bug where not all open orders are displayed on the dashboard. User 'aprsa' reports having 400 open orders, but the dashboard only shows around 150, suggesting a limitation in the API's order polling. Another user, 'hitoshi', acknowledges the issue and mentions the possibility of increasing the API limit. The thread includes related topics discussing similar issues with order listings.", metadata=DocumentMetadata(title='Alpaca bug: not all open orders listed - Alpaca Products Discussion - Alpaca Community Forum', description='Hi guys, \nI have 400 specific orders open at all times, but alpaca shows fewer than 200, depending on how many other (independent) orders filled in the mean time. I’m guessing the bug is caused by the limit of open order…', url='https://forum.alpaca.markets/t/alpaca-bug-not-all-open-orders-listed/227', language='en', keywords=None, robots=None, og_title='Alpaca bug: not all open orders listed - Alpaca Products Discussion - Alpaca Community Forum', og_description='Hi guys, I have 400 specific orders open at all times, but alpaca shows fewer than 200, depending on how many other (independent) orders filled in the mean time. I’m guessing the bug is caused by the limit of open orders that the web frontend uses to poll. The current API limit for queried orders (500) is way too restrictive for my purposes. I worked around it by storing all trade orders in a local database, but that is a real pain to sync if the connection is dropped. Either way, the web front...', og_url='https://forum.alpaca.markets/t/alpaca-bug-not-all-open-orders-listed/227', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-04T04:02:50+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alpaca-bug-not-all-open-orders-listed/227', status_code=200, scrape_id='9b4cfde3-b114-4fba-a10a-2f5ad87ddba0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users and offers support for trading API accounts. A user seeks help on streaming 5-second bars using Java/Scala, as they only found a Python example. The post highlights the difficulty in finding relevant information and includes a request for examples. Related topics include custom intervals for real-time bar streaming and questions about streaming data.', metadata=DocumentMetadata(title='Get Bars streaming without Python - Alpaca Market Data - Alpaca Community Forum', description='OK I googled a lot. Can someone show me an example where we have used getBars in a streaming manner for 5 seconds bars (I don’t have live trading account, only paper trading). \nI am not using Python. I found this example …', url='https://forum.alpaca.markets/t/get-bars-streaming-without-python/535', language='en', keywords=None, robots=None, og_title='Get Bars streaming without Python - Alpaca Market Data - Alpaca Community Forum', og_description="OK I googled a lot. Can someone show me an example where we have used getBars in a streaming manner for 5 seconds bars (I don’t have live trading account, only paper trading). I am not using Python. I found this example def main(): stream = alpaca.StreamConn() @stream.on(r’^AM’) async def on_bars(conn, channel, data): print(f’received bar {data}') stream.run([‘AM.SPY’]) But this is using your python SDK. How can I stream the bars using Java/Scala at 5 seconds internal? Sorry if this q...", og_url='https://forum.alpaca.markets/t/get-bars-streaming-without-python/535', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-15T04:11:47+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/get-bars-streaming-without-python/535', status_code=200, scrape_id='2be820be-525f-4323-81c7-915a088a2d8a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum discussion titled 'Too Many Orders and How to not PDT when Devving' highlights issues faced by a user named 'moose' regarding order placement and Pattern Day Trader (PDT) restrictions while developing a trading bot in Go. Moose encountered problems with placing too many orders and receiving 429 errors despite implementing a rate limiter. They also expressed frustration with PDT restrictions affecting their development process and requested better documentation on PDT rules specific to Alpaca. Dan Whitnable from Alpaca Developer Relations clarified that the API call limit is 200 per minute, not second, and suggested starting a paper account with over $25,000 to avoid PDT restrictions. The discussion emphasizes the need for improved resources for developers.", metadata=DocumentMetadata(title='Too Many Orders and How to not PDT when Devving - Alpaca Trading - Alpaca Community Forum', description='Heyo, I hope you’re doing well. I’m mostly posting because I’ve been having trouble trying to regulate how I place orders and how to develop without running into PDT. For reference, my bot is in Go and I’m a free user. \n\n…', url='https://forum.alpaca.markets/t/too-many-orders-and-how-to-not-pdt-when-devving/17547', language='en', keywords=None, robots=None, og_title='Too Many Orders and How to not PDT when Devving - Alpaca Trading - Alpaca Community Forum', og_description='Heyo, I hope you’re doing well. I’m mostly posting because I’ve been having trouble trying to regulate how I place orders and how to develop without running into PDT. For reference, my bot is in Go and I’m a free user. When placing orders, I initially ran into a problem where I was placing too many orders at once. From there, I realized I should probably use some type of rate limiter or just randomly sleep. I was lazy, so I just made it sleep. That worked until I extended my bot to trade with...', og_url='https://forum.alpaca.markets/t/too-many-orders-and-how-to-not-pdt-when-devving/17547', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-08-04T15:25:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/too-many-orders-and-how-to-not-pdt-when-devving/17547', status_code=200, scrape_id='4e0fdd99-7068-44fa-9ae7-e9196775fefb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main focus of the page is the Options Trading Roadmap, where users express interest in options trading features. Since November 2019, multiple users have inquired about the status of options trading, indicating a strong demand for this feature. Despite ongoing discussions and requests, Alpaca has not yet implemented options trading, with responses indicating it is on the roadmap but not scheduled for release in 2020. Users continue to show interest and seek updates on the availability of options trading.', metadata=DocumentMetadata(title='Options Trading roadmap - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='There was a post back in July about options trading. Alpaca replied that it is on the roadmap. Can you give any indication as to when this will be released?', url='https://forum.alpaca.markets/t/options-trading-roadmap/448', language='en', keywords=None, robots=None, og_title='Options Trading roadmap - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='There was a post back in July about options trading. Alpaca replied that it is on the roadmap. Can you give any indication as to when this will be released?', og_url='https://forum.alpaca.markets/t/options-trading-roadmap/448', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-11T19:58:00+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/options-trading-roadmap/448', status_code=200, scrape_id='52b5c728-7e19-4379-a7c8-56498e37aca8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. A discussion thread focuses on creating tokens for personal API keys and secret keys to deploy Python scripts without exposing sensitive information on platforms like GitHub. Users are advised to use environment variables to secure their keys, especially when using CI/CD providers like CircleCI. Related topics include common errors and troubleshooting related to API key access.', metadata=DocumentMetadata(title='Create tokens for personal API key and secret key to deploy Python script - Alpaca Trading / Tutorial Requests - Alpaca Community Forum', description='Hi all! I’d like to deploy my Python script but don’t want to show my API and secret keys in a script living in GitHub. Is there a token I can create on Alpaca dedicated to this specific pipeline I’m creating and would b…', url='https://forum.alpaca.markets/t/create-tokens-for-personal-api-key-and-secret-key-to-deploy-python-script/8499/2', language='en', keywords=None, robots=None, og_title='Create tokens for personal API key and secret key to deploy Python script - Alpaca Trading / Tutorial Requests - Alpaca Community Forum', og_description='There are multiple ways to hide your keys. Most people use environment variables depending on the environment. Most deployment provider allow you to do this too, including CircleCI.', og_url='https://forum.alpaca.markets/t/create-tokens-for-personal-api-key-and-secret-key-to-deploy-python-script/8499/2', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-03-02T14:35:04+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/create-tokens-for-personal-api-key-and-secret-key-to-deploy-python-script/8499/2', status_code=200, scrape_id='887c4e1f-f969-47e3-afa2-991c4ad14625', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main topic discussed is trading through a business account, highlighting new features available for business account users. The forum includes discussions about the availability of business accounts in Canada, the approval process for business accounts, and a beta program for business accounts. Users can find related topics on business accounts, account troubleshooting, and international trading accounts.', metadata=DocumentMetadata(title='Trading through a Business Account - Alpaca Products Discussion - Alpaca Community Forum', description='Read here to learn more about the features Alpaca now provides to business account users with our new product update!', url='https://forum.alpaca.markets/t/trading-through-a-business-account/35', language='en', keywords=None, robots=None, og_title='Trading through a Business Account - Alpaca Products Discussion - Alpaca Community Forum', og_description='Read here to learn more about the features Alpaca now provides to business account users with our new product update!', og_url='https://forum.alpaca.markets/t/trading-through-a-business-account/35', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/8c7390150cd0078e967a18c7663581b9b334d239.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-25T20:09:29+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/trading-through-a-business-account/35', status_code=200, scrape_id='df0aebe7-9ae3-4006-8c61-1f735346c23e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article discusses how a college student, Andrew, built a Slackbot to execute trades using Alpaca's trading API. The project aims to allow users to make market orders directly from Slack, addressing the need for quick trading during work hours. Andrew outlines the steps to create the Slackbot, including setting up a Slack app, adding bot users, configuring slash commands, and handling OAuth permissions. The bot is programmed in Python and uses Flask to handle HTTP requests. Key features include a slash command `/order` that submits market orders with specified parameters. The article serves as part one of a three-part series, with future installments promising to add more complex functionalities.", metadata=DocumentMetadata(title='How a College Student Built a Slackbot to Execute Trades In a Day, Part 1 - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='How a College Student Built a Slackbot to Execute Trades In a Day, Part 1\nHi, I’m Andrew, an intern at Alpaca from Northwestern! As a college student curious about both tech and financial spaces, I was able to leverage A…', url='https://forum.alpaca.markets/t/how-a-college-student-built-a-slackbot-to-execute-trades-in-a-day-part-1/230', language='en', keywords=None, robots=None, og_title='How a College Student Built a Slackbot to Execute Trades In a Day, Part 1 - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='How a College Student Built a Slackbot to Execute Trades In a Day, Part 1 Hi, I’m Andrew, an intern at Alpaca from Northwestern! As a college student curious about both tech and financial spaces, I was able to leverage Alpaca’s trading API service to open up a large number of application possibilities. Here, I wanted to share a small project that I worked on this summer. Chinese tariffs. Tesla to 420. Trump tweets. With so much unpredictability in the markets these days, one short look away ...', og_url='https://forum.alpaca.markets/t/how-a-college-student-built-a-slackbot-to-execute-trades-in-a-day-part-1/230', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-04T21:04:22+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-a-college-student-built-a-slackbot-to-execute-trades-in-a-day-part-1/230', status_code=200, scrape_id='3c4a98fd-7445-4075-bc0a-42467b32ccef', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Api.get_barset missing data' highlights issues with retrieving minute-level market data. Users report problems with missing data when pulling historical data for specific tickers, with one user noting they only received 86% of the expected data. The thread includes multiple user interactions discussing their experiences and concerns regarding the completeness of the data provided by the API. Related topics include missing data delays and issues with historical bars.", metadata=DocumentMetadata(title='Api.get_barset missing data - Alpaca Market Data - Alpaca Community Forum', description='Hi I am trying to pull 1 min data for last one month and the code is returning only 100 rows of data. Why is there a gap? Am i doing something wrong? \nCode I am using is : \nhistory = api.get_barset(“VTVT”, timeframe=“1Mi…', url='https://forum.alpaca.markets/t/api-get-barset-missing-data/579', language='en', keywords=None, robots=None, og_title='Api.get_barset missing data - Alpaca Market Data - Alpaca Community Forum', og_description='Hi I am trying to pull 1 min data for last one month and the code is returning only 100 rows of data. Why is there a gap? Am i doing something wrong? Code I am using is : history = api.get_barset(“VTVT”, timeframe=“1Min”, start = ‘2019-11-18’).df history', og_url='https://forum.alpaca.markets/t/api-get-barset-missing-data/579', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/f1b4e4b313e41a5e02d993076d0821ef07c5c499.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-27T17:32:48+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/api-get-barset-missing-data/579', status_code=200, scrape_id='d42db763-55bb-4181-bc0b-8dd2ff64cd04', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A forum post discusses a user encountering a '500 Server Error' when calling the Polygon API for historical data on AAPL stock. The user shares a Python code snippet and seeks help. Other community members suggest that the error may be due to server issues or API versioning. One user resolves the issue after multiple attempts, while another reports a similar error related to the API version. The discussion highlights the importance of using the correct parameters in API calls and encourages users to seek help through community channels.", metadata=DocumentMetadata(title='Noob: Getting 500 when calling Polygon API - Alpaca Integration Applications - Alpaca Community Forum', description='Found a simple Python tutorial and gave it a spin: \nimport alpaca_trade_api as tradeapi \napi = tradeapi.REST(‘key1’,‘key2’) \naapl_daily = api.polygon.historic_agg(‘day’,‘AAPL’,limit=1000).df \nI am getting this error: \n50…', url='https://forum.alpaca.markets/t/noob-getting-500-when-calling-polygon-api/627', language='en', keywords=None, robots=None, og_title='Noob: Getting 500 when calling Polygon API - Alpaca Integration Applications - Alpaca Community Forum', og_description='Found a simple Python tutorial and gave it a spin: import alpaca_trade_api as tradeapi api = tradeapi.REST(‘key1’,‘key2’) aapl_daily = api.polygon.historic_agg(‘day’,‘AAPL’,limit=1000).df I am getting this error: 500 Server ERror: Internal Server Error for url: https://api.polygon.io/v1/historic/agg/day/AAPL?limit=1000&apiKey=key1 Any ideas as to why? Or any better updated tutorials for a noob just getting into this? Thanks so much for any help! JJ', og_url='https://forum.alpaca.markets/t/noob-getting-500-when-calling-polygon-api/627', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-08T15:42:06+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/noob-getting-500-when-calling-polygon-api/627', status_code=200, scrape_id='6ec20a86-3f21-47dd-abc0-ec675bfbe782', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The main topic discussed is how to create dynamic client order IDs, which can help identify the signals producing buy/sell orders. A user seeks assistance in coding a client_order_id that includes a timestamp, ticker, and signal designation. Related topics include discussions on client_order_id retrieval and issues with market orders.', metadata=DocumentMetadata(title='How do I create dynamic client order IDs? - Alpaca Integration Applications - Alpaca Community Forum', description='I need help identifying which signal is producing a buy/sell order. \nI thought a good way would be to use the client_order_id, which would include a timestamp, the ticker, and some text that designates that signal. \nCan …', url='https://forum.alpaca.markets/t/how-do-i-create-dynamic-client-order-ids/493', language='en', keywords=None, robots=None, og_title='How do I create dynamic client order IDs? - Alpaca Integration Applications - Alpaca Community Forum', og_description='I need help identifying which signal is producing a buy/sell order. I thought a good way would be to use the client_order_id, which would include a timestamp, the ticker, and some text that designates that signal. Can someone provide some help on the code?', og_url='https://forum.alpaca.markets/t/how-do-i-create-dynamic-client-order-ids/493', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-27T14:48:02+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-do-i-create-dynamic-client-order-ids/493', status_code=200, scrape_id='dbd117f2-e4c5-4c60-bfe9-ce8b6b29b0cb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to retrieving historical data from the Polygon API. A user reports inconsistencies in the number of entries returned by the 'polygon.historic_agg_v2' function based on timespan, ticker, and date range. They provide examples showing varying results for hourly and minute data for tickers like AAPL and SPY, noting a potential limit of 3000 entries per API call. The user seeks clarification on the API's limits and how to effectively fetch historical data for backtesting. The discussion highlights the need for better understanding of the API's functionality and limitations.", metadata=DocumentMetadata(title='Issues Retrieving Historical Data From Polygon API - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nLanguage \nPython 3.7 \nAlpaca SDK Version \nLatest \nOther Environment Details \nUsing historic_agg_v2 polygon function to get aggregate data \nProblem\nSummary \nThere seem to be variations in the number of entries…', url='https://forum.alpaca.markets/t/issues-retrieving-historical-data-from-polygon-api/466', language='en', keywords=None, robots=None, og_title='Issues Retrieving Historical Data From Polygon API - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment Language Python 3.7 Alpaca SDK Version Latest Other Environment Details Using historic_agg_v2 polygon function to get aggregate data Problem Summary There seem to be variations in the number of entries returned by the “polygon.historic_agg_v2” function depending on the timespan, ticker & date range values. I assume limits exist on the number of results per api call, but I fail to find any consistency in the results from which I can deduce a pattern. I do recall reading the li...', og_url='https://forum.alpaca.markets/t/issues-retrieving-historical-data-from-polygon-api/466', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-16T23:26:15+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/issues-retrieving-historical-data-from-polygon-api/466', status_code=200, scrape_id='9f206beb-0830-4ea2-ab34-41211098a564', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The Projects category is a space for sharing work related to Alpaca, including integration applications and discussions about various projects. A notable project mentioned is a web app that utilizes the Alpaca news API to analyze financial news sentiment. The community encourages sharing ideas and feedback on projects. Related topics include sentiment data integration and various applications built using Alpaca's services.", metadata=DocumentMetadata(title='About the Projects category - Alpaca Integration Applications / Projects - Alpaca Community Forum', description='A space to share what you’ve been working on lately.', url='https://forum.alpaca.markets/t/about-the-projects-category/31', language='en', keywords=None, robots=None, og_title='About the Projects category - Alpaca Integration Applications / Projects - Alpaca Community Forum', og_description='A space to share what you’ve been working on lately.', og_url='https://forum.alpaca.markets/t/about-the-projects-category/31', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-25T18:30:16+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-projects-category/31', status_code=200, scrape_id='0eded01f-7d0c-4f50-a839-bf5f3c50471f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The forum discussion titled 'TradingView Chart Trading' addresses issues related to using TradingView with Alpaca, particularly the absence of Stop Loss and Take Profit fields in the Alpaca paper trading interface. Users, including Rex and James_J, express their concerns and seek updates on this feature, with some indicating that it is a priority for Alpaca. Other users, like Lotticus and hitoshi, also show interest in the feature, while gregbul emphasizes the need for bracket orders to be enabled in TradingView for effective trading. The forum includes links to related topics and discussions.", metadata=DocumentMetadata(title='TradingView Chart Trading - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Greetings all. \nI’m still getting my head around Python and coding. So I thought I would start to papertrade using TradingView connected to Alpaca. \nAll seems OK, but there isn’t a field for Stop Loss and Take profits. -…', url='https://forum.alpaca.markets/t/tradingview-chart-trading/591', language='en', keywords=None, robots=None, og_title='TradingView Chart Trading - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Greetings all. I’m still getting my head around Python and coding. So I thought I would start to papertrade using TradingView connected to Alpaca. All seems OK, but there isn’t a field for Stop Loss and Take profits. -It’s in paper trading via Tradingview, but when I switch accounts to Alpaca paper, those fields disappear… Does anyone know if that feature is coming soon ?? Thanks Rx', og_url='https://forum.alpaca.markets/t/tradingview-chart-trading/591', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-30T02:11:00+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/tradingview-chart-trading/591', status_code=200, scrape_id='fda956a9-dab6-4760-9c14-4a8eb8c05430', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum discusses the Polygon historic aggregation API (historic_agg_v2), with a user seeking clarification on its usage, input formats, and limitations. Key points include: \n1. The API allows for different time spans (e.g., minute, day) and multipliers to define the aggregation period. \n2. Users share experiences and frustrations regarding the API documentation. \n3. Related topics include issues with retrieving historical data and troubleshooting the Alpaca account.', metadata=DocumentMetadata(title='Polygon - Historic_agg_v2 - Alpaca Integration Applications - Alpaca Community Forum', description='Does any one has a clear documented example that explains how to use the following: \npolygon/REST.historic_agg_v2(self, symbol, multiplier, timespan, _from, to, unadjusted=False, limit=None)\n\nExample with input formats\nW…', url='https://forum.alpaca.markets/t/polygon-historic-agg-v2/721', language='en', keywords=None, robots=None, og_title='Polygon - Historic_agg_v2 - Alpaca Integration Applications - Alpaca Community Forum', og_description='Does any one has a clear documented example that explains how to use the following: polygon/REST.historic_agg_v2(self, symbol, multiplier, timespan, _from, to, unadjusted=False, limit=None) Example with input formats What exactly does the multiplier does? Is the 3000 max restricts you from anything in specific?', og_url='https://forum.alpaca.markets/t/polygon-historic-agg-v2/721', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-02-01T23:56:49+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/polygon-historic-agg-v2/721', status_code=200, scrape_id='5325c4cf-4d9d-47b1-bd5e-faa2f9e9bd5b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum post discusses an issue with receiving a '400 Bad Request' error when attempting to place an order using C#. The user shares their code snippet for making an HTTP POST request to the Alpaca API, detailing the headers and properties used. They also mention trying a different method to build the request content but still encounter the same error. Related topics include other HTTP errors and examples of API usage.", metadata=DocumentMetadata(title='Getting 400 (Bad Request) when placing order c# - Alpaca Integration Applications - Alpaca Community Forum', description='Can anyone spot why I keep getting (Bad Request): \n \nvar endpoint = “https://paper-api.alpaca.markets”; \nvar client = new HttpClient(); \nvar request = new HttpRequestMessage(); \nrequest.Method = new HttpMethod(“POST”); \n…', url='https://forum.alpaca.markets/t/getting-400-bad-request-when-placing-order-c/711', language='en', keywords=None, robots=None, og_title='Getting 400 (Bad Request) when placing order c# - Alpaca Integration Applications - Alpaca Community Forum', og_description='Can anyone spot why I keep getting (Bad Request): var endpoint = “https://paper-api.alpaca.markets”; var client = new HttpClient(); var request = new HttpRequestMessage(); request.Method = new HttpMethod(“POST”); request.Headers.Add(“APCA-API-KEY-ID”, “”); request.Headers.Add(“APCA-API-SECRET-KEY”, “”); request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue(“application/x-www-form-urlencoded”)); request.Properties.Add(“symbol”, “APPL”); request.Properties.Add(“qty”, “1”); req...', og_url='https://forum.alpaca.markets/t/getting-400-bad-request-when-placing-order-c/711', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-30T10:46:35+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/getting-400-bad-request-when-placing-order-c/711', status_code=200, scrape_id='e10a3a4a-0d2f-4a3f-a4aa-c1026b26e85b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to incorrect market data discrepancies between Alpaca's API and other sources like Yahoo and Google. Users report differences in daily closing stock prices and trading volumes, with some noting that data from Alpaca appears to be inaccurate. The conversation highlights the potential delays in data from other platforms and the importance of understanding that different exchanges may report varying prices for the same stock. Users express concerns about data integrity and seek clarification on the sources of Alpaca's market data, which is confirmed to be provided by third-party vendors like Polygon and IEX. The discussion emphasizes the need for users to prepare and clean their data for accurate analysis.", metadata=DocumentMetadata(title='Incorrect Market Data ( different from google, yahoo..) - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Daily closing stock data is different from yahoo and google by a number of cents… \nHere is the response for the 9/4/2019 (close is second to last num) \n1567569600 208.390 209.4800 207.32 209.25 16915267 \nyahoo, fide…', url='https://forum.alpaca.markets/t/incorrect-market-data-different-from-google-yahoo/255', language='en', keywords=None, robots=None, og_title='Incorrect Market Data ( different from google, yahoo..) - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Daily closing stock data is different from yahoo and google by a number of cents… Here is the response for the 9/4/2019 (close is second to last num) 1567569600 208.390 209.4800 207.32 209.25 16915267 yahoo, fidelity, google show. 9/24/2019 O : 208.39 H: 209.48 L : 207.32 C : 209.19 V : 19,216,820 Volume is differing as well… Has anyone else noticed this?', og_url='https://forum.alpaca.markets/t/incorrect-market-data-different-from-google-yahoo/255', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-11T04:04:50+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/incorrect-market-data-different-from-google-yahoo/255', status_code=200, scrape_id='cddaa2bf-8a4c-4cea-8792-6e84007a6a3a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to the cancellation of limit orders and connection problems experienced by users of the Alpaca Trading API. A user reported difficulties with limit sell orders being canceled immediately after triggering, alongside connection errors, specifically a 'ConnectionClosedError'. Another user suggested upgrading to the latest SDK version to resolve these issues. The forum also lists related topics that address similar connection errors and troubleshooting advice.", metadata=DocumentMetadata(title='Cancellation of limiti orders and disconnection - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Hello everyone , \nI’m having hard time trading in the paper API. \nI’m using python 3.6 with the API library. \nI keep getting my limit sell orders canceled as soon as they triggered in addition im having connection proble…', url='https://forum.alpaca.markets/t/cancellation-of-limiti-orders-and-disconnection/171', language='en', keywords=None, robots=None, og_title='Cancellation of limiti orders and disconnection - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Hello everyone , I’m having hard time trading in the paper API. I’m using python 3.6 with the API library. I keep getting my limit sell orders canceled as soon as they triggered in addition im having connection problems at the same time. The error i’m getting is below: Error in data transfer … … … websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason i believe this issue is related somehow to the socket trying to read data and fai...', og_url='https://forum.alpaca.markets/t/cancellation-of-limiti-orders-and-disconnection/171', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-19T19:55:52+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/cancellation-of-limiti-orders-and-disconnection/171', status_code=200, scrape_id='42862262-df36-451e-9cec-c4881a2159ca', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread focuses on using the JavaScript fetch() method for API requests. A user encounters a '401 Unauthorized' error when trying to fetch positions from the Alpaca API. They seek guidance on formatting their fetch request correctly. Another user suggests that the issue may stem from misunderstanding HTTP headers and provides a corrected code snippet that includes proper header formatting. The thread also includes links to related topics for further assistance.", metadata=DocumentMetadata(title='Using Javascript fetch()? - Alpaca Integration Applications - Alpaca Community Forum', description='Hi guys, \nRather than using the “alpacahq/alpaca-trade-api” I’d prefer to use only be using fetch. I have been unsuccessful in getting anything other than “status: 401”, " statusText: Unauthorized" as a response. \nSo I w…', url='https://forum.alpaca.markets/t/using-javascript-fetch/302', language='en', keywords=None, robots=None, og_title='Using Javascript fetch()? - Alpaca Integration Applications - Alpaca Community Forum', og_description='Hi guys, Rather than using the “alpacahq/alpaca-trade-api” I’d prefer to use only be using fetch. I have been unsuccessful in getting anything other than “status: 401”, " statusText: Unauthorized" as a response. So I was wondering how I should format my fetch() request to get a proper response. Here’s a code snippet that I’ve just tried with no luck. Granted this is a bad example, yes, but I haven’t been able to find any documentation using fetch() fetch("https://paper-api.alpaca.markets/v2...', og_url='https://forum.alpaca.markets/t/using-javascript-fetch/302', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-21T21:07:13+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/using-javascript-fetch/302', status_code=200, scrape_id='683ccfba-19f4-4354-a0d7-948e4a834323', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The Announcements category is dedicated to major updates from Alpaca, with a post by AlpacaAlex from July 2019. The page includes links to related topics such as API V2 Go Live Date, Alpaca Products Discussion, and system status updates, providing a platform for users to find FAQs, share ideas, and follow discussions.', metadata=DocumentMetadata(title='About the Announcements category - Alpaca Products Discussion / Announcements - Alpaca Community Forum', description='For all major Alpaca announcements. :llama:', url='https://forum.alpaca.markets/t/about-the-announcements-category/14', language='en', keywords=None, robots=None, og_title='About the Announcements category - Alpaca Products Discussion / Announcements - Alpaca Community Forum', og_description='For all major Alpaca announcements. 🦙', og_url='https://forum.alpaca.markets/t/about-the-announcements-category/14', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-11T18:00:04+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-announcements-category/14', status_code=200, scrape_id='408d0564-e085-4e25-ad77-2a98f4069ac0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The forum features a discussion titled 'Trello for Updates' where users can inquire about the public API development priorities. A user, DeusNightFire, suggests using Trello for tracking API updates, and Alpaca's representative, alpaca_nancy, responds that they are working on better communication regarding upcoming features. The page also lists related topics, including announcements and system status updates.", metadata=DocumentMetadata(title='Trello for Updates - Alpaca Integration Applications - Alpaca Community Forum', description='I was wondering if we have some sort of way to know what’s being worked on in the API that is public like using Trello to see what’s top priority and low priority.', url='https://forum.alpaca.markets/t/trello-for-updates/259', language='en', keywords=None, robots=None, og_title='Trello for Updates - Alpaca Integration Applications - Alpaca Community Forum', og_description='I was wondering if we have some sort of way to know what’s being worked on in the API that is public like using Trello to see what’s top priority and low priority.', og_url='https://forum.alpaca.markets/t/trello-for-updates/259', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-12T17:07:53+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/trello-for-updates/259', status_code=200, scrape_id='d22be6e5-b98a-4c8e-a457-92156f2429b0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca offers a variety of integrations and tools for traders, enhancing their trading experience across multiple platforms. Key features include:\n\n1. **TradingView**: Advanced charting for commission-free trading, popular among over 11 million traders.\n2. **Streak**: No-code algorithmic trading platform with 300,000+ traders and 27 million backtests.\n3. **Slack**: Manage brokerage accounts via Slack with AlpacaBot for order management.\n4. **QuantRocket**: Professional-grade platform for automated trading strategies and cloud deployment.\n5. **Blueshift**: Web-based app for backtesting and live trading of strategies.\n6. **Tradetron**: Build algo strategies without coding and allow subscriptions for others.\n7. **Passiv**: Personalized robo-advisor for portfolio management.\n8. **Zapier**: Automate trading flows by connecting to thousands of apps.\n9. **Alexa**: Place trades using voice commands through Amazon Alexa.\n10. **Arcade Trader**: Advanced research tools for algorithmic trading.\n11. **PredictNow.ai**: No-code machine learning tool for predicting trade profitability.\n12. **AlgoBulls**: Features for live trading, backtesting, and strategy customization.\n13. **Trellis**: Build trading bots without coding and compete with others.\n14. **Breaking Equity**: Custom algorithms for precise trading across asset classes.\n15. **Composer**: No-code visual editor for creating dynamic trading strategies.\n16. **Algorum**: Affordable platform for developing and managing algo trading strategies.\n17. **Wealth-Lab**: Backtesting software covering all markets with automated trading features.\n18. **Custom API**: Build custom actions using Alpaca's REST API.", metadata=DocumentMetadata(title='Easy Integration with Alpaca Stock Trading API for Developers', description='Slack, IFTTT, Alexa, Zapier, TradingView... they all work with Alpaca trading API', url='https://alpaca.markets/integrations', language='en', keywords=None, robots='index, follow', og_title='Easy Integration with Alpaca Stock Trading API for Developers', og_description='Slack, IFTTT, Alexa, Zapier, TradingView... they all work with Alpaca trading API', og_url='https://alpaca.markets/integrations', og_image='https://s3.amazonaws.com/marketing.alpaca.markets/social/banners/alpaca-integrations.png', og_audio=None, og_determiner=None, og_locale='en', og_locale_alternate=None, og_site_name='Alpaca', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/integrations', status_code=200, scrape_id='471eea0d-51da-45a2-a18e-84b28686974c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users and offers support through FAQs, idea sharing, and discussions. Users can create a Trading API account by signing up. The Tutorial Requests category invites users to request content that would be helpful for them, addressing any difficulties they may have. The page also lists related topics, including Tutorials, Random discussions, Examples, Alpaca Products Discussion, and Announcements, with details on replies, views, and activity dates.', metadata=DocumentMetadata(title='About the Tutorial Requests category - Alpaca Trading / Tutorial Requests - Alpaca Community Forum', description='For requests on what kind of content you’d like to see. Is there anything you’re having trouble with? What kind of content would be helpful for you?', url='https://forum.alpaca.markets/t/about-the-tutorial-requests-category/128', language='en', keywords=None, robots=None, og_title='About the Tutorial Requests category - Alpaca Trading / Tutorial Requests - Alpaca Community Forum', og_description='For requests on what kind of content you’d like to see. Is there anything you’re having trouble with? What kind of content would be helpful for you?', og_url='https://forum.alpaca.markets/t/about-the-tutorial-requests-category/128', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-05T18:10:37+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-tutorial-requests-category/128', status_code=200, scrape_id='b1f75234-42ee-49e1-8eab-fcad5ec8e812', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users and provides a platform for discussions and FAQs. A user reported a '401 Client Error: Unauthorized' when attempting to submit a trade via the API to their paper account, despite having sufficient equity. The issue was suspected to be related to API key authentication. Another user from Alpaca Developer Relations confirmed that the 401 error typically indicates an authentication issue, suggesting the user verify their API keys. The original user later noted that the issue resolved itself.", metadata=DocumentMetadata(title='401 Client Error - Alpaca Trading - Alpaca Community Forum', description='Hi, I tried submitting a trade today via the API to my paper account and I received this error: \n401 Client Error: Unauthorized for url: https://paper-api.alpaca.markets/v2/orders \nI have been designated a PDT in my pape…', url='https://forum.alpaca.markets/t/401-client-error/11699', language='en', keywords=None, robots=None, og_title='401 Client Error - Alpaca Trading - Alpaca Community Forum', og_description='Hi, I tried submitting a trade today via the API to my paper account and I received this error: 401 Client Error: Unauthorized for url: https://paper-api.alpaca.markets/v2/orders I have been designated a PDT in my paper account (and rightly so) but I have 99k in equity there so I shouldn’t be limited. I have the config for the day trading set to “Block on entry” but I think that shouldn’t apply, it just applies to when the rule is checked (if my understanding is correct). I also regenned my A...', og_url='https://forum.alpaca.markets/t/401-client-error/11699', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2023-01-30T15:56:20+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/401-client-error/11699', status_code=200, scrape_id='b2c7347d-cea4-4114-bc35-12778e3c0f9e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The forum discusses trade confirmation data, with users seeking ways to retrieve this data from the API without manual logging. Key points include a user asking about pulling trade confirmation data, discussions on the v2 API, and inquiries about average position prices for algorithmic trading. A new API endpoint for order fills is mentioned, and users share code snippets for testing. Related topics include fetching historical trades and troubleshooting account issues.', metadata=DocumentMetadata(title='Trade confirmation data - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Haven’t found it on our own yet but wondering if anyone knows how to pull the trade confirmation data from either the paper or live api from the transaction history other than logging it manually or using a json-like scr…', url='https://forum.alpaca.markets/t/trade-confirmation-data/365', language='en', keywords=None, robots=None, og_title='Trade confirmation data - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Haven’t found it on our own yet but wondering if anyone knows how to pull the trade confirmation data from either the paper or live api from the transaction history other than logging it manually or using a json-like scrape off the dashboard. Thanks. RB.', og_url='https://forum.alpaca.markets/t/trade-confirmation-data/365', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-12T15:31:52+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/trade-confirmation-data/365', status_code=200, scrape_id='25d2df22-e363-40e7-9a21-18f6ae0d69cd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to discuss feature requests for the trading platform. Users can share ideas about new features they would like to see implemented, along with their use cases and benefits. Recent discussions include requests for a paper trading account for underage users and issues with bank account verification through Plaid. The community also features related topics, including getting started guides and integration applications.', metadata=DocumentMetadata(title='About the Feature Requests category - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='This category is for discussion on types of features you’d like to see implemented. \nWhat new features would you like to see implemented? \nWhat is the use case for this feature? \nHow would it be helpful for you?', url='https://forum.alpaca.markets/t/about-the-feature-requests-category/32', language='en', keywords=None, robots=None, og_title='About the Feature Requests category - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='This category is for discussion on types of features you’d like to see implemented. What new features would you like to see implemented? What is the use case for this feature? How would it be helpful for you?', og_url='https://forum.alpaca.markets/t/about-the-feature-requests-category/32', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-25T18:31:23+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-feature-requests-category/32', status_code=200, scrape_id='b082dc4a-aa68-465d-8b06-20e573ac3e3b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The main discussion topic is about obtaining after-hours and pre-market pricing data using the API, specifically questioning the effectiveness of the .GetBars() method. Users have expressed their struggles in finding solutions, with multiple inquiries about extended hours prices dating back to 2019 and 2021. Related topics include getting the latest stock prices during extended hours, market data delays, and streaming after-hours market data.', metadata=DocumentMetadata(title='Extended Hours Price Bars - Alpaca Market Data - Alpaca Community Forum', description='Is there a particular method for obtaining after-hours/pre-market pricing data other than the .GetBars() method? I am requesting the most recent minute bar and it returns the close price.', url='https://forum.alpaca.markets/t/extended-hours-price-bars/583', language='en', keywords=None, robots=None, og_title='Extended Hours Price Bars - Alpaca Market Data - Alpaca Community Forum', og_description='Is there a particular method for obtaining after-hours/pre-market pricing data other than the .GetBars() method? I am requesting the most recent minute bar and it returns the close price.', og_url='https://forum.alpaca.markets/t/extended-hours-price-bars/583', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-27T23:59:58+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/extended-hours-price-bars/583', status_code=200, scrape_id='23ca2338-ce6b-45ec-812a-2d905133a2e8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion thread focuses on downloading historic 1-minute OHCL data for all IEX tickers. A user expresses interest in sharing a Python script for this purpose, aimed at local data processing for backtesting algorithms. Other users show interest in the script, leading to the sharing of cleaned-up code and setup instructions. The thread has garnered 1.3k views and 6 likes, indicating active engagement. Related topics include intraday data and historical market data.', metadata=DocumentMetadata(title='Download historic 1-min OHCL data for all IEX tickers - Alpaca Market Data - Alpaca Community Forum', description='Hi together, \nis anyone interested in a simple script for regularly downloading historic 1-min OHCL data with the IEX API (in Python, asynchronously)? If so, I would clean up my code and share it here. \nNote: I am using …', url='https://forum.alpaca.markets/t/download-historic-1-min-ohcl-data-for-all-iex-tickers/326', language='en', keywords=None, robots=None, og_title='Download historic 1-min OHCL data for all IEX tickers - Alpaca Market Data - Alpaca Community Forum', og_description='Hi together, is anyone interested in a simple script for regularly downloading historic 1-min OHCL data with the IEX API (in Python, asynchronously)? If so, I would clean up my code and share it here. Note: I am using the script for downloading the data to my local computer for later processing (backtesting algorithms, training models etc.). I am not using the script for life trading. Let me know if that’s interesting for you.', og_url='https://forum.alpaca.markets/t/download-historic-1-min-ohcl-data-for-all-iex-tickers/326', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-29T10:35:44+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/download-historic-1-min-ohcl-data-for-all-iex-tickers/326', status_code=200, scrape_id='232a8089-60d9-495a-bb0a-26413c066896', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account and provides resources for trading stocks programmatically using the Alpaca API and Google Colab. The content explains how to set up a trading environment without needing extensive programming knowledge, emphasizing the use of Google Colab for running Python code in the cloud. Key features include: \n\n1. **Alpaca API**: Offers commission-free stock trading with a modern REST API, allowing users to automate trading strategies.\n2. **Google Colab**: A cloud-based service for running Python Jupyter Notebooks, ideal for data analysis and trading.\n3. **Getting Started**: Users can obtain an API key and start coding in Colab, with instructions on installing the Alpaca SDK and submitting orders.\n4. **Data Visualization**: Users can visualize trading data using libraries like mpl_finance to create candlestick charts.\n5. **Advanced Trading**: The platform supports machine learning and AI for trading strategies, leveraging GPU resources in Colab.\n6. **Community Support**: Users are encouraged to join forums and Slack for assistance and sharing ideas.', metadata=DocumentMetadata(title='Analyze Data and Trade Stocks Through Your Browser Using Google Colab and Alpaca API - Getting Started with Alpaca / Examples - Alpaca Community Forum', description='Alpaca is making it easier to trade stocks programmatically, with zero commission by providing modern REST API. In fact, everyday, we are seeing new people coming in and start trading stocks in a fully- or semi-automa…', url='https://forum.alpaca.markets/t/analyze-data-and-trade-stocks-through-your-browser-using-google-colab-and-alpaca-api/196', language='en', keywords=None, robots=None, og_title='Analyze Data and Trade Stocks Through Your Browser Using Google Colab and Alpaca API - Getting Started with Alpaca / Examples - Alpaca Community Forum', og_description='Alpaca is making it easier to trade stocks programmatically, with zero commission by providing modern REST API. In fact, everyday, we are seeing new people coming in and start trading stocks in a fully- or semi-automated fashion quickly, and I am still getting quite a bit of interest in Google Sheet stock trading example. Yet, it can be a bit of work to set up your programming environment before you can begin playing with API and get any benefit from it, especially when it comes to python whi...', og_url='https://forum.alpaca.markets/t/analyze-data-and-trade-stocks-through-your-browser-using-google-colab-and-alpaca-api/196', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/38a6c877c2c092a95c6b6d9399cfebedd40623e0.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-27T17:21:56+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/analyze-data-and-trade-stocks-through-your-browser-using-google-colab-and-alpaca-api/196', status_code=200, scrape_id='1dccaad8-ab8d-458c-8e69-ce1f664f4c6b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to stream disconnects occurring shortly after 6 PM. A user, Andrej, reports that automated cancellations of orders lead to websocket disconnections, causing inconsistencies between his local database and Alpaca's server. He requests assistance to resolve this issue, which has been persistent for several months. Another user, Hitoshi, acknowledges the problem but states that they are unaware of any changes causing this behavior. Kunga_Dorje also experiences disconnection issues after authentication. The forum includes related topics on websocket disconnects and errors, indicating a broader concern among users.", metadata=DocumentMetadata(title='Problems with stream disconnects shortly after 6pm - Alpaca Products Discussion - Alpaca Community Forum', description='Dear Alpaca devs, \nI have a few hundred orders that expire at 6pm every day. Automated cancellations start to flow in via websockets but the connection invariably breaks shortly (a min or two) thereafter, leaving my loca…', url='https://forum.alpaca.markets/t/problems-with-stream-disconnects-shortly-after-6pm/676', language='en', keywords=None, robots=None, og_title='Problems with stream disconnects shortly after 6pm - Alpaca Products Discussion - Alpaca Community Forum', og_description='Dear Alpaca devs, I have a few hundred orders that expire at 6pm every day. Automated cancellations start to flow in via websockets but the connection invariably breaks shortly (a min or two) thereafter, leaving my local database and alpaca’s server in an inconsistent state. Because of that, each day I need to sync the databases through REST calls, which is needlessly expensive. This has been happening for the last couple of months but /not/ before. Now this is a daily occurrence. Is there anyt...', og_url='https://forum.alpaca.markets/t/problems-with-stream-disconnects-shortly-after-6pm/676', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-18T16:39:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/problems-with-stream-disconnects-shortly-after-6pm/676', status_code=200, scrape_id='a68e5355-d813-4877-94ab-a47abbb44a62', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses the absence of adjusted OHLC (Open, High, Low, Close) prices from IEX data, which are essential for machine learning methods and accurate trading analysis. Users express concerns about the lack of adjustments for stock splits and dividends, highlighting that the current IEX data does not reflect these changes. Several users request the addition of adjusted prices to the API, noting that competitors like Alpha Vantage provide such data. Alpaca's representative mentions that adjusted prices are not available for free paper trading accounts but can be accessed through live accounts using Polygon data, which includes both actual and adjusted values. The discussion emphasizes the critical need for access to adjusted OHLC prices for effective trading analysis.", metadata=DocumentMetadata(title='"Adjusted" OHLC Prices are Missing from IEX - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='“Adjusted” prices are crucial for ML methods. However, they are not available from the IEX data during paper-trading. Hence, I would like to request their addition to that endpoint.', url='https://forum.alpaca.markets/t/adjusted-ohlc-prices-are-missing-from-iex/431', language='en', keywords=None, robots=None, og_title='"Adjusted" OHLC Prices are Missing from IEX - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='“Adjusted” prices are crucial for ML methods. However, they are not available from the IEX data during paper-trading. Hence, I would like to request their addition to that endpoint.', og_url='https://forum.alpaca.markets/t/adjusted-ohlc-prices-are-missing-from-iex/431', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-07T17:07:58+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/adjusted-ohlc-prices-are-missing-from-iex/431', status_code=200, scrape_id='09e79824-09c3-49b3-9a6f-42d645eeaef8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to rejected orders, particularly for automated trading. Users express frustration over automated orders being rejected outside market hours, despite being set as Good Till Canceled (GTC). A user highlights the challenge of executing end-of-day signals, as automated orders generated after market close (4:02 PM) are not accepted. The conversation includes suggestions for using limit orders and references to related topics on order rejection and trading hours.', metadata=DocumentMetadata(title='Rejected Orders - Alpaca Trading - Alpaca Community Forum', description='Why are my automated orders all getting rejected? The whole point of using Alpaca is so that I can do automated trading.', url='https://forum.alpaca.markets/t/rejected-orders/4495', language='en', keywords=None, robots=None, og_title='Rejected Orders - Alpaca Trading - Alpaca Community Forum', og_description='Why are my automated orders all getting rejected? The whole point of using Alpaca is so that I can do automated trading.', og_url='https://forum.alpaca.markets/t/rejected-orders/4495', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/7/7e3639c6826a7b25a30cbe09501dbb772303786c.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-02-16T21:07:34+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/rejected-orders/4495', status_code=200, scrape_id='7d13ffa0-5701-4390-b013-fd64a70f0fec', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses support for Over-the-Counter (OTC) markets. Users express interest in integrating OTC trading into Alpaca's API, highlighting its potential benefits for trading small U.S. companies. Key points include:\n- Users are eager for Alpaca to support OTC trading, citing its volatility and investment opportunities.\n- Discussions mention the nature of OTC trading, which occurs directly between parties without exchange supervision.\n- Several users have requested updates on the integration of OTC markets into Alpaca's services, indicating a strong demand for this feature.", metadata=DocumentMetadata(title='Over the Counter (OTC) Market Support - Alpaca Products Discussion - Alpaca Community Forum', description='Hey all, I personally like investing in small United States based companies and i’m just wondering if OTC market support is on the table? \nThanks in advance.', url='https://forum.alpaca.markets/t/over-the-counter-otc-market-support/729', language='en', keywords=None, robots=None, og_title='Over the Counter (OTC) Market Support - Alpaca Products Discussion - Alpaca Community Forum', og_description='Hey all, I personally like investing in small United States based companies and i’m just wondering if OTC market support is on the table? Thanks in advance.', og_url='https://forum.alpaca.markets/t/over-the-counter-otc-market-support/729', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-02-03T05:55:38+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/over-the-counter-otc-market-support/729', status_code=200, scrape_id='fec07d7d-4553-4ec2-983f-448cef15f526', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A discussion titled 'How Are The Spreads Here?' addresses concerns about trading spreads in relation to Alpaca's commission-free model. User DallasSteve inquires whether Alpaca's API results in tight spreads or compensates through bid/ask spreads. Another user, Alpha_Hound, shares their experience with the API, noting that execution occurs at IEX with tight spreads similar to Interactive Brokers (IB) for liquid ETFs. The conversation highlights the importance of understanding trading costs and the potential impact of liquidity on spreads.", metadata=DocumentMetadata(title='How Are The Spreads Here? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='I have not opened an account yet. I’ve used IB in the past and they have low commissions and tight spreads. It’s great that Alpaca has commission-free trading. I had a couple of free brokerages 20 years ago but other …', url='https://forum.alpaca.markets/t/how-are-the-spreads-here/231', language='en', keywords=None, robots=None, og_title='How Are The Spreads Here? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='I have not opened an account yet. I’ve used IB in the past and they have low commissions and tight spreads. It’s great that Alpaca has commission-free trading. I had a couple of free brokerages 20 years ago but other brokers bought them out to kill off that competition. I think they were named BrokerageAmerica and FreeTrade, but it’s been so long I’m not sure. Anyway, I hope that doesn’t happen to Alpaca. So my question is does Alpaca’s API result in tight spreads or do they make up for th...', og_url='https://forum.alpaca.markets/t/how-are-the-spreads-here/231', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-04T21:05:28+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-are-the-spreads-here/231', status_code=200, scrape_id='bd725e96-4474-4565-a8fd-2994ae7bc93c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. A tutorial video by Marcin explains how to set up a Python algorithm on Heroku for free, including using Process Scheduler for daily automation. The post has garnered 2.1k views and encourages community engagement. Related topics include server hosting, starting algorithms, and troubleshooting issues with cloud-based algorithms.', metadata=DocumentMetadata(title='Algo hosting tutorial using Heroku on Youtube video for Alpaca beginners - Alpaca Trading / Tutorials - Alpaca Community Forum', description='One of our long-time supporters Marcin has put this video on Youtube to explain how to set up your python algo in Heroku for free. Bonus point: he explains how to set up Process Scheuler to automatically kick off the pro…', url='https://forum.alpaca.markets/t/algo-hosting-tutorial-using-heroku-on-youtube-video-for-alpaca-beginners/390', language='en', keywords=None, robots=None, og_title='Algo hosting tutorial using Heroku on Youtube video for Alpaca beginners - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='One of our long-time supporters Marcin has put this video on Youtube to explain how to set up your python algo in Heroku for free. Bonus point: he explains how to set up Process Scheuler to automatically kick off the program every day. Cool! Enjoy your weekend everyone.', og_url='https://forum.alpaca.markets/t/algo-hosting-tutorial-using-heroku-on-youtube-video-for-alpaca-beginners/390', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-26T05:56:22+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/algo-hosting-tutorial-using-heroku-on-youtube-video-for-alpaca-beginners/390', status_code=200, scrape_id='448635fe-4f00-4457-9c8f-82862519cddd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum discussion titled 'cURL and Qt JSON formatting submit order issue' addresses a user's problem with receiving a 400 error when submitting an order via cURL. The user, Josh, shares his cURL command and JSON string but encounters issues with the request body format. Other users provide suggestions, including correcting the JSON key from 'symb' to 'symbol' and using proper quoting for the JSON body. The discussion highlights common pitfalls in API integration and offers solutions for successful order submission.", metadata=DocumentMetadata(title='cURL and Qt JSON formatting submit order issue - Alpaca Integration Applications - Alpaca Community Forum', description='Developing order entry and I’m always getting code 400 , msg: “request body format is invalid”. \nHere’s my full curl command and JSON order string (windows): \ncurl --request POST -H “Content-Type: application/json” -H “A…', url='https://forum.alpaca.markets/t/curl-and-qt-json-formatting-submit-order-issue/646', language='en', keywords=None, robots=None, og_title='cURL and Qt JSON formatting submit order issue - Alpaca Integration Applications - Alpaca Community Forum', og_description='Developing order entry and I’m always getting code 400 , msg: “request body format is invalid”. Here’s my full curl command and JSON order string (windows): curl --request POST -H “Content-Type: application/json” -H “APCA-API-KEY-ID: BLAH” -H “APCA-API-SECRET-KEY: BLAH/BLAH” -d “{“symb”:“AAPL”,“qty”:“1”,“side”:“buy”,“type”:“market”,“time_in_force”:“gtc”}” https://paper-api.alpaca.markets/v2/orders I’ve gotten several other GET requests working fine. Also tried diligently with Qt. Was succes...', og_url='https://forum.alpaca.markets/t/curl-and-qt-json-formatting-submit-order-issue/646', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-12T05:36:14+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/curl-and-qt-json-formatting-submit-order-issue/646', status_code=200, scrape_id='4125ab91-5a88-41cb-a15b-28817f42b930', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A key discussion topic is a proposal to replace the current 'Buy' and 'Sell' options with more specific terms: 'BTO' (Buy To Open), 'STC' (Sell To Close), 'STO' (Sell To Open), and 'BTC' (Buy To Close). This change aims to prevent accidental shorting and ensure orders are processed as intended. Users are encouraged to vote on this proposal, which has garnered attention and support from community members. Related discussions include issues with unintentional shorting and tutorials on using Alpaca's API.", metadata=DocumentMetadata(title='Please Vote: Alpaca should replace side (Buy, Sell) with (BTO, STC, STO, BTC) - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='My algorithm sometimes tries to sell a position twice, which results in in liquidation of my current position and then the filling of a short order. In a perfect world, our code is so tried and tested that this could n…', url='https://forum.alpaca.markets/t/please-vote-alpaca-should-replace-side-buy-sell-with-bto-stc-sto-btc/427', language='en', keywords=None, robots=None, og_title='Please Vote: Alpaca should replace side (Buy, Sell) with (BTO, STC, STO, BTC) - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='My algorithm sometimes tries to sell a position twice, which results in in liquidation of my current position and then the filling of a short order. In a perfect world, our code is so tried and tested that this could never happen by mistake. But, as we know, we do not live in a perfect world and bugs occur, regressions occur, hiccups occur.The accidental shorting of an equity due to two sell orders clearing is dangerous, unacceptable and yet, completely avoidable by a responsible API. Recomme...', og_url='https://forum.alpaca.markets/t/please-vote-alpaca-should-replace-side-buy-sell-with-bto-stc-sto-btc/427', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-07T04:09:21+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/please-vote-alpaca-should-replace-side-buy-sell-with-bto-stc-sto-btc/427', status_code=200, scrape_id='e0a77025-6bcd-4fce-8c49-1edb4ecc80c4', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to connecting multiple strategies to the Market Data websocket. Users inquire about subscription plans that allow multiple connections using the same account. The unlimited plan permits multiple API calls but only a single websocket connection. Users report difficulties in establishing multiple connections, with some experiencing errors like 'connection limit exceeded' when attempting to connect a second stream. There is a suggestion for Alpaca to offer a feature to pay for additional websocket connections. Users also express concerns about the accuracy of Alpaca's market data compared to other sources.", metadata=DocumentMetadata(title='Multiple connections to Market Data Websocket - Alpaca Market Data - Alpaca Community Forum', description='I’m running multiple strategies which need to connect to the Market Data websocket. Is there a subscription plan that allows to open multiple connections using the same account? \nIn the python repository (GitHub - alpaca…', url='https://forum.alpaca.markets/t/multiple-connections-to-market-data-websocket/6291/13', language='en', keywords=None, robots=None, og_title='Multiple connections to Market Data Websocket - Alpaca Market Data - Alpaca Community Forum', og_description='I haven’t try any solutions it’s just today I see the code is not running in another paper account while using data from websocket.', og_url='https://forum.alpaca.markets/t/multiple-connections-to-market-data-websocket/6291/13', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-02-03T22:11:51+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/multiple-connections-to-market-data-websocket/6291/13', status_code=200, scrape_id='3646193e-712f-48d2-9d49-339e1f004858', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Symbols limit for get_barset' addresses a user's query about the limit on the number of symbols that can be included in the get_barset API call. The user, shipon21, reports unexpected results when the symbol list exceeds 25 symbols and seeks clarification on the maximum limit. The thread has garnered 642 views. Related topics include querying historical prices for over 200 symbols, minute bar limits, and issues with requesting multiple symbols.", metadata=DocumentMetadata(title='Symbols limit for get_barset - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='Is there any limit on the symbols list for get_barset call? I was testing following call \napi.get_barset(symbols, ‘day’, limit=5).df \nIt returns unexpected results when symbol list has more than 25 symbols. \nI do not fin…', url='https://forum.alpaca.markets/t/symbols-limit-for-get-barset/704', language='en', keywords=None, robots=None, og_title='Symbols limit for get_barset - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='Is there any limit on the symbols list for get_barset call? I was testing following call api.get_barset(symbols, ‘day’, limit=5).df It returns unexpected results when symbol list has more than 25 symbols. I do not find anywhere what should be the maximum number of symbols in the list. Thanks Wali', og_url='https://forum.alpaca.markets/t/symbols-limit-for-get-barset/704', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-28T19:58:05+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/symbols-limit-for-get-barset/704', status_code=200, scrape_id='ee0008c3-429b-43d5-a44c-e7b50b841132', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to FOK (Fill or Kill) time-in-force orders, particularly in the context of using the Alpaca API for trading. Users report that their FOK orders are being canceled immediately when placed on a paper trading account, while they work fine on a live trading account. Key points include:\n\n1. Users are experiencing immediate cancellations of FOK orders in paper trading, despite using the correct API version and trading during market hours.\n2. Suggestions from community members include checking the order price relative to the market and considering different time enforcement options.\n3. There are indications that the paper trading simulation may have issues with FOK orders, with hopes for a fix being deployed.\n4. Discussions also touch on the behavior of market orders and the concept of a 'collar' that may affect order execution.\n5. Related topics include extended hour orders and partially filled orders, indicating broader concerns about order management in the Alpaca trading environment.", metadata=DocumentMetadata(title='Fok time_in_force orders - Alpaca Integration Applications - Alpaca Community Forum', description='Every time I try to create a new order with a time_in_force of fok, it is immediately cancelled. Is there something I’m missing here? \nI am using the Javascript API. \nalpaca.createOrder({ \nsymbol: ‘GOOG’, \nqty: 1, \nside…', url='https://forum.alpaca.markets/t/fok-time-in-force-orders/354', language='en', keywords=None, robots=None, og_title='Fok time_in_force orders - Alpaca Integration Applications - Alpaca Community Forum', og_description='Every time I try to create a new order with a time_in_force of fok, it is immediately cancelled. Is there something I’m missing here? I am using the Javascript API. alpaca.createOrder({ symbol: ‘GOOG’, qty: 1, side: ‘buy’, type: ‘market’, time_in_force: ‘fok’, })', og_url='https://forum.alpaca.markets/t/fok-time-in-force-orders/354', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-08T14:09:12+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/fok-time-in-force-orders/354', status_code=200, scrape_id='a4c006c2-0dd5-46e1-b9ed-865eb38adcb7', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users and offers assistance with account creation and API integration. A user inquired about the availability of an API for account creation, noting that only account information retrieval documentation was found. The community provides links to related topics, including how to create accounts for clients and updates on the account creation API.', metadata=DocumentMetadata(title='Account creation api? - Alpaca Integration Applications - Alpaca Community Forum', description='I just bumped into alpaca and looked around a bit. \nAnd i was wondering if I’m overlooking something, but i couldn’t find any api documentation related to account creation? \nThere seem to be only a api for account inform…', url='https://forum.alpaca.markets/t/account-creation-api/455', language='en', keywords=None, robots=None, og_title='Account creation api? - Alpaca Integration Applications - Alpaca Community Forum', og_description='I just bumped into alpaca and looked around a bit. And i was wondering if I’m overlooking something, but i couldn’t find any api documentation related to account creation? There seem to be only a api for account information retrieval: Is account creation possible with an api or are there other ways to programmatically create accounts for clients? Cheers!', og_url='https://forum.alpaca.markets/t/account-creation-api/455', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/19310421b3fa1fe86dd234fbc420c25dfc8d0f6d.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-12T14:19:44+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/account-creation-api/455', status_code=200, scrape_id='2d76f9a2-f9f6-4ec8-8aa9-d715a33193c8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The forum includes a discussion category for Alpaca products, where users can share ideas, ask questions, and discuss announcements and new features. The category has 0 posts currently, but it has garnered 2,000 views. Related topics include announcements, trading, examples, and open office hours, each with varying levels of engagement.', metadata=DocumentMetadata(title='About the Alpaca Products Discussion category - Alpaca Products Discussion - Alpaca Community Forum', description='This category is for discussing all things Alpaca - announcements, new features you’d like to see, questions for us, etc.', url='https://forum.alpaca.markets/t/about-the-alpaca-products-discussion-category/30', language='en', keywords=None, robots=None, og_title='About the Alpaca Products Discussion category - Alpaca Products Discussion - Alpaca Community Forum', og_description='This category is for discussing all things Alpaca - announcements, new features you’d like to see, questions for us, etc.', og_url='https://forum.alpaca.markets/t/about-the-alpaca-products-discussion-category/30', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-25T18:26:37+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-alpaca-products-discussion-category/30', status_code=200, scrape_id='e2fb5544-293f-4bab-9d00-fe61752eede0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A forum discussion focuses on the challenge of opening multiple WebSocket connections for real-time quotes data for around 12,000 symbols, which is not feasible with the current upgraded plan. A user named Mario seeks solutions, while another user, Gergely_Alpaca, suggests that it should be possible and asks for clarification on the issue. Related topics include various discussions on WebSocket connections and API functionalities.', metadata=DocumentMetadata(title='Open a connection for each feed using websockets api - Alpaca Market Data - Alpaca Community Forum', description='I have around 12,000 symbols for which I want to get real-time quotes data using the Alpaca Websockets API. The problem is that I want to open a connection for each feed, but this isn’t possible with the upgraded plan. \nI…', url='https://forum.alpaca.markets/t/open-a-connection-for-each-feed-using-websockets-api/15038/2', language='en', keywords=None, robots=None, og_title='Open a connection for each feed using websockets api - Alpaca Market Data - Alpaca Community Forum', og_description='The problem is that I want to open a connection for each feed, but this isn’t possible with the upgraded plan. It should be possible. What exactly is the issue you’re facing?', og_url='https://forum.alpaca.markets/t/open-a-connection-for-each-feed-using-websockets-api/15038/2', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2024-10-10T08:48:43+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/open-a-connection-for-each-feed-using-websockets-api/15038/2', status_code=200, scrape_id='ca8f6d0c-b770-437a-a87e-685dc5438965', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main announcement is the publication of Alpaca Scala V3.0.0, which now supports V2 of the Alpaca API. Key changes include significant updates to the Streaming API, transitioning from NATS to websockets, and overall code improvements. Users have expressed excitement about the new version and its features. Related topics include updates on the Alpaca Java library and other integration applications.', metadata=DocumentMetadata(title='Alpaca Scala V3.0.0 is published - Alpaca Integration Applications - Alpaca Community Forum', description='Documentation is here: \n\n \nV3 of Alpaca Scala has just been published. \nV2 Alpaca API is now supported .Streaming API has changed pretty significantly (NATS to websockets). Overall code improvements.', url='https://forum.alpaca.markets/t/alpaca-scala-v3-0-0-is-published/132', language='en', keywords=None, robots=None, og_title='Alpaca Scala V3.0.0 is published - Alpaca Integration Applications - Alpaca Community Forum', og_description='Documentation is here: V3 of Alpaca Scala has just been published. V2 Alpaca API is now supported .Streaming API has changed pretty significantly (NATS to websockets). Overall code improvements.', og_url='https://forum.alpaca.markets/t/alpaca-scala-v3-0-0-is-published/132', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-05T22:28:30+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alpaca-scala-v3-0-0-is-published/132', status_code=200, scrape_id='57942ad1-20f8-4de8-b0fb-5961d703f563', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users and provides a platform for discussions and FAQs. A specific topic discussed is the issue of 'order_updates' not working in the streaming connection. A user shared their code for receiving trade execution updates but reported not receiving any updates. Another user suggested removing the '$' from the channel name in the code. Related topics include streaming order updates with Python, after-hours streaming API, client disconnects from trade updates, and account updates not triggering.", metadata=DocumentMetadata(title="Streaming connection 'order_updates' not working - Alpaca Integration Applications - Alpaca Community Forum", description='i have define the following code, but i don’t receive any trade execution updates, any suggestion \ndef run(): \n@conn.on(r’trade_update$’) \nasync def on_msg(conn, channel, data): \ndatasymbol = data.order[‘symbol’], \nevent…', url='https://forum.alpaca.markets/t/streaming-connection-order-updates-not-working/157', language='en', keywords=None, robots=None, og_title="Streaming connection 'order_updates' not working - Alpaca Integration Applications - Alpaca Community Forum", og_description='i have define the following code, but i don’t receive any trade execution updates, any suggestion def run(): @conn.on(r’trade_update$’) async def on_msg(conn, channel, data): datasymbol = data.order[‘symbol’], event = data.event print(‘Order executed for’,datasymbol, data.order[‘side’], event, data.order[‘filled_qty’]) conn.run([‘trade_updates’])', og_url='https://forum.alpaca.markets/t/streaming-connection-order-updates-not-working/157', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-13T15:49:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/streaming-connection-order-updates-not-working/157', status_code=200, scrape_id='180270dd-8ebc-4f97-af0b-26215e3567dc', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion thread addresses issues with adding to positions in paper trading, where a user reports problems with canceling orders and seeks advice on adding ticker symbols and quantities for testing. The thread has garnered 476 views. Related topics include issues with positions not loading, empty dashboards, and difficulties in closing positions through the paper trading interface or API.', metadata=DocumentMetadata(title='Is there a way to add to a position on papertrading - Alpaca Integration Applications - Alpaca Community Forum', description='So I run into problems on papertrading where I try to cancel orders and they get bugged. Does anyone know a way to add tickersymbol x and quantity x to your positions. This would help a lot with testing after hours. Tha…', url='https://forum.alpaca.markets/t/is-there-a-way-to-add-to-a-position-on-papertrading/652', language='en', keywords=None, robots=None, og_title='Is there a way to add to a position on papertrading - Alpaca Integration Applications - Alpaca Community Forum', og_description='So I run into problems on papertrading where I try to cancel orders and they get bugged. Does anyone know a way to add tickersymbol x and quantity x to your positions. This would help a lot with testing after hours. Thanks', og_url='https://forum.alpaca.markets/t/is-there-a-way-to-add-to-a-position-on-papertrading/652', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-14T00:55:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/is-there-a-way-to-add-to-a-position-on-papertrading/652', status_code=200, scrape_id='e83ace7f-4cea-4341-9054-a1337b5c39a0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum provides assistance for users, including FAQs and discussions. A key topic is how to find the 'secret_key' for API access. Users can only see the API Key ID in their paper trading account. To obtain the secret key, users must log in, navigate to their paper trading view, and click the view button next to their keys. The secret key is displayed only once when generating or regenerating the API key and must be copied immediately, as it won't be available later. If lost, users need to regenerate the keys. Related topics include issues with finding the secret key and obtaining API credentials.", metadata=DocumentMetadata(title='How to find Secret Key - Alpaca Account Troubleshooting - Alpaca Community Forum', description='In my paper trading account I can only see API Key ID. How should I get ‘secret_key’? \nThanks', url='https://forum.alpaca.markets/t/how-to-find-secret-key/655', language='en', keywords=None, robots=None, og_title='How to find Secret Key - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='In my paper trading account I can only see API Key ID. How should I get ‘secret_key’? Thanks', og_url='https://forum.alpaca.markets/t/how-to-find-secret-key/655', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-14T17:24:00+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-find-secret-key/655', status_code=200, scrape_id='4fea82f7-30f9-4d63-a982-aa2834e9be9a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to stock splits and exiting positions. A user, Dukeajuke, reports that after a stock split, their account still shows the original share amount, preventing them from exiting the position. Other users suggest contacting Alpaca support for assistance. The thread has garnered 626 views, indicating interest in the topic. Related discussions include similar issues with other stocks and splits, highlighting a recurring problem among users.', metadata=DocumentMetadata(title="Positions that split - can't exit position - Alpaca Products Discussion - Alpaca Community Forum", description='I have a position that recently went through a stock split (the day before) however Alpaca still shows the original share amount and it will not let me exit my position. Does anyone know if this is normal behavior for Al…', url='https://forum.alpaca.markets/t/positions-that-split-cant-exit-position/719', language='en', keywords=None, robots=None, og_title="Positions that split - can't exit position - Alpaca Products Discussion - Alpaca Community Forum", og_description='I have a position that recently went through a stock split (the day before) however Alpaca still shows the original share amount and it will not let me exit my position. Does anyone know if this is normal behavior for Alpaca?', og_url='https://forum.alpaca.markets/t/positions-that-split-cant-exit-position/719', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-31T21:02:08+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/positions-that-split-cant-exit-position/719', status_code=200, scrape_id='35b02aeb-62d6-4b69-a3dd-c978c9f2f60b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The page features a discussion titled 'Sample Python Code for Streaming Data,' which has garnered 3.3k views. Users inquire about sample Python codes for streaming market data, with one user finding useful code in the alpaca-trade-api-python package. Another user requests a tutorial for beginners on obtaining quote prices for a list of symbols. Related topics include monitoring streams, market data streaming help, and getting live data.", metadata=DocumentMetadata(title='Sample Python Code for Streaming Data - Alpaca Market Data - Alpaca Community Forum', description='Is there a place where I can find functioning, sample Python codes for streaming market data? \nThanks.', url='https://forum.alpaca.markets/t/sample-python-code-for-streaming-data/422', language='en', keywords=None, robots=None, og_title='Sample Python Code for Streaming Data - Alpaca Market Data - Alpaca Community Forum', og_description='Is there a place where I can find functioning, sample Python codes for streaming market data? Thanks.', og_url='https://forum.alpaca.markets/t/sample-python-code-for-streaming-data/422', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-06T05:04:08+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/sample-python-code-for-streaming-data/422', status_code=200, scrape_id='250c8b64-af01-4f58-a2d5-cc4ad53e47a3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A forum post discusses a RuntimeError encountered when using the Zipline API, specifically regarding the methods `schedule_function()` and `attach_pipeline()`, which are not being allowed during execution. The user seeks assistance in resolving these issues and inquires about documentation on the constraints. The provided code snippet outlines a moving average crossover strategy using a pipeline, but errors occur when attempting to run it. The post has garnered attention, with related topics listed for further exploration.', metadata=DocumentMetadata(title='RuntimeError: zipline api method schedule_function must be called during a simulation - Alpaca Integration Applications - Alpaca Community Forum', description='Hi, \nPlease suggest what is wrong in this program ? The calls schedule_function() and attach_pipeline() are not being allowed and exceptions are are occuring. How do I get to call these functions ? Are there any place th…', url='https://forum.alpaca.markets/t/runtimeerror-zipline-api-method-schedule-function-must-be-called-during-a-simulation/703', language='en', keywords=None, robots=None, og_title='RuntimeError: zipline api method schedule_function must be called during a simulation - Alpaca Integration Applications - Alpaca Community Forum', og_description="Hi, Please suggest what is wrong in this program ? The calls schedule_function() and attach_pipeline() are not being allowed and exceptions are are occuring. How do I get to call these functions ? Are there any place these constraints are documented ? pylivetrader run smapipeline.py gives these errors. If schedule_function is commented out, the error will be with attach_pipeline() Appreciate your help. Thanks, T.Fg ''' smapipeline.py This is a sample moving average crossover str...", og_url='https://forum.alpaca.markets/t/runtimeerror-zipline-api-method-schedule-function-must-be-called-during-a-simulation/703', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-28T16:28:53+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/runtimeerror-zipline-api-method-schedule-function-must-be-called-during-a-simulation/703', status_code=200, scrape_id='84e20dee-c36b-4441-8738-e9dca9344c9d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A forum discussion titled "Anyone using Matlab with API V2?" addresses issues related to using Matlab for Alpaca\'s API. A user seeks help on sending headers in Matlab, specifically for authentication with the Alpaca API. The conversation includes various responses, with one user providing a solution for authentication using Matlab 2019b. The forum also features related topics on Alpaca integration and troubleshooting.', metadata=DocumentMetadata(title='Anyone using Matlab with API V2? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nLanguage \nMatlab. \nAlpaca SDK Version \nI am not using an SDK, just the API V2 over http. \nOther Environment Details \nI am running Matlab 2019b. \nProblem\nSummary \nThere are curl examples using headers to pass …', url='https://forum.alpaca.markets/t/anyone-using-matlab-with-api-v2/587', language='en', keywords=None, robots=None, og_title='Anyone using Matlab with API V2? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description="Environment Language Matlab. Alpaca SDK Version I am not using an SDK, just the API V2 over http. Other Environment Details I am running Matlab 2019b. Problem Summary There are curl examples using headers to pass keys. I am looking for a way to do the same thing in matlab with the Header Field Class and Field Package. Paper or Live Tradng? I am using Paper trader. Example Code H = matlab.net.http.HeaderField('Test-Name','media-type; APCA-API-KEY-ID=; APCA-API-SECRET-KEY=')", og_url='https://forum.alpaca.markets/t/anyone-using-matlab-with-api-v2/587', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-29T02:51:19+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/anyone-using-matlab-with-api-v2/587', status_code=200, scrape_id='c47c3fd1-6cfd-49d3-9560-fe188f4b47fd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to incorrect historical data of stock split ratios. A user reported systemic bugs where split ratios were incorrectly recorded, particularly in cases involving spin-offs. The report includes a CSV list of specific stocks with noted discrepancies, such as APD, CAG, and GE, among others. Alpaca's representative acknowledged the issues and provided corrections for several stocks, adjusting the split ratios and addressing missing data. The forum encourages users to report similar issues and offers a platform for discussions and FAQs.", metadata=DocumentMetadata(title='Incorrect historical data of stock split ratios - Alpaca Market Data - Alpaca Community Forum', description='symbol,comments\nAPD,"Falsely use the number of shares of spin-off as split ratio on 2016-10-03. The adjustment factor should be 1.081"\nCAG,"Falsely use the number of shares of spin-off as split ratio on 2016-11-10. The a…', url='https://forum.alpaca.markets/t/incorrect-historical-data-of-stock-split-ratios/17839', language='en', keywords=None, robots=None, og_title='Incorrect historical data of stock split ratios - Alpaca Market Data - Alpaca Community Forum', og_description='symbol,comments APD,"Falsely use the number of shares of spin-off as split ratio on 2016-10-03. The adjustment factor should be 1.081" CAG,"Falsely use the number of shares of spin-off as split ratio on 2016-11-10. The adjustment factor should be 1.285" DD,"Missing split on 2019-04-02 with split ratio 1.487" DELL,"Missing split on 2018-12-28 with split ratio 1.806" DHR,"Falsely use the number of shares of spin-off as split ratio on 2016-07-05. The adjustment factor should be 1.319" DXC,"Falsely ...', og_url='https://forum.alpaca.markets/t/incorrect-historical-data-of-stock-split-ratios/17839', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-09-20T13:43:39+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/incorrect-historical-data-of-stock-split-ratios/17839', status_code=200, scrape_id='8fe213a4-923f-4615-8c7d-97e290a8a456', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. A forum post titled "I want to help Noobs!" features Josh Cogburn, a software developer with experience in Alpaca\'s API, offering assistance to beginners. He shares his journey from being an amateur to gaining confidence and knowledge through trial and error. Josh has started a YouTube channel, CodeLabs, focused on Alpaca, Machine Learning, and Algorithmic Trading, and invites suggestions for content. The forum includes discussions where users seek help with coding and setting up their trading algorithms, with Josh providing guidance and resources.', metadata=DocumentMetadata(title='I want to help Noobs! - Alpaca Trading / Tutorials - Alpaca Community Forum', description='I would like to offer help in any way I can. \nHello everybody, I’m Josh Cogburn & I’ve been working with Alpaca’s API & other projects since 2018. I’m no expert by any means, but I have been around for a while. \nAbout Me…', url='https://forum.alpaca.markets/t/i-want-to-help-noobs/55', language='en', keywords=None, robots=None, og_title='I want to help Noobs! - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='I would like to offer help in any way I can. Hello everybody, I’m Josh Cogburn & I’ve been working with Alpaca’s API & other projects since 2018. I’m no expert by any means, but I have been around for a while. About Me: I’m a software developer with over 7+ year’s of experience with many different languages & projects. At my current employer I work on a web based claim management system for an independent insurance adjustment company. Over the year’s I’ve had the opportunity of working with v...', og_url='https://forum.alpaca.markets/t/i-want-to-help-noobs/55', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-26T18:54:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/i-want-to-help-noobs/55', status_code=200, scrape_id='85278bbb-b208-41d5-a0b9-c4d79cf1730c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to insufficient quantity available for orders. Users report problems when placing orders through the REST API, particularly receiving errors about insufficient quantity even after a position is filled. Key points include: 1) Users like Jeff Wang experience delays when placing limit orders immediately after a fill, needing to wait several seconds to avoid errors. 2) Other users, such as karuu6 and mitchfone, also face similar issues and seek solutions. 3) A suggestion from karuu6 indicates that cancelling old sell orders may resolve the problem. The forum has garnered 2.9k views, indicating significant interest in the topic.', metadata=DocumentMetadata(title='Insufficient qty available for order - Alpaca Account Troubleshooting - Alpaca Community Forum', description='I am currently using the REST call to make an order, and then monitoring the stream to see if an order is fulfilled. When I get the order stream event “filled” I place a limit order, but this has to wait several secon…', url='https://forum.alpaca.markets/t/insufficient-qty-available-for-order/479', language='en', keywords=None, robots=None, og_title='Insufficient qty available for order - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='I am currently using the REST call to make an order, and then monitoring the stream to see if an order is fulfilled. When I get the order stream event “filled” I place a limit order, but this has to wait several seconds. If I do it immediately, it fails with "insufficient qty available for order (requested: 500, available: 0) " despite the filled event having a position_qty of 500. If I wait for several seconds, it works fine. How long should I wait? I’d like to get the lag as low as poss...', og_url='https://forum.alpaca.markets/t/insufficient-qty-available-for-order/479', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-23T00:55:40+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/insufficient-qty-available-for-order/479', status_code=200, scrape_id='71bece58-f24f-4faf-85aa-d1dba6a8a0e4', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. The forum provides a discussion on how to properly use the REST API, with a focus on finding documentation for input parameters for API functions. A user named Erik inquires about the documentation for the 'submit_order' function, specifically regarding accepted input parameters. Another user, alpaca_nancy, responds by directing Erik to the API documentation. Related topics include discussions on order parameters, API documentation, and troubleshooting API usage.", metadata=DocumentMetadata(title='How to use the REST API properly? - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='Hello fellow Alpacas, \nI am 100% new here but looking to stay for a long long time! \nhave a question, I downloaded the alpaca_trade_api (python) and am cruising through the defined functions but I cant find any documenta…', url='https://forum.alpaca.markets/t/how-to-use-the-rest-api-properly/286', language='en', keywords=None, robots=None, og_title='How to use the REST API properly? - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='Hello fellow Alpacas, I am 100% new here but looking to stay for a long long time! have a question, I downloaded the alpaca_trade_api (python) and am cruising through the defined functions but I cant find any documentation about input parameters for the REST API service. For example, below is the default submit order from the documentation example, where can I find the list of accepted input parameters for all arguments for all functions? api.submit_order( symbol=‘AMD’, qty=1, side=‘sell’...', og_url='https://forum.alpaca.markets/t/how-to-use-the-rest-api-properly/286', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-18T22:15:11+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-use-the-rest-api-properly/286', status_code=200, scrape_id='c540e159-bfc7-4a2d-a98b-57c7b84ac6e7', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum discussion addresses the issue of connecting to the websocket, specifically encountering a 'close, 1006' error when trying to access order updates using the faye-websocket-ruby gem. The user initially struggles with the correct endpoint but later resolves the issue by identifying the wrong endpoint and noting the need for the MessagePack gem to unpack messages. Another user shares a similar problem with websocket disconnections while deploying a bot on cloud platforms. Related topics include various websocket connection issues and troubleshooting.", metadata=DocumentMetadata(title='Connecting to the websocket - 1006 error - Alpaca Integration Applications - Alpaca Community Forum', description='I’m trying to connect to the websocket to get access to order updates. I’m using the faye-websocket-ruby gem and the code seems pretty straightforward. When I run the code I immediately get a “close, 1006” message. \nI’…', url='https://forum.alpaca.markets/t/connecting-to-the-websocket-1006-error/590', language='en', keywords=None, robots=None, og_title='Connecting to the websocket - 1006 error - Alpaca Integration Applications - Alpaca Community Forum', og_description='I’m trying to connect to the websocket to get access to order updates. I’m using the faye-websocket-ruby gem and the code seems pretty straightforward. When I run the code I immediately get a “close, 1006” message. I’ve tried sending the authentication JSON after the connection opens, but I don’t think it’s even getting past ws = Faye::WebSocket::Client.new(‘https://paper-api.alpaca.markets/stream’) Do I have the correct endpoint? Anyone else struggling with the same thing? def listen ...', og_url='https://forum.alpaca.markets/t/connecting-to-the-websocket-1006-error/590', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-29T21:29:28+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/connecting-to-the-websocket-1006-error/590', status_code=200, scrape_id='d38ff3a4-5d31-46b6-84fd-a2e14222cc21', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses significant delays in market streaming data for both live and paper trading accounts. Users report delays ranging from 20 minutes to over 2 hours, causing frustration and concerns about trading reliability. Some users speculate whether the delays are intentional for non-funded accounts. The issue has persisted for several months, with users seeking official communication from Alpaca regarding the problem. Related topics include similar experiences with streaming delays and questions about data reliability.', metadata=DocumentMetadata(title='Significant delay in market streaming data ( live + paper ) - Alpaca Market Data - Alpaca Community Forum', description='I am talking about a delay of more than an hour. \nI’ve tried authenticating web-socket with both live keys and paper trading keys and I do get authorized in both cases, I get the streams as well and while the stream freq…', url='https://forum.alpaca.markets/t/significant-delay-in-market-streaming-data-live-paper/2449', language='en', keywords=None, robots=None, og_title='Significant delay in market streaming data ( live + paper ) - Alpaca Market Data - Alpaca Community Forum', og_description='I am talking about a delay of more than an hour. I’ve tried authenticating web-socket with both live keys and paper trading keys and I do get authorized in both cases, I get the streams as well and while the stream frequency seems solid, the delay is extravagant. I wonder if this is on purpose for non-funded accounts. For what its worth, I’ve come back to alpaca after a long time when I had initially opened the account but did not fund it because of integration issues between my bank and alpa...', og_url='https://forum.alpaca.markets/t/significant-delay-in-market-streaming-data-live-paper/2449', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-08-27T16:59:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/significant-delay-in-market-streaming-data-live-paper/2449', status_code=200, scrape_id='3bd1c47a-aafa-4730-84c3-e1ee93c702c3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses the issue of canceling orders after market hours. Users express frustration over being unable to cancel new orders created during after-hours trading, which complicates testing and algorithm modifications. Several users report similar problems, indicating that pending cancel orders prevent them from closing positions. The forum includes various related topics and discussions, highlighting ongoing concerns about order management in the Alpaca trading platform.', metadata=DocumentMetadata(title='Allow cancellation of orders after hours - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='I’d like to be able to set up my orders before the market opens. \nMy situation is that I’m testing/modifying my algorithm using a paper account after hours. If I create any orders, which then have a status of new, I am u…', url='https://forum.alpaca.markets/t/allow-cancellation-of-orders-after-hours/435', language='en', keywords=None, robots=None, og_title='Allow cancellation of orders after hours - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='I’d like to be able to set up my orders before the market opens. My situation is that I’m testing/modifying my algorithm using a paper account after hours. If I create any orders, which then have a status of new, I am unable to delete/cancel them until the market opens. I’m not sure if the problem also affects open orders created from the previous day. Thanks for all your hard work everyone at Alpaca!', og_url='https://forum.alpaca.markets/t/allow-cancellation-of-orders-after-hours/435', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-08T08:08:40+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/allow-cancellation-of-orders-after-hours/435', status_code=200, scrape_id='a417f07d-b97a-4f8e-ac31-47e69a119f4b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses the timing of Polygon bar streaming, specifically how minute bars are generated 4 seconds after the minute (e.g., the bar for 09:30 is available at 09:31:04). This is important for users to understand when backtesting and placing orders. The forum includes code examples for subscribing to real-time minute bar updates using Python and addresses user questions about streaming tickers and connecting to the Polygon API. Key points include the need for a ticker subscription at connection and methods for subscribing to additional symbols after the initial connection.', metadata=DocumentMetadata(title='Polygon bar streaming timing - Alpaca Trading / Tutorials - Alpaca Community Forum', description='Happy Saturday everyone! \nI just thought to share this today for a quick tips. Do you know when a minute bar is generate? The answer is below. \nAs you know, you can subscribe to the real time minute bars update from Poly…', url='https://forum.alpaca.markets/t/polygon-bar-streaming-timing/343', language='en', keywords=None, robots=None, og_title='Polygon bar streaming timing - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description="Happy Saturday everyone! I just thought to share this today for a quick tips. Do you know when a minute bar is generate? The answer is below. As you know, you can subscribe to the real time minute bars update from Polygon if you have access. In python this is like: def main(): stream = alpaca.StreamConn() @stream.on(r'^AM') async def on_bars(conn, channel, data): print(f'received bar {data}') stream.run(['AM.SPY']) Polygon generates each minute bar 4 seconds after th...", og_url='https://forum.alpaca.markets/t/polygon-bar-streaming-timing/343', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-05T17:17:15+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/polygon-bar-streaming-timing/343', status_code=200, scrape_id='9379c5fa-8512-4169-9e95-61a196a5c958', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users interested in trading and programming. A key topic discussed is the availability of a Java API for Alpaca, which can be found on GitHub. Users can also backtest strategies using Polygon Data through a project linked in the forum. The community encourages contributions and discussions around programming in Java, highlighting its advantages over Python and Ruby. Related topics include user impressions, integration applications, and backtesting with Alpaca's native API.", metadata=DocumentMetadata(title='A Java API for Alpaca - Alpaca Integration Applications - Alpaca Community Forum', description='For all those who love to program in Java and want a Java API for Alpaca, look no further! You can find it here: https://github.com/mainstringargs/alpaca-java. \nIf you want to backtest your strategies in Java using Polyg…', url='https://forum.alpaca.markets/t/a-java-api-for-alpaca/44', language='en', keywords=None, robots=None, og_title='A Java API for Alpaca - Alpaca Integration Applications - Alpaca Community Forum', og_description='For all those who love to program in Java and want a Java API for Alpaca, look no further! You can find it here: https://github.com/mainstringargs/alpaca-java. If you want to backtest your strategies in Java using Polygon Data, I’m currently working on a project available here: https://github.com/Petersoj/AlpacaJavaBacktest. Feel free to contribute! I’m am also currently working on a momentum based strategy for the Alpaca Java API. First post 😇', og_url='https://forum.alpaca.markets/t/a-java-api-for-alpaca/44', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-26T18:03:13+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/a-java-api-for-alpaca/44', status_code=200, scrape_id='f66a11ba-3f1b-44fd-b9e8-189f87193fa0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users and offers support for troubleshooting API issues. A user named Benja encountered a problem with the `api.get_account()` command in Python, receiving a 404 error due to an incorrect URL format. Another user, Hitoshi, advised removing the trailing slash from the endpoint, which resolved the issue. The current API version is v2, and users are encouraged to refer to the documentation to avoid confusion. Related topics include various API errors and troubleshooting discussions.', metadata=DocumentMetadata(title='Just getting started, problem with api.get_account - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nCoding in Python3, Google Colab, Chrome browser \nHey all, as indicated in the title, I’m just getting started and a relative noob. I followed the Google Colab template with the following code: \nimport alpaca_…', url='https://forum.alpaca.markets/t/just-getting-started-problem-with-api-get-account/221', language='en', keywords=None, robots=None, og_title='Just getting started, problem with api.get_account - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment Coding in Python3, Google Colab, Chrome browser Hey all, as indicated in the title, I’m just getting started and a relative noob. I followed the Google Colab template with the following code: import alpaca_trade_api as alpaca api = alpaca.REST(‘API_KEY_ID’, ‘API_SECRET_KEY’, ‘https://api.alpaca.markets/’) api.get_account() BUT, when I run the code, I get the following error message: HTTPError Traceback (most recent call last) in () ----> 1 api...', og_url='https://forum.alpaca.markets/t/just-getting-started-problem-with-api-get-account/221', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-02T14:31:52+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/just-getting-started-problem-with-api-get-account/221', status_code=200, scrape_id='f62c4ae4-f483-4354-a966-48c02983c1ce', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled "Can’t install API 0.38" highlights issues with installing various versions of the Alpaca trading API, particularly version 0.38. Users report problems with installation commands that previously worked for version 0.32. Suggestions include checking Python versions, as the API requires Python 3.6 or higher due to dependencies on async/await and websockets. The thread features multiple user interactions, with some users confirming they are using the latest Python versions and others seeking further assistance.', metadata=DocumentMetadata(title="Can't install API 0.38 - Alpaca Account Troubleshooting - Alpaca Community Forum", description='Trying to run pip install alpaca-trade-api==0.38. \nIt does not work for .33,.34,.35,.36,.37 either \nThe same command did work for .32 though.', url='https://forum.alpaca.markets/t/cant-install-api-0-38/244', language='en', keywords=None, robots=None, og_title="Can't install API 0.38 - Alpaca Account Troubleshooting - Alpaca Community Forum", og_description='Trying to run pip install alpaca-trade-api==0.38. It does not work for .33,.34,.35,.36,.37 either The same command did work for .32 though.', og_url='https://forum.alpaca.markets/t/cant-install-api-0-38/244', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/828ec0b732304118891f3bfdfe2ff2cd412333d6_2_1024x135.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-07T21:57:55+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/cant-install-api-0-38/244', status_code=200, scrape_id='d8e044f4-49f1-4fde-9151-f4d5d8961918', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum provides a space for FAQs, idea sharing, and discussions. A specific topic discussed is the pagination of activities, where a user inquires about retrieving more than 100 results. Related topics include issues with historical orders, exporting trading activity, API V2 launch date, and account activities being truncated at 100. The forum encourages user engagement and offers various resources for troubleshooting and integration.', metadata=DocumentMetadata(title='Get_actvities pagination - Alpaca Account Troubleshooting - Alpaca Community Forum', description='How do I get more than 100 results?', url='https://forum.alpaca.markets/t/get-actvities-pagination/496', language='en', keywords=None, robots=None, og_title='Get_actvities pagination - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='How do I get more than 100 results?', og_url='https://forum.alpaca.markets/t/get-actvities-pagination/496', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-27T23:58:39+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/get-actvities-pagination/496', status_code=200, scrape_id='8d3d2e39-3931-48b1-8cd6-f6b2e2f88559', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses real-time data hours for trading. A user, ben_pcc, inquires about accessing extended hours data beyond the standard 9:30 AM to 4:00 PM ET, noting that they can trade outside these hours. Dan_Whitnable_Alpaca responds, explaining that the limitation is due to the free Basic data plan, which only streams data from the IEX exchange, operational from 8:00 AM to 5:00 PM ET. To access full market data with extended hours, users must subscribe to a paid data plan. The conversation highlights the importance of understanding data limitations for effective trading.', metadata=DocumentMetadata(title='Real time data hours - Alpaca Integration Applications - Alpaca Community Forum', description='Hi Alpaca!! Hoping to get help on a little something - I’m pulling real time data like this: \nfrom alpaca.data.live import StockDataStream\n\nwss_client = StockDataStream(...)\n\nasync def quote_data_handler(data):\n print…', url='https://forum.alpaca.markets/t/real-time-data-hours/14977', language='en', keywords=None, robots=None, og_title='Real time data hours - Alpaca Integration Applications - Alpaca Community Forum', og_description='Hi Alpaca!! Hoping to get help on a little something - I’m pulling real time data like this: from alpaca.data.live import StockDataStream wss_client = StockDataStream(...) async def quote_data_handler(data): print(data) wss_client.subscribe_bars(quote_data_handler, "AMD") wss_client.run() And it works, but hours seem to be limited to 9:30 - 16:00 New York time. Looks like Alpaca is supposed to work outside of that: 8:00 - end of day GMT. How do I get extended hours data? Is this a limi...', og_url='https://forum.alpaca.markets/t/real-time-data-hours/14977', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2024-09-10T22:33:51+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/real-time-data-hours/14977', status_code=200, scrape_id='ba140495-a5cd-4f6f-afd3-02c4d05a9eb4', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to short selling, particularly an error encountered when attempting to submit a SELL order using the CSharp API. A user reported receiving an 'insufficient qty for order' error when trying to sell a stock, despite successfully placing BUY orders. Other users suggested checking for open orders and positions that might conflict with the sell order. The forum also includes related topics addressing similar issues with insufficient quantity errors and order cancellations.", metadata=DocumentMetadata(title='Short Selling not working - Alpaca Integration Applications - Alpaca Community Forum', description='I am using the CSharp API and am trying to submit a SELL order and I keep getting the error: “***insufficient qty for order (requested 1, available 0 )***”. When I do a BUY order - using similar code - it WORKS. So I am …', url='https://forum.alpaca.markets/t/short-selling-not-working/352', language='en', keywords=None, robots=None, og_title='Short Selling not working - Alpaca Integration Applications - Alpaca Community Forum', og_description='I am using the CSharp API and am trying to submit a SELL order and I keep getting the error: “***insufficient qty for order (requested 1, available 0 )***”. When I do a BUY order - using similar code - it WORKS. So I am unclear what I am doing wrong at this point…Below is the code…Any help would be appreciated… using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks;...', og_url='https://forum.alpaca.markets/t/short-selling-not-working/352', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-07T23:06:39+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/short-selling-not-working/352', status_code=200, scrape_id='6287e3b1-4f45-4178-a3d3-778d1f3a562a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A specific discussion thread addresses the issue of trades not appearing in a user's paper trading account despite successful execution through the API. The user, identified as Dukeajuke, is using C# for their trading program and seeks assistance in troubleshooting the problem. The page also includes links to related topics concerning paper trading issues, providing a resource for users facing similar challenges.", metadata=DocumentMetadata(title='Trades not showing up in paper trading account - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nC# \nLet us know what language you’re writing your code in. Please include the version number you’re running, if possible. \n2 \nIf you’re using an SDK library to interface with the Alpaca API, please include th…', url='https://forum.alpaca.markets/t/trades-not-showing-up-in-paper-trading-account/539', language='en', keywords=None, robots=None, og_title='Trades not showing up in paper trading account - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment C# Let us know what language you’re writing your code in. Please include the version number you’re running, if possible. 2 If you’re using an SDK library to interface with the Alpaca API, please include the version number you have installed in your environment. I’ve recently created a test trading program in C#, and it appears to be making trade OK through the API (Paper trading account). However when I look at my paper trading account through the website, I’m not seeing any trad...', og_url='https://forum.alpaca.markets/t/trades-not-showing-up-in-paper-trading-account/539', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-16T18:00:46+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/trades-not-showing-up-in-paper-trading-account/539', status_code=200, scrape_id='2a48c230-9e7a-47a5-aa6f-23ba9aa900b8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses an issue regarding discrepancies between account fund information displayed on the website and that retrieved via API calls. A user reported that their API call showed outdated values for account equity, buying power, and cash compared to the website. The user provided specific figures for both the website and API, highlighting the differences. Another user mentioned a potential outage affecting data updates, which could explain the discrepancies. The conversation also touched on the need for a system to check API status to prevent operations during outages. Overall, the discussion emphasizes the importance of timely data synchronization between the website and API for effective trading.', metadata=DocumentMetadata(title='Account Equity, Buying Power, Cash not matching website vs API call - Alpaca Trading - Alpaca Community Forum', description='Hi All, \nI have an API call to check account fund information for the Account Equity, Buying Power, and Cash. For the last 20+ minutes, though this information has changed, the information has been stale in my program a…', url='https://forum.alpaca.markets/t/account-equity-buying-power-cash-not-matching-website-vs-api-call/10144', language='en', keywords=None, robots=None, og_title='Account Equity, Buying Power, Cash not matching website vs API call - Alpaca Trading - Alpaca Community Forum', og_description='Hi All, I have an API call to check account fund information for the Account Equity, Buying Power, and Cash. For the last 20+ minutes, though this information has changed, the information has been stale in my program and is not reflecting most recent balance account information that is displayed on the website. This is currently using a Paper Trading Account: Website says: Equity: $3007.94 Buying Power: $3,844.71 Cash: 836.77 API Call says: Equity: $3001.77 Buying Power: $3902.38 Cash...', og_url='https://forum.alpaca.markets/t/account-equity-buying-power-cash-not-matching-website-vs-api-call/10144', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-07-28T19:42:15+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/account-equity-buying-power-cash-not-matching-website-vs-api-call/10144', status_code=200, scrape_id='476dd589-ba87-4017-8db2-4eac26a66914', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The page discusses issues related to Polygon snapshots, where users report problems with receiving zero values for volume and percent change, rendering the snapshots ineffective. A user suggests that these issues may be due to ongoing maintenance and recommends using the Slack #polygon channel for inquiries. Additionally, related topics include discussions on missing ticker methods in the Alpaca Python API, minute snapshots for all tickers, and other market data queries.', metadata=DocumentMetadata(title='Polygon Snapshots - Alpaca Market Data - Alpaca Community Forum', description='Does anyone else have issues with Polygon snapshots? Most of the time things like volume or percent change come back as 0, which makes the snapshot useless for me…', url='https://forum.alpaca.markets/t/polygon-snapshots/404', language='en', keywords=None, robots=None, og_title='Polygon Snapshots - Alpaca Market Data - Alpaca Community Forum', og_description='Does anyone else have issues with Polygon snapshots? Most of the time things like volume or percent change come back as 0, which makes the snapshot useless for me…', og_url='https://forum.alpaca.markets/t/polygon-snapshots/404', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-29T18:18:44+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/polygon-snapshots/404', status_code=200, scrape_id='992f9988-4001-4e3b-a609-d0deb25ee0dd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses an API question regarding the automatic adjustment of stop orders. A user inquires about the absence of features for automatic stop adjustments via the API. Other users contribute by explaining that bracket orders and trailing stops are not yet implemented but have been requested. A beta program for trailing stops is announced, inviting users to participate. The forum also includes related topics on trailing stops and trading features.', metadata=DocumentMetadata(title='API question on stop setting and stop surveying - Alpaca Integration Applications - Alpaca Community Forum', description='Hi, \nI glanced through the API but didn’t see anything about automatic adjustment of stops via the API. \nThoughts? \nStuart', url='https://forum.alpaca.markets/t/api-question-on-stop-setting-and-stop-surveying/516', language='en', keywords=None, robots=None, og_title='API question on stop setting and stop surveying - Alpaca Integration Applications - Alpaca Community Forum', og_description='Hi, I glanced through the API but didn’t see anything about automatic adjustment of stops via the API. Thoughts? Stuart', og_url='https://forum.alpaca.markets/t/api-question-on-stop-setting-and-stop-surveying/516', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-07T18:04:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/api-question-on-stop-setting-and-stop-surveying/516', status_code=200, scrape_id='ee1813be-b275-4d7f-b4c2-3ef3ed2469de', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main topic discussed is the application of a Martingale betting strategy to day trading using the Alpaca Trading API. The post explains the Martingale system, its historical context, and its theoretical application in trading, particularly with the S&P 500. A sample Python implementation is provided, along with an overview of how to use the Alpaca API for placing orders and tracking trades. The article also discusses potential improvements to the strategy, such as adjusting tick intervals and exploring different trading securities. Users are encouraged to share their experiences and improvements in the comments.', metadata=DocumentMetadata(title='Martingale Day-Trading with the Alpaca Trading API - Alpaca Integration Applications - Alpaca Community Forum', description='This post talks about applying a theoretical betting strategy to a day-trading algorithm’s position sizing. A sample Python implementation is provided. You can read about the logic below and let me walk you through the c…', url='https://forum.alpaca.markets/t/martingale-day-trading-with-the-alpaca-trading-api/142', language='en', keywords=None, robots=None, og_title='Martingale Day-Trading with the Alpaca Trading API - Alpaca Integration Applications - Alpaca Community Forum', og_description='This post talks about applying a theoretical betting strategy to a day-trading algorithm’s position sizing. A sample Python implementation is provided. You can read about the logic below and let me walk you through the code, or if you’re already familiar with using the Alpaca trading API, you can jump right in to the code on GitHub here ! Photo by Amanda Jones on Unsplash What’s a Martingale System? People have been trying to come up with “winning strategies” in games of chance for a long,...', og_url='https://forum.alpaca.markets/t/martingale-day-trading-with-the-alpaca-trading-api/142', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/7d01fc5bdf216e86fa5eb22879365d09aa5b8f2f.jpeg', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-08T22:44:56+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/martingale-day-trading-with-the-alpaca-trading-api/142', status_code=200, scrape_id='c38df444-878c-4b66-a78d-fd6d5fc3f958', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses an issue with the alpaca-backtrader-api where users encounter threading errors when running sample code. A user named harsh_upreti reports an error related to the absence of a current event loop in specific threads while using the API. Chris_Jones suggests a workaround by modifying the stream2.py file to create a new event loop. Harsh_upreti confirms that this solution works and raises concerns about a potential bug in the alpaca_trade_api that may affect other users. The forum also includes links to related topics and troubleshooting discussions.', metadata=DocumentMetadata(title='Alpaca-backtrader-api gives threading error on running sample code - Alpaca Integration Applications - Alpaca Community Forum', description='Thanks for providing support for backtrader in Alpaca! I am trying to use the alpaca-backtrader-api but running into issues- \nI am trying to run the example (in live) as mentioned in the blog post - https://medium.com/a…', url='https://forum.alpaca.markets/t/alpaca-backtrader-api-gives-threading-error-on-running-sample-code/528', language='en', keywords=None, robots=None, og_title='Alpaca-backtrader-api gives threading error on running sample code - Alpaca Integration Applications - Alpaca Community Forum', og_description='Thanks for providing support for backtrader in Alpaca! I am trying to use the alpaca-backtrader-api but running into issues- I am trying to run the example (in live) as mentioned in the blog post - https://medium.com/automation-generation/introducing-alpaca-backtrader-integration-898d8cabffdc But I am getting this error: Exception in thread Thread-2: Traceback (most recent call last): File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py",...', og_url='https://forum.alpaca.markets/t/alpaca-backtrader-api-gives-threading-error-on-running-sample-code/528', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-13T21:00:05+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alpaca-backtrader-api-gives-threading-error-on-running-sample-code/528', status_code=200, scrape_id='8168231d-7bdc-491d-aeba-8052112a125f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum provides support for users, including FAQs and discussions. A specific thread titled 'Not able to access pylivetrader' discusses a user's issue with installing the pylivetrader module after creating an Alpaca account. The user reports receiving an error message despite following installation steps. Other users offer assistance, suggesting checking the installation with 'pip list' and considering version compatibility with Anaconda. Related topics include installation issues and errors with pylivetrader.", metadata=DocumentMetadata(title='Not able to access pylivetrader - Alpaca Trading / Tutorials - Alpaca Community Forum', description='Hi there, \nwas reading this article https://medium.com/automation-generation/teaching-your-computer-to-invest-with-python-commission-free-automated-investing-5ade10961e08 and trying to replicate the step by step process.…', url='https://forum.alpaca.markets/t/not-able-to-access-pylivetrader/218', language='en', keywords=None, robots=None, og_title='Not able to access pylivetrader - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='Hi there, was reading this article https://medium.com/automation-generation/teaching-your-computer-to-invest-with-python-commission-free-automated-investing-5ade10961e08 and trying to replicate the step by step process. I signup and created and account on Alpaca and got my security keys, still when trying to run the code in terminal I keep getting an error message “No module named ‘pylivetrader’” event though I installed with pip install pylivetrader. Am I missing a step here by any chance? Th...', og_url='https://forum.alpaca.markets/t/not-able-to-access-pylivetrader/218', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-01T22:22:03+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/not-able-to-access-pylivetrader/218', status_code=200, scrape_id='8a2586fb-c198-4f63-92d9-1e75ce300a7e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses best practices for subscribing to a large number of symbols (around 6,000) in the trades stream via WebSocket. A user seeks advice on whether to use server-side filtering (specifying symbols) or client-side filtering (using a wildcard). Key points include: 1) Both methods have similar performance with no significant overhead on Alpaca's servers. 2) It's recommended to subscribe only to necessary symbols to avoid processing delays. 3) Users should monitor message processing speed to prevent data loss. 4) A sample Python code is provided for measuring latency and ensuring timely processing of messages. 5) Users are encouraged to synchronize their local clocks with NIST time for accurate timestamp comparisons.", metadata=DocumentMetadata(title='Best Practice for Subscribing to 6k+ Symbols in Trades Stream - Alpaca Market Data - Alpaca Community Forum', description='Hi, \nI’m planning to subscribe to around 6,000 symbols through WebSocket, and I’d like to clarify the best approach. Specifically, I’m comparing two strategies: \n\n\nServer-side filtering: Subscribing specifying symbols (e…', url='https://forum.alpaca.markets/t/best-practice-for-subscribing-to-6k-symbols-in-trades-stream/17678', language='en', keywords=None, robots=None, og_title='Best Practice for Subscribing to 6k+ Symbols in Trades Stream - Alpaca Market Data - Alpaca Community Forum', og_description='Hi, I’m planning to subscribe to around 6,000 symbols through WebSocket, and I’d like to clarify the best approach. Specifically, I’m comparing two strategies: Server-side filtering: Subscribing specifying symbols (e.g., "trades": ["AAPL","MSFT", …]). Client-side filtering: Subscribing with a wildcard (e.g., "trades": ["*"]) and filtering on my side. My main question is: Does providing a large symbols list (≈6k) during subscription introduce any additional processing overhead, delays...', og_url='https://forum.alpaca.markets/t/best-practice-for-subscribing-to-6k-symbols-in-trades-stream/17678', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-08-20T12:30:19+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/best-practice-for-subscribing-to-6k-symbols-in-trades-stream/17678', status_code=200, scrape_id='cd8a7c98-d075-40cc-8fc9-ec6ed6005a23', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to market and limit orders, particularly in paper trading. A user reported that their market orders were consistently filled at prices lower than expected, causing difficulties in testing trading strategies. Other users confirmed similar experiences, indicating that the problem persisted despite attempts to resolve it. Alpaca representatives acknowledged the issue, attributing it to quote data updates and assuring users that it was primarily affecting paper trading, not live trading. Users expressed concerns about the pricing mechanism, suggesting that market orders were filled at unfavorable prices, leading to losses even without commissions. Related topics include incorrect market fill prices and discrepancies in order fills.', metadata=DocumentMetadata(title='Problems with market and limit orders - Alpaca Integration Applications - Alpaca Community Forum', description='I’m making paper trades using the nodejs npm @alpacahq/alpaca-trade-api using a simple market buy: \nalpaca.createOrder({ \nsymbol: ‘AMD’, \nqty: 100, \nside: ‘buy’, \ntype: ‘market’, \ntime_in_force: ‘day’ \n}) \nThe current qu…', url='https://forum.alpaca.markets/t/problems-with-market-and-limit-orders/206', language='en', keywords=None, robots=None, og_title='Problems with market and limit orders - Alpaca Integration Applications - Alpaca Community Forum', og_description='I’m making paper trades using the nodejs npm @alpacahq/alpaca-trade-api using a simple market buy: alpaca.createOrder({ symbol: ‘AMD’, qty: 100, side: ‘buy’, type: ‘market’, time_in_force: ‘day’ }) The current quotes for the order are $31.64 but the fills are always coming in around $30.78. I know that market orders can be filled outside of the current quotes, depending on spikes, but this happens everytime, not just once in a while. Anyone else experiencing similar issues? Makes it h...', og_url='https://forum.alpaca.markets/t/problems-with-market-and-limit-orders/206', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-29T15:00:29+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/problems-with-market-and-limit-orders/206', status_code=200, scrape_id='8d31736b-8437-40a5-a361-fbcbe1fbd6c1', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum post titled "Some people really don’t understand the markets, I’m here for you!" offers insights for beginner traders, focusing on algorithmic trading strategies. Key points include the importance of averaging market data, emulating trading scenarios for testing, and understanding rules and constraints in trading logic. The author emphasizes the significance of processing speed and hardware performance in executing trades. The post encourages users to engage with the community for support and to explore related topics for further learning.', metadata=DocumentMetadata(title="Some people really don't understand the markets, i'm here for you! - Alpaca Account Troubleshooting / Random - Alpaca Community Forum", description='I start this post with a wise note, I’m not looking to get into a heated discussion rather help you know my experiences in trading the markets… \nSpoiler alert this is not going to be a long programming tech post, it’s mo…', url='https://forum.alpaca.markets/t/some-people-really-dont-understand-the-markets-im-here-for-you/724', language='en', keywords=None, robots=None, og_title="Some people really don't understand the markets, i'm here for you! - Alpaca Account Troubleshooting / Random - Alpaca Community Forum", og_description='I start this post with a wise note, I’m not looking to get into a heated discussion rather help you know my experiences in trading the markets… Spoiler alert this is not going to be a long programming tech post, it’s more geared toward the average Joe getting into trading. If you’re looking for something like a boilerplate to algo trading. I had made a post in september Something to help people understand algos and stocks I will be bring up some key points of the ideas of a boilerplate or as...', og_url='https://forum.alpaca.markets/t/some-people-really-dont-understand-the-markets-im-here-for-you/724', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/786b8676be025b8e25d04b4fe5228c0d6e3fcb10_2_1024x633.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-02-02T03:32:28+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/some-people-really-dont-understand-the-markets-im-here-for-you/724', status_code=200, scrape_id='3f718400-de0e-464f-956d-d9dc0baae808', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum discussion titled 'Cannot fetch only filled orders' features a user named Rohn who is trying to fetch open orders using the API but is encountering issues with redundant data when using different status filters. Another user suggests that Rohn's orders may have been filled, thus not remaining open. Rohn also mentions receiving 'Rejected' orders when attempting to filter for 'filled' orders. The page includes links to related topics discussing order filtering and API usage.", metadata=DocumentMetadata(title='Cannot fetch only filled orders - Alpaca Integration Applications - Alpaca Community Forum', description='I have a paper trading account, \nI am implementing an application using python. I wanted to fetch all open orders. \nI tried the API trade_api.list_orders(status=‘open’). \nbut I am not getting all current orders. When i t…', url='https://forum.alpaca.markets/t/cannot-fetch-only-filled-orders/275', language='en', keywords=None, robots=None, og_title='Cannot fetch only filled orders - Alpaca Integration Applications - Alpaca Community Forum', og_description='I have a paper trading account, I am implementing an application using python. I wanted to fetch all open orders. I tried the API trade_api.list_orders(status=‘open’). but I am not getting all current orders. When i tried status as ‘all’ or ‘filled’ as status i am getting all my orders which is redundant. How can i get only orders which are in the trade? Thanks', og_url='https://forum.alpaca.markets/t/cannot-fetch-only-filled-orders/275', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-16T07:11:39+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/cannot-fetch-only-filled-orders/275', status_code=200, scrape_id='87c77113-6410-4ce7-9b98-2d2c47706c20', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses the need for portfolios and sub-accounts for better fund allocation and strategy management. Users express a desire to run multiple algorithms simultaneously, manage funds efficiently, and track performance across different strategies. Key points include requests for features like separate API keys for sub-accounts, the ability to allocate funds to individual strategies, and concerns about day trading regulations. Alpaca representatives acknowledge the feature is on their request list but provide no specific timeline for implementation. Users also suggest using labels for trades to manage strategies within a single account.', metadata=DocumentMetadata(title='Portfolios / Sub-accounts - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='Is there a way I can allocate funds to individual strategies? \nI would like to break them up into portfolios like so: https://blog.coinbase.com/introducing-portfolios-on-coinbase-pro-a5a2a2e02996 \nThere is an open thread…', url='https://forum.alpaca.markets/t/portfolios-sub-accounts/678', language='en', keywords=None, robots=None, og_title='Portfolios / Sub-accounts - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='Is there a way I can allocate funds to individual strategies? I would like to break them up into portfolios like so: https://blog.coinbase.com/introducing-portfolios-on-coinbase-pro-a5a2a2e02996 There is an open thread for sub-accounts here : Any new news?', og_url='https://forum.alpaca.markets/t/portfolios-sub-accounts/678', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/d1628fe410d89e70d860bf9205ef5c3439539057.jpeg', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-21T09:39:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/portfolios-sub-accounts/678', status_code=200, scrape_id='c87f2225-1c0a-42d2-9341-ed583977f942', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Getting quantities on partial fills' addresses a user's query about obtaining the number of shares filled in partial fill updates via the Alpaca v2 streaming API. The user provides an example of a limit buy order for AAPL shares that fills in three bursts, seeking clarity on how to retrieve specific fill quantities and average prices for each update. Responses indicate that while the streaming API currently provides limited information, users can utilize the Account Activities API to access detailed fill data. Recent updates to the API now include a 'qty' field in partial fill messages, which indicates the number of shares filled in that update.", metadata=DocumentMetadata(title='Getting quantities on partial fills - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Question\nHello all, I’m currently using the Alpaca v2 streaming API to listen to updates on my trades. I’m looking for the correct way to know how many shares were filled in the latest partial fill update I receive, and …', url='https://forum.alpaca.markets/t/getting-quantities-on-partial-fills/667', language='en', keywords=None, robots=None, og_title='Getting quantities on partial fills - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Question Hello all, I’m currently using the Alpaca v2 streaming API to listen to updates on my trades. I’m looking for the correct way to know how many shares were filled in the latest partial fill update I receive, and the average price for that set. Example Let’s say I own 40 shares of AAPL. I put out a limit buy for 100 shares of AAPL at $316.20. This order fills in 3 bursts: 20 shares at average $315.89 50 shares at average $316.07 30 shares at average $316.00 Listening to the streaming ...', og_url='https://forum.alpaca.markets/t/getting-quantities-on-partial-fills/667', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-17T03:28:29+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/getting-quantities-on-partial-fills/667', status_code=200, scrape_id='7ab292a0-3388-4e02-9e5a-2c43c56bf3c2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to linking Capital One accounts for money transfers. Users report repeated failures in linking their accounts and transferring funds, despite following the required procedures. One user suggests that the account linking feature is unreliable, while another mentions that Alpaca primarily uses ACH for transfers, complicating the process. There are also mentions of using Plaid for linking banks, but some users express frustration over the lack of clear options for ACH linking. The thread highlights common problems faced by new users when trying to fund their Alpaca accounts.', metadata=DocumentMetadata(title='Account linking to Capital One Failing - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='Hello! \nI recently joined Alpaca and I am trying to transfer money from my capital one account to Alpaca, I have linked my account 3 times now and attempted to transfer money and everytime the account link fails and my t…', url='https://forum.alpaca.markets/t/account-linking-to-capital-one-failing/523', language='en', keywords=None, robots=None, og_title='Account linking to Capital One Failing - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='Hello! I recently joined Alpaca and I am trying to transfer money from my capital one account to Alpaca, I have linked my account 3 times now and attempted to transfer money and everytime the account link fails and my transfer is rejected, although I go through the process of linking and entering my credentials and code sent to me by the bank on SMS. Is there any other way to transfer money to for trading? seems like the account linking feature is very flaky.', og_url='https://forum.alpaca.markets/t/account-linking-to-capital-one-failing/523', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-11T23:48:05+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/account-linking-to-capital-one-failing/523', status_code=200, scrape_id='89946a32-2858-4141-8e88-35dfb9dec13a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum features discussions on trading the S&P 500, with users sharing experiences and seeking advice on trading strategies, particularly using data and AI. Key participants include users like glenecho and alpaca_nancy, who provide insights and direct others to resources such as Alpaca documentation and Medium publications for getting started. Related topics include tutorials on Python automated trading and API usage for testing algorithms.', metadata=DocumentMetadata(title='Trading S & P 500 - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='Like to swing Trade using Data and AI \npinder321@gmail.com', url='https://forum.alpaca.markets/t/trading-s-p-500/50', language='en', keywords=None, robots=None, og_title='Trading S & P 500 - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='Like to swing Trade using Data and AI pinder321@gmail.com', og_url='https://forum.alpaca.markets/t/trading-s-p-500/50', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-26T18:19:40+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/trading-s-p-500/50', status_code=200, scrape_id='37af12f0-c971-400d-8080-5209244dba22', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. Key topics discussed include: 1. **Pattern Day Trader (PDT)**: Defined as executing 4 or more day trades within 5 business days, requiring a minimum equity of $25,000 in a margin account. 2. **Trading Outside Market Hours**: Extended trading hours are available, but come with increased risks. 3. **Automated Trading Risks**: Includes mechanical failures, the need for monitoring, trading experience, over-optimization, programming discrepancies, and limitations on high-frequency trading. 4. **Conditional Orders**: These orders are executed only if specific conditions are met, but carry risks related to market data and system reliability. 5. **Paper Trading**: A simulation environment for testing algorithms without real money. 6. **Order Placement Issues**: Common problems include outdated API keys and order submission timing. Users are encouraged to join the Alpaca community for support.', metadata=DocumentMetadata(title='General Trading - Alpaca Trading - Alpaca Community Forum', description='Q - What is a pattern day trader (PDT)?\nYou will be considered a pattern day trader if you “day trade” 4 or more times within 5 business days and your day trading activities are greater than 6 percent of your total tradi…', url='https://forum.alpaca.markets/t/general-trading/2339', language='en', keywords=None, robots=None, og_title='General Trading - Alpaca Trading - Alpaca Community Forum', og_description='Q - What is a pattern day trader (PDT)? You will be considered a pattern day trader if you “day trade” 4 or more times within 5 business days and your day trading activities are greater than 6 percent of your total trading activity for that same 5 day period. A “day trade” is defined as buying then selling or selling short, then buying the same security on the same day. Just buying a security, without selling it later that same day, would not be considered a day trade. Q - What is the minimum e...', og_url='https://forum.alpaca.markets/t/general-trading/2339', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-08-13T10:28:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/general-trading/2339', status_code=200, scrape_id='22ee49dc-9ec5-4a4e-b812-1320628f2e84', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The forum discusses running an S&P 500 example on AWS EC2, where a user encountered a 'ModuleNotFoundError' related to a missing 'universe' module in their Python code. Another user suggested moving the universe list to a separate file and importing it correctly. The page also features related topics on programming issues and tutorials within the Alpaca Integration Applications category.", metadata=DocumentMetadata(title='Run S&P example on aws EC2 - Alpaca Integration Applications - Alpaca Community Forum', description='problem to run the code of the example s&p 500 error file universe \nerror message on my linux instance: \nFile “algo.py”, line 6, in \nfrom .universe import Universe \nModuleNotFoundError: No module named ‘main.universe’; …', url='https://forum.alpaca.markets/t/run-s-p-example-on-aws-ec2/542', language='en', keywords=None, robots=None, og_title='Run S&P example on aws EC2 - Alpaca Integration Applications - Alpaca Community Forum', og_description='problem to run the code of the example s&p 500 error file universe error message on my linux instance: File “algo.py”, line 6, in from .universe import Universe ModuleNotFoundError: No module named ‘main.universe’; ‘main’ is not a pa ckage [root@ip-172-31-18-241 samplealgo]#', og_url='https://forum.alpaca.markets/t/run-s-p-example-on-aws-ec2/542', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-17T16:56:00+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/run-s-p-example-on-aws-ec2/542', status_code=200, scrape_id='5b5beb89-f87d-44cf-a516-9d1a12048497', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Create one or more accounts via API' addresses the possibility of creating multiple accounts or portfolios through the API, particularly for users with different trading strategies. The thread has garnered attention, with 644 views, and includes related topics on account creation and integration applications. Users can find FAQs, share ideas, and follow discussions within the community.", metadata=DocumentMetadata(title='Create one or more accounts via API - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='I’ve seen a couple other posts asking this, but no replies on those so I thought I’d ask as well. \nIs it possible to create an account / portfolio via the API? \nAlso, can we create more than one? \nFor example, if you hav…', url='https://forum.alpaca.markets/t/create-one-or-more-accounts-via-api/745', language='en', keywords=None, robots=None, og_title='Create one or more accounts via API - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='I’ve seen a couple other posts asking this, but no replies on those so I thought I’d ask as well. Is it possible to create an account / portfolio via the API? Also, can we create more than one? For example, if you have 2 trading bots that operate with different strategies, you’d want a separate account for each bot so you can compare the results.', og_url='https://forum.alpaca.markets/t/create-one-or-more-accounts-via-api/745', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-02-06T21:45:49+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/create-one-or-more-accounts-via-api/745', status_code=200, scrape_id='6876ccff-4b84-427d-bd59-0cc4f6ec23bc', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion thread addresses how to use the `api.list_orders()` function to list new orders that are not filled. Users inquire about filtering orders placed when the market is closed and how to retrieve their entire order history. Solutions include using the `status` parameter to filter orders and utilizing the Python SDK for better data handling. The thread features multiple user interactions, with helpful code snippets provided for retrieving open and closed orders.', metadata=DocumentMetadata(title='How can I use `api.list_orders()` to list new orders that are not filled - Alpaca Integration Applications - Alpaca Community Forum', description='how can I list orders that I placed when market was closed. Those orders are marked as “NEW” when you placed when market is closed. which parameter should I pass to api.list_orders() in order to get those new orders?', url='https://forum.alpaca.markets/t/how-can-i-use-api-list-orders-to-list-new-orders-that-are-not-filled/1440', language='en', keywords=None, robots=None, og_title='How can I use `api.list_orders()` to list new orders that are not filled - Alpaca Integration Applications - Alpaca Community Forum', og_description='how can I list orders that I placed when market was closed. Those orders are marked as “NEW” when you placed when market is closed. which parameter should I pass to api.list_orders() in order to get those new orders?', og_url='https://forum.alpaca.markets/t/how-can-i-use-api-list-orders-to-list-new-orders-that-are-not-filled/1440', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-05-12T23:27:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-can-i-use-api-list-orders-to-list-new-orders-that-are-not-filled/1440', status_code=200, scrape_id='ba670590-7c96-4c3a-b9e2-88f792a18698', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum post discusses a user experiencing a 'forbidden' error when placing trades via the API, while trading on the website works fine. The user received an HTTP 403 error when trying to access account information. Another user requested the payload details, and the original poster later resolved the issue by generating new API keys after resetting their paper account totals. Related topics include other users facing similar forbidden errors and troubleshooting account access.", metadata=DocumentMetadata(title="Returning a 'forbidden' on API only? (paper) - Getting Started with Alpaca - Alpaca Community Forum", description='Why is it that I am getting a ‘forbidden’ message when placing trades via the API but trading on website is working fine. It worked fine earlier today. Now when I try to pull account info it returns the following error. …', url='https://forum.alpaca.markets/t/returning-a-forbidden-on-api-only-paper/9501/3', language='en', keywords=None, robots=None, og_title="Returning a 'forbidden' on API only? (paper) - Getting Started with Alpaca - Alpaca Community Forum", og_description='Thank you for asking but I solved the problem. I didn’t realize that when you reset the paper account totals that you had to generate new API keys as well. I replaced the API keys with new ones and now I’m back in business!', og_url='https://forum.alpaca.markets/t/returning-a-forbidden-on-api-only-paper/9501/3', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-05-18T13:26:04+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/returning-a-forbidden-on-api-only-paper/9501/3', status_code=200, scrape_id='e472480b-15b2-4cab-8d8b-f257f04d8033', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account and engage in discussions about algorithmic trading. A key post titled "Something to help people understand algos and stocks" by a user named Kris provides insights into algorithmic day trading. Kris emphasizes the importance of data, strategy, and broker accounts in trading. He shares his experiences with various data feeds, highlighting the significance of low latency and historical data for effective trading strategies. The post includes technical details about programming algorithms, including code snippets for calculating gains and losses. Kris advises beginners to approach algorithmic trading with caution and to backtest their strategies before going live. The community encourages sharing knowledge and experiences to help others understand the complexities of trading.', metadata=DocumentMetadata(title='Something to help people understand algos and stocks - Alpaca Trading / Tutorials - Alpaca Community Forum', description='So I know there’s a lot of code going around but very limited basic info of what % 's to look for when buying and selling, what time divergence does in a strategy and such so i’m going to try to cover what I believe can …', url='https://forum.alpaca.markets/t/something-to-help-people-understand-algos-and-stocks/267', language='en', keywords=None, robots=None, og_title='Something to help people understand algos and stocks - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description="So I know there’s a lot of code going around but very limited basic info of what % 's to look for when buying and selling, what time divergence does in a strategy and such so i’m going to try to cover what I believe can help get someone started or explain a lot better what’s going on in algorithmic day trades. don’t confuse this information with HFT (high frequency trades) since it may have some similarities but at its core is completely different. My clause im only providing information that I...", og_url='https://forum.alpaca.markets/t/something-to-help-people-understand-algos-and-stocks/267', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-14T20:36:08+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/something-to-help-people-understand-algos-and-stocks/267', status_code=200, scrape_id='8adec75e-369a-4df7-947d-1f18999acded', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum features a discussion on creating a Python trading loop that checks stock prices, submits buy orders, listens for order fills, and submits sell orders. A user named Joseph seeks help with implementing a code snippet that includes price checks and order management. Key points include: 1) The need for live price data and how to implement it; 2) The importance of listening for order fills before placing sell orders; 3) Suggestions for using unique client order IDs for each transaction; 4) Recommendations for resources and examples to help with coding in Python using the Alpaca API. The conversation highlights the challenges faced by beginners in algorithmic trading and the community's willingness to assist.", metadata=DocumentMetadata(title='Python: Buy/Sell Loop With Price Check and Fill Status Check - Alpaca Trading - Alpaca Community Forum', description='Hello all. I’m new to Python and Alpaca (but learning quickly with your help, thanks in advance). \nI’m looking for a Python code snippet that will: \n\nCheck for a stock price (I can’t find documentation on this but I’ve r…', url='https://forum.alpaca.markets/t/python-buy-sell-loop-with-price-check-and-fill-status-check/2883', language='en', keywords=None, robots=None, og_title='Python: Buy/Sell Loop With Price Check and Fill Status Check - Alpaca Trading - Alpaca Community Forum', og_description='Hello all. I’m new to Python and Alpaca (but learning quickly with your help, thanks in advance). I’m looking for a Python code snippet that will: Check for a stock price (I can’t find documentation on this but I’ve read that I can’t get live price data in Paper trading) Submit buy order with appropriate parameters including “client_order_id” (I already know how to do this) Listen for order to be filled (I’ve read about streams with “account_updates” and “trade_updates” but don’t know how to ...', og_url='https://forum.alpaca.markets/t/python-buy-sell-loop-with-price-check-and-fill-status-check/2883', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-10-05T06:24:56+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/python-buy-sell-loop-with-price-check-and-fill-status-check/2883', status_code=200, scrape_id='61f3472d-0cd9-424d-8aa3-47a8844d45c9', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses bracket orders, specifically focusing on how to manage and close positions. Key points include: 1. Canceling a bracket order does not liquidate the position; it only cancels the order. 2. To close a position with an outstanding bracket order, users can replace the take profit limit price with a marketable price. 3. The replace_order function updates only one order at a time, requiring separate updates for stop loss and take profit orders. 4. Users can track order IDs through the parent order to manage leg orders effectively. 5. Issues with executing stop loss orders and the need for sufficient quantity are also addressed.', metadata=DocumentMetadata(title='Bracket Order - Closing Positions - Alpaca Market Data - Alpaca Community Forum', description='Will canceling a bracket order open position liquidate and close my bracket order position or will it just cancel the open position without liquidation? \nFor example, I have an open bracket order (buy) and it hasn’t hit …', url='https://forum.alpaca.markets/t/bracket-order-closing-positions/11938', language='en', keywords=None, robots=None, og_title='Bracket Order - Closing Positions - Alpaca Market Data - Alpaca Community Forum', og_description='Will canceling a bracket order open position liquidate and close my bracket order position or will it just cancel the open position without liquidation? For example, I have an open bracket order (buy) and it hasn’t hit the limit or stop price yet and I’d like to liquidate and sell the position. Will the ‘cancel_order’ function cancel the open order and/or liquidate and sell the long position? If it just cancels does this mean I’ll have to manually sell out of that position?', og_url='https://forum.alpaca.markets/t/bracket-order-closing-positions/11938', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2023-03-01T18:59:14+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/bracket-order-closing-positions/11938', status_code=200, scrape_id='7e7595e1-0e64-42a9-898b-8c77636e0916', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The page discusses the Alpaca Market Data category, which is dedicated to various market data topics. Users can find FAQs, share ideas, and follow discussions. A user inquiry about retrieving specific market data metrics (such as today's opening, high, low, and volume) is highlighted. Related topics include discussions on intraday data, the Alpaca Data API for real-time stock market data, and other market data inquiries.", metadata=DocumentMetadata(title='About the Alpaca Market Data category - Alpaca Market Data - Alpaca Community Forum', description='This category is for discussion on various market data topics.', url='https://forum.alpaca.markets/t/about-the-alpaca-market-data-category/34', language='en', keywords=None, robots=None, og_title='About the Alpaca Market Data category - Alpaca Market Data - Alpaca Community Forum', og_description='This category is for discussion on various market data topics.', og_url='https://forum.alpaca.markets/t/about-the-alpaca-market-data-category/34', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-25T18:45:01+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-alpaca-market-data-category/34', status_code=200, scrape_id='781e4630-7388-49f7-b1fd-454ab8f609a9', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Incorrect market data' highlights an issue where API calls return static prices despite market fluctuations. A user reports receiving consistent price data (e.g., close price of 12.015) while the actual market price was higher (above 12.30). Another user suggests checking the 1-minute barset for more accurate data. Related topics include issues with missing data, unreliable bars data, and requests for simple market data.", metadata=DocumentMetadata(title='Incorrect market data - Alpaca Account Troubleshooting - Alpaca Community Forum', description='My API calls return same price all the time… Whats wrong - \nI am using this in my code : klines=api.get_barset(smbl, ‘15Min’, limit=1) \nI am getting results like this - \n{‘c’: 12.015, ‘h’: 12.025, ‘l’: 12.005, ‘o’: 12.0…', url='https://forum.alpaca.markets/t/incorrect-market-data/233', language='en', keywords=None, robots=None, og_title='Incorrect market data - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='My API calls return same price all the time… Whats wrong - I am using this in my code : klines=api.get_barset(smbl, ‘15Min’, limit=1) I am getting results like this - {‘c’: 12.015, ‘h’: 12.025, ‘l’: 12.005, ‘o’: 12.02, ‘t’: 1567619100, ‘v’: 1237} But the market price was above 12.30 all day. Same behavior with AMD and MRO. My API : base_url=‘https://api.alpaca.markets’', og_url='https://forum.alpaca.markets/t/incorrect-market-data/233', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-05T23:33:37+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/incorrect-market-data/233', status_code=200, scrape_id='aa83c839-2240-449f-ba20-e62e0cd0cbe2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion thread addresses how to determine if a position is closed or open using the ListPositionsAsync method. Users share insights that a position is considered closed if the quantity is 0, while any non-zero quantity indicates an open position. Related topics include determining closed positions, position closing endpoints, and code examples for managing open positions.', metadata=DocumentMetadata(title='How can we determine a closed or open position? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='I’m using the ListPositionsAsync method to get all positions. \nIf the Quantity = 0 then it is closed else if it is open. Is it correct?', url='https://forum.alpaca.markets/t/how-can-we-determine-a-closed-or-open-position/368', language='en', keywords=None, robots=None, og_title='How can we determine a closed or open position? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='I’m using the ListPositionsAsync method to get all positions. If the Quantity = 0 then it is closed else if it is open. Is it correct?', og_url='https://forum.alpaca.markets/t/how-can-we-determine-a-closed-or-open-position/368', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-14T04:34:03+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-can-we-determine-a-closed-or-open-position/368', status_code=200, scrape_id='30182739-8ddf-415e-8d72-37d9cd286fdd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses an issue where users encounter a "request is not authorized" error when using the Alpaca API. The error code 40110000 indicates authorization problems, often related to API key usage. Users have shared various experiences, including troubleshooting steps such as ensuring they are using the correct API keys for live or paper trading, checking for formatting issues (like underscores turning into dashes), and confirming account status. Some users resolved their issues by switching to the correct trading mode or updating their API keys. The forum serves as a platform for users to seek help and share solutions regarding API-related problems.', metadata=DocumentMetadata(title='API throws error. Request is not authorized - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='I have been paper trading for some time now using an app I am testing. \nRecently the app has been throwing an error having to do with the API key. \nI updated the api keys thinking that was the issue and I still get error…', url='https://forum.alpaca.markets/t/api-throws-error-request-is-not-authorized/7310/8', language='en', keywords=None, robots=None, og_title='API throws error. Request is not authorized - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='You have to be logged into a live account. I got this same error when I specified paper. But live worked fine. Code will be: https://api.alpaca.markets Not: https://paper-api.alpaca.markets', og_url='https://forum.alpaca.markets/t/api-throws-error-request-is-not-authorized/7310/8', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-12-20T18:56:29+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/api-throws-error-request-is-not-authorized/7310/8', status_code=200, scrape_id='7386f946-11cf-411a-ac25-6b3c2fd1a9d3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum features a discussion on high-frequency trading (HFT) bots for cryptocurrency. Users share their experiences and seek advice on effective trading algorithms. A user expresses interest in HFT strategies, mentioning challenges with existing bots and the need for a program that performs well in various market conditions. Other users suggest tools like Hummingbot and Freqtrade, while discussing the importance of features like Dollar-Cost Averaging (DCA) for profitability. The forum also promotes a dedicated Discord community for crypto discussions.', metadata=DocumentMetadata(title='High Frequency Trading Bot For Crypto - Getting Started with Alpaca - Alpaca Community Forum', description='Hello there, \nI found this website really interesting after lot of deep searching on internet, I found a program here that you might know, but a friend tried it and it does not look like working.HFT-like Trading Algorith…', url='https://forum.alpaca.markets/t/high-frequency-trading-bot-for-crypto/7557', language='en', keywords=None, robots=None, og_title='High Frequency Trading Bot For Crypto - Getting Started with Alpaca - Alpaca Community Forum', og_description='Hello there, I found this website really interesting after lot of deep searching on internet, I found a program here that you might know, but a friend tried it and it does not look like working.HFT-like Trading Algorithm in 300 Lines of Code You Can Run Now | by Hitoshi Harada | Automation Generation | Medium The idea of using the imbalance flow between buy and sale orders in the market book is something that really looks so efficient to make sure we get the most probable direction of the pric...', og_url='https://forum.alpaca.markets/t/high-frequency-trading-bot-for-crypto/7557', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-11-27T13:56:30+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/high-frequency-trading-bot-for-crypto/7557', status_code=200, scrape_id='7d6b2c24-6359-41c7-99e2-26f3e8fc8ffa', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion titled 'Polygon Data is a year old' highlights concerns about outdated polygon data, particularly dividends, with examples of queries returning old values. Users share experiences with data accuracy, noting that while some dividend data is stale, news data appears current. Alternatives for obtaining up-to-date data include paid services like IEX, with costs around $108 annually. The community encourages sharing cheaper data sources and exploring streaming data endpoints.", metadata=DocumentMetadata(title='Polygon Data is a year old - Alpaca Market Data - Alpaca Community Forum', description='Some polygon data is old, like dividends. \nresult = api.polygon.dividends(‘T’) \nreturns a most recent value from 9/29/2018. \nWhere is a good place to get current information via Python code about dividends, earnings, and…', url='https://forum.alpaca.markets/t/polygon-data-is-a-year-old/462', language='en', keywords=None, robots=None, og_title='Polygon Data is a year old - Alpaca Market Data - Alpaca Community Forum', og_description='Some polygon data is old, like dividends. result = api.polygon.dividends(‘T’) returns a most recent value from 9/29/2018. Where is a good place to get current information via Python code about dividends, earnings, and news?', og_url='https://forum.alpaca.markets/t/polygon-data-is-a-year-old/462', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-14T16:50:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/polygon-data-is-a-year-old/462', status_code=200, scrape_id='3233b915-b357-4940-bc46-218bbdc24711', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The main discussion topic is about extending the 'cancel all orders' endpoint to support specific options such as canceling only buy orders, only sell orders, or orders by symbol. The conversation includes a suggestion from a user and a response indicating that the idea can be considered. Related topics include requests for specific API endpoints and discussions on trading strategies.", metadata=DocumentMetadata(title='Parameters for cancel all orders - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='Could the cancel all orders endpoint be extended support the below options? \n\nOnly buy orders\nOnly sell orders\nOnly buy orders by symbol\nOnly sell orders by symbol\n\nCheers', url='https://forum.alpaca.markets/t/parameters-for-cancel-all-orders/120', language='en', keywords=None, robots=None, og_title='Parameters for cancel all orders - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='Could the cancel all orders endpoint be extended support the below options? Only buy orders Only sell orders Only buy orders by symbol Only sell orders by symbol Cheers', og_url='https://forum.alpaca.markets/t/parameters-for-cancel-all-orders/120', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-02T17:48:21+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/parameters-for-cancel-all-orders/120', status_code=200, scrape_id='87437d14-c2aa-469e-b079-681f88da9b6c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community introduces a Python script designed for stock support and resistance level analysis using the Alpaca API and machine learning. The script analyzes stock price data to identify peaks and troughs, determining optimal support and resistance levels through clustering algorithms like Agglomerative Clustering and K-Means. Key features include customization options for stock symbols, trading days, and clustering methods. The script aims to provide a data-driven approach to stock analysis, enhancing traders' decision-making. Feedback from the community highlights the need for accurate language in the script's presentation, acknowledging existing similar projects.", metadata=DocumentMetadata(title='Innovative Script for Stock Support and Resistance Level Analysis - Alpaca Trading - Alpaca Community Forum', description='Dear Alpaca community members, \nI would like to share with you an interesting Python script that leverages the Alpaca API and the power of machine learning to determine the optimal support and resistance levels for a giv…', url='https://forum.alpaca.markets/t/innovative-script-for-stock-support-and-resistance-level-analysis/12238', language='en', keywords=None, robots=None, og_title='Innovative Script for Stock Support and Resistance Level Analysis - Alpaca Trading - Alpaca Community Forum', og_description='Dear Alpaca community members, I would like to share with you an interesting Python script that leverages the Alpaca API and the power of machine learning to determine the optimal support and resistance levels for a given stock. The code repository is public and available on GitHub. Purpose of the Script: The primary purpose of this script is to analyze stock price data, identify the peaks and troughs, and determine the optimal support and resistance levels by clustering these peaks and troug...', og_url='https://forum.alpaca.markets/t/innovative-script-for-stock-support-and-resistance-level-analysis/12238', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/b/bba27207d99a0b0f89f5436476d5fad3f6a88351_2_1024x708.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2023-04-23T00:38:33+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/innovative-script-for-stock-support-and-resistance-level-analysis/12238', status_code=200, scrape_id='4113365d-c954-427c-a292-1e238cd32c98', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses the topic of slippage in trading, particularly comparing paper trading to real trading. Key points include: 1. Slippage is the difference between the expected price of a trade and the actual price at which it is executed. 2. Users express concerns about the accuracy of slippage in paper trading versus real trading, with a consensus that slippage is generally worse in real trading. 3. Recommendations for mitigating slippage include using limit orders instead of market orders, as they can help control the price at which trades are executed. 4. Discussions also touch on the importance of liquidity and market depth, with suggestions to monitor level 2 data to assess order availability. 5. Some users share their personal experiences and strategies for managing slippage in their trading algorithms.', metadata=DocumentMetadata(title='Slippage - Paper Trading vs. Real Trading - Alpaca Trading - Alpaca Community Forum', description='I’m finalizing a strategy whose profits (success) all depend on how ‘bad’ slippage is (the difference between a buy order ASK and what it actually gets filled at). \n\n\nDoes anyone know just how accurate the slippage is on…', url='https://forum.alpaca.markets/t/slippage-paper-trading-vs-real-trading/2801', language='en', keywords=None, robots=None, og_title='Slippage - Paper Trading vs. Real Trading - Alpaca Trading - Alpaca Community Forum', og_description='I’m finalizing a strategy whose profits (success) all depend on how ‘bad’ slippage is (the difference between a buy order ASK and what it actually gets filled at). Does anyone know just how accurate the slippage is on paper trading vs. real trading? Is it safe to assume that it will always be ‘worse’ in real trading than in paper trading? Are there any techniques you guys implement to mitigate ‘slippage’? I’m thinking my only solution is to re-think the strategy and make my buys all ...', og_url='https://forum.alpaca.markets/t/slippage-paper-trading-vs-real-trading/2801', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-09-28T23:34:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/slippage-paper-trading-vs-real-trading/2801', status_code=200, scrape_id='08c788d7-7542-475b-b1ae-4b3d8e60eb3d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses the integration of TurboTax for tax reporting, particularly for users with numerous trades. Initial inquiries about TurboTax integration were made in August 2019, with users expressing concerns about manually entering extensive trading data into tax forms. Over the years, various users have shared their experiences and solutions, including specialized software for tax preparation. In January 2022, a community member indicated that Alpaca was looking to provide TurboTax integration for the 2021 tax year. As of September 2023, users are still inquiring about the status of this integration, highlighting ongoing concerns about tax reporting for active traders.', metadata=DocumentMetadata(title='Turbo Tax integration - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='Hello, \nDo you offer Turbo Tax integration to import 1099-B, and the other tax forms? \nSince at present you’re offering only “taxable” accounts, using algo-trading potentially is going to generate 1000s of trades, result…', url='https://forum.alpaca.markets/t/turbo-tax-integration/185', language='en', keywords=None, robots=None, og_title='Turbo Tax integration - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='Hello, Do you offer Turbo Tax integration to import 1099-B, and the other tax forms? Since at present you’re offering only “taxable” accounts, using algo-trading potentially is going to generate 1000s of trades, resulting in a very long 1099-B. Entering details for all these in Schedule-D by hand will be impractical. Therefore, before starting I’ll like to know if you offer Turbo Tax integration, and if not at present, then will you be making it available in time prior to tax filing dead-lin...', og_url='https://forum.alpaca.markets/t/turbo-tax-integration/185', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-23T01:31:56+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/turbo-tax-integration/185', status_code=200, scrape_id='cbbef3d6-933f-4329-898d-59bfd2b8ddec', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum provides a space for users to seek help and share ideas related to trading and programming with Alpaca's API. A specific discussion focuses on extracting data from a Backtrader sample code to create a DataFrame containing DateTime, Closing Price, and two Simple Moving Averages (SMA1 and SMA2). Users share code snippets and solutions to help achieve this goal, including suggestions for modifying the SmaCross strategy class to return the desired DataFrame. The conversation highlights the collaborative nature of the forum, with users assisting each other in coding challenges.", metadata=DocumentMetadata(title='How to get dataframe from backtrader sample code - Alpaca Integration Applications - Alpaca Community Forum', description='HI Alpaca forum community, \nI need sma1 and sma2 and date and closing price of a stock that is calculated in below code. I tried all my best to extract this data from the code below but somehow could not get the final da…', url='https://forum.alpaca.markets/t/how-to-get-dataframe-from-backtrader-sample-code/580', language='en', keywords=None, robots=None, og_title='How to get dataframe from backtrader sample code - Alpaca Integration Applications - Alpaca Community Forum', og_description='HI Alpaca forum community, I need sma1 and sma2 and date and closing price of a stock that is calculated in below code. I tried all my best to extract this data from the code below but somehow could not get the final data in a dataframe. Can someone help with this please? All I need is a dataframe with columns: DateTime, Closing Price, SMA1(which is 10 SMA) and SMA2(which is 30SMA) as seen in the picture. Any help is much appreciated. Below is the code: class SmaCross(bt.SignalStrategy): ...', og_url='https://forum.alpaca.markets/t/how-to-get-dataframe-from-backtrader-sample-code/580', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-27T23:24:07+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-get-dataframe-from-backtrader-sample-code/580', status_code=200, scrape_id='e0b8656c-7578-48fd-8905-5891668156cb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses a user experiencing a 'wash trade error' when attempting to execute a sell order. The error message indicates a potential wash trade due to an existing opposite side market or stop order. The user shares their TradingView Pinescript code for setting up take profit (TP) and stop loss (SL) orders and seeks advice on whether they are implemented correctly. Other community members suggest checking the status of current orders before placing new ones, as this can lead to the error. One user mentions encountering a similar issue with partially filled orders and plans to adjust their strategy accordingly.", metadata=DocumentMetadata(title='Wash trade error - Alpaca Trading - Alpaca Community Forum', description='So I’m getting the wash trade error on my sell order: \n"potential wash trade detected. use complex orders","reject_reason":"opposite side market/stop order exists"} \nI’m showing my Tradingview pinescript code below and a…', url='https://forum.alpaca.markets/t/wash-trade-error/16659', language='en', keywords=None, robots=None, og_title='Wash trade error - Alpaca Trading - Alpaca Community Forum', og_description='So I’m getting the wash trade error on my sell order: "potential wash trade detected. use complex orders","reject_reason":"opposite side market/stop order exists"} I’m showing my Tradingview pinescript code below and asking if I’m doing the TP and SL sells incorrectly? // ——— Long Entry ——— if buyCondition and strategy.position_size == 0 strategy.entry(“Long Entry”, strategy.long) // If in a long trade, define stop/limit exit prices if strategy.position_size > 0 stopLossPrice = strateg...', og_url='https://forum.alpaca.markets/t/wash-trade-error/16659', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-04-04T09:51:46+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/wash-trade-error/16659', status_code=200, scrape_id='84f6e143-a920-45ce-b355-36c5c42aef19', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses the retrieval of 5-minute bars for backtesting trading strategies. A user named Ziv is attempting to build a scalp trading strategy but is struggling to retrieve the necessary 5-minute bar data for the past 22 days using the Lumibot framework. Ziv shares their code and seeks assistance, mentioning issues with the timestep format and errors encountered during execution. Other community members suggest checking the documentation for available timesteps and consider using Alpaca's historical data instead. Ziv later discovers that Lumibot's Yahoo backtesting mode only supports daily data, prompting a search for alternative methods to develop their strategy.", metadata=DocumentMetadata(title='Retrieval Of 5 Minutes Bars For Backtesting - Alpaca Market Data - Alpaca Community Forum', description='Hi \nI’m trying to build a scalp strategy for 5min bars (just began). \nHowever, I can’t find a way to retrieve the 5 min bars for the last 22 days. \nHere is the code I’m using ‘tradingbot.py’ \nfrom config import ALPACA_CO…', url='https://forum.alpaca.markets/t/retrieval-of-5-minutes-bars-for-backtesting/14527', language='en', keywords=None, robots=None, og_title='Retrieval Of 5 Minutes Bars For Backtesting - Alpaca Market Data - Alpaca Community Forum', og_description='Hi I’m trying to build a scalp strategy for 5min bars (just began). However, I can’t find a way to retrieve the 5 min bars for the last 22 days. Here is the code I’m using ‘tradingbot.py’ from config import ALPACA_CONFIG from datetime import datetime, timedelta from lumibot.backtesting import YahooDataBacktesting from lumibot.brokers import Alpaca from lumibot.strategies import Strategy from lumibot.traders import Trader import numpy as np import pandas as pd # General trading parameters sl...', og_url='https://forum.alpaca.markets/t/retrieval-of-5-minutes-bars-for-backtesting/14527', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2024-06-24T11:14:05+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/retrieval-of-5-minutes-bars-for-backtesting/14527', status_code=200, scrape_id='86cd650d-2766-4003-beda-a79af65cdb5c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum provides a space for users to discuss trading API-related topics. A key discussion focuses on how to obtain the last trade and quote via websocket subscriptions without needing to unsubscribe and resubscribe for each stock symbol. User 'timstudent27' expresses concerns about inefficiencies with polling methods and seeks a better solution. Other users, including 'kris', contribute by sharing their experiences and code snippets. Ultimately, 'timstudent27' confirms that the subscription code allows for adding new topics to the existing subscription list, improving the monitoring process.", metadata=DocumentMetadata(title='How to get last trade and quote from the socket - Alpaca Products Discussion - Alpaca Community Forum', description='After making a buy of a stock, I would like to monitor the last quote and last trades via the websocket. But, I don’t know of a way to simply add that to my current socket subscription list. It seems risky to have to u…', url='https://forum.alpaca.markets/t/how-to-get-last-trade-and-quote-from-the-socket/663', language='en', keywords=None, robots=None, og_title='How to get last trade and quote from the socket - Alpaca Products Discussion - Alpaca Community Forum', og_description='After making a buy of a stock, I would like to monitor the last quote and last trades via the websocket. But, I don’t know of a way to simply add that to my current socket subscription list. It seems risky to have to unsubscribe and resubscribe every time i make a change so i can monitor a new quote/trade per symbol. What is the recommended way to do this?', og_url='https://forum.alpaca.markets/t/how-to-get-last-trade-and-quote-from-the-socket/663', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-15T17:22:08+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-get-last-trade-and-quote-from-the-socket/663', status_code=200, scrape_id='c5dfa665-1b16-4c33-a9b2-49e0d621c9e0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The main discussion focuses on the difference between 'deregister()' and 'unsubscribe()' methods when using StreamConn() in Python 3.8 with the latest Alpaca SDK. Users are seeking best practices for exiting the main loop at the end of the trading day. Related topics include issues with multiple channels, stream problems, and websocket examples.", metadata=DocumentMetadata(title='Deregister() vs unsubscribe() - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nLanguage \nPython 3.8 \nAlpaca SDK Version \nLatest SDK \nProblem\nSummary \nWhen using StreamConn() and the on() decorator - should I use deregister on the channel pattern, or unsubscribe()? I’m trying to figure t…', url='https://forum.alpaca.markets/t/deregister-vs-unsubscribe/525', language='en', keywords=None, robots=None, og_title='Deregister() vs unsubscribe() - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment Language Python 3.8 Alpaca SDK Version Latest SDK Problem Summary When using StreamConn() and the on() decorator - should I use deregister on the channel pattern, or unsubscribe()? I’m trying to figure the proper/best-practice way to exit the main loop at the end of the trading day', og_url='https://forum.alpaca.markets/t/deregister-vs-unsubscribe/525', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-12T04:52:03+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/deregister-vs-unsubscribe/525', status_code=200, scrape_id='cae369ea-ac27-4cde-b564-d012f064d1cd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to stop-limit orders not functioning as expected. Users report that their stop-limit orders do not trigger sell orders when the stop price is reached. One user shared specific examples of symbols and their stop prices, indicating that the orders did not execute despite the market conditions. Another user mentioned experiencing similar issues with live accounts, questioning whether a trade-update status is provided when a stop order is activated. A third user described erratic behavior of the API regarding stop-limit orders, including instances where orders filled immediately instead of waiting for the stop price to trigger. The forum also includes related topics discussing similar issues with stop-limit orders.', metadata=DocumentMetadata(title='Stop_limit orders not working - Alpaca Products Discussion - Alpaca Community Forum', description='Paper Trading Account \nI have created stop_limit order for all the symbols I got in my portfolio but when they touch the stop value nothing happens, there is no sell order. \nI have contacted support but I got no answer f…', url='https://forum.alpaca.markets/t/stop-limit-orders-not-working/453', language='en', keywords=None, robots=None, og_title='Stop_limit orders not working - Alpaca Products Discussion - Alpaca Community Forum', og_description='Paper Trading Account I have created stop_limit order for all the symbols I got in my portfolio but when they touch the stop value nothing happens, there is no sell order. I have contacted support but I got no answer from them. Here you can find a few samples (I can provide more data or my account details if needed) Symbol ACRX, Stop price 1.85 Current price 1.84 Symbol ADMA, Stop price 4.51 Current price 4.39 Symbol AERI, Stop price 21.68 Current price 19 Symbol AFMD, Stop price 2.71 Curren...', og_url='https://forum.alpaca.markets/t/stop-limit-orders-not-working/453', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-12T12:50:25+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/stop-limit-orders-not-working/453', status_code=200, scrape_id='100926e9-d554-4872-a495-aecef686d131', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. A highlighted post features a tutorial video aimed at helping users get started with the Alpaca API. The post has garnered 2.4k views and 6 likes, with users expressing appreciation for the video as a helpful resource. The community encourages sharing ideas and discussions, and related topics include additional tutorial videos and user inquiries about starting up with Alpaca.', metadata=DocumentMetadata(title='Cool tutorial video to get started - Alpaca Trading / Tutorials - Alpaca Community Forum', description='I found this recently on twitter and thought to share as it looks very useful to get started with Alpaca API. \n\nLet me know if you have something else too :slight_smile:', url='https://forum.alpaca.markets/t/cool-tutorial-video-to-get-started/386', language='en', keywords=None, robots=None, og_title='Cool tutorial video to get started - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='I found this recently on twitter and thought to share as it looks very useful to get started with Alpaca API. Let me know if you have something else too 🙂', og_url='https://forum.alpaca.markets/t/cool-tutorial-video-to-get-started/386', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-25T05:49:46+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/cool-tutorial-video-to-get-started/386', status_code=200, scrape_id='11fed310-473d-4dcd-9ac5-8453dc87c6e3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum provides support for users of the Alpaca Trading API. A key discussion topic is how to retrieve the current share price of a stock using Python. A user shared their initial approach, which only worked for stocks with open positions, and sought a more accurate method. Suggestions included using the `api.get_barset` method with different indexing and utilizing the `api.polygon.snapshot` method to get the last trade price. The forum also features related topics on stock pricing and API usage.', metadata=DocumentMetadata(title='How to get a current share price (Python) - Alpaca Integration Applications - Alpaca Community Forum', description='Hi, \nI recently started to use Alpaca API, and I need help with some issue: \nI’m trying to get the current share of a stock.I succeeded to do it like that: \nposition_data = (api.get_position(symbol))\ncurrent_price = floa…', url='https://forum.alpaca.markets/t/how-to-get-a-current-share-price-python/421', language='en', keywords=None, robots=None, og_title='How to get a current share price (Python) - Alpaca Integration Applications - Alpaca Community Forum', og_description="Hi, I recently started to use Alpaca API, and I need help with some issue: I’m trying to get the current share of a stock.I succeeded to do it like that: position_data = (api.get_position(symbol)) current_price = float (positiondata.current_price) The problem with that, is that I get the prich only if I got open position Tnd with that, the price is not acuret enough: symbol_bars = api.get_barset(symbol, 'minute', 1).df.iloc[0] symbol_price = symbol_bars[symbol]['close'] Someone has an ide...", og_url='https://forum.alpaca.markets/t/how-to-get-a-current-share-price-python/421', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-05T09:46:06+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-get-a-current-share-price-python/421', status_code=200, scrape_id='4033a816-2ced-4e55-b3e4-63d789aa97c6', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The Examples category is designed for beginners to get started with the Alpaca API, featuring moderated content. The page includes links to related topics such as programming examples, product discussions, tutorials, and announcements, aimed at enhancing user engagement and support.', metadata=DocumentMetadata(title='About the Examples category - Getting Started with Alpaca / Examples - Alpaca Community Forum', description='New to Alpaca? Get started here! Posts here will be geared to newbies and those who are just getting started on using the Alpaca API. All content posted in the How To category are moderated.', url='https://forum.alpaca.markets/t/about-the-examples-category/27', language='en', keywords=None, robots=None, og_title='About the Examples category - Getting Started with Alpaca / Examples - Alpaca Community Forum', og_description='New to Alpaca? Get started here! Posts here will be geared to newbies and those who are just getting started on using the Alpaca API. All content posted in the How To category are moderated.', og_url='https://forum.alpaca.markets/t/about-the-examples-category/27', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-25T17:41:49+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-examples-category/27', status_code=200, scrape_id='9f6292f7-7858-42fa-9c8c-05cb0dcbe89f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum provides support for users, including FAQs and discussions. A key topic discussed is converting bar data objects from the Alpaca API to JSON format. Users can retrieve data using the Python `alpaca_trade_api`, which returns a `BarSet` object containing market data. This object can be converted to a dictionary and then to a JSON string. Additionally, users can iterate through the `BarSet` to access individual bar data. The forum also features related topics for further assistance.', metadata=DocumentMetadata(title='Convert bar data object to JSON - Alpaca Market Data - Alpaca Community Forum', description='How do you convert the response that comes back from the Python alpaca_trade_api to JSON? \nHere is an example of the response in Python. \n{‘GME’: [Bar({‘c’: 133.6, ‘h’: 144.72, ‘l’: 131, ‘o’: 144.72, ‘t’: 1614285000, ‘v’…', url='https://forum.alpaca.markets/t/convert-bar-data-object-to-json/4647', language='en', keywords=None, robots=None, og_title='Convert bar data object to JSON - Alpaca Market Data - Alpaca Community Forum', og_description='How do you convert the response that comes back from the Python alpaca_trade_api to JSON? Here is an example of the response in Python. {‘GME’: [Bar({‘c’: 133.6, ‘h’: 144.72, ‘l’: 131, ‘o’: 144.72, ‘t’: 1614285000, ‘v’: 61699})]}', og_url='https://forum.alpaca.markets/t/convert-bar-data-object-to-json/4647', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-02-25T20:55:53+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/convert-bar-data-object-to-json/4647', status_code=200, scrape_id='0cdc9074-e3bc-4364-a713-313800e6ed84', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A forum post discusses an issue with authentication using the Qt framework for a desktop trading app. The user, Josh, is struggling with HTTP GET header requests and receives a 401 error. He shares examples of his attempts and seeks help from the community. Other users contribute by asking for the endpoint URL and suggesting debugging methods. Ultimately, Josh resolves the issue by adjusting the header format, specifically removing colons from the API key headers. The post has garnered 644 views and includes links to related topics.', metadata=DocumentMetadata(title='Alpaca Authentication with Qt Issue - Alpaca Integration Applications - Alpaca Community Forum', description='I’m developing a desktop trading app and am targeting Alpaca first. Specifically, I’m having issues creating the proper HTTP GET header request to do authentication using the Qt framework. Anyone with Qt experience? \nHer…', url='https://forum.alpaca.markets/t/alpaca-authentication-with-qt-issue/630', language='en', keywords=None, robots=None, og_title='Alpaca Authentication with Qt Issue - Alpaca Integration Applications - Alpaca Community Forum', og_description='I’m developing a desktop trading app and am targeting Alpaca first. Specifically, I’m having issues creating the proper HTTP GET header request to do authentication using the Qt framework. Anyone with Qt experience? Here’s the a few examples I’ve tried and am getting code 40110000. // 1 QUrl res(ALPACA_AUTH); QNetworkRequest req(res); req.setHeader(QNetworkRequest::ContentTypeHeader, “APCA-API-KEY-ID: BLAH”); req.setHeader(QNetworkRequest::ContentTypeHeader, “APCA-API-SECRET-KEY: BLAHBLAH”...', og_url='https://forum.alpaca.markets/t/alpaca-authentication-with-qt-issue/630', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-09T11:36:47+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alpaca-authentication-with-qt-issue/630', status_code=200, scrape_id='f3c8682a-e71b-4d1e-a5de-d5d47b6b237b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to HTTP 429 errors, which indicate that users are hitting rate limits on the Alpaca API, particularly for those on the unlimited plan. Users report experiencing these errors consistently, even with minimal API calls. Discussions include inquiries about whether these errors are temporary or due to new rate limits implemented by Alpaca. Some users suggest implementing delays between API calls to avoid hitting the rate limit, while others express frustration over the lack of clarity in the documentation regarding rate limits. The forum also highlights the limitations of the Alpaca streaming API, which currently does not support historical data streaming.', metadata=DocumentMetadata(title='Rate Limit/ HTTP 429 errors - Alpaca Market Data - Alpaca Community Forum', description='I recently stared getting HTTP 429 errors. Is this a temporary glitch or did Alpaca recently add a rate limit for V2 API calls on the unlimited plan?', url='https://forum.alpaca.markets/t/rate-limit-http-429-errors/6885', language='en', keywords=None, robots=None, og_title='Rate Limit/ HTTP 429 errors - Alpaca Market Data - Alpaca Community Forum', og_description='I recently stared getting HTTP 429 errors. Is this a temporary glitch or did Alpaca recently add a rate limit for V2 API calls on the unlimited plan?', og_url='https://forum.alpaca.markets/t/rate-limit-http-429-errors/6885', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-09-17T01:59:30+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/rate-limit-http-429-errors/6885', status_code=200, scrape_id='58b878c5-ab49-4a38-9246-8e1cf3043468', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Relationship with Alpaca.ai' addresses the relationship between Alpaca.markets and Alpaca.ai. A user inquires if Alpaca.markets is a subsidiary of Alpaca.ai, to which another user responds that Alpaca.ai was once part of Alpaca.markets but has since spun off, and there is currently no relationship between the two. Additionally, a user reports a bug related to Apple stock splits in the paper trading software, expressing appreciation for the platform.", metadata=DocumentMetadata(title='Relationship with Alpaca.ai - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='Is Alpaca.markets a subsidiary of alpaca.ai? I’m wondering what the specific relationship is.', url='https://forum.alpaca.markets/t/relationship-with-alpaca-ai/179', language='en', keywords=None, robots=None, og_title='Relationship with Alpaca.ai - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='Is Alpaca.markets a subsidiary of alpaca.ai? I’m wondering what the specific relationship is.', og_url='https://forum.alpaca.markets/t/relationship-with-alpaca-ai/179', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-22T17:10:08+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/relationship-with-alpaca-ai/179', status_code=200, scrape_id='849ad0bc-c148-4304-8925-686493c2656c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum features a discussion titled 'Record of Paid Dividends,' where users can inquire about dividend records credited to their accounts. A user expressed confusion over missing dividend records for payments expected on July 24, 2019. Another user, identified as 'alpaca_nancy,' responded that dividend information can currently be accessed through monthly statements on the Alpaca dashboard, with plans to integrate this information via API in the future. The conversation highlights the need for clearer access to dividend records and upcoming payments. Related topics include discussions on stock dividends, recent updates on dividend activities, and retrieving dividend information via API.", metadata=DocumentMetadata(title='Record of paid dividends - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='Hello, \nWhere can I find records of dividends credited to my account? I know some should have paid on July 24 (at least they did at other brokerage), but no record here. I’m not even sure if they paid or no. \nEven better…', url='https://forum.alpaca.markets/t/record-of-paid-dividends/48', language='en', keywords=None, robots=None, og_title='Record of paid dividends - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='Hello, Where can I find records of dividends credited to my account? I know some should have paid on July 24 (at least they did at other brokerage), but no record here. I’m not even sure if they paid or no. Even better, is there a way to get a list of upcoming dividend once record date is passed? ~~Thanks!', og_url='https://forum.alpaca.markets/t/record-of-paid-dividends/48', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-26T18:11:29+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/record-of-paid-dividends/48', status_code=200, scrape_id='56a987b2-860d-4ae2-9fdd-6d18c541b27e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses the Clock API and the need for support for extended hours trading. Users express a desire for the clock endpoint to indicate when extended hours trading is active, suggesting features like boolean values for pre_is_open and after_is_open. Several users have requested this feature over the years, highlighting its importance for their trading strategies. The forum includes various related topics, indicating ongoing discussions about trading hours and API functionalities.', metadata=DocumentMetadata(title='Clock API and Extended Hours - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='Will the clock endpoint be updated to show when extended hours trading is active?', url='https://forum.alpaca.markets/t/clock-api-and-extended-hours/118', language='en', keywords=None, robots=None, og_title='Clock API and Extended Hours - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='Will the clock endpoint be updated to show when extended hours trading is active?', og_url='https://forum.alpaca.markets/t/clock-api-and-extended-hours/118', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/19310421b3fa1fe86dd234fbc420c25dfc8d0f6d.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-01T23:36:42+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/clock-api-and-extended-hours/118', status_code=200, scrape_id='462a4797-1f65-4d68-87ec-6cfd6e9f1fa3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users interested in live trading, particularly European citizens. The forum discusses the availability of live trading accounts for Europeans, with users expressing concerns and seeking information about Alpaca's services in Europe. Key points include inquiries about account accessibility, the possibility of using Alpaca as a zero-fee broker, and the requirement of a minimum deposit for account opening. Users share their experiences and seek updates on the situation, with some expressing frustration over the lack of availability.", metadata=DocumentMetadata(title='Live trading for European citizens - Alpaca Trading - Alpaca Community Forum', description='Hi guys! \nJust to know if we can count on Alpaca for us, Europeans, to open a live account? For now, I can only test in paper trading mode a few simple algos with a minimum performance. \nHappy New Year to all of you and …', url='https://forum.alpaca.markets/t/live-trading-for-european-citizens/584', language='en', keywords=None, robots=None, og_title='Live trading for European citizens - Alpaca Trading - Alpaca Community Forum', og_description='Hi guys! Just to know if we can count on Alpaca for us, Europeans, to open a live account? For now, I can only test in paper trading mode a few simple algos with a minimum performance. Happy New Year to all of you and Alpaca! Skyfold', og_url='https://forum.alpaca.markets/t/live-trading-for-european-citizens/584', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-28T11:14:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/live-trading-for-european-citizens/584', status_code=200, scrape_id='32ef163b-536c-43f5-a4ce-e9c923baa865', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main focus is on the release of the alpaca-java library version 5.0.0, which now supports polygon websockets instead of NATS, along with various other updates. Users are encouraged to report any issues via the forum or GitHub. The page also includes links to related topics, such as the publication of Alpaca Scala V3.0.0 and discussions on Alpaca for Java and Polygon.io Websocket Access.', metadata=DocumentMetadata(title='Alpaca-Java 5.0.0 - Alpaca Integration Applications / Projects - Alpaca Community Forum', description='For anyone using the alpaca-java library – we have just released 5.0.0. which supports polygon websockets in place of NATS along with a lot of other changes. Let us know if you have any issues (through here or github) o…', url='https://forum.alpaca.markets/t/alpaca-java-5-0-0/501', language='en', keywords=None, robots=None, og_title='Alpaca-Java 5.0.0 - Alpaca Integration Applications / Projects - Alpaca Community Forum', og_description='For anyone using the alpaca-java library – we have just released 5.0.0. which supports polygon websockets in place of NATS along with a lot of other changes. Let us know if you have any issues (through here or github) or see anything that isn’t working as expected. More information here: https://mainstringargs.github.io/alpaca-java/', og_url='https://forum.alpaca.markets/t/alpaca-java-5-0-0/501', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-03T17:49:11+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alpaca-java-5-0-0/501', status_code=200, scrape_id='f0b4821e-c394-41d7-99a9-286e3dd32b58', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum features a discussion thread titled "Head count for people" where users express their interest in Machine Learning (ML) and share their experiences with trading algorithms. Key points include: \n1. Users are seeking to gauge how many developers are familiar with ML to facilitate relevant discussions. \n2. Participants share their backgrounds in trading, with some working on personal trading platforms and implementing ML techniques. \n3. One user discusses using Genetic Algorithms (GA) for optimizing trading strategies, while another mentions their experience with custom C# code for trading. \n4. The conversation highlights the challenges and considerations in developing trading algorithms, including the importance of historical data and market trends. \n5. Users express interest in collaborating and sharing insights on their projects, with a focus on improving trading performance and exploring new technologies.', metadata=DocumentMetadata(title='Head count for people - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Id like to know how many developers here know about Machine Learning so i can post relevant content and ask questions !', url='https://forum.alpaca.markets/t/head-count-for-people/616', language='en', keywords=None, robots=None, og_title='Head count for people - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Id like to know how many developers here know about Machine Learning so i can post relevant content and ask questions !', og_url='https://forum.alpaca.markets/t/head-count-for-people/616', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-04T21:25:03+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/head-count-for-people/616', status_code=200, scrape_id='ff4e0188-e2c4-486d-be5f-304abbdebdbe', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses an issue regarding the historical data retrieval limit, where users can only access data up to 9 hours from the current time instead of the expected 15 minutes. A user named Edward reports difficulties using the Alpaca Python API's StockHistoricalDataClient to fetch historical data, despite trying various configurations. Other users, including Philip_Isles, suggest toggling between SIP and IEX feeds and provide code snippets to help troubleshoot the issue. Edward eventually shifts to using live data streams for real-time data access, indicating a workaround to the problem.", metadata=DocumentMetadata(title='Historical Data limited to (now - 9h) instead of (now - 15m) - Alpaca Market Data - Alpaca Community Forum', description='I’ve been playing around with the Alpaca Python API (paper trading with the free subscription) but have been troubled by the problem above. \nI use the StockHistoricalDataClient to fetch the historical data, but no matter…', url='https://forum.alpaca.markets/t/historical-data-limited-to-now-9h-instead-of-now-15m/15152', language='en', keywords=None, robots=None, og_title='Historical Data limited to (now - 9h) instead of (now - 15m) - Alpaca Market Data - Alpaca Community Forum', og_description='I’ve been playing around with the Alpaca Python API (paper trading with the free subscription) but have been troubled by the problem above. I use the StockHistoricalDataClient to fetch the historical data, but no matter what I do, it returns up to 9 hours from the current time only. I’ve tried various things like adding start and end time, removing end time, removing start time, and tweaking the limit, but all of them fall under the same limitation. Is anyone having the same problem?', og_url='https://forum.alpaca.markets/t/historical-data-limited-to-now-9h-instead-of-now-15m/15152', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2024-10-11T10:19:58+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/historical-data-limited-to-now-9h-instead-of-now-15m/15152', status_code=200, scrape_id='c8b81990-6112-4a2c-a9f6-780c63bd83e5', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users and offers support for trading API accounts. A user named 'benr' expressed frustration in a forum post about an error encountered when requesting historical bar data for intervals longer than 5 minutes. The error message indicates that the timeframe exceeds the allowed maximum of 59, despite the user trying to request 15-minute data. The user successfully retrieves data for 5-minute intervals but seeks assistance for the 15-minute request. The post has garnered 67 views and is part of a discussion on related topics regarding historical data requests.", metadata=DocumentMetadata(title='Stock Historical Bars - Error when requesting interval more than 5minutes - Getting Started with Alpaca - Alpaca Community Forum', description='Firstly, it was incredibly frustrating to find how to request historical bar data for a period other than Day. Through various posts showing outdated syntax I was able to piece it together. Every single example uses tim…', url='https://forum.alpaca.markets/t/stock-historical-bars-error-when-requesting-interval-more-than-5minutes/16945', language='en', keywords=None, robots=None, og_title='Stock Historical Bars - Error when requesting interval more than 5minutes - Getting Started with Alpaca - Alpaca Community Forum', og_description='Firstly, it was incredibly frustrating to find how to request historical bar data for a period other than Day. Through various posts showing outdated syntax I was able to piece it together. Every single example uses timeframe=TimeFrame.Day. On to the issue. When I try to get 15 minute data I get the following error: raise APIError(error, http_error) alpaca.common.exceptions.APIError: {"message":"timeframe period number is larger than the allowed maximum of 59"} The timeframe entry of this co...', og_url='https://forum.alpaca.markets/t/stock-historical-bars-error-when-requesting-interval-more-than-5minutes/16945', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-05-17T06:46:04+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/stock-historical-bars-error-when-requesting-interval-more-than-5minutes/16945', status_code=200, scrape_id='681e1f77-6f50-4ec5-8b09-815e4448d587', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The forum discusses issues related to rejected trades, with users sharing their experiences and seeking help. A user mentions starting live trading with a machine learning system and questions if there are limits on trades per hour due to rejections. Another user reports multiple rejected orders and asks for reasons behind them. Related topics include issues with live accounts, professional trading status, historical trade data limits, and order rejections.', metadata=DocumentMetadata(title='Rejected trades - Alpaca Account Troubleshooting - Alpaca Community Forum', description='i just started live trading with a machine learning system that potentially can trade every second. Are there unpublished limits on the number of trades I can make per hour. My trades started getting rejected as the da…', url='https://forum.alpaca.markets/t/rejected-trades/597', language='en', keywords=None, robots=None, og_title='Rejected trades - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='i just started live trading with a machine learning system that potentially can trade every second. Are there unpublished limits on the number of trades I can make per hour. My trades started getting rejected as the day progressed.', og_url='https://forum.alpaca.markets/t/rejected-trades/597', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-01T15:46:08+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/rejected-trades/597', status_code=200, scrape_id='9b388ae9-a97e-4f3b-befb-b39558bff69c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The Trading Category is dedicated to discussions about trading strategies and news, with a total of 1.3k views. Related topics include discussions on Alpaca products, trading issues, and community introductions. Users can find FAQs, share ideas, and follow discussions within the community.', metadata=DocumentMetadata(title='About the Trading Category - Alpaca Trading - Alpaca Community Forum', description='For all discussion centered around trading, strategies, and news.', url='https://forum.alpaca.markets/t/about-the-trading-category/12', language='en', keywords=None, robots=None, og_title='About the Trading Category - Alpaca Trading - Alpaca Community Forum', og_description='For all discussion centered around trading, strategies, and news.', og_url='https://forum.alpaca.markets/t/about-the-trading-category/12', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-11T17:58:47+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-trading-category/12', status_code=200, scrape_id='66dd2ac6-6046-4117-8970-2bc9a326f956', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A forum discussion addresses how to buy the maximum amount of a stock considering margin fees. A user requests a formula for real-time account balance checks and stock purchases based on a $100,000 equity and 4x margin. Another user provides a PHP function to calculate the maximum quantity of stock to buy based on cash balance, investment percentage, and stock price. Related topics include margin trading and investment strategies.', metadata=DocumentMetadata(title='Is there a formula on how to buy the biggest amount possible of a given stock compiled to margin fees? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Let’s say account equity is $100,000, the margin is 4x. \nWhat I need: a quick formula that automatically checks account balance in real-time, then buys the biggest amount possible of a given stock compiled to margin fees…', url='https://forum.alpaca.markets/t/is-there-a-formula-on-how-to-buy-the-biggest-amount-possible-of-a-given-stock-compiled-to-margin-fees/348', language='en', keywords=None, robots=None, og_title='Is there a formula on how to buy the biggest amount possible of a given stock compiled to margin fees? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Let’s say account equity is $100,000, the margin is 4x. What I need: a quick formula that automatically checks account balance in real-time, then buys the biggest amount possible of a given stock compiled to margin fees. Thanks in advance!', og_url='https://forum.alpaca.markets/t/is-there-a-formula-on-how-to-buy-the-biggest-amount-possible-of-a-given-stock-compiled-to-margin-fees/348', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-07T18:56:01+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/is-there-a-formula-on-how-to-buy-the-biggest-amount-possible-of-a-given-stock-compiled-to-margin-fees/348', status_code=200, scrape_id='663c8fb8-72c3-4765-8297-3b4f6b537414', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The discussion titled 'OAuth2: 3 things' addresses common issues related to OAuth2 integration. User Luca inquires about token expiration, error messages when requesting tokens, and authentication for paper accounts. Other users, including Marmik and Michael, share their experiences with similar issues, highlighting the importance of matching redirect URLs in requests. Related topics include using OAuth2 with live and paper accounts, troubleshooting authentication tokens, and integrating the Alpaca API for trading.", metadata=DocumentMetadata(title='OAuth2: 3 things - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='Hi guys, well done with the new support for OAuth2! I’m testing it right now and I was wondering (1) how often the token expires (https://docs.alpaca.markets/build-apps_services-with-alpaca/oauth-guide/). There is not me…', url='https://forum.alpaca.markets/t/oauth2-3-things/743', language='en', keywords=None, robots=None, og_title='OAuth2: 3 things - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='Hi guys, well done with the new support for OAuth2! I’m testing it right now and I was wondering (1) how often the token expires (https://docs.alpaca.markets/build-apps_services-with-alpaca/oauth-guide/). There is not mentioned in the documentation. Should I ask for a token every day? Or if a token is expired/not valid, do you return a specific code/error, so I can request a brand new token? Also (2), I’ve followed the instructions on the web site, but when I ask for a token I receive this err...', og_url='https://forum.alpaca.markets/t/oauth2-3-things/743', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-02-06T19:50:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/oauth2-3-things/743', status_code=200, scrape_id='39036602-c481-4c24-9acf-4d58e9f3c398', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to paper limit sell orders not executing as expected. Users report that their limit sell orders do not fill even when the market price exceeds the limit price. Common concerns include orders not executing when they carry over to the next trading day and difficulties with after-hours trading. Some users express frustration and hesitation to transition to live trading due to these issues. The forum also provides insights into potential solutions, such as ensuring the correct 'time in force' settings and understanding the limitations of market orders during extended hours. Additionally, there is a mention of the possibility of receiving partial fills in paper trading.", metadata=DocumentMetadata(title='Paper Limit Sell Order not executing when expected - Alpaca Integration Applications - Alpaca Community Forum', description='My limit sell orders are not executing in my paper account when the bid is over the limit price. For example, see the 2/5/20 chart for NVDA below showing it trading well over my limit price of $249.14. \n \nI did notice on…', url='https://forum.alpaca.markets/t/paper-limit-sell-order-not-executing-when-expected/739', language='en', keywords=None, robots=None, og_title='Paper Limit Sell Order not executing when expected - Alpaca Integration Applications - Alpaca Community Forum', og_description='My limit sell orders are not executing in my paper account when the bid is over the limit price. For example, see the 2/5/20 chart for NVDA below showing it trading well over my limit price of $249.14. I did notice only two seconds elapsed from the time that the NVDA buy order was filled and when the limit sell order was placed. I’m unsure if this could be causing a problem. Has anyone come across an issue like this?', og_url='https://forum.alpaca.markets/t/paper-limit-sell-order-not-executing-when-expected/739', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/d7e454b357c06956ce119ef3f5f92f51d504faa1_2_1024x529.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-02-06T00:38:11+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/paper-limit-sell-order-not-executing-when-expected/739', status_code=200, scrape_id='a94a011a-05b4-465b-b89a-fb1eb6bc5c31', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The forum discusses issues related to connecting to the websocket for live ticker price updates. A user, Geovane_Martinez, reports difficulties in receiving accurate data using the Alpaca API and shares example code for connecting to Polygon's websocket. Another user, Michael_D, seeks advice on handling multiple symbols for updates. Related topics include requests for multiple ticker data and websocket data alternatives.", metadata=DocumentMetadata(title='Successfully connecting to websocket but no data - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='C# SKD \nFunded Live account \nHello, I have been trying to get Live multiple ticker price updates but run into problems. At first I was using GetLastTradeAsync but this limits me to only 1 ticker symbol per api call. I re…', url='https://forum.alpaca.markets/t/successfully-connecting-to-websocket-but-no-data/323', language='en', keywords=None, robots=None, og_title='Successfully connecting to websocket but no data - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='C# SKD Funded Live account Hello, I have been trying to get Live multiple ticker price updates but run into problems. At first I was using GetLastTradeAsync but this limits me to only 1 ticker symbol per api call. I recently tried using GetBarSetAsync which I can get multiple tickers but seems the data is inaccurate, looks like data is stale for minutes and doesn’t update frequent enough. I found that with polygon’s websocket we can stream for multiple ticker symbols. I used the MeanReversionB...', og_url='https://forum.alpaca.markets/t/successfully-connecting-to-websocket-but-no-data/323', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-29T00:26:39+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/successfully-connecting-to-websocket-but-no-data/323', status_code=200, scrape_id='c96df6ad-cf86-4c88-a311-7026f87be083', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses a common issue regarding a 20-minute delay in live and paper trading data. Users are encouraged to check their market data subscription status and ensure they are using the correct API keys for real-time data access. One user shared their experience of purchasing a premium account but still facing delays, while another provided a code snippet for accessing real-time data. The conversation highlights the importance of using the correct settings and the potential for alternative data sources if issues persist. Users are also reminded that the Alpaca user interface may inherently have a delay, but prices can still be accurate.', metadata=DocumentMetadata(title='How do i get rid of 20 minute delay (live and paper) on site? - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='I purchased the premium account just in case, i thought for $9 but instead it was $99. Still putting that aside for a moment I have a 20 minute delay still, alpaca is 20 minutes behind tradingview. How can I address th…', url='https://forum.alpaca.markets/t/how-do-i-get-rid-of-20-minute-delay-live-and-paper-on-site/10607', language='en', keywords=None, robots=None, og_title='How do i get rid of 20 minute delay (live and paper) on site? - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='I purchased the premium account just in case, i thought for $9 but instead it was $99. Still putting that aside for a moment I have a 20 minute delay still, alpaca is 20 minutes behind tradingview. How can I address this?', og_url='https://forum.alpaca.markets/t/how-do-i-get-rid-of-20-minute-delay-live-and-paper-on-site/10607', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-09-15T17:51:44+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-do-i-get-rid-of-20-minute-delay-live-and-paper-on-site/10607', status_code=200, scrape_id='e3343745-85fc-495d-9134-eb1d201aa56d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A user reported an issue with receiving an 'insufficient qty available for order' error when trying to liquidate an asset, despite having no outstanding orders. The user suspected that previous sell orders might not have been canceled automatically. They inquired about canceling all non-filled orders and whether they were making an error. Another user confirmed that there were indeed open sell orders from previous days that were not canceled, raising a question about whether this was a bug in the system.", metadata=DocumentMetadata(title='Insufficient qty available for order (requested: 184, ava - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nAlpaca APP Web interface \nProblem\nSummary \nSometimes when I am trying to liquide an asset I am getting the error message insufficient qty available for order (requested: 184, available: 0) even though no outs…', url='https://forum.alpaca.markets/t/insufficient-qty-available-for-order-requested-184-ava/602', language='en', keywords=None, robots=None, og_title='Insufficient qty available for order (requested: 184, ava - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment Alpaca APP Web interface Problem Summary Sometimes when I am trying to liquide an asset I am getting the error message insufficient qty available for order (requested: 184, available: 0) even though no outstanding orders are set for this symbol and the market is open. I did set a few sell orders for the symbol when the market was closed, could be that the system is somehow “stuck” thinking I have a non filled order but not showing it to me when I query for the orders? (either in t...', og_url='https://forum.alpaca.markets/t/insufficient-qty-available-for-order-requested-184-ava/602', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-02T15:01:53+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/insufficient-qty-available-for-order-requested-184-ava/602', status_code=200, scrape_id='13120260-b2ca-4589-9387-b3a160db246e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. The main topic discussed is the Deposits/Withdrawals Endpoint, where users inquire about accessing their deposit and withdrawal history. Initially, this feature was unavailable, but an Activities API has been rolled out, allowing users to retrieve funding history using the activity type 'TRANS'. Related discussions include portfolio value differences, transferring amounts between accounts, and accessing daily portfolio value history via API.", metadata=DocumentMetadata(title='Deposits/Withdrawals Endpoint - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='Is there a way to get Deposit/Withdrawal history?', url='https://forum.alpaca.markets/t/deposits-withdrawals-endpoint/175', language='en', keywords=None, robots=None, og_title='Deposits/Withdrawals Endpoint - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='Is there a way to get Deposit/Withdrawal history?', og_url='https://forum.alpaca.markets/t/deposits-withdrawals-endpoint/175', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-21T04:28:33+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/deposits-withdrawals-endpoint/175', status_code=200, scrape_id='0d6a4c6e-8fac-4cac-99e6-07e302a7aac1', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The main discussion revolves around the Portfolio History Endpoint, where users inquire about its availability and reliability. A user notes that the internal API for portfolio history is not publicly available, but Alpaca is working on extending API coverage. Concerns are raised about the current API's reliability, with reports of inaccurate data regarding cash and equity. A partner app, Feather Finance, offers a portfolio management solution that includes a consistent P/L calculation and its own API endpoint for portfolio history.", metadata=DocumentMetadata(title='Portfolio History Endpoint - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='I see that when logged in the historical value chart on the Overview page utilizes an internal API for showing portfolio history. \nThat URL looks like: https://app.alpaca.markets/internal/accounts/{string}/portfolio/hist…', url='https://forum.alpaca.markets/t/portfolio-history-endpoint/174', language='en', keywords=None, robots=None, og_title='Portfolio History Endpoint - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='I see that when logged in the historical value chart on the Overview page utilizes an internal API for showing portfolio history. That URL looks like: https://app.alpaca.markets/internal/accounts/{string}/portfolio/history?period=intraday Is this endpoint available for use?', og_url='https://forum.alpaca.markets/t/portfolio-history-endpoint/174', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-21T04:12:10+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/portfolio-history-endpoint/174', status_code=200, scrape_id='7e6fbb3c-d964-4bb0-8145-be5d952af47c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses the demand for support of fractional shares in trading. Users express their desire for this feature, citing its importance for algorithmic trading and investment flexibility. Many potential users indicate they would switch to Alpaca if fractional shares were offered, highlighting the competitive edge it could provide over other platforms like Robinhood. The conversation includes multiple requests and endorsements for the feature, with users sharing their experiences and needs related to fractional share trading.', metadata=DocumentMetadata(title='Support for fractional shares - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='Does Alpaca support buying/selling fractional shares? If not, when will it be supported? I’d like to use this for an algorithm I’m developing, but fractional shares is a requirement for me.', url='https://forum.alpaca.markets/t/support-for-fractional-shares/484', language='en', keywords=None, robots=None, og_title='Support for fractional shares - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='Does Alpaca support buying/selling fractional shares? If not, when will it be supported? I’d like to use this for an algorithm I’m developing, but fractional shares is a requirement for me.', og_url='https://forum.alpaca.markets/t/support-for-fractional-shares/484', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-24T06:37:37+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/support-for-fractional-shares/484', status_code=200, scrape_id='b2887de2-8eb3-4ae9-93d6-840cdd8c9686', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users and provides a platform for discussions and FAQs. A user inquired about shorting stocks on Alpaca while using Trading View, receiving a code 40310000 error. The page includes related topics such as account restrictions on shorting, shorting in Trading View, and tutorials on short selling. Users can sign up for a Trading API account on Alpaca.', metadata=DocumentMetadata(title='Shorting Stocks? - Alpaca Trading - Alpaca Community Forum', description='New to Alpaca and using it in Trading View. Any way to short stocks? Gives me code 40310000. Thanks', url='https://forum.alpaca.markets/t/shorting-stocks/514', language='en', keywords=None, robots=None, og_title='Shorting Stocks? - Alpaca Trading - Alpaca Community Forum', og_description='New to Alpaca and using it in Trading View. Any way to short stocks? Gives me code 40310000. Thanks', og_url='https://forum.alpaca.markets/t/shorting-stocks/514', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-06T21:21:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/shorting-stocks/514', status_code=200, scrape_id='6ccdafff-9e01-47ac-bd5d-d6f5e56d2311', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A forum post discusses how to maximize stock purchases with available buying power. A user inquires about buying SPY stocks with an initial buying power of $400,000, noting a discrepancy in the number of shares they can purchase. Another user responds, suggesting that the issue may be related to buying on margin and recommends checking the documentation on maintenance margin. Related topics include margin power, buying formulas, and issues with negative buying power.', metadata=DocumentMetadata(title='How do I buy max amount possible with the remainder? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Hi all. \nSo, in my paper trading account, the initial buying power is $400,000. All I want to do is to buy, let’s say, SPY stocks, on all stake. Right now the price is approximately $294, which is ~\t1360 shares available…', url='https://forum.alpaca.markets/t/how-do-i-buy-max-amount-possible-with-the-remainder/346', language='en', keywords=None, robots=None, og_title='How do I buy max amount possible with the remainder? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Hi all. So, in my paper trading account, the initial buying power is $400,000. All I want to do is to buy, let’s say, SPY stocks, on all stake. Right now the price is approximately $294, which is ~\t1360 shares available to buy, but… the real amount possible to buy is 1325. Turns out the SPY price is 301? It just can’t be, right? How do I buy max amount possible with the remainder? Thanks in advance.', og_url='https://forum.alpaca.markets/t/how-do-i-buy-max-amount-possible-with-the-remainder/346', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-06T02:47:54+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-do-i-buy-max-amount-possible-with-the-remainder/346', status_code=200, scrape_id='8dcd3a15-f8f7-4b9c-88c2-97d559dcc70f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main discussion topic is about efficiently retrieving stock symbols within a specified price range. A user shares a Python function that lists tradable assets and filters them based on their closing prices. Other users contribute by suggesting alternative methods and tools, such as using the Finviz platform for faster data retrieval. The forum also features related topics on stock scanning, historical price querying, and API calls.', metadata=DocumentMetadata(title='Any efficient way of getting symbols between a price range - Alpaca Integration Applications - Alpaca Community Forum', description='def get_symbols(low,high): \nassets = api.list_assets() \nsymbols = [asset.symbol for asset in assets if asset.tradable] \nselected=[] \nfor symbol in symbols: \nbarset=api.get_barset(symbol,‘day’,limit=1) \nbars = barset[symb…', url='https://forum.alpaca.markets/t/any-efficient-way-of-getting-symbols-between-a-price-range/137', language='en', keywords=None, robots=None, og_title='Any efficient way of getting symbols between a price range - Alpaca Integration Applications - Alpaca Community Forum', og_description='def get_symbols(low,high): assets = api.list_assets() symbols = [asset.symbol for asset in assets if asset.tradable] selected=[] for symbol in symbols: barset=api.get_barset(symbol,‘day’,limit=1) bars = barset[symbol] if bars[0].c >= low and bars[0].c<=high: selected.append(symbol) print (symbol,bars[-1].c) return selected', og_url='https://forum.alpaca.markets/t/any-efficient-way-of-getting-symbols-between-a-price-range/137', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-07T20:33:15+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/any-efficient-way-of-getting-symbols-between-a-price-range/137', status_code=200, scrape_id='08a3a3c8-f9e8-4765-8c24-1004e0406c1d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users and provides support for trading API issues. A specific error discussed is 'Error 406: Connection Limit Exceeded', which occurs when users attempt to connect to the market data API while already having an active connection. Users are advised to ensure only one connection is active and to properly close WebSocket connections to avoid this error. The community also shares examples and solutions for handling WebSocket closures.", metadata=DocumentMetadata(title="{T: 'error', code: 406, msg: 'connection limit exceeded'} - Alpaca Market Data - Alpaca Community Forum", description='I get an error when I try to use the market data API \nerror 406 \n“connection limit exceeded” \nwhat should i do??', url='https://forum.alpaca.markets/t/t-error-code-406-msg-connection-limit-exceeded/10896/5', language='en', keywords=None, robots=None, og_title="{T: 'error', code: 406, msg: 'connection limit exceeded'} - Alpaca Market Data - Alpaca Community Forum", og_description='@chatofking Proper network resource closing depends on your programming language/library. In most cases, socket-related objects provide a method/function for closing the underlying connection. It can have names like close, disconnect, or something like this. Ideally, it should send a low-level WS protocol message to the server that indicates the end of the communication session and close the network socket after receiving a confirmation response from the server side.', og_url='https://forum.alpaca.markets/t/t-error-code-406-msg-connection-limit-exceeded/10896/5', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-11-05T12:04:52+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/t-error-code-406-msg-connection-limit-exceeded/10896/5', status_code=200, scrape_id='e4be2684-c16e-4d94-b2da-a0e60ef92c74', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum post discusses an issue where users encounter a 'Request failed with status code 422' error when placing orders in paper trading. The user Louvivien reports multiple failed orders for various tickers but successfully places an order for GLD. Another user, DeBechamel, suggests that specifying a money amount instead of share quantity may lead to this error due to fractional quantity restrictions. Related topics include various error discussions and troubleshooting for order placement.", metadata=DocumentMetadata(title='Request failed with status code 422 - Alpaca Integration Applications - Alpaca Community Forum', description='Hello, \nI try to place an order in paper trading and I get this: \nFailed to place order for UUP: Error: Request failed with status code 422 \nFailed to place order for TMF: Error: Request failed with status code 422 \nFail…', url='https://forum.alpaca.markets/t/request-failed-with-status-code-422/12407/2', language='en', keywords=None, robots=None, og_title='Request failed with status code 422 - Alpaca Integration Applications - Alpaca Community Forum', og_description='What kind of order are you submitting? If you specify money amount rather than share quantity, some tickers do not allow fractional quantities, and your money amount could result in exactly that. HTH.', og_url='https://forum.alpaca.markets/t/request-failed-with-status-code-422/12407/2', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2023-06-12T12:12:15+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/request-failed-with-status-code-422/12407/2', status_code=200, scrape_id='2b1b5951-de45-4977-9249-5e58d0fe6f85', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The page features a Start Up Tutorial discussion where community members express interest in developing a tutorial for new users. Key points include a suggestion from a user to create a startup guide, an invitation from another member to join a content program, and shared experiences regarding installation issues on Ubuntu. Users discuss specific problems with package installations and compatibility with Python versions. The page also lists related topics for further assistance.', metadata=DocumentMetadata(title='Start Up Tutorial? - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='Hello Alpacas! \nJust had a great thought, there is not much in the way of a start up tutorial! \nIf the admins are interested I could start on something like that? \nAny thoughts from the community?', url='https://forum.alpaca.markets/t/start-up-tutorial/287', language='en', keywords=None, robots=None, og_title='Start Up Tutorial? - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='Hello Alpacas! Just had a great thought, there is not much in the way of a start up tutorial! If the admins are interested I could start on something like that? Any thoughts from the community?', og_url='https://forum.alpaca.markets/t/start-up-tutorial/287', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-18T22:54:29+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/start-up-tutorial/287', status_code=200, scrape_id='c43d31ae-4b25-4874-a839-26b553bb797b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The forum provides a space for discussions related to programming and app development within the Alpaca Integration Applications category. Users can share ideas, seek help, and follow discussions. A recent post highlights a user's challenge in building a platform for non-US customers to create and fund accounts via the API, seeking guidance from others who may have integrated similar functionalities. Related topics include account creation and funding through the API.", metadata=DocumentMetadata(title='About the Alpaca Integration Applications category - Alpaca Integration Applications - Alpaca Community Forum', description='Use this category to discuss all things programming, development, app-building, etc! We’d love to hear about the different projects you’re pursuing or what you’re currently working on.', url='https://forum.alpaca.markets/t/about-the-alpaca-integration-applications-category/29', language='en', keywords=None, robots=None, og_title='About the Alpaca Integration Applications category - Alpaca Integration Applications - Alpaca Community Forum', og_description='Use this category to discuss all things programming, development, app-building, etc! We’d love to hear about the different projects you’re pursuing or what you’re currently working on.', og_url='https://forum.alpaca.markets/t/about-the-alpaca-integration-applications-category/29', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-25T18:24:02+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-alpaca-integration-applications-category/29', status_code=200, scrape_id='333002ec-ec6f-4d4a-b97a-58e82b46f30a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses how to run a live pipeline using USEquityPricing data. A user reports an error related to the 'get_loader' attribute when executing a scheduled function with the pipeline output. Other users suggest checking the API version, using different pricing data sources, and ensuring the latest version of the pipeline is installed. The conversation highlights troubleshooting steps, including importing necessary factors and considering custom factors for specific calculations. Ultimately, one user resolves their issue by creating a custom factor for Annualized Volatility.", metadata=DocumentMetadata(title='How can I run pipeline_live with USEquityPricing data? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='I use the import statement: from pipeline_live.data.alpaca.pricing import USEquityPricing. I attach the pipeline using \nattach_pipeline(pipe, 'Stocks'). \nHowever, when I run a scheduled function with the line: \npipe_outp…', url='https://forum.alpaca.markets/t/how-can-i-run-pipeline-live-with-usequitypricing-data/104', language='en', keywords=None, robots=None, og_title='How can I run pipeline_live with USEquityPricing data? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description="I use the import statement: from pipeline_live.data.alpaca.pricing import USEquityPricing. I attach the pipeline using attach_pipeline(pipe, 'Stocks'). However, when I run a scheduled function with the line: pipe_output = pipeline_output('Stocks'), I get the following error: AttributeError: type object 'USEquityPricing' has no attribute 'get_loader'[2019-06-24 19:26:01.238885] WARNING: Executor: Continuing execution I have run my algo with iex.pricing and polygon.pricing, yet get the same ...", og_url='https://forum.alpaca.markets/t/how-can-i-run-pipeline-live-with-usequitypricing-data/104', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-31T01:49:20+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-can-i-run-pipeline-live-with-usequitypricing-data/104', status_code=200, scrape_id='4da79465-7e26-4b2a-baa7-dac6b807d8ed', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The forum discusses the limitations of using only 'Minute' and 'Day' aggregations in the Polygon API, as raised by user Mikhail Prokaziuk. The post has garnered 543 views since December 2019. Related topics include troubleshooting the Alpaca Polygon API, issues with data retrieval, and updates on API changes. Users can find FAQs, share ideas, and follow discussions within the community.", metadata=DocumentMetadata(title='Polygon supports a lot history aggregations - Alpaca Market Data - Alpaca Community Forum', description='Is there a reason why we can use only ‘Minute’ and ‘Day’ aggregations? \nP.S. I’m using “Alpaca.Markets” nuget for C#.NET', url='https://forum.alpaca.markets/t/polygon-supports-a-lot-history-aggregations/499', language='en', keywords=None, robots=None, og_title='Polygon supports a lot history aggregations - Alpaca Market Data - Alpaca Community Forum', og_description='Is there a reason why we can use only ‘Minute’ and ‘Day’ aggregations? P.S. I’m using “Alpaca.Markets” nuget for C#.NET', og_url='https://forum.alpaca.markets/t/polygon-supports-a-lot-history-aggregations/499', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-02T11:30:25+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/polygon-supports-a-lot-history-aggregations/499', status_code=200, scrape_id='b94bee6a-bbd3-4768-8187-8e4d954031ce', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to the Alpaca Bar set not reflecting data correctly. Users report problems with missing or incomplete market data for specific stocks, such as CIDM and DIS. One user highlights discrepancies between Alpaca's data and Yahoo Stocks, while another notes that gaps in data may occur due to low trading volume. The forum also mentions that IEX data only includes trades executed on their exchange, which can lead to incomplete barsets. Users are advised to use the Polygon API for more comprehensive data, which requires an Alpaca live trading account.", metadata=DocumentMetadata(title='Alpaca Bar set not reflecting data correctly - Alpaca Market Data - Alpaca Community Forum', description='Hi \nI was cross checking some of the barset data pulled using alpaca api.barset for every 1min and 5min for CIDM stock, this is what i get. Any ideas what would be the problem here. Or “Alpaca please fix this” \nI am expe…', url='https://forum.alpaca.markets/t/alpaca-bar-set-not-reflecting-data-correctly/388', language='en', keywords=None, robots=None, og_title='Alpaca Bar set not reflecting data correctly - Alpaca Market Data - Alpaca Community Forum', og_description='Hi I was cross checking some of the barset data pulled using alpaca api.barset for every 1min and 5min for CIDM stock, this is what i get. Any ideas what would be the problem here. Or “Alpaca please fix this” I am expecting all the enteries for OCT 25, below rows are my latest data time\t open\thigh\tlow\tclose\tvolume 2019-10-09 10:20:00-04:00\t1\t1\t1\t1\t100 2019-10-16 10:00:00-04:00\t0.8401\t0.8401\t0.8401\t0.8401\t300 2019-10-16 10:05:00-04:00\t0.8401\t0.8401\t0.8401\t0.8401\t...', og_url='https://forum.alpaca.markets/t/alpaca-bar-set-not-reflecting-data-correctly/388', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-25T15:08:31+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alpaca-bar-set-not-reflecting-data-correctly/388', status_code=200, scrape_id='9bcbf768-bb51-4db6-b885-073bbbf99093', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users and provides a platform for discussions and FAQs. A key issue discussed is the incorrect treatment of extended hours in paper trading, where day orders with the extended flag set to True expire at 4 PM instead of 6 PM, causing discrepancies in testing algo features. The community is actively addressing this bug, and users can report issues and share experiences. Related topics include order execution during extended hours and cancellations of extended hour orders.', metadata=DocumentMetadata(title='Incorrect treatment of extended hours in paper trading - Alpaca Products Discussion - Alpaca Community Forum', description='This bug has persisted for a while: day orders with extended flag set to True correctly expire in live trading at 6pm, but they incorrectly expire in paper trading at 4pm, and the orders submitted after 4pm endure till 4…', url='https://forum.alpaca.markets/t/incorrect-treatment-of-extended-hours-in-paper-trading/360', language='en', keywords=None, robots=None, og_title='Incorrect treatment of extended hours in paper trading - Alpaca Products Discussion - Alpaca Community Forum', og_description='This bug has persisted for a while: day orders with extended flag set to True correctly expire in live trading at 6pm, but they incorrectly expire in paper trading at 4pm, and the orders submitted after 4pm endure till 4pm the next trading day. This discrepancy causes a bit of commotion when testing algo features on paper because this behavior does not happen in live trading.', og_url='https://forum.alpaca.markets/t/incorrect-treatment-of-extended-hours-in-paper-trading/360', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-11T15:25:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/incorrect-treatment-of-extended-hours-in-paper-trading/360', status_code=200, scrape_id='f995c458-fe2c-4167-baf3-81bc51757f89', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account and engage in discussions. The forum provides guidelines for civil discourse, emphasizing respect, constructive criticism, and community participation. Users are encouraged to improve discussions, flag inappropriate behavior, and maintain a tidy forum. Key points include treating the forum as a public space, being agreeable even in disagreement, and ensuring posts are original and relevant. The community is moderated, and users must adhere to the Terms of Service to participate.', metadata=DocumentMetadata(title='FAQ/Guidelines - Alpaca Trading / Tutorials - Alpaca Community Forum', description='This is a Civilized Place for Public Discussion\n\nPlease treat this discussion forum with the same respect you would a public park. We, too, are a shared community resource — a place to share skills, knowledge and inte…', url='https://forum.alpaca.markets/t/faq-guidelines/5', language='en', keywords=None, robots=None, og_title='FAQ/Guidelines - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='This is a Civilized Place for Public Discussion Please treat this discussion forum with the same respect you would a public park. We, too, are a shared community resource — a place to share skills, knowledge and interests through ongoing conversation. These are not hard and fast rules, merely guidelines to aid the human judgment of our community and keep this a clean and well-lighted place for civilized public discourse. Improve the Discussion Help us make this a great place for discus...', og_url='https://forum.alpaca.markets/t/faq-guidelines/5', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-10T23:05:49+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/faq-guidelines/5', status_code=200, scrape_id='17a2fee2-2359-4887-8ccf-1e1b5005678f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. A product update from July 18, 2019, highlights new features including MOC, websockets, CORS, and various bug and security fixes. Users can find more details through a provided link. The community also encourages sharing ideas and following discussions, with related topics available for further exploration.', metadata=DocumentMetadata(title='New Product Update! (7/18/2019) - Alpaca Products Discussion / Announcements - Alpaca Community Forum', description='Alpaca Product Update 7/18/2019 — MOC, websockets, CORS, bug & security fixes \nExciting update with new features! Read about the details here: \nhttps://link.medium.com/R2vm4rQNqY', url='https://forum.alpaca.markets/t/new-product-update-7-18-2019/22', language='en', keywords=None, robots=None, og_title='New Product Update! (7/18/2019) - Alpaca Products Discussion / Announcements - Alpaca Community Forum', og_description='Alpaca Product Update 7/18/2019 — MOC, websockets, CORS, bug & security fixes Exciting update with new features! Read about the details here: https://link.medium.com/R2vm4rQNqY', og_url='https://forum.alpaca.markets/t/new-product-update-7-18-2019/22', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-18T20:07:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/new-product-update-7-18-2019/22', status_code=200, scrape_id='ab6e4085-45f3-43aa-9445-d9ed558e0d80', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A user named 'tjt748' seeks help with a C# code snippet for canceling an order, encountering an error related to the orderID format. The user is confused about the expected format for orderID, which they believed to be a string. The page also features related topics discussing similar issues with order cancellations and API questions.", metadata=DocumentMetadata(title='Trying to cancel an order (c#) - Alpaca Integration Applications - Alpaca Community Forum', description='I am using the following c# code to cancel an order. \n// Get a list of all the orders. \nvar orders = await restClient.ListOrdersAsync(); \n // Print the quantity of shares for each position.\n foreach (var or…', url='https://forum.alpaca.markets/t/trying-to-cancel-an-order-c/634', language='en', keywords=None, robots=None, og_title='Trying to cancel an order (c#) - Alpaca Integration Applications - Alpaca Community Forum', og_description='I am using the following c# code to cancel an order. // Get a list of all the orders. var orders = await restClient.ListOrdersAsync(); // Print the quantity of shares for each position. foreach (var order in orders) { Console.WriteLine($"{order.OrderId} shares of {order.Symbol}."); lastOrderID = order.OrderId.ToString(); } var order = await restClient.DeleteOrderAsync(lastOrderID); I get an error message saying orderID cannot b...', og_url='https://forum.alpaca.markets/t/trying-to-cancel-an-order-c/634', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-09T21:04:50+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/trying-to-cancel-an-order-c/634', status_code=200, scrape_id='c565a4c2-b4fc-4e50-8684-b3c049d37e20', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum provides a space for FAQs, idea sharing, and discussions. A user inquired about media relations, suggesting that Alpaca should have contacts for media inquiries beyond typical outlets. The forum also features related topics such as media content kits, announcements, and product discussions.', metadata=DocumentMetadata(title='Media Relations - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='I know this might seem an alien concept but do you guys have anyone that deals with the media? Internal or external? There are many more publications out there than Techcrunch that just might want to ask questions, inter…', url='https://forum.alpaca.markets/t/media-relations/459', language='en', keywords=None, robots=None, og_title='Media Relations - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='I know this might seem an alien concept but do you guys have anyone that deals with the media? Internal or external? There are many more publications out there than Techcrunch that just might want to ask questions, interview people working with or for Alpaca and even receive press releases. I’m one! I’ve looked at/in all the typical spots a more typical startup or mature company would put such contacts but I see you guys are atypical. And Bravo!', og_url='https://forum.alpaca.markets/t/media-relations/459', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-13T22:12:25+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/media-relations/459', status_code=200, scrape_id='ed8461e3-afc8-4a8c-be1c-251c69b2c759', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion titled 'Hearing multiple channels in Polygon' explores the efficiency of subscribing to multiple channels using the StreamConn.register() function from the alpaca-trade-api SDK. Users debate whether to connect to each channel individually or use a regular expression for multiple channels. One user suggests that registering one function and dispatching to different processes may be slightly more efficient. Related topics include deregistration methods, streaming timing, and websocket examples.", metadata=DocumentMetadata(title='Hearing multiple channels in Polygon - Alpaca Account Troubleshooting - Alpaca Community Forum', description='I am suscribing to multiple channels of Polygon using the StreamConn.register() function of the alpaca-trade-api client SDK. I would like to know if its more efficient to connect to each channel individually, or to conne…', url='https://forum.alpaca.markets/t/hearing-multiple-channels-in-polygon/86', language='en', keywords=None, robots=None, og_title='Hearing multiple channels in Polygon - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='I am suscribing to multiple channels of Polygon using the StreamConn.register() function of the alpaca-trade-api client SDK. I would like to know if its more efficient to connect to each channel individually, or to connect to multiple channels and use a regular expression. In other words, is it better to do conn.register("Q.MSFT", on_quote) conn.register("Q.AAPL", on_quote) or use a regular expression like: conn.register("Q.MSFT|Q.AAPL", on_quote) The docs don’t suggest any preferable way.', og_url='https://forum.alpaca.markets/t/hearing-multiple-channels-in-polygon/86', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-28T19:42:34+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/hearing-multiple-channels-in-polygon/86', status_code=200, scrape_id='f71a93e0-0fb9-4e14-8506-f21301a7bb0e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The forum discusses how to access information from the Polygon entity Exchange using the Alpaca API. Key points include:\n1. Users can retrieve a list of exchanges using `api.polygon.exchanges()`, which returns Python dictionaries wrapped by `Exchange()`.\n2. The `_raw` property of entity-based classes holds raw JSON data, and fields can be accessed directly (e.g., `exchanges[0].mic`).\n3. Users inquire about converting lists into pandas dataframes, with suggestions to use `pd.DataFrame(obj._raw)` for conversion.\n4. A user seeks help with deploying a REST API for buying stocks using Alpaca, facing issues when deploying online but not locally. \n5. Related topics include getting pandas dataframes from Alpaca objects and troubleshooting account issues.', metadata=DocumentMetadata(title='How to access information from polygon.entity.Exchange - Alpaca Market Data - Alpaca Community Forum', description='Using api.polygon.exchanges(), I get a list of alpaca_trade_api.polygon.entity.Exchange. It appears they are Python dictionaries, but wrapped by Exchange(). \nI am not sure how to access them. Any suggestions? Thanks.', url='https://forum.alpaca.markets/t/how-to-access-information-from-polygon-entity-exchange/407', language='en', keywords=None, robots=None, og_title='How to access information from polygon.entity.Exchange - Alpaca Market Data - Alpaca Community Forum', og_description='Using api.polygon.exchanges(), I get a list of alpaca_trade_api.polygon.entity.Exchange. It appears they are Python dictionaries, but wrapped by Exchange(). I am not sure how to access them. Any suggestions? Thanks.', og_url='https://forum.alpaca.markets/t/how-to-access-information-from-polygon-entity-exchange/407', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/da2890ae23c9278911f08dd33cf0ec6d560db4f0_2_1024x506.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-31T03:51:35+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-access-information-from-polygon-entity-exchange/407', status_code=200, scrape_id='3b29d467-2918-483e-90dc-bddd4972eaf8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users and provides a platform for discussions and FAQs. A user reported an issue with resetting their Alpaca paper account, stating they could not find the reset button. The response from Alpaca clarified that due to a new feature allowing multiple paper accounts, users must delete their existing paper account or create a new one to reset it. Related topics include troubleshooting and issues with resetting paper accounts.', metadata=DocumentMetadata(title='Not able to reset my Alpaca paper account - Alpaca Trading - Alpaca Community Forum', description='Hi, \nI am not seeing the reset button in the alpaca web interface and hence am not able to reset my paper account, which is hindering my testing. \nCan someone point me as to how I could reset my Alpaca paper account? \nTh…', url='https://forum.alpaca.markets/t/not-able-to-reset-my-alpaca-paper-account/16434', language='en', keywords=None, robots=None, og_title='Not able to reset my Alpaca paper account - Alpaca Trading - Alpaca Community Forum', og_description='Hi, I am not seeing the reset button in the alpaca web interface and hence am not able to reset my paper account, which is hindering my testing. Can someone point me as to how I could reset my Alpaca paper account? Thanks', og_url='https://forum.alpaca.markets/t/not-able-to-reset-my-alpaca-paper-account/16434', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-03-14T13:55:18+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/not-able-to-reset-my-alpaca-paper-account/16434', status_code=200, scrape_id='7fde2fc5-5c5d-4e2a-af23-986a669c85f9', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum provides a space for FAQs, idea sharing, and discussions. A user reported an issue with the historic_agg_v2 function returning a None object when trying to retrieve aggregate data for stocks. The user was advised to ensure date parameters are correctly formatted and to use specific parameter keys for better results. Another user shared a successful code snippet for retrieving data into a dataframe. Related topics include troubleshooting historical data retrieval and API version issues.', metadata=DocumentMetadata(title='Help with alpaca polygon api - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nLanguage \nPython 3.7 \nAlpaca SDK Version \nLatest \nOther Environment Details \nUsing historic_agg_v2 polygon function to get aggregate data \nProblem\nSummary \nI am new to alpaca. My usage of historic_agg_v2 is …', url='https://forum.alpaca.markets/t/help-with-alpaca-polygon-api/402', language='en', keywords=None, robots=None, og_title='Help with alpaca polygon api - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment Language Python 3.7 Alpaca SDK Version Latest Other Environment Details Using historic_agg_v2 polygon function to get aggregate data Problem Summary I am new to alpaca. My usage of historic_agg_v2 is returning a None object. Trying to get hourly, minutes, or day polygon aggregate data. I am using agg_v2 since it return historic data for minutes, but this doesn’t seem to work with my usage. I also tried passing limit =10 and instead of ‘day’ using ‘hour’, either didn’t seem to...', og_url='https://forum.alpaca.markets/t/help-with-alpaca-polygon-api/402', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-29T16:38:37+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/help-with-alpaca-polygon-api/402', status_code=200, scrape_id='362c8897-e915-4266-a33c-70719db4a2f3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A discussion titled 'Multi bar json response' highlights issues with the JSON response format when pulling bar data using v2. The user, karl.dreyerjr, notes discrepancies between the expected format in the documentation and the actual response, specifically the absence of the 'symbol' key, complicating deserialization in C# .NET Core. Other users suggest using JObject and JToken for manual parsing or utilizing the official .NET SDK for easier handling. Related topics include API response format changes and issues with JSON file outputs.", metadata=DocumentMetadata(title='Multi bar json response - Alpaca Integration Applications - Alpaca Community Forum', description='I’m implementing v2 for pulling bar data and noticed that the json response from the call returns a format of json that is not consistent with what is detailed in the documentation. \nThe documentation indicates the follo…', url='https://forum.alpaca.markets/t/multi-bar-json-response/8850', language='en', keywords=None, robots=None, og_title='Multi bar json response - Alpaca Integration Applications - Alpaca Community Forum', og_description='I’m implementing v2 for pulling bar data and noticed that the json response from the call returns a format of json that is not consistent with what is detailed in the documentation. The documentation indicates the following format: When in fact, it returns: Note the lack of the “symbol” key element. This makes deserialization challenging. Short of having to parse this manually, does someone have any recommendations on how to deserialize this into a class object in c# .net core? Thanks ...', og_url='https://forum.alpaca.markets/t/multi-bar-json-response/8850', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/1/17d3fbd6e87d25a6b5e8d8289f452ca1ad402384.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-03-18T15:41:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/multi-bar-json-response/8850', status_code=200, scrape_id='0cce56db-475e-4d72-aee0-ac81ee4bf82f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum post discusses an error encountered when submitting an order using the Python API, specifically an APIError stating 'failed to calculate cost basis.' The user, Jesse Pangburn, reports that the code was functioning well until it began returning an HTTP 500 error. Another user, hitoshi, acknowledges the issue, attributing it to recent updates in the order management system. The post includes technical details about the API call and logging information, indicating that the error persists even outside market hours. Related topics are also listed, highlighting similar issues faced by other users.", metadata=DocumentMetadata(title='"failed to calculate cost basis" submitting order with python api - Alpaca Integration Applications - Alpaca Community Forum', description='This code has been working fine for about a month against a paper trading account, but today it threw this error: \n[ERROR] APIError: failed to calculate cost basis \nTraceback (most recent call last): \nFile “/var/task/lam…', url='https://forum.alpaca.markets/t/failed-to-calculate-cost-basis-submitting-order-with-python-api/503', language='en', keywords=None, robots=None, og_title='"failed to calculate cost basis" submitting order with python api - Alpaca Integration Applications - Alpaca Community Forum', og_description='This code has been working fine for about a month against a paper trading account, but today it threw this error: [ERROR] APIError: failed to calculate cost basis Traceback (most recent call last): File “/var/task/lambda_main.py”, line 141, in lambda_handler order = api.submit_order(STOCK_ASSET_ID, shares_to_buy, ‘buy’, ‘market’, ‘day’) File “/var/task/alpaca_trade_api/rest.py”, line 236, in submit_order resp = self.post(’/orders’, params) File “/var/task/alpaca_trade_api/rest.py”, line 1...', og_url='https://forum.alpaca.markets/t/failed-to-calculate-cost-basis-submitting-order-with-python-api/503', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-04T03:11:10+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/failed-to-calculate-cost-basis-submitting-order-with-python-api/503', status_code=200, scrape_id='ff0cbce1-46a2-4900-9249-ddfe541624a0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The Tutorials category provides resources for tutorials, tips, and helpful content related to trading. The page includes links to various related topics such as Tutorial Requests, Random discussions, Examples, and Announcements, each with their respective reply counts and views. The community aims to assist users by sharing ideas and answering FAQs.', metadata=DocumentMetadata(title='About the Tutorials category - Alpaca Trading / Tutorials - Alpaca Community Forum', description='For all tutorials, tips and tricks, and other helpful content.', url='https://forum.alpaca.markets/t/about-the-tutorials-category/18', language='en', keywords=None, robots=None, og_title='About the Tutorials category - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='For all tutorials, tips and tricks, and other helpful content.', og_url='https://forum.alpaca.markets/t/about-the-tutorials-category/18', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-11T21:17:41+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-tutorials-category/18', status_code=200, scrape_id='a7485073-b48f-445a-938d-d5868dc04030', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses a 401 error encountered when using the Client SDK for C#. A user, Krzysztof Domanski, seeks help after receiving the error while trying to connect to the API. Other users suggest checking the API version, endpoint, and whether the correct parameters are being used. Krzysztof confirms he has tried version 2 and is using the paper trading URL. Eventually, he resolves the issue by switching to a different code approach using HttpClient, which works successfully. The forum also lists related topics on similar errors and troubleshooting.', metadata=DocumentMetadata(title='401 error with Client SDK - Alpaca Integration Applications - Alpaca Community Forum', description='I’m trying to connect to API using Clinet SDK for C# and I’m constantly getting 401 error: \nvar restClient = new RestClient(api_key_id, secret_key, alpacaRestApi: endpoint, apiVersion: 1); \nvar asset = await restClient.G…', url='https://forum.alpaca.markets/t/401-error-with-client-sdk/710', language='en', keywords=None, robots=None, og_title='401 error with Client SDK - Alpaca Integration Applications - Alpaca Community Forum', og_description='I’m trying to connect to API using Clinet SDK for C# and I’m constantly getting 401 error: var restClient = new RestClient(api_key_id, secret_key, alpacaRestApi: endpoint, apiVersion: 1); var asset = await restClient.GetAssetAsync(“AAPL”); Any help greatly appreciated.', og_url='https://forum.alpaca.markets/t/401-error-with-client-sdk/710', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-29T22:43:07+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/401-error-with-client-sdk/710', status_code=200, scrape_id='1619c0fb-963e-490f-9abd-0cf8d4ea0232', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main discussion topic is about retrieving tick data from the Polygon API and converting it into a dataframe using Python, specifically in a Google Colab environment. A user shares their issue with receiving data in a web browser instead of a dataframe and provides an example code snippet. Related topics include troubleshooting the Alpaca account and various API-related queries.', metadata=DocumentMetadata(title='Getting data from polygon into a dataframe - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\npython \nAlpaca SDK Version \nlatest \nOther Environment Details \ngoogle colab \nPaper Tradng \nProblem\nI am using code line below to receive tick data. It retrieves the data I want, but it puts it into a web brow…', url='https://forum.alpaca.markets/t/getting-data-from-polygon-into-a-dataframe/598', language='en', keywords=None, robots=None, og_title='Getting data from polygon into a dataframe - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment python Alpaca SDK Version latest Other Environment Details google colab Paper Tradng Problem I am using code line below to receive tick data. It retrieves the data I want, but it puts it into a web browser page. How can I get it into a dataframe? Example Code “https://api.polygon.io/v1/historic/quotes/TSLA/2019-12-30?apiKey=xxxx”', og_url='https://forum.alpaca.markets/t/getting-data-from-polygon-into-a-dataframe/598', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-01T22:38:46+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/getting-data-from-polygon-into-a-dataframe/598', status_code=200, scrape_id='ea188d11-21e2-4dc6-8e7f-df7d17bf7cf2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. A discussion thread addresses the approval time for trading accounts, with users sharing their experiences. One user inquired about the usual approval time, especially for non-US citizens. Responses indicate that approval can take up to three weeks, but some users reported being approved in as little as one week. Factors affecting approval time include the completeness of submitted information and individual circumstances. The thread also includes related topics for further assistance.', metadata=DocumentMetadata(title='How long does it take for account to be approved for trading? - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='I just signed up yesterday, and my dashboard shows “it may take longer than usual for your account to be approved for trading”. \nHow long is the “usual” time for an account to be approved for trading? And how long would …', url='https://forum.alpaca.markets/t/how-long-does-it-take-for-account-to-be-approved-for-trading/717', language='en', keywords=None, robots=None, og_title='How long does it take for account to be approved for trading? - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='I just signed up yesterday, and my dashboard shows “it may take longer than usual for your account to be approved for trading”. How long is the “usual” time for an account to be approved for trading? And how long would it take in the “longer than usual” case? BTW, I’m not a US-citizen or permanent resident, would the approval take longer?', og_url='https://forum.alpaca.markets/t/how-long-does-it-take-for-account-to-be-approved-for-trading/717', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-31T18:31:01+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-long-does-it-take-for-account-to-be-approved-for-trading/717', status_code=200, scrape_id='3ba7c209-ecd6-414a-ad06-6dfca4d254c2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community page provides guidance on how to file questions or issues related to Alpaca accounts. Users are encouraged to describe their problems, including details about their coding environment, the Alpaca SDK version, and whether they are using paper or live trading. The page also features a template for reporting issues, which includes sections for summarizing the problem and providing example code. Additionally, there are links to related topics and troubleshooting resources. The community is active, with users sharing their experiences and seeking help for various issues.', metadata=DocumentMetadata(title='How to file a question or an issue - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Start here if you have any questions on how to manage your account, troubleshooting, system status page information and ask the community if you cannot find your answer! \nIf you’re encountering an issue with code that wo…', url='https://forum.alpaca.markets/t/how-to-file-a-question-or-an-issue/33', language='en', keywords=None, robots=None, og_title='How to file a question or an issue - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Start here if you have any questions on how to manage your account, troubleshooting, system status page information and ask the community if you cannot find your answer! If you’re encountering an issue with code that works with the Alpaca API and you are looking for help debugging the problem, following this template will make it easier for others to find out what might be wrong. Environment Language Let us know what language you’re writing your code in. Please include the version number you’...', og_url='https://forum.alpaca.markets/t/how-to-file-a-question-or-an-issue/33', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-25T18:32:04+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-file-a-question-or-an-issue/33', status_code=200, scrape_id='164ca129-534c-4f50-b28a-0e62759d5927', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community page introduces new features and updates as of September 16, 2019. Key highlights include:\n\n1. **Replace Order Feature**: Users can now replace existing orders in one step via the `/v2/orders` API, allowing updates to order attributes like quantity and price without needing to cancel the old order first. However, a successful replacement does not guarantee the old order is canceled if it gets filled first.\n\n2. **User Configurations**: New API settings allow users to manage their trading preferences, including disabling trade confirmation emails, suspending trades, and toggling shorting capabilities.\n - `dtbp_check`: Modify day trade margin protections.\n - `trade_confirm_email`: Opt-out of confirmation emails.\n - `suspend_trade`: Stop trading through API.\n - `no_shorting`: Disable shorting.\n\n3. **Zapier Integration**: An invite-only app on Zapier supports triggers and actions related to orders and positions, allowing users to automate tasks.\n\n4. **Product Roadmap**: Alpaca is developing a public roadmap to communicate upcoming features and gather user feedback.\n\nThe page encourages users to sign up for a trading API account and provides links to documentation for further details.', metadata=DocumentMetadata(title='What’s new at Alpaca — 9/16/2019 - Alpaca Products Discussion / Announcements - Alpaca Community Forum', description='Replace Order & User Settings through API\nAnother productive month at Alpaca HQ! Read on for more details regarding Replace Order, User Settings through API, Zapier integration, and more. \nNew Features\nReplace Order\nThe …', url='https://forum.alpaca.markets/t/what-s-new-at-alpaca-9-16-2019/280', language='en', keywords=None, robots=None, og_title='What’s new at Alpaca — 9/16/2019 - Alpaca Products Discussion / Announcements - Alpaca Community Forum', og_description='Replace Order & User Settings through API Another productive month at Alpaca HQ! Read on for more details regarding Replace Order, User Settings through API, Zapier integration, and more. New Features Replace Order The new replace order feature allows you to replace an existing order in one step. You no longer need to separately cancel an existing open order and submit a new order. This feature could also be used to implement trailing stops through the client side. You can access replace order...', og_url='https://forum.alpaca.markets/t/what-s-new-at-alpaca-9-16-2019/280', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-17T05:06:49+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/what-s-new-at-alpaca-9-16-2019/280', status_code=200, scrape_id='f1581779-3f3c-47bb-aa2a-cab4411a0cda', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread addresses confusion regarding the 'Unlimited' plan for market data, which was initially advertised as having unlimited calls per minute but later revealed to be limited to 1000 calls/min. Alpaca's developer, Dan Whitnable, clarified that the actual limit is 10,000 calls/min, and the UI will be updated for accuracy. The current price for the 'Unlimited' plan is $99/month, a significant increase from a previous introductory price of $9/month. Users can also source market data from other providers. The thread includes various user inquiries about API limits and pricing, with Dan providing clarifications on the distinctions between different API sets and their respective limits.", metadata=DocumentMetadata(title='Is the unlimited plan really "Unlimited" or is it a "Limited" Calls/Min plan? - Alpaca Market Data - Alpaca Community Forum', description='On the Market Data home page, you advertise the unlimited plan to have unlimited calls/min (see image below): \n \nBut when I sign in to subscribe I noticed that is no longer unlimited and is now limited to 1000 calls/min…', url='https://forum.alpaca.markets/t/is-the-unlimited-plan-really-unlimited-or-is-it-a-limited-calls-min-plan/11565', language='en', keywords=None, robots=None, og_title='Is the unlimited plan really "Unlimited" or is it a "Limited" Calls/Min plan? - Alpaca Market Data - Alpaca Community Forum', og_description='On the Market Data home page, you advertise the unlimited plan to have unlimited calls/min (see image below): But when I sign in to subscribe I noticed that is no longer unlimited and is now limited to 1000 calls/min. Which one is true? please fix either table for clarity!', og_url='https://forum.alpaca.markets/t/is-the-unlimited-plan-really-unlimited-or-is-it-a-limited-calls-min-plan/11565', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/b/b3cf3fed243c292bc68e0f8a9945634c7612b6ef_2_956x1024.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2023-01-13T02:15:41+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/is-the-unlimited-plan-really-unlimited-or-is-it-a-limited-calls-min-plan/11565', status_code=200, scrape_id='2cd43eb8-298d-4bbb-9538-f9571427531a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum post titled 'My Simple Back Testing Script' invites members to review and improve a backtesting script shared by user tcj2001. The post has received positive feedback, with suggestions for including a requirements file for easier dependency management. The discussion includes related topics on backtesting and trading strategies, highlighting community engagement and support.", metadata=DocumentMetadata(title='My Simple Back Testing script - Alpaca Integration Applications - Alpaca Community Forum', description='I wrote a simple back testing script, please check and test it, and make changes or give suggestion to improve the code', url='https://forum.alpaca.markets/t/my-simple-back-testing-script/149', language='en', keywords=None, robots=None, og_title='My Simple Back Testing script - Alpaca Integration Applications - Alpaca Community Forum', og_description='I wrote a simple back testing script, please check and test it, and make changes or give suggestion to improve the code', og_url='https://forum.alpaca.markets/t/my-simple-back-testing-script/149', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-12T04:50:11+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/my-simple-back-testing-script/149', status_code=200, scrape_id='b4c0c9d7-884e-454e-bd9e-404a019ca02a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A key discussion topic is the criteria that determine if a stock is tradable or untradable on Alpaca. Users share experiences regarding issues with stocks becoming untradable, particularly when using algorithms for trading. Discussions include the effectiveness of market versus limit orders for selling stocks, with some users reporting negative experiences with market orders. Related topics include issues with stocks becoming untradable after purchase and troubleshooting non-tradable assets.', metadata=DocumentMetadata(title='What criteria determines if a stock is tradable or untradable on Alpaca? - Alpaca Products Discussion - Alpaca Community Forum', description='Some stocks have been bought by my algorithm, but when the price has reached my sell criteria the action will sometimes return as “not tradable.” Does anyone know if this is due to a lack of price data, or possibly the f…', url='https://forum.alpaca.markets/t/what-criteria-determines-if-a-stock-is-tradable-or-untradable-on-alpaca/314', language='en', keywords=None, robots=None, og_title='What criteria determines if a stock is tradable or untradable on Alpaca? - Alpaca Products Discussion - Alpaca Community Forum', og_description='Some stocks have been bought by my algorithm, but when the price has reached my sell criteria the action will sometimes return as “not tradable.” Does anyone know if this is due to a lack of price data, or possibly the fact I am trading low priced and low volume stocks? I’m using pylivetrader, and zipline. I check for tradability with if(data.can_trade(stock)): , a zipline function.', og_url='https://forum.alpaca.markets/t/what-criteria-determines-if-a-stock-is-tradable-or-untradable-on-alpaca/314', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-27T03:44:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/what-criteria-determines-if-a-stock-is-tradable-or-untradable-on-alpaca/314', status_code=200, scrape_id='62a23f67-4fb2-4656-851e-f1a0e200fea2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to subscribing to one-minute intraday bars using the Alpaca V2 Streaming API. A user, htomxx, encounters a stock subscription limit of 290 stocks while trying to subscribe to 2,000 symbols. He seeks guidance on batching subscriptions and experiences issues with missing bars and connection errors (1006). Mallory from Alpaca support suggests using the wildcard method for subscriptions and unsubscribing unwanted symbols to avoid connection errors. Htomxx shares his progress in resolving subscription issues and implementing retry logic for connection errors. The discussion highlights best practices for managing subscriptions and handling errors in real-time data streaming.', metadata=DocumentMetadata(title='One Minute IntraDay Bars - Alpaca Market Data - Alpaca Community Forum', description='Hi All, \nI just started using the Alpaca V2 Streaming, and I seem to have run up against a stock subscription limit. I can only get about 290 stocks with one minute bars. I want to subscribe to 2K stock symbols. \nAlpaca …', url='https://forum.alpaca.markets/t/one-minute-intraday-bars/5941', language='en', keywords=None, robots=None, og_title='One Minute IntraDay Bars - Alpaca Market Data - Alpaca Community Forum', og_description='Hi All, I just started using the Alpaca V2 Streaming, and I seem to have run up against a stock subscription limit. I can only get about 290 stocks with one minute bars. I want to subscribe to 2K stock symbols. Alpaca indicates in the documentation, there is no limit on the number of bars subscriptions. Before I run invoke the event loop via “stream.run” I go into a loop to subscribe for all the stocks: total_count = 0 for signal_record in signalCollection.find( query): my_symbol = signal...', og_url='https://forum.alpaca.markets/t/one-minute-intraday-bars/5941', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-06-10T19:46:22+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/one-minute-intraday-bars/5941', status_code=200, scrape_id='a67edc45-8ac4-4b10-9bfb-5d31ed6804eb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The main topic discussed is how to integrate Alpaca's trading API with Twitter to share trading activities in real-time. The tutorial outlines steps to: 1) Trade using Alpaca's V2 API with a simple Python script, 2) Set up a Twitter developer application, and 3) Link the trading script to the Twitter application. Users are guided to replace API keys, run the script for paper trading, and generate Twitter application keys for integration. The post also includes links to relevant resources and a discussion on potential integrations with other platforms like Stocktwits.", metadata=DocumentMetadata(title='Tweet your Trades! - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='Alpaca’s trade API allows me to execute trades using a predetermined strategy. I thought it would be great to share my trading activity through Twitter for a realtime view of all executions. In this brief tutorial I wi…', url='https://forum.alpaca.markets/t/tweet-your-trades/23', language='en', keywords=None, robots=None, og_title='Tweet your Trades! - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='Alpaca’s trade API allows me to execute trades using a predetermined strategy. I thought it would be great to share my trading activity through Twitter for a realtime view of all executions. In this brief tutorial I will show you how to: Trade with a simple script using Alpaca’s V2 API Set up a Twitter developer application Link your trading script to your Twitter application The first step to creating this multi-platform integration was to create a simple script that trades. For this, I ...', og_url='https://forum.alpaca.markets/t/tweet-your-trades/23', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/6dfa5b943870ed426d811d18519825cb525e8263_2_1024x366.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-22T14:27:42+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/tweet-your-trades/23', status_code=200, scrape_id='e4f32e6f-5a0e-43d8-bd5e-5d449500ff47', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion thread focuses on the lack of documentation for OAuth authentication with Market Data real-time websockets. A user, GingerWhinger, reports that while OAuth works for Trade API streaming and historical data, it does not for Market Data websockets. After further investigation, it is confirmed that OAuth authentication for Market Data websockets is not supported due to licensing issues. Related topics include OAuth with streaming/websockets and issues with market trade data.', metadata=DocumentMetadata(title='Market Data Real-time Websocket OAuth support - Alpaca Integration Applications - Alpaca Community Forum', description='I’m just updating my Alpaca API to support OAuth. However, I’ve noticed that there is no documentation for authenticating using OAuth access tokens for market data real-time websockets. \nI can receive trade updates from…', url='https://forum.alpaca.markets/t/market-data-real-time-websocket-oauth-support/10380', language='en', keywords=None, robots=None, og_title='Market Data Real-time Websocket OAuth support - Alpaca Integration Applications - Alpaca Community Forum', og_description='I’m just updating my Alpaca API to support OAuth. However, I’ve noticed that there is no documentation for authenticating using OAuth access tokens for market data real-time websockets. I can receive trade updates from the Trade API streaming socket data with OAuth, and I can access historical data ReST API using the Authorization: Bearer header, but not for Market Data real-time websockets. I’ve taken a look at the alpaca-py source code to try and figure out how to do it, but it doesn’t appe...', og_url='https://forum.alpaca.markets/t/market-data-real-time-websocket-oauth-support/10380', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-08-22T08:52:03+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/market-data-real-time-websocket-oauth-support/10380', status_code=200, scrape_id='00607cf0-5381-4442-b537-02f37c548bd8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main topic discussed is how to calculate profit or loss for a specific stock using orders or account activity, especially when multiple transactions (buy, sell, short sell) are involved. Users have raised questions about accessing total profit on the web UI and related topics include calculating profit per trade in Python, accessing closed positions, and getting profit/loss for correlated buy/sell orders. The forum encourages sharing ideas and discussions.', metadata=DocumentMetadata(title='How to calculate Profit/Loss for a particular stock using orders or account activity - Alpaca Integration Applications - Alpaca Community Forum', description='Is there any way how much profit or loss for a given stock using orders or Account activity or positions when there are multiple orders buy, sell, short sell and buy.', url='https://forum.alpaca.markets/t/how-to-calculate-profit-loss-for-a-particular-stock-using-orders-or-account-activity/409', language='en', keywords=None, robots=None, og_title='How to calculate Profit/Loss for a particular stock using orders or account activity - Alpaca Integration Applications - Alpaca Community Forum', og_description='Is there any way how much profit or loss for a given stock using orders or Account activity or positions when there are multiple orders buy, sell, short sell and buy.', og_url='https://forum.alpaca.markets/t/how-to-calculate-profit-loss-for-a-particular-stock-using-orders-or-account-activity/409', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-31T08:20:21+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-calculate-profit-loss-for-a-particular-stock-using-orders-or-account-activity/409', status_code=200, scrape_id='c9267d92-a659-46d8-b58c-4acf79fafa7a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion on what constitutes an API call highlights that querying option chain data and stock data for a single stock counts as two separate API calls. Users can make up to 10,000 API calls per minute on a paid plan, which includes calls from both paper and live accounts. The difference between Trading APIs (for account-specific actions) and Market Data APIs (for general market data) is explained, with specific rate limits for each. Users can efficiently query data for specific option symbols rather than the entire option chain. The community encourages sharing ideas and seeking help.', metadata=DocumentMetadata(title='What constitutes an API call? - Alpaca Trading - Alpaca Community Forum', description='Hi, \nWith Alpaca paid plan, you can make upto 10,000 API calls a minute. Now, what exactly constitutes an API call? If I query an option chain for AAPL, would that be considered one API call or multiple ones? Likewise wo…', url='https://forum.alpaca.markets/t/what-constitutes-an-api-call/16502', language='en', keywords=None, robots=None, og_title='What constitutes an API call? - Alpaca Trading - Alpaca Community Forum', og_description='Hi, With Alpaca paid plan, you can make upto 10,000 API calls a minute. Now, what exactly constitutes an API call? If I query an option chain for AAPL, would that be considered one API call or multiple ones? Likewise would querying stock data for AAPL be considered one API call? If that is the case, querying option chain data and stock data for a single stock, should be considered 2 API calls, right? Let me know if I am correct in my reasoning. Thanks', og_url='https://forum.alpaca.markets/t/what-constitutes-an-api-call/16502', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-03-20T15:29:33+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/what-constitutes-an-api-call/16502', status_code=200, scrape_id='2d1c8660-8be5-4d90-ba00-02daf5dfd78d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A forum thread discusses issues with the NATS/Streaming client disconnecting from trade updates. A user reports being able to connect to the trade_updates channel but experiences disconnections over time, unable to catch the exception in a try..except block. The user shares code snippets for handling websocket connections and logs showing connection timeouts. The thread includes related topics on similar issues, indicating ongoing discussions about streaming connections and disconnections.', metadata=DocumentMetadata(title='NATS/Streaming - client disconnects from trade_updates - Alpaca Account Troubleshooting - Alpaca Community Forum', description='I can connect to the trade_updates channel and receive streaming updates. However, after some time I get disconnected and stop receiving updates of my trades. I can see the Exception in the logs, but up to now I haven’t …', url='https://forum.alpaca.markets/t/nats-streaming-client-disconnects-from-trade-updates/79', language='en', keywords=None, robots=None, og_title='NATS/Streaming - client disconnects from trade_updates - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description="I can connect to the trade_updates channel and receive streaming updates. However, after some time I get disconnected and stop receiving updates of my trades. I can see the Exception in the logs, but up to now I haven’t been able to catch it in try..except block. How could I catch this disconnect? I start listening to channel by doing: conn.run( ['trade_updates'] + tcs + qcs ) But a try…except block doesn’t catch the disconnection as suggested in the Momentum example script, ...", og_url='https://forum.alpaca.markets/t/nats-streaming-client-disconnects-from-trade-updates/79', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-27T22:25:56+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/nats-streaming-client-disconnects-from-trade-updates/79', status_code=200, scrape_id='b7fbcffb-e3b9-4004-949b-a15c2512c8a3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses alternatives to the Alpaca mobile app, highlighting user frustrations with its rudimentary features and glitches. A user expressed disappointment with the app's lack of trading functions and visualization, comparing it unfavorably to other platforms like Revolut. In response, a member of the Alpaca Product team acknowledged the feedback and confirmed that improvements to the app are planned. They suggested using the mobile-responsive dashboard as a temporary solution and offered to discuss user experiences further. Additionally, there was a query about the availability of the Alpaca dashboard mobile app, which seems to be missing from the App Store.", metadata=DocumentMetadata(title='Alternatives to the Alpaca mobile app - Alpaca Products Discussion - Alpaca Community Forum', description='I’m using Alpaca iOS mobile app and I’m surprized it’s so rudimentary and glitchy too. Practically no useful trading functions or visualization, plus it often simply stops updating the charts and figures, I have to resta…', url='https://forum.alpaca.markets/t/alternatives-to-the-alpaca-mobile-app/12616', language='en', keywords=None, robots=None, og_title='Alternatives to the Alpaca mobile app - Alpaca Products Discussion - Alpaca Community Forum', og_description='I’m using Alpaca iOS mobile app and I’m surprized it’s so rudimentary and glitchy too. Practically no useful trading functions or visualization, plus it often simply stops updating the charts and figures, I have to restart the app to see the up-to-date data. It pains me to see this especially that I am a software engineer myself (iOS in fact) and I love other aspects of Alpaca as a platform. I previously used Revolut’s trading function and I found it orders of magnitude more intuitive and feat...', og_url='https://forum.alpaca.markets/t/alternatives-to-the-alpaca-mobile-app/12616', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2023-07-05T04:57:52+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alternatives-to-the-alpaca-mobile-app/12616', status_code=200, scrape_id='f7117b6b-efa9-4587-9415-2834c2c1214c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses an issue regarding accounts not being eligible to trade uncovered option contracts. A user reported receiving a Code 40310000 error when attempting to place stock orders while having option orders active. Another user explained that stock trades leaving prior option positions uncovered will be denied unless sufficient capital is available to cover them. The forum also includes related topics on account authorization issues and troubleshooting for trading on Alpaca.', metadata=DocumentMetadata(title='Account not eliglible to trade uncovered option contracts - Alpaca Trading - Alpaca Community Forum', description='Hi, I am getting this error today (same 2 days ago, yesterday was fine), trading STOCK on my paper account. Cannot place a single order. (Code 40310000). Ideas on how to get rid of this? I am on Algotrader Plus subscript…', url='https://forum.alpaca.markets/t/account-not-eliglible-to-trade-uncovered-option-contracts/16117', language='en', keywords=None, robots=None, og_title='Account not eliglible to trade uncovered option contracts - Alpaca Trading - Alpaca Community Forum', og_description='Hi, I am getting this error today (same 2 days ago, yesterday was fine), trading STOCK on my paper account. Cannot place a single order. (Code 40310000). Ideas on how to get rid of this? I am on Algotrader Plus subscription, Options level 3 is enabled. Edit: This seems to be the case only when placing stock orders while I have option orders out. Option orders work and get executed, but I can only place stock orders after canceling option orders.', og_url='https://forum.alpaca.markets/t/account-not-eliglible-to-trade-uncovered-option-contracts/16117', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-02-13T14:50:26+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/account-not-eliglible-to-trade-uncovered-option-contracts/16117', status_code=200, scrape_id='352785c8-f56b-42db-b685-9a43a77a74e3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users and offers support for trading issues. A user reported a problem with the asset INPX, which was bought at a low price during paper trading but became untradable when attempting to sell, despite showing a high profit. The user inquired about the reasons for this issue and whether it would occur in live trading. The post includes specific trading data such as average entry price, current price, and unrealized profit. Related topics include similar issues with untradable symbols and concerns about trading reliability.', metadata=DocumentMetadata(title='Asset INPX is not tradable - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Hi Everyone, \nthis already happened a few times, I buy an asset in paper trading for an extremely low price. Much lower than the official day low… at some point the price in Alpaca goes back to “normal” but when trying t…', url='https://forum.alpaca.markets/t/asset-inpx-is-not-tradable/623', language='en', keywords=None, robots=None, og_title='Asset INPX is not tradable - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Hi Everyone, this already happened a few times, I buy an asset in paper trading for an extremely low price. Much lower than the official day low… at some point the price in Alpaca goes back to “normal” but when trying to sell I am getting an error message “asset INPX is not tradable”, and the Dashboard shows the profit as extremely high. “avg_entry_price”:“0.3501” “current_price”:“8.1” “asset_id”:“c2fc3035-de8b-4569-b670-c20cae84b896”,“symbol”:“INPX”,“exchange”:“NASDAQ”,“asset_class”:“us_equ...', og_url='https://forum.alpaca.markets/t/asset-inpx-is-not-tradable/623', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-07T15:05:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/asset-inpx-is-not-tradable/623', status_code=200, scrape_id='08f7f0e9-35dd-4ad2-ba94-768add54a2bb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A forum discussion titled 'Question about streaming data' features a user seeking clarification on the streaming data feature in Alpaca's API. The user inquires about the definitions of 'conn', 'channel', and 'bar' in the context of streaming data. Another user responds, explaining that 'channel' indicates the data stream type and 'bar' represents the actual message data. A follow-up question addresses how the 'channel' and 'data' arguments are generated, with a suggestion to check a specific GitHub link for further information. Related topics include issues with unknown channels, streaming bars without Python, and examples of Python streaming.", metadata=DocumentMetadata(title='Question about streaming data - Alpaca Market Data - Alpaca Community Forum', description='Hi all, \nI am a newbie to algo development and want to figure out the streaming data feature. \nI see in the sample code there are many functions take variables conn, channel and bar are arguments. For example, async def …', url='https://forum.alpaca.markets/t/question-about-streaming-data/471', language='en', keywords=None, robots=None, og_title='Question about streaming data - Alpaca Market Data - Alpaca Community Forum', og_description='Hi all, I am a newbie to algo development and want to figure out the streaming data feature. I see in the sample code there are many functions take variables conn, channel and bar are arguments. For example, async def on_minute(conn, channel, bar). I see conn is defined as conn = StreamConn(). But I don’t see anywhere in the code where channel and bar are defined. Are T.* Trades, Q.* Quotes, A.* Aggregate ( per second ), AM.* Aggregate ( per minute ) channels? How about bar? Are those just...', og_url='https://forum.alpaca.markets/t/question-about-streaming-data/471', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-18T18:57:46+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/question-about-streaming-data/471', status_code=200, scrape_id='bc5a426f-7e5c-4c82-9528-b56d09bd3071', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses options trading, with users expressing interest and inquiring about its availability. The main points include: 1) Alpaca does not currently support options trading but has indicated it is in their development pipeline. 2) Users have been asking for updates since 2019, with no definitive timeline provided. 3) Recent communications suggest planning is ongoing, but no specific release date has been confirmed. 4) Related topics include discussions on options trading roadmap and updates on availability.', metadata=DocumentMetadata(title='Options trading - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='Does Alpaca support options trading? I’ve looked through the docs, though not very deeply, and haven’t found references to any supported options trading.', url='https://forum.alpaca.markets/t/options-trading/108', language='en', keywords=None, robots=None, og_title='Options trading - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='Does Alpaca support options trading? I’ve looked through the docs, though not very deeply, and haven’t found references to any supported options trading.', og_url='https://forum.alpaca.markets/t/options-trading/108', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-31T08:51:00+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/options-trading/108', status_code=200, scrape_id='6b6bddb5-6625-49a0-870a-65194c2640d0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'How to receive real-time bars from Polygon' addresses the need for 1-minute real-time bars during market hours. A user, Trader_Joe, inquires about the best method to achieve this through the Polygon API, highlighting issues with current methods that involve subscribing to last trade channels or calling for historic aggregates. Another user, Hitoshi, suggests a solution by mentioning a subscription channel called AM for real-time minute bars, which Trader_Joe successfully implements. The page also lists related topics for further exploration.", metadata=DocumentMetadata(title='How to receive real time bars from Polygon - Alpaca Market Data - Alpaca Community Forum', description='I need 1 minute bars in real time during the market hours. How do I do that through Polygon API ? Is there a subscription channel to a 1 minute real time bar to receive as a stream? \nIt seems there are only 2 ways, neith…', url='https://forum.alpaca.markets/t/how-to-receive-real-time-bars-from-polygon/416', language='en', keywords=None, robots=None, og_title='How to receive real time bars from Polygon - Alpaca Market Data - Alpaca Community Forum', og_description='I need 1 minute bars in real time during the market hours. How do I do that through Polygon API ? Is there a subscription channel to a 1 minute real time bar to receive as a stream? It seems there are only 2 ways, neither of which is ideal: (1) subscribe to last trade channel and aggregate in real time; (2) call for 1 min historic_aggs every minute on the minute for all symbols. Both are prone to synchronization issue with the server, also too many API calls through the day. (This was easy wi...', og_url='https://forum.alpaca.markets/t/how-to-receive-real-time-bars-from-polygon/416', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-03T06:46:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-receive-real-time-bars-from-polygon/416', status_code=200, scrape_id='5a398fc6-adbc-479f-891d-637b07c6d2e5', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The forum discusses data validation issues, particularly concerning historical market data accuracy. A user reported an anomaly in the historical data for Facebook (FB), questioning the validity of a low price point. Other users have also raised concerns about data discrepancies, such as VWAP being lower than the low price. Related topics include discussions on wrong historical data and other data issues within the Alpaca platform.', metadata=DocumentMetadata(title='Data validation - Alpaca Market Data - Alpaca Community Forum', description='I got 400 day historical data for “FB” by calling get_barset(“FB”, ‘day’, limit=400). The return data contains open:130.7, High:135.57, Low:1.34, Close:133.46 for the day “2018-12-20”. The Low value seems wrong. I also c…', url='https://forum.alpaca.markets/t/data-validation/741', language='en', keywords=None, robots=None, og_title='Data validation - Alpaca Market Data - Alpaca Community Forum', og_description='I got 400 day historical data for “FB” by calling get_barset(“FB”, ‘day’, limit=400). The return data contains open:130.7, High:135.57, Low:1.34, Close:133.46 for the day “2018-12-20”. The Low value seems wrong. I also checked historical data from yahoo finance and they don’t have this lower value. What went wrong here? Do you validates your data? Thanks', og_url='https://forum.alpaca.markets/t/data-validation/741', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-02-06T04:08:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/data-validation/741', status_code=200, scrape_id='b1ba21e5-67e4-4a04-90a5-5acc71ef5b70', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users and offers support for trading-related issues. A user reported an issue with their trading bot, which stopped working due to an 'auth timed out' error after previously functioning correctly. They have a paper trading account, updated software, and have regenerated API keys, but the problem persists despite checking server status. The forum includes related topics on similar issues, providing a resource for troubleshooting.", metadata=DocumentMetadata(title='Streaming Data Suddenly Stopped Working (Auth Timed Out) - Alpaca Account Troubleshooting - Alpaca Community Forum', description='So I have written a trading bot in python using websockets. And everything worked fine until today when I launched the program and I get the auth timed out message. \nI have a paper trading account, using iex. I have the …', url='https://forum.alpaca.markets/t/streaming-data-suddenly-stopped-working-auth-timed-out/9020', language='en', keywords=None, robots=None, og_title='Streaming Data Suddenly Stopped Working (Auth Timed Out) - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='So I have written a trading bot in python using websockets. And everything worked fine until today when I launched the program and I get the auth timed out message. I have a paper trading account, using iex. I have the newest version of the alpaca markets and websocket-client pypi packages. I have also regenrated my api keys and reset internet connection if that plays any part. I have tried connecting to the iex link and the crypto wss… link. Both resulting in the same error. I’ve checked alp...', og_url='https://forum.alpaca.markets/t/streaming-data-suddenly-stopped-working-auth-timed-out/9020', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-04-01T10:07:47+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/streaming-data-suddenly-stopped-working-auth-timed-out/9020', status_code=200, scrape_id='ebe07da8-b4e7-455d-84ab-06d750a885de', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum discusses the capability of Alpaca to recognize price points for buying or selling securities. A user inquires if Alpaca can automatically execute trades based on price points, to which another user responds that while Alpaca does not provide signals, users can create their own logic to generate signals and execute trades via a REST API. Related topics include issues with price changes, TradingView alerts, and tutorials for beginners.', metadata=DocumentMetadata(title='#pricepoint of security - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Is Alpaca capable of recognizing certain #pricepoint s, then buying or selling a specific single security?', url='https://forum.alpaca.markets/t/pricepoint-of-security/146', language='en', keywords=None, robots=None, og_title='#pricepoint of security - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Is Alpaca capable of recognizing certain #pricepoint s, then buying or selling a specific single security?', og_url='https://forum.alpaca.markets/t/pricepoint-of-security/146', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-10T17:40:01+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/pricepoint-of-security/146', status_code=200, scrape_id='7a298091-43c0-4351-8d11-06a07ba49c16', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A forum post discusses an error encountered while using the alpaca-trade-api-python library, specifically a SyntaxError due to incorrect assignment in the code. The user reports issues with importing the library and running order submission examples. Other community members suggest solutions, including correcting the order of parameters in the function calls. Related topics include various module errors and troubleshooting tips for Alpaca users.', metadata=DocumentMetadata(title='Error in alpaca-trade-api-python - Alpaca Integration Applications - Alpaca Community Forum', description='Installed alpaca-trade-api-python using pip3 and tried running one of the place order examples posted under the API documentation and got these errors: \nFile “alpaca-trade.py”, line 5 \nSECRET-KEY = “kJ/UM8hGCaDc7f86Hkf9Y…', url='https://forum.alpaca.markets/t/error-in-alpaca-trade-api-python/726', language='en', keywords=None, robots=None, og_title='Error in alpaca-trade-api-python - Alpaca Integration Applications - Alpaca Community Forum', og_description='Installed alpaca-trade-api-python using pip3 and tried running one of the place order examples posted under the API documentation and got these errors: File “alpaca-trade.py”, line 5 SECRET-KEY = “kJ/UM8hGCaDc7f86Hkf9YLAu66A0fiifdndaLwmf” ^ SyntaxError: can’t assign to operator callie@DESKTOP-B3QDS5B:/mnt/c/Documents/codewall/Trading/Alpaca$ python3 neworders.py Traceback (most recent call last): File “neworders.py”, line 1, in import alpaca_trade_api as tradeapi File “/usr/local/lib/p...', og_url='https://forum.alpaca.markets/t/error-in-alpaca-trade-api-python/726', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-02-02T06:14:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/error-in-alpaca-trade-api-python/726', status_code=200, scrape_id='4dbb7e1e-2f2f-416c-a8fa-2f9b9e9b1c65', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. The forum provides resources for troubleshooting, sharing ideas, and discussing various topics related to Alpaca's services. A recent post highlights a C# compiler error regarding missing return types in code related to market data. The forum also features related topics, including discussions on API data variations and issues with close prices.", metadata=DocumentMetadata(title='Documentation | Alpaca - Alpaca Account Troubleshooting - Alpaca Community Forum', description='C# compiler error: \nLine 18 and 19 is missing a Agg return type or casting operation. \nThe Open and Close object instance is not compilable as given. \nThe compiler is underlining the text with a red squiggly line. \nTh…', url='https://forum.alpaca.markets/t/documentation-alpaca/237', language='en', keywords=None, robots=None, og_title='Documentation | Alpaca - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='C# compiler error: Line 18 and 19 is missing a Agg return type or casting operation. The Open and Close object instance is not compilable as given. The compiler is underlining the text with a red squiggly line. Thanks, King This appears to compile… But I’m not sure if this represents the proper objects? var startPrice = bars.First().Value.First().Open; var endPrice = bars.Last().Value.Last().Close; // or bars.Last().Value.First().Close', og_url='https://forum.alpaca.markets/t/documentation-alpaca/237', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/19310421b3fa1fe86dd234fbc420c25dfc8d0f6d.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-06T06:33:45+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/documentation-alpaca/237', status_code=200, scrape_id='ef3394db-d95f-4a14-b11f-ab9d2ae88e11', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main discussion focuses on the OTA (One Triggers Another) functionality, where users inquire about the ability to trigger secondary orders upon the completion of primary orders. Users have noted the absence of this feature in the API documentation, and there are ongoing requests for its implementation. The community is encouraged to share ideas and follow discussions related to trading functionalities.', metadata=DocumentMetadata(title='OTA Functionality - Alpaca Integration Applications - Alpaca Community Forum', description='I came here from a different API, which had the ability to do an OTA (One Triggers Another), where upon successful completion, an order would trigger a secondary child order to launch as well. \nI did not notice this in a…', url='https://forum.alpaca.markets/t/ota-functionality/644', language='en', keywords=None, robots=None, og_title='OTA Functionality - Alpaca Integration Applications - Alpaca Community Forum', og_description='I came here from a different API, which had the ability to do an OTA (One Triggers Another), where upon successful completion, an order would trigger a secondary child order to launch as well. I did not notice this in any documentation at all. Is this available, or is this something I would just implement on my own.', og_url='https://forum.alpaca.markets/t/ota-functionality/644', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-12T04:20:12+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/ota-functionality/644', status_code=200, scrape_id='036977ca-5788-4497-86e3-33daa794fa9f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Data APIv2 - Minute snapshot all tickers like in Polygon' highlights the need for a feature similar to Polygon's API, which provides real-time minute snapshots of all tickers. Users express interest in this feature, emphasizing its usefulness and speed. In May 2021, an update confirmed the implementation of the snapshot feature, allowing users to specify symbols for data retrieval. Users also suggested additional parameters for the snapshots to enhance functionality.", metadata=DocumentMetadata(title='Data APIv2 - Minute snapshot all tickers like in Polygon - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='In Polygon it is possible to get the real time last minute snapshot of all tickers (about 9000) using the endpoint \nhttps://api.polygon.io/v2/snapshot/locale/us/markets/stocks/tickers \nFrom the docs: \n\nThat would be EXTR…', url='https://forum.alpaca.markets/t/data-apiv2-minute-snapshot-all-tickers-like-in-polygon/4661', language='en', keywords=None, robots=None, og_title='Data APIv2 - Minute snapshot all tickers like in Polygon - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='In Polygon it is possible to get the real time last minute snapshot of all tickers (about 9000) using the endpoint https://api.polygon.io/v2/snapshot/locale/us/markets/stocks/tickers From the docs: That would be EXTREMELY helpful in Alpaca Data API as well… Thank you', og_url='https://forum.alpaca.markets/t/data-apiv2-minute-snapshot-all-tickers-like-in-polygon/4661', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/56a035dae85d7da89d61d261e4ba1aba1ae2f296.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-02-26T18:35:28+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/data-apiv2-minute-snapshot-all-tickers-like-in-polygon/4661', status_code=200, scrape_id='5a9115a2-fabe-464a-85a2-6af6e05225cd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion titled 'Make hyper-marketable protection optional' highlights a request from a user, Andrej, to make the hyper-marketable protection feature optional when placing orders. This feature currently enforces limit prices to be within 10%/5%/3% of the current security value, which some users find restrictive. Another user, steinh, supports this request, noting the need for flexibility in placing limit sells. The forum also includes related topics on trading and feature requests.", metadata=DocumentMetadata(title='Make hyper-marketable protection optional - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='Hi gang! \nWhen placing orders, according to Alpaca docs, the hyper-marketable protection enforces that the limit price is set to within 10%/5%/3% of the current security value, depending on its price. This limits the lon…', url='https://forum.alpaca.markets/t/make-hyper-marketable-protection-optional/124', language='en', keywords=None, robots=None, og_title='Make hyper-marketable protection optional - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='Hi gang! When placing orders, according to Alpaca docs, the hyper-marketable protection enforces that the limit price is set to within 10%/5%/3% of the current security value, depending on its price. This limits the long-term algorithms needlessly and it would be very helpful if this protection was made optional. It can of course default to true, but it would be great if this protection could be turned off. I would certainly benefit from it, and hopefully others would as well. Thanks and best ...', og_url='https://forum.alpaca.markets/t/make-hyper-marketable-protection-optional/124', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-03T02:08:31+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/make-hyper-marketable-protection-optional/124', status_code=200, scrape_id='74169dc4-d6fc-48fa-9a1e-e2f37ace74d1', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion thread addresses how to cancel a partially filled buy order after a specified time. A user inquires about receiving updates on partial fills and how to cancel such orders. Another user confirms that updates will continue and provides guidance on canceling the order using the order ID. Related topics include documentation on trade updates, cancelling partially filled orders, and monitoring orders.', metadata=DocumentMetadata(title='How to cancel partial filled buy order after a certain time period - Alpaca Integration Applications - Alpaca Community Forum', description='If an algo listens on ‘trade_updates’ and submit a limited buy order that ends up partial filled, does the streaming channel continually send messages on the order or only when the fill quantity changes? \nI’d like to can…', url='https://forum.alpaca.markets/t/how-to-cancel-partial-filled-buy-order-after-a-certain-time-period/202', language='en', keywords=None, robots=None, og_title='How to cancel partial filled buy order after a certain time period - Alpaca Integration Applications - Alpaca Community Forum', og_description='If an algo listens on ‘trade_updates’ and submit a limited buy order that ends up partial filled, does the streaming channel continually send messages on the order or only when the fill quantity changes? I’d like to cancel the order if it’s still partial filled after a certain time period. A code sample will be much appreciated!', og_url='https://forum.alpaca.markets/t/how-to-cancel-partial-filled-buy-order-after-a-certain-time-period/202', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-29T00:35:53+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-cancel-partial-filled-buy-order-after-a-certain-time-period/202', status_code=200, scrape_id='ebf1ddff-3c4b-42eb-8948-fe4d9b61fdbd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. The forum discusses a specific topic about units coming in from the API, where users express confusion regarding reported trading volumes. One user questions if the volume of 1 for a major stock is accurate, while another suggests that the reported amounts may refer to 'lots' of 100 shares rather than individual shares. Related topics include issues with volume discrepancies and market data differences.", metadata=DocumentMetadata(title='Units coming in from the API - Alpaca Market Data - Alpaca Community Forum', description='For some reason I am not sure I believe that the volume traded on a major stock is = 1. Is it possible I have my timeframe messed up, or are they in a different unit?', url='https://forum.alpaca.markets/t/units-coming-in-from-the-api/571', language='en', keywords=None, robots=None, og_title='Units coming in from the API - Alpaca Market Data - Alpaca Community Forum', og_description='For some reason I am not sure I believe that the volume traded on a major stock is = 1. Is it possible I have my timeframe messed up, or are they in a different unit?', og_url='https://forum.alpaca.markets/t/units-coming-in-from-the-api/571', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-24T15:41:09+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/units-coming-in-from-the-api/571', status_code=200, scrape_id='ca3b4da3-3d65-42a8-935f-9064a44bce0d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Zero buying power' addresses concerns about users experiencing $0.00 buying power after selling stocks. A user reported this issue, questioning if it was a normal occurrence or a bug. Another user clarified that those with old brokerage accounts (starting with '3AP') may see zero buying power, as Alpaca is transitioning to new account types. Users are encouraged to reach out to support for assistance. Related topics include discussions on buying power issues and account value discrepancies.", metadata=DocumentMetadata(title='Zero buying power? - Alpaca Products Discussion - Alpaca Community Forum', description='I sold my stock on the dashboard[1] manually but it’s showing me $0.00 buying power. Is this normal, or a display bug? Also, I can’t transfer the money by having sold the stock to my bank b/c it’s saying no balance \n[1]h…', url='https://forum.alpaca.markets/t/zero-buying-power/424', language='en', keywords=None, robots=None, og_title='Zero buying power? - Alpaca Products Discussion - Alpaca Community Forum', og_description='I sold my stock on the dashboard[1] manually but it’s showing me $0.00 buying power. Is this normal, or a display bug? Also, I can’t transfer the money by having sold the stock to my bank b/c it’s saying no balance [1]https://app.alpaca.markets/brokerage/dashboard/overview', og_url='https://forum.alpaca.markets/t/zero-buying-power/424', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-06T20:39:02+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/zero-buying-power/424', status_code=200, scrape_id='d4e7143a-5f9c-4c45-bab4-dc2bfcd11403', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A user reports an issue with extended hour orders being canceled when the market opens or closes, specifically while using a paper account. The user seeks clarification on whether this issue is exclusive to paper accounts. The forum also features related topics discussing order cancellations and execution issues during extended hours.', metadata=DocumentMetadata(title='Extented Hour orders are getting canceled when market closes or opens - Alpaca Integration Applications - Alpaca Community Forum', description='I am using my paper account to run an algorithm. When I place an order during pre-market, it gets canceled right away when market opens and I am having to place the same order again. Same thing happens when market closes…', url='https://forum.alpaca.markets/t/extented-hour-orders-are-getting-canceled-when-market-closes-or-opens/637', language='en', keywords=None, robots=None, og_title='Extented Hour orders are getting canceled when market closes or opens - Alpaca Integration Applications - Alpaca Community Forum', og_description='I am using my paper account to run an algorithm. When I place an order during pre-market, it gets canceled right away when market opens and I am having to place the same order again. Same thing happens when market closes. All the extended hour eligible orders get canceled as soon as the market closes. Is this just a paper account thing? Thanks.', og_url='https://forum.alpaca.markets/t/extented-hour-orders-are-getting-canceled-when-market-closes-or-opens/637', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-09T23:29:13+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/extented-hour-orders-are-getting-canceled-when-market-closes-or-opens/637', status_code=200, scrape_id='5b540ce2-116d-45cc-b24d-6489d6edeb63', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A discussion thread titled 'Can you get the NASDAQ or DOW average responsibly?' explores the possibility of using the API to retrieve average data for the NASDAQ or DOW over a specified period, rather than for individual stocks. A user expresses interest in building an AI that utilizes overall market trends to inform trading decisions. Another user suggests using ETFs like SPY or QQQ as market references instead of pulling data for the entire exchange. The thread includes related topics on market data and API usage.", metadata=DocumentMetadata(title='Can you get the NASDAQ or DOW average responsibly? - Alpaca Integration Applications - Alpaca Community Forum', description='Can you use the API to get the actual NASDAQ or DOW average in the same or similar way as the individual stocks? \nWhat I would like to do is see the example for a 5 day data pull for the NASDAQ or DOW rather than one spe…', url='https://forum.alpaca.markets/t/can-you-get-the-nasdaq-or-dow-average-responsibly/633', language='en', keywords=None, robots=None, og_title='Can you get the NASDAQ or DOW average responsibly? - Alpaca Integration Applications - Alpaca Community Forum', og_description='Can you use the API to get the actual NASDAQ or DOW average in the same or similar way as the individual stocks? What I would like to do is see the example for a 5 day data pull for the NASDAQ or DOW rather than one specific stock. The example in your code examples page works great for specific stocks! I saw documentation on how to pull the whole NASDAQ but I think that would be irresponsible or wasteful. Just started today, but I am wanting to build an AI to fiddle with. I plan to use outsid...', og_url='https://forum.alpaca.markets/t/can-you-get-the-nasdaq-or-dow-average-responsibly/633', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-09T20:18:05+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/can-you-get-the-nasdaq-or-dow-average-responsibly/633', status_code=200, scrape_id='37a04f51-3649-4e03-a064-1d49fbd8e130', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The community forum provides a space for users to ask questions, share ideas, and find FAQs. The 'Alpaca Questions' category allows users to post inquiries related to Alpaca products and services. Recent discussions include topics like account creation issues and support inquiries. Related topics cover account troubleshooting and how to contact Alpaca support.", metadata=DocumentMetadata(title='About the Alpaca Questions category - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='Ask your various Alpaca questions here!', url='https://forum.alpaca.markets/t/about-the-alpaca-questions-category/53', language='en', keywords=None, robots=None, og_title='About the Alpaca Questions category - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='Ask your various Alpaca questions here!', og_url='https://forum.alpaca.markets/t/about-the-alpaca-questions-category/53', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-26T18:32:02+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/about-the-alpaca-questions-category/53', status_code=200, scrape_id='0ed3ae90-4502-483d-adf0-e6baea3b0708', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses issues related to slow order updates in paper trading. Users report delays in order acknowledgment and execution, particularly during market open. A key concern is the difference between 'filled' and 'updated' statuses of orders, with users seeking clarity on the timing of these updates. Alpaca representatives explain that paper trading simulates worst-case scenarios, leading to longer execution times, especially with partial fills. They emphasize that limit orders depend on current bid/ask prices, and users are encouraged to set their limits accordingly. Ongoing discussions highlight user frustrations with execution delays and the need for reliable trading simulations.", metadata=DocumentMetadata(title='Slow order updates - Alpaca Trading - Alpaca Community Forum', description='In paper trading when i submit an order sometimes it takes several minutes to get the ‘new order’ update. In the meantime if i try to replace a stop in the submitted order, it fails with ‘order not yet submitted to excha…', url='https://forum.alpaca.markets/t/slow-order-updates/6782', language='en', keywords=None, robots=None, og_title='Slow order updates - Alpaca Trading - Alpaca Community Forum', og_description='In paper trading when i submit an order sometimes it takes several minutes to get the ‘new order’ update. In the meantime if i try to replace a stop in the submitted order, it fails with ‘order not yet submitted to exchange’. Does this minutes-long delay between order submission on my end and order acknowledgment/activation on the Alpaca end happen often for live trading as well?', og_url='https://forum.alpaca.markets/t/slow-order-updates/6782', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-09-03T17:36:40+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/slow-order-updates/6782', status_code=200, scrape_id='98232491-c846-4b1d-86e3-95f2a09cc43b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum discusses real-time equity price data, with a user asking how to obtain data at a resolution of seconds or smaller, currently limited to 1-minute intervals via the get_bar_set() API. Other users suggest alternatives, such as exporting data from Finviz and using polygon.last_trade() for streaming data. Related topics include real-time last close prices, getting real-time data for a single ticker, and issues with delayed last trade prices.', metadata=DocumentMetadata(title='Realtime equity price - Alpaca Products Discussion - Alpaca Community Forum', description='Hi, \nI am new to algo/live trading and have a naive question. \nHow can I get realtime equity price data down to the resolution of seconds or smaller? \nCurrently it seems the only way to get equity price is by using get_b…', url='https://forum.alpaca.markets/t/realtime-equity-price/336', language='en', keywords=None, robots=None, og_title='Realtime equity price - Alpaca Products Discussion - Alpaca Community Forum', og_description='Hi, I am new to algo/live trading and have a naive question. How can I get realtime equity price data down to the resolution of seconds or smaller? Currently it seems the only way to get equity price is by using get_bar_set() api which has a minimum resolution of 1Min. I am using python. Any help would be appreciated. Thanks.', og_url='https://forum.alpaca.markets/t/realtime-equity-price/336', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-01T01:10:18+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/realtime-equity-price/336', status_code=200, scrape_id='c0214707-2dec-494b-87b0-807339cf56b1', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses the need for programmatic deposits and withdrawals via an API. Users express interest in automating funding their accounts through ACH transfers and suggest features for recurring deposits. Several users have requested updates on these features since 2019, highlighting the importance of programmatic transactions for automatic investments. The forum also includes a support interaction where a user from Iraq seeks assistance with deposit issues, and Alpaca's developer relations team responds to inquiries about support tickets and account management. Overall, the main focus is on enhancing the user experience with automated financial transactions.", metadata=DocumentMetadata(title='Programmatic Deposits - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='I’d love to be able to programmatically fund my Alpaca account from my bank account via ACH with an API endpoint. My use case is to support automatic investment (e.g., a portion of every paycheck). I’m happy writing the …', url='https://forum.alpaca.markets/t/programmatic-deposits/578', language='en', keywords=None, robots=None, og_title='Programmatic Deposits - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='I’d love to be able to programmatically fund my Alpaca account from my bank account via ACH with an API endpoint. My use case is to support automatic investment (e.g., a portion of every paycheck). I’m happy writing the cronjob, but I’d also be open to Alpaca owning the cronjob (i.e., a dashboard-based automatic investment feature) I’d also ideally love to be able to programmatically withdraw funds, although it’s less important to me.', og_url='https://forum.alpaca.markets/t/programmatic-deposits/578', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-26T20:57:06+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/programmatic-deposits/578', status_code=200, scrape_id='7066f665-1c81-49d0-9931-56fb2f8884a7', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses the potential implementation of WebSocket support for handling orders, which could enhance order execution speed and reduce latency compared to the current HTTP protocol. Users express interest in this feature, particularly for high-frequency trading strategies, as it could lead to quicker execution times. Some users question the necessity of WebSockets, suggesting that existing streaming capabilities may suffice. The forum also highlights ongoing improvements in order processing by Alpaca, with users noting changes in market sell liquidity. Related topics include feature requests and troubleshooting for Alpaca's API.", metadata=DocumentMetadata(title='Eventually Support WebSockets For Handling Orders - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='It would be nice to see Alpaca eventually add the WebSocket protocol to interface with the current API (primarily dealing with creating/deleting orders) to cut out the overhead of the HTTP protocol, granting slightly fas…', url='https://forum.alpaca.markets/t/eventually-support-websockets-for-handling-orders/70', language='en', keywords=None, robots=None, og_title='Eventually Support WebSockets For Handling Orders - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='It would be nice to see Alpaca eventually add the WebSocket protocol to interface with the current API (primarily dealing with creating/deleting orders) to cut out the overhead of the HTTP protocol, granting slightly faster execution and lower latency especially for more higher frequency algorithms.', og_url='https://forum.alpaca.markets/t/eventually-support-websockets-for-handling-orders/70', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-27T01:59:13+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/eventually-support-websockets-for-handling-orders/70', status_code=200, scrape_id='7bdaa4f2-06fe-4cd3-8cc9-f920d7c4b3ac', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum discusses the integration of Alpaca with Zipline, focusing on backtesting and live trading strategies. Users express interest in the support for Zipline integration, specifically regarding the use of two GitHub projects: `pylivetrader` and `alpaca-zipline`. Key points include the need for consistent historical data for backtesting and live trading, inquiries about the availability of historical data for Alpaca tickers, and the status of the `alpaca-zipline` project, which is not actively developed. The community shares insights and seeks guidance on best practices for transitioning from backtesting to live trading.', metadata=DocumentMetadata(title='Alpaca Zipline Integration - Alpaca Account Troubleshooting - Alpaca Community Forum', description='I am new to Alpaca but experienced in algo trading. I am interested to learn about your current and continued support for Zipline integration. \nI see two Alpaca GitHub projects related to Zipline \n\n\npylivetrader at https…', url='https://forum.alpaca.markets/t/alpaca-zipline-integration/93', language='en', keywords=None, robots=None, og_title='Alpaca Zipline Integration - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='I am new to Alpaca but experienced in algo trading. I am interested to learn about your current and continued support for Zipline integration. I see two Alpaca GitHub projects related to Zipline pylivetrader at https://github.com/alpacahq/pylivetrader alpaca-zipline at https://github.com/alpacahq/alpaca-zipline It looks like the first is under continued development and the second is not. I am interested in using Alpaca to both backtest and live trade a Zipline-flavored strategy. Can you ...', og_url='https://forum.alpaca.markets/t/alpaca-zipline-integration/93', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-30T01:04:47+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alpaca-zipline-integration/93', status_code=200, scrape_id='c5cb57c3-f846-4d12-bfe0-fd09b3c5223f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum discussion titled 'Test Prices Stuck' highlights issues with test trades on the Alpaca platform, where users report that execution prices remain static despite actual market prices fluctuating. Users express concerns about the reliability of the paper trading environment, noting problems such as incorrect execution prices and difficulties in viewing positions. The discussion includes various user experiences and emphasizes the importance of tracking fill prices during testing. Related topics address similar issues with paper trading and market execution.", metadata=DocumentMetadata(title='Test Prices Stuck - Alpaca Market Data - Alpaca Community Forum', description='I’m executing test trades of AAPL on the test platform, and even though actual price is…say 310.22…every BUY order is executed at 310.66…over and over and over again. So the prices are stuck on the test platform', url='https://forum.alpaca.markets/t/test-prices-stuck/695', language='en', keywords=None, robots=None, og_title='Test Prices Stuck - Alpaca Market Data - Alpaca Community Forum', og_description='I’m executing test trades of AAPL on the test platform, and even though actual price is…say 310.22…every BUY order is executed at 310.66…over and over and over again. So the prices are stuck on the test platform', og_url='https://forum.alpaca.markets/t/test-prices-stuck/695', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-27T20:03:33+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/test-prices-stuck/695', status_code=200, scrape_id='71ee1f05-9e7b-406f-992f-f09f3ae458cb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses calculating the Volume Weighted Average Price (VWAP) from bar data using the Alpaca API. A user, Steven, seeks help in coding a system to calculate VWAP from minute bar data for AAPL stock. He shares his challenges with missing data and seeks advice on appending VWAP to the data. Chris Jones responds with suggestions, including using the Alpaca API documentation and a sample code for resampling data. The conversation highlights the importance of handling missing data and provides insights into coding practices for trading applications.', metadata=DocumentMetadata(title='Noob - calculating VWAP from bars data - Alpaca Integration Applications - Alpaca Community Forum', description='Hey, \nIm a pretty experienced day trader and have a system i want to implement in code, but im not much good at programming yet. \nI am trying to work out how to use the data returned from: \napi.get_barset(‘AAPL’,‘minute’…', url='https://forum.alpaca.markets/t/noob-calculating-vwap-from-bars-data/476', language='en', keywords=None, robots=None, og_title='Noob - calculating VWAP from bars data - Alpaca Integration Applications - Alpaca Community Forum', og_description='Hey, Im a pretty experienced day trader and have a system i want to implement in code, but im not much good at programming yet. I am trying to work out how to use the data returned from: api.get_barset(‘AAPL’,‘minute’, limit=30).df to calculate VWAP, roll it up up into 2, 3 5 minute bars and generally use it for calculation. What code needs to be added to, after or around the command above to get to using the returned values. Thanks for your help.', og_url='https://forum.alpaca.markets/t/noob-calculating-vwap-from-bars-data/476', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-19T23:42:43+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/noob-calculating-vwap-from-bars-data/476', status_code=200, scrape_id='d98950a7-82db-4109-8024-1d6792a55052', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses whether Alpaca supports cryptocurrency trading. As of now, Alpaca does not support crypto trading, and users have been inquiring about potential updates since 2019. In May 2021, a representative from Alpaca indicated that cryptocurrency trading would be rolled out later that year, initially for accounts in a limited number of states. Users have expressed interest in trading cryptocurrencies like Bitcoin and Dogecoin and have asked for a timeline and details regarding the rollout. The forum has seen various discussions and inquiries about the future of crypto trading on the platform.', metadata=DocumentMetadata(title='Does Alpaca support crypto currency? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Can I buy and sell crypto with Alpaca??', url='https://forum.alpaca.markets/t/does-alpaca-support-crypto-currency/440', language='en', keywords=None, robots=None, og_title='Does Alpaca support crypto currency? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Can I buy and sell crypto with Alpaca??', og_url='https://forum.alpaca.markets/t/does-alpaca-support-crypto-currency/440', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-09T15:24:09+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/does-alpaca-support-crypto-currency/440', status_code=200, scrape_id='1b253a05-85c5-462a-8266-ddafb796fa1a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses the potential addition of futures trading to the Alpaca platform. Users express interest and inquire about a product roadmap for futures trading. Despite multiple inquiries since September 2019, there has been no definitive update from Alpaca regarding the support for futures trading. A representative from Alpaca acknowledged the interest but stated that futures are not yet supported. The forum has seen ongoing discussions with users seeking updates and expressing their need for futures trading to continue using the platform.', metadata=DocumentMetadata(title='Futures planned? - Alpaca Products Discussion - Alpaca Community Forum', description='I’m wondering if futures trading will be added to Alpaca, is it planned? Is there any kind of product roadmap to get a better idea of what Alpaca is working towards?', url='https://forum.alpaca.markets/t/futures-planned/251', language='en', keywords=None, robots=None, og_title='Futures planned? - Alpaca Products Discussion - Alpaca Community Forum', og_description='I’m wondering if futures trading will be added to Alpaca, is it planned? Is there any kind of product roadmap to get a better idea of what Alpaca is working towards?', og_url='https://forum.alpaca.markets/t/futures-planned/251', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-10T15:52:49+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/futures-planned/251', status_code=200, scrape_id='d770b297-47e7-40ae-b0b5-bd0f047a5bed', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread addresses issues with the API's `Bars` GET request, specifically regarding inconsistent time intervals when retrieving data for timeframes less than one day. The user seeks to build a function to handle requests exceeding 1000 bars and notes that the returned data varies by ticker. Suggestions include using the v2 API and clarifying that the Data API endpoint differs from the Trading API endpoint. Related topics include various inconsistencies and issues with the API.", metadata=DocumentMetadata(title='Bars / Timeframes less than 1 day return data with inconsistent time intervals? - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='Intro\nDue to the limitations of the Bars GET request at 1000 bars, I’m attempting to build a function that when start & end (or after / until) is a duration larger than 1000 bars will construct multiple requests and comb…', url='https://forum.alpaca.markets/t/bars-timeframes-less-than-1-day-return-data-with-inconsistent-time-intervals/131', language='en', keywords=None, robots=None, og_title='Bars / Timeframes less than 1 day return data with inconsistent time intervals? - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='Intro Due to the limitations of the Bars GET request at 1000 bars, I’m attempting to build a function that when start & end (or after / until) is a duration larger than 1000 bars will construct multiple requests and combine the resulting data to complete the request. Specific Question I’m noticing that the bars data returned by the API is of inconsistent intervals when extracting timeframe’s of less than 1 day. Reprex Here’s the request URL: https://data.alpaca.markets/v1/bars/15Min?symbols=T...', og_url='https://forum.alpaca.markets/t/bars-timeframes-less-than-1-day-return-data-with-inconsistent-time-intervals/131', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-05T19:21:34+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/bars-timeframes-less-than-1-day-return-data-with-inconsistent-time-intervals/131', status_code=200, scrape_id='b60ee475-b405-4160-bf86-3a2bfc25e37c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The article discusses the closure of Swell Investing, a platform focused on impact investing, which ceased operations in August 2019. It defines impact investing, also known as socially responsible investing (SRI), which considers environmental, social, and governance (ESG) criteria for financial returns and societal impact. The author, an Alpaca employee, expresses admiration for Swell's commitment to SRI and introduces a DIY Python script for Alpaca users to invest in socially responsible companies through ETFs. The script allows users to allocate funds across various SRI themes, rebalance portfolios, and requires basic coding knowledge. The article emphasizes the importance of testing strategies using Alpaca's paper trading platform before committing real funds.", metadata=DocumentMetadata(title='A Farewell to Swell: DIY Socially Responsible Investing through Alpaca - Alpaca Trading - Alpaca Community Forum', description='A Farewell to Swell: DIY Socially Responsible Investing through Alpaca\n \nPhoto by Gustavo Quepón on Unsplash \nI was saddened to learn that on July 24th, 2019 Swell Investing stopped accepting new customers and would be s…', url='https://forum.alpaca.markets/t/a-farewell-to-swell-diy-socially-responsible-investing-through-alpaca/117', language='en', keywords=None, robots=None, og_title='A Farewell to Swell: DIY Socially Responsible Investing through Alpaca - Alpaca Trading - Alpaca Community Forum', og_description='A Farewell to Swell: DIY Socially Responsible Investing through Alpaca Photo by Gustavo Quepón on Unsplash I was saddened to learn that on July 24th, 2019 Swell Investing stopped accepting new customers and would be shutting down operations by the end of August. Founded in 2017, Swell was an investment advisor and platform that focused exclusively on impact investing. What is impact investing? Impact, or socially responsible investing (SRI), includes and is also called, among others: commu...', og_url='https://forum.alpaca.markets/t/a-farewell-to-swell-diy-socially-responsible-investing-through-alpaca/117', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/665229ca04f98dee318477b929d71b754b4bec10.jpeg', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-01T17:00:09+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/a-farewell-to-swell-diy-socially-responsible-investing-through-alpaca/117', status_code=200, scrape_id='26ab5f98-003e-4802-98ec-782e2f4d823a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The page provides an example of how to view the gain/loss of a portfolio using the Alpaca API, specifically through a Python script that calculates daily profit or loss by comparing current and previous balances. Users can find additional examples in C# and Python on the documentation site. The post includes a user interaction where another member shares their experience with the API and related tutorials. Related topics on profit/loss calculations and account history are also listed for further exploration.', metadata=DocumentMetadata(title='Example on viewing gain/loss of your portfolio - Getting Started with Alpaca / Examples - Alpaca Community Forum', description='You can use the information from the account endpoint to do things like calculating the daily profit or loss of your account. \nExample in python: \nimport alpaca_trade_api as tradeapi\n\nif __name__ == '__main__':\n """\n …', url='https://forum.alpaca.markets/t/example-on-viewing-gain-loss-of-your-portfolio/193', language='en', keywords=None, robots=None, og_title='Example on viewing gain/loss of your portfolio - Getting Started with Alpaca / Examples - Alpaca Community Forum', og_description='You can use the information from the account endpoint to do things like calculating the daily profit or loss of your account. Example in python: import alpaca_trade_api as tradeapi if __name__ == \'__main__\': """ With the Alpaca API, you can check on your daily profit or loss by comparing your current balance to yesterday\'s balance. """ # First, open the API connection api = tradeapi.REST( \'your_api_key_here\', \'your_api_secret_here\', \'https://pa...', og_url='https://forum.alpaca.markets/t/example-on-viewing-gain-loss-of-your-portfolio/193', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/19310421b3fa1fe86dd234fbc420c25dfc8d0f6d.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-26T22:01:10+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/example-on-viewing-gain-loss-of-your-portfolio/193', status_code=200, scrape_id='f2980f89-8279-47ef-a92b-cc5f66d2d66e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses a misunderstanding regarding take profit and stop loss orders. A user, AASAAQWE, seeks guidance on setting up a market order that triggers a take profit when the stock price increases by $0.1 and a stop loss when it decreases by $10. They express confusion as their current setup sells the position immediately without waiting for the stop loss. Dan Whitnable from Alpaca suggests using a One-Cancels-Other (OCO) order, which allows for both a limit order (take profit) and a stop loss to be submitted together. The user acknowledges the advice and seeks further clarification on a trailing stop order they are trying to implement, which is intended to sell only when there is a profit.', metadata=DocumentMetadata(title='Take profit and stop loss misunderstanding - Alpaca Trading - Alpaca Community Forum', description='take_profit_request = TakeProfitRequest(limit_price=c + 0.1) \nstop_loss_request = StopLossRequest(stop_price=c - 10) \nhello, im trying to order a market order that take profit when my stock price moves up $0.1 and down w…', url='https://forum.alpaca.markets/t/take-profit-and-stop-loss-misunderstanding/13104/4', language='en', keywords=None, robots=None, og_title='Take profit and stop loss misunderstanding - Alpaca Trading - Alpaca Community Forum', og_description='trailing_price_data = TrailingStopOrderRequest( symbol=x, qty=B_qty, side=OrderSide.SELL, time_in_force=TimeInForce.GTC, trail_price=trail_p, # hwm * 0.99 ) trailing_price_order = trading_client.submit_order( order_data=trailing_price_data ) could you also provide some insight into this order, if you dont mind? trail_p is 0.1* of the current price of the stock. this order has no stop loss, but the program keeps selling the order. I just want the order to sell when there is only a pr...', og_url='https://forum.alpaca.markets/t/take-profit-and-stop-loss-misunderstanding/13104/4', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2023-11-08T14:38:35+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/take-profit-and-stop-loss-misunderstanding/13104/4', status_code=200, scrape_id='b8be4a39-862a-49fe-88ea-7df13a5d9651', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main discussion topic is about market depth data (level 2) for paper trading, with a user inquiring if Alpaca APIs support this feature. Another user responds that Alpaca does not provide this data, but it can be accessed for free from IEX. Related topics include inquiries about level 2 market data, Alpaca Data API for real-time stock market data, and other market data subscriptions.', metadata=DocumentMetadata(title='Market depth data - Alpaca Market Data - Alpaca Community Forum', description='Hi Experts, \nDoes alpaca apis support for market depth data [level 2] data for paper trading ? i dont see any explanation/exaples related to it ?', url='https://forum.alpaca.markets/t/market-depth-data/271', language='en', keywords=None, robots=None, og_title='Market depth data - Alpaca Market Data - Alpaca Community Forum', og_description='Hi Experts, Does alpaca apis support for market depth data [level 2] data for paper trading ? i dont see any explanation/exaples related to it ?', og_url='https://forum.alpaca.markets/t/market-depth-data/271', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-15T07:31:12+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/market-depth-data/271', status_code=200, scrape_id='eae89cec-6fa4-48be-ba5c-85d5acac0b80', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to Polygon aggregate data glitches. Users report inconsistencies in the data received from REST requests, particularly when fetching 1-minute aggregate data for tickers. Problems include receiving invalid values for high or close prices, leading to erroneous calculations and trading decisions. Users share solutions, such as implementing data validation checks based on timestamps and using Pandas for data processing. The conversation highlights the need for reliable data from paid services and seeks feedback on improving data handling methods.', metadata=DocumentMetadata(title='Polygon aggregate data glitch - Alpaca Integration Applications - Alpaca Community Forum', description='So, I am sending REST requests every minute for 1 min aggregate data for a ticker and returning the MAX and MIN in the data set. However, after about 14-20 requests, the dataset received is completely different from an …', url='https://forum.alpaca.markets/t/polygon-aggregate-data-glitch/1189', language='en', keywords=None, robots=None, og_title='Polygon aggregate data glitch - Alpaca Integration Applications - Alpaca Community Forum', og_description='So, I am sending REST requests every minute for 1 min aggregate data for a ticker and returning the MAX and MIN in the data set. However, after about 14-20 requests, the dataset received is completely different from an earlier timeframe. Has anyone else had issues with this?', og_url='https://forum.alpaca.markets/t/polygon-aggregate-data-glitch/1189', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/71eec61b1a8e594779ffdfb5eab9eadad2f496e0_2_1024x453.jpeg', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-04-15T16:09:48+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/polygon-aggregate-data-glitch/1189', status_code=200, scrape_id='97f68b89-7766-4911-b501-9744cdc8251e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses the best ways to scan for stocks using the Alpaca Trading API. Users share insights on fetching stock data, with a focus on querying the IEX API for stocks that meet specific criteria, such as gapping up premarket. Key points include the need for custom filters and scanners, the use of asynchronous requests for efficiency, and the potential use of Web Socket APIs for real-time data streaming. There is also a discussion about accessing real-time data through the Polygon API, which is available for free to users with a funded Alpaca account. The forum emphasizes the importance of defining one's own trading logic and the challenges of handling large volumes of tickers.", metadata=DocumentMetadata(title='Best way to scan for stocks - Alpaca Market Data - Alpaca Community Forum', description='It seems easy to fetch data for a particular stock with the API. In python: df = api.get_barset('AAPL', 'day', limit=500).df['AAPL']. However, how can I scan for stocks that I want to trade? Simple example: I’d like to g…', url='https://forum.alpaca.markets/t/best-way-to-scan-for-stocks/264', language='en', keywords=None, robots=None, og_title='Best way to scan for stocks - Alpaca Market Data - Alpaca Community Forum', og_description="It seems easy to fetch data for a particular stock with the API. In python: df = api.get_barset('AAPL', 'day', limit=500).df['AAPL']. However, how can I scan for stocks that I want to trade? Simple example: I’d like to get all stocks that gapped up premarket by > 20%. It seems like for this, Alpaca does not really have a good support yet. Hence, my question: Is the best way to scan for stocks to directly query the IEX API to find the tickers I want to trade (https://iexcloud.io/financial-data/)...", og_url='https://forum.alpaca.markets/t/best-way-to-scan-for-stocks/264', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-13T19:25:31+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/best-way-to-scan-for-stocks/264', status_code=200, scrape_id='085ea561-cb64-40a7-85af-bd8b5591780d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum discusses trading markets and hours, with a focus on ETF trading after hours. A user, DallasSteve, inquired about trading hours for ETFs, and another user, alpaca_nancy, provided a link to the relevant documentation. There were updates regarding the availability of links to trading hours information. The forum also features related topics on extended hours trading and trading hours for stocks.', metadata=DocumentMetadata(title='Markets And Hours? - Alpaca Trading - Alpaca Community Forum', description='I searched the Alpaca website for info about what markets and hours can be traded, but I don’t find that page. I’m wondering about ETF trading after hours. What are the hours that ETFs can be traded? Is there a page l…', url='https://forum.alpaca.markets/t/markets-and-hours/437', language='en', keywords=None, robots=None, og_title='Markets And Hours? - Alpaca Trading - Alpaca Community Forum', og_description='I searched the Alpaca website for info about what markets and hours can be traded, but I don’t find that page. I’m wondering about ETF trading after hours. What are the hours that ETFs can be traded? Is there a page link for that?', og_url='https://forum.alpaca.markets/t/markets-and-hours/437', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-08T21:35:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/markets-and-hours/437', status_code=200, scrape_id='f8885ac1-2e21-45f8-8909-f2eb6cbe10fe', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users and provides a platform for discussions and FAQs. A key topic discussed is the access to 1-minute API data for non-US citizens. A user inquired about accessing this data without a live account, to which another user responded that real-time prices via the Polygon API are unavailable without a live account. However, they suggested using an alternative stock API, Finnhub, which offers real-time market data for free. Related topics include various discussions on Alpaca's data API and feature requests.", metadata=DocumentMetadata(title='Minute API data for none US? - Alpaca Market Data - Alpaca Community Forum', description='Is it true that if i am not an US citizen and only have the paper account - i have no access to the 1 minute API calls?.. \nis there a way to get 1 minute or Live data with the API?', url='https://forum.alpaca.markets/t/minute-api-data-for-none-us/658', language='en', keywords=None, robots=None, og_title='Minute API data for none US? - Alpaca Market Data - Alpaca Community Forum', og_description='Is it true that if i am not an US citizen and only have the paper account - i have no access to the 1 minute API calls?.. is there a way to get 1 minute or Live data with the API?', og_url='https://forum.alpaca.markets/t/minute-api-data-for-none-us/658', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-14T22:45:38+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/minute-api-data-for-none-us/658', status_code=200, scrape_id='8e1fa28b-e515-4a29-b8b8-f94bc402e311', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The main discussion topic is about adding sentiment data to trading algorithms, specifically migrating algorithms from Quantopian to the Alpaca API. Users share their experiences with sentiment analysis tools like TextBlob and VADER, noting that VADER, especially with an additional stock lexicon, has proven effective. A user mentions using the Polygon API for news data, which has streamlined their process compared to traditional methods like RSS feeds and web scraping. Related topics include importing Quantopian algorithms, changes to Alpaca data, and various trading discussions.', metadata=DocumentMetadata(title='Adding Sentiment Data - Alpaca Integration Applications - Alpaca Community Forum', description='Hello, this is my first time using alpaca and I’m trying to migrate a market sentiment algorithm I made on Quantopian. Does anyone know how I could successfully migrate it into the Alpaca API(there’s nothing about these …', url='https://forum.alpaca.markets/t/adding-sentiment-data/224', language='en', keywords=None, robots=None, og_title='Adding Sentiment Data - Alpaca Integration Applications - Alpaca Community Forum', og_description='Hello, this is my first time using alpaca and I’m trying to migrate a market sentiment algorithm I made on Quantopian. Does anyone know how I could successfully migrate it into the Alpaca API(there’s nothing about these sentiment libraries in the migration guide)? Here’s my code:', og_url='https://forum.alpaca.markets/t/adding-sentiment-data/224', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/0eabcf25c30c4db1234cea138004976976477ca0.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-03T02:51:41+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/adding-sentiment-data/224', status_code=200, scrape_id='dcab3e55-8710-40fc-8b23-5e396ee9f80a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion titled 'Positions should include dates' highlights a user request for the ability to close positions opened more than a certain number of days ago, noting the absence of date data in the current schema. Users express the need for support in trading individual lots and mention related topics such as determining the date a position was opened and handling tax purposes for shares. The forum encourages sharing ideas and following discussions.", metadata=DocumentMetadata(title='Positions should include dates - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='I’d like to be able to close any positions that were opened more than X days ago. However, in the current schema, no data about the date a position was opened is included. I’ve had to try to work around this by matching …', url='https://forum.alpaca.markets/t/positions-should-include-dates/650', language='en', keywords=None, robots=None, og_title='Positions should include dates - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='I’d like to be able to close any positions that were opened more than X days ago. However, in the current schema, no data about the date a position was opened is included. I’ve had to try to work around this by matching orders to open positions, but this causes a lot of issues.', og_url='https://forum.alpaca.markets/t/positions-should-include-dates/650', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-13T20:58:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/positions-should-include-dates/650', status_code=200, scrape_id='d3e96f0e-16fd-4bc1-b292-7638da51af1b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main topic discussed is how to determine or change the default stock exchange when using Alpaca. A user inquired about using Alpaca over a local stock exchange and how to define or change the default exchange. Another user responded, mentioning a Polygon API call that lists exchanges and suggested providing more details for better assistance. Related topics include supported stock exchange names, currency trading questions, and API inquiries about switching between stock exchanges.', metadata=DocumentMetadata(title='How to determine or change the Stock exchange - Alpaca Trading / Tutorials - Alpaca Community Forum', description='I want to use alpaca over a local stock exchange. \nHow can I define or change the default stock exchange?', url='https://forum.alpaca.markets/t/how-to-determine-or-change-the-stock-exchange/547', language='en', keywords=None, robots=None, og_title='How to determine or change the Stock exchange - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='I want to use alpaca over a local stock exchange. How can I define or change the default stock exchange?', og_url='https://forum.alpaca.markets/t/how-to-determine-or-change-the-stock-exchange/547', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-18T05:53:22+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-determine-or-change-the-stock-exchange/547', status_code=200, scrape_id='84c92168-653e-4ab1-8072-890e4e6677b9', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses user experiences with the Alpaca trading platform. A user expresses dissatisfaction with slow execution speeds, which hinder their trading strategy, particularly for swing trading. They mention that Alpaca's support is inadequate and that trade limits are not honored unless in large quantities. Other users share mixed experiences, with some reporting satisfactory performance while others highlight issues with order execution and pricing compared to other brokers. Concerns about the platform's reliability, especially during high volatility, and the quality of data and order management are prevalent. Overall, the discussion reflects a range of opinions on Alpaca's effectiveness for different trading strategies.", metadata=DocumentMetadata(title='Does anyone really like using Alpaca? - Alpaca Trading - Alpaca Community Forum', description='I’m getting ready to pull money out of Alpaca. After a solid 6 months or so of using it I can safely say its not good enough for what I’m trying to do. I’d like to hear everyone else’s thoughts. My problem is that the …', url='https://forum.alpaca.markets/t/does-anyone-really-like-using-alpaca/4808', language='en', keywords=None, robots=None, og_title='Does anyone really like using Alpaca? - Alpaca Trading - Alpaca Community Forum', og_description='I’m getting ready to pull money out of Alpaca. After a solid 6 months or so of using it I can safely say its not good enough for what I’m trying to do. I’d like to hear everyone else’s thoughts. My problem is that the execution speed is so slow that its worthless. My entire algorithm’s success is predicated upon getting out of trade quickly if it turns down, but letting it run up as long as it can. Far too often a stock makes a sudden downturn and instead of my stops limiting the loss to ~1%,...', og_url='https://forum.alpaca.markets/t/does-anyone-really-like-using-alpaca/4808', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-03-05T15:43:28+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/does-anyone-really-like-using-alpaca/4808', status_code=200, scrape_id='38d3c9e8-4c23-4a17-a9fa-e0748ab17e88', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses concerns regarding the reliability of Alpaca's trading API. Users report experiencing bugs in the paper trading API and Python SDK, including issues with the get_barset() function and order placements. Many users express frustration over the lack of responses to their inquiries and consider seeking alternative trading platforms. The thread highlights specific problems such as unliquidatable positions, unexecuted limit orders, and difficulties with bracket orders. Overall, there is a shared sentiment of skepticism about using Alpaca for real money trading.", metadata=DocumentMetadata(title='Worried about reliability of alpaca - Alpaca Products Discussion - Alpaca Community Forum', description='I’ve been using alpaca’s paper trading api for a few days and it seems to be riddled with bugs. I’ve asked about a few of them in this forum post: \n\n\nIn addition, I’ve tried the python SDK and it also seems to be buggy. …', url='https://forum.alpaca.markets/t/worried-about-reliability-of-alpaca/1375', language='en', keywords=None, robots=None, og_title='Worried about reliability of alpaca - Alpaca Products Discussion - Alpaca Community Forum', og_description='I’ve been using alpaca’s paper trading api for a few days and it seems to be riddled with bugs. I’ve asked about a few of them in this forum post: In addition, I’ve tried the python SDK and it also seems to be buggy. The get_barset() function sometimes returns data and sometimes doesn’t (while being called with the same arguments). Additionally, there are obscure requirements about what dates you can pass in and the formatting of the dates, which makes it a bit difficult to use. If I can unc...', og_url='https://forum.alpaca.markets/t/worried-about-reliability-of-alpaca/1375', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-05-05T16:43:01+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/worried-about-reliability-of-alpaca/1375', status_code=200, scrape_id='a84ba3d9-a42c-4c35-8cbe-18e5c908ce70', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A discussion thread addresses issues related to legacy account closures, specifically how to create a new account if the previous one is blocked. A user shares their experience of being unable to sign up with the same email address, prompting a response that suggests using a '+' sign to create variations of the email for registration. Related topics include sign-up issues, updating mailing addresses, and managing multiple accounts.", metadata=DocumentMetadata(title='Legacy account closed. How to create a new account? - Alpaca Trading / Tutorials - Alpaca Community Forum', description='Hello, my legacy Alpaca account was closed. I can still sign in, but it says “Your account is currently blocked. Please contact support if you need assistance or have any questions”. I tried to create a new account, but …', url='https://forum.alpaca.markets/t/legacy-account-closed-how-to-create-a-new-account/188', language='en', keywords=None, robots=None, og_title='Legacy account closed. How to create a new account? - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='Hello, my legacy Alpaca account was closed. I can still sign in, but it says “Your account is currently blocked. Please contact support if you need assistance or have any questions”. I tried to create a new account, but now I cannot use the same email address. Can anyone please let me know how they migrated to their new account from legacy?', og_url='https://forum.alpaca.markets/t/legacy-account-closed-how-to-create-a-new-account/188', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-23T19:16:28+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/legacy-account-closed-how-to-create-a-new-account/188', status_code=200, scrape_id='fefc67b8-b8da-4bf3-91d1-0f18ffc28e0c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users and provides a platform for discussions and FAQs. A user encountered an error while trying to run a C# example to view open positions using the Alpaca API. The error was due to the misuse of the 'foreach' loop on a Task object. Another user suggested using 'await' and 'async' keywords to resolve the issue. The original poster confirmed that implementing these keywords fixed the error. The thread includes related topics for further assistance.", metadata=DocumentMetadata(title='Error while running the c# example to "View Open Positions" - Alpaca Integration Applications - Alpaca Community Forum', description='I am trying to run the c# example to “View Open Positions”. Following is the section of code: \nvar positions = restClient.ListPositionsAsync(); \nforeach (var position in positions) \n{ \nConsole.WriteLine($"{position.Quan…', url='https://forum.alpaca.markets/t/error-while-running-the-c-example-to-view-open-positions/604', language='en', keywords=None, robots=None, og_title='Error while running the c# example to "View Open Positions" - Alpaca Integration Applications - Alpaca Community Forum', og_description='I am trying to run the c# example to “View Open Positions”. Following is the section of code: var positions = restClient.ListPositionsAsync(); foreach (var position in positions) { Console.WriteLine($"{position.Quantity} shares of {position.Symbol}."); } I get the error message in Visual Studio that: "foreach statement cannot operate on variables of type ‘Task’ because ‘Task’ does not contain a public instance definition for ‘GetEnumerator’ Any suggestions f...', og_url='https://forum.alpaca.markets/t/error-while-running-the-c-example-to-view-open-positions/604', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-02T19:01:09+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/error-while-running-the-c-example-to-view-open-positions/604', status_code=200, scrape_id='bdc8b3a5-3627-461a-8bba-1dbfa88fa06b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum discussion titled 'Why account_updates channel did not trigger?' addresses issues related to account updates not being triggered during stock transactions. A user shares their code for subscribing to account and trade updates, noting two main issues: a delay in server feedback and the account_updates channel not triggering during buy/sell actions. Other users contribute to the discussion, confirming that the account_updates channel does not currently trigger for order executions. Related topics include various issues with account and trade updates.", metadata=DocumentMetadata(title='Why account_updates channel did not trigger? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Hello, I write below codes to submit order to buy or sell stocks. I am paper trading only. \n\ndef subscribe_updates(self):\n self.conn.register(r'account_updates', self.on_account_updates)\n self.conn.register…', url='https://forum.alpaca.markets/t/why-account-updates-channel-did-not-trigger/96', language='en', keywords=None, robots=None, og_title='Why account_updates channel did not trigger? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description="Hello, I write below codes to submit order to buy or sell stocks. I am paper trading only. def subscribe_updates(self): self.conn.register(r'account_updates', self.on_account_updates) self.conn.register(r'trade_updates', self.on_trade_updates) self.conn.run(['account_updates', 'trade_updates']) async def on_account_updates(self, conn, channel, data): print('account updates: ', channel, data) self.cash = data['cash'] async def on_trade_updates(...", og_url='https://forum.alpaca.markets/t/why-account-updates-channel-did-not-trigger/96', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-30T18:25:35+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/why-account-updates-channel-did-not-trigger/96', status_code=200, scrape_id='9927ce7d-df21-4478-ad4a-6b28f3675550', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main discussion topic is about accessing closed positions to calculate profit or loss for intraday stocks. Users can query all fills for the day using the Activities API. Related topics include retrieving closed orders data, calculating profit/loss for stocks, and accessing old order data. The forum encourages sharing ideas and following discussions.', metadata=DocumentMetadata(title='Access to Closed Positions - Alpaca Integration Applications - Alpaca Community Forum', description='How to get the closed positions to calculate profit or loss for the stock in intraday?', url='https://forum.alpaca.markets/t/access-to-closed-positions/410', language='en', keywords=None, robots=None, og_title='Access to Closed Positions - Alpaca Integration Applications - Alpaca Community Forum', og_description='How to get the closed positions to calculate profit or loss for the stock in intraday?', og_url='https://forum.alpaca.markets/t/access-to-closed-positions/410', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-31T08:24:57+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/access-to-closed-positions/410', status_code=200, scrape_id='4a81559d-da60-41e5-94fc-b2d5f36617e0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Ruby or Crystal API wrappers?' invites users to share their experiences and interest in developing API wrappers for Alpaca in Ruby or Crystal languages. The thread features contributions from users who have started building Ruby wrappers and are eager to collaborate and share documentation. The community encourages feedback and contributions to enhance the API integration experience.", metadata=DocumentMetadata(title='Ruby or Crystal API wrappers? - Alpaca Integration Applications - Alpaca Community Forum', description='Are there any Ruby or Crystal Language API wrappers for Alpaca? \nIf not, anyone interested in such? \nI have built a few Ruby API wrappers to-date for cryptocurrency exchanges and just finished my first Crystal shard. So…', url='https://forum.alpaca.markets/t/ruby-or-crystal-api-wrappers/62', language='en', keywords=None, robots=None, og_title='Ruby or Crystal API wrappers? - Alpaca Integration Applications - Alpaca Community Forum', og_description='Are there any Ruby or Crystal Language API wrappers for Alpaca? If not, anyone interested in such? I have built a few Ruby API wrappers to-date for cryptocurrency exchanges and just finished my first Crystal shard. So consider this an open call for interest in either. Very excited about this Alpaca API as I want to expand from quant trading of cryptos to stocks.', og_url='https://forum.alpaca.markets/t/ruby-or-crystal-api-wrappers/62', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-26T20:35:32+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/ruby-or-crystal-api-wrappers/62', status_code=200, scrape_id='35275d24-15d8-4106-a13f-dd89d9fa5f70', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion titled "qty must be an integer" addresses the limitation of the Python API, where users cannot purchase fractional shares as the quantity parameter must be an integer. Users express the need for fractional share trading, especially for those with limited investment funds. The conversation highlights that other brokers support fractional shares, and there is hope that Alpaca will implement this feature soon. Related topics include issues with placing trades for fractional quantities and requests for fractional trading support.', metadata=DocumentMetadata(title='"qty must be an integer" - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nLanguage \nPython \nProblem\nSummary \nI would like to puchase fractional shares. Is this possible with the Python API? The qty parameter is required to be an integer \nPaper or Live Tradng? \nPaper trading', url='https://forum.alpaca.markets/t/qty-must-be-an-integer/619', language='en', keywords=None, robots=None, og_title='"qty must be an integer" - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment Language Python Problem Summary I would like to puchase fractional shares. Is this possible with the Python API? The qty parameter is required to be an integer Paper or Live Tradng? Paper trading', og_url='https://forum.alpaca.markets/t/qty-must-be-an-integer/619', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-06T19:24:31+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/qty-must-be-an-integer/619', status_code=200, scrape_id='3f753ab8-06f9-4f6a-82a2-a00645e03262', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The forum focuses on market data discussions, featuring various topics such as incorrect historical data, bracket orders, and market data stream issues. Key discussions include the limitations of paper trading keys, websocket feed failures, and real-time price queries. Users can find FAQs, share ideas, and follow discussions on market data. The latest topics cover issues like duplicated ticks, historical data access, and feature requests for open interest and volume.', metadata=DocumentMetadata(title='Latest Alpaca Market Data topics - Alpaca Community Forum', description='This category is for discussion on various market data topics.', url='https://forum.alpaca.markets/c/market-data/16', language='en', keywords=None, robots=None, og_title='Latest Alpaca Market Data topics - Alpaca Community Forum', og_description='This category is for discussion on various market data topics.', og_url='https://forum.alpaca.markets/c/market-data/16', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/c/market-data/16', status_code=200, scrape_id='2cd83240-f671-4490-aaec-65c66ee9a9a1', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users and provides resources for creating a Trading API account. Users can sign up through a provided link. The main topic discussed is how to create an account for clients, with a specific inquiry from a user about creating one account per client. Related topics include account creation via API and updates on the account creation API, indicating ongoing discussions and support for users looking to integrate with Alpaca's services.", metadata=DocumentMetadata(title='How to create account for clients? - Alpaca Integration Applications - Alpaca Community Forum', description='I need to create one account per one client. How to do it?', url='https://forum.alpaca.markets/t/how-to-create-account-for-clients/470', language='en', keywords=None, robots=None, og_title='How to create account for clients? - Alpaca Integration Applications - Alpaca Community Forum', og_description='I need to create one account per one client. How to do it?', og_url='https://forum.alpaca.markets/t/how-to-create-account-for-clients/470', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-18T16:50:09+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-create-account-for-clients/470', status_code=200, scrape_id='0122ab8b-b60a-40fe-8779-0828e20866ab', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A forum post discusses issues with the paper trading overview not updating despite changes in position quantities via Python. The user, seabassjohn, experienced this problem while trading AAPL and noted it was not an issue during previous live paper trading. The post has garnered 506 views and is linked to related topics about similar issues with Alpaca's trading platform.", metadata=DocumentMetadata(title='Paper Overview/positions not loading on Alpaca.markets - Alpaca Integration Applications - Alpaca Community Forum', description='I have a set of conditions that initiate trading from python and update every second. The conditions were met and the paper overview did not update even though I could see that my position.qty had changed in python. I …', url='https://forum.alpaca.markets/t/paper-overview-positions-not-loading-on-alpaca-markets/696', language='en', keywords=None, robots=None, og_title='Paper Overview/positions not loading on Alpaca.markets - Alpaca Integration Applications - Alpaca Community Forum', og_description='I have a set of conditions that initiate trading from python and update every second. The conditions were met and the paper overview did not update even though I could see that my position.qty had changed in python. I reset api keys and still had the same problem. I did not encounter this issue last week when I was live paper trading. Does anyone know why this is occurring? I’ve seen other posts with problems trading AAPL today, could it just be that I was trading AAPL? I didn’t try any oth...', og_url='https://forum.alpaca.markets/t/paper-overview-positions-not-loading-on-alpaca-markets/696', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-27T23:11:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/paper-overview-positions-not-loading-on-alpaca-markets/696', status_code=200, scrape_id='a4221025-c2f6-4167-8223-ac9e0d2e28e3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum provides a space for users to discuss and troubleshoot issues related to the MarketStore. A user named Bruno seeks advice on integrating MarketStore into his trading project using Python and pymarketstore. He asks about uploading indicator series to an existing MarketStore bucket and prefers not to code a plugin in Golang. Other users, including Hitoshi, respond with examples of using pymarketstore for data queries and writing data to MarketStore. They share code snippets and solutions to common issues, such as writing entire series of data and formatting problems when writing from pandas dataframes. The discussion highlights the importance of understanding the correct data formats and methods for successful data integration with MarketStore.', metadata=DocumentMetadata(title='How to write to MarketStore? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Hi all, \nI’m new to this data analysis world. \nI’m looking forward to include MarketStore to my trading project, right now working on Python, dumping dataframes to json files in parallel with sqlalchemy for other data. \nI…', url='https://forum.alpaca.markets/t/how-to-write-to-marketstore/328', language='en', keywords=None, robots=None, og_title='How to write to MarketStore? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Hi all, I’m new to this data analysis world. I’m looking forward to include MarketStore to my trading project, right now working on Python, dumping dataframes to json files in parallel with sqlalchemy for other data. I’d like to know what others approach is for things like “live” processing and writing to marketstore of indicators to the tickers received. I’d like a solution over pymarketstore instead of getting down to code a plugin in Golang, if that’s possible. I also have a question tha...', og_url='https://forum.alpaca.markets/t/how-to-write-to-marketstore/328', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-30T11:22:20+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-write-to-marketstore/328', status_code=200, scrape_id='9809996b-e973-4f79-9ae4-98eb527bfab3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The page features a discussion on a momentum trading example, where a user encounters a RuntimeWarning error related to coroutine handling in Python. Other users provide insights and troubleshooting tips, suggesting that the error may be due to missing 'await' statements in the code. The conversation includes references to different Python versions and debugging methods. Related topics are also listed, highlighting common issues faced by users in the Alpaca integration applications.", metadata=DocumentMetadata(title='Momentum-Trading-Example - Alpaca Integration Applications - Alpaca Community Forum', description='When I run the momentum trading example from: code in github: https://github.com/alpacahq/Momentum-Trading-Example/blob/master/algo.py#L118 i get “336: RuntimeWarning: coroutine ‘StreamConn.close’ was never awaited” erro…', url='https://forum.alpaca.markets/t/momentum-trading-example/549', language='en', keywords=None, robots=None, og_title='Momentum-Trading-Example - Alpaca Integration Applications - Alpaca Community Forum', og_description='When I run the momentum trading example from: code in github: https://github.com/alpacahq/Momentum-Trading-Example/blob/master/algo.py#L118 i get “336: RuntimeWarning: coroutine ‘StreamConn.close’ was never awaited” error.', og_url='https://forum.alpaca.markets/t/momentum-trading-example/549', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/6072bbf8fe5020d546bedea3941c8c71d62539f2_2_1024x308.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-18T12:20:40+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/momentum-trading-example/549', status_code=200, scrape_id='a3a7999d-e875-4d7a-818f-6647c70eb052', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion titled 'Anaconda availability' highlights a user's request for the 'alpaca_trade_api' to be available on the Anaconda platform for easier installation. The user, Salil Gangal, expresses frustration over needing to switch Python environments to use the API. Another user suggests an alternative installation method using pip, but Salil insists that this does not address his request. The page also features related topics discussing issues with the 'alpaca_trade_api' and other integration applications.", metadata=DocumentMetadata(title='Anaconda availablity - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='Hello, \nI have developed whole lot Python Code using installation done using Anaconda, and I notice that “alpaca_trade_api” is not available on conda. Please consider making “alpaca_trade_api” available on anaconda pla…', url='https://forum.alpaca.markets/t/anaconda-availablity/186', language='en', keywords=None, robots=None, og_title='Anaconda availablity - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='Hello, I have developed whole lot Python Code using installation done using Anaconda, and I notice that “alpaca_trade_api” is not available on conda. Please consider making “alpaca_trade_api” available on anaconda platform, so that it can be installed by “conda install alpaca_trade_api”. At present I am running programs with “alpaca_trade_api” using a different “environment” of Python, but switching the environments is not desirable. Thanks. ~ Salil', og_url='https://forum.alpaca.markets/t/anaconda-availablity/186', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-23T01:47:57+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/anaconda-availablity/186', status_code=200, scrape_id='9a65f8ef-0f04-42e4-9e9d-d60611d257b5', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A discussion thread titled 'Market data for paper trading' features a user named Evyatar who encountered a 500 server error when trying to access market data via the API. Another user, Hitoshi, suggests that Evyatar may be missing '/bars' at the end of the URL, which Evyatar confirms. The conversation also touches on the possibility of retrieving the top symbols by volume using the Alpaca API. Related topics include issues with market data retrieval and endpoint formatting.", metadata=DocumentMetadata(title='Market data for paper trading - Alpaca Market Data - Alpaca Community Forum', description='Hi guys, \nMay name is Evyatar and I’m new here, nice to meet you all… \nIv’e started to play with the API and for some reason I get a 500 server error when trying to get the market data. \nI can get though my account data …', url='https://forum.alpaca.markets/t/market-data-for-paper-trading/1146', language='en', keywords=None, robots=None, og_title='Market data for paper trading - Alpaca Market Data - Alpaca Community Forum', og_description='Hi guys, May name is Evyatar and I’m new here, nice to meet you all… Iv’e started to play with the API and for some reason I get a 500 server error when trying to get the market data. I can get though my account data for example. the following code returns 500: but if I change the url to “https://paper-api.alpaca.markets/v2/account” I get a 200. Am I using an incorrect url? Thanks, Evyatar', og_url='https://forum.alpaca.markets/t/market-data-for-paper-trading/1146', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/21af6179d0000d02f77a4893eb4069ee2867147a_2_1024x238.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-04-10T09:45:51+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/market-data-for-paper-trading/1146', status_code=200, scrape_id='72df5dd7-6ca7-4989-9b5f-4a49bf787395', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Get Daily Portfolio Value History via API' highlights a request for API functionality to download historical equity data for risk-adjusted metrics calculation. User feedback indicates a need for a portfolio history endpoint, especially after the addition of the Activities API. Related topics include feature requests and bug reports regarding portfolio history and analysis.", metadata=DocumentMetadata(title='Get Daily Portfolio Value History via API - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='I would like to request API functionality to download historical (e.g. daily) equity (portfolio value) data available at the web dashboard so that I can calculate risk-adjusted metrics. It could also be good to embed fun…', url='https://forum.alpaca.markets/t/get-daily-portfolio-value-history-via-api/430', language='en', keywords=None, robots=None, og_title='Get Daily Portfolio Value History via API - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='I would like to request API functionality to download historical (e.g. daily) equity (portfolio value) data available at the web dashboard so that I can calculate risk-adjusted metrics. It could also be good to embed functions within Quantopian Empyrical into the API in my opinion to analyze stuff like Max. Drawdown, Sortino Ratio, Sharpe Ratio, etc and also demonstrate those metrics at a dashboard in the Web interface along with the balance. Note: I see that somebody else also requested this i...', og_url='https://forum.alpaca.markets/t/get-daily-portfolio-value-history-via-api/430', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-07T17:03:15+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/get-daily-portfolio-value-history-via-api/430', status_code=200, scrape_id='811d680e-db35-4309-8abe-a73843cd89c5', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The forum features discussions, FAQs, and troubleshooting for Alpaca accounts. A notable post from January 2020 discusses the development of an auto trading system for day traders, highlighting the implementation of a PHP machine learning library. The post has garnered 638 views and includes a screenshot of the project in emulation. Related topics include updates on the GMS Auto Trade system, with various discussions on its versions and releases.', metadata=DocumentMetadata(title='Getting ready to release a update - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='getting ready to publish all of my documents on my project its a auto trade system for the average day trader. \nthis is a screenshot of it in emulation something that is new to the project \n \nim celebrating because i jus…', url='https://forum.alpaca.markets/t/getting-ready-to-release-a-update/687', language='en', keywords=None, robots=None, og_title='Getting ready to release a update - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='getting ready to publish all of my documents on my project its a auto trade system for the average day trader. this is a screenshot of it in emulation something that is new to the project im celebrating because i just got done implementing the php machine learning library in my project', og_url='https://forum.alpaca.markets/t/getting-ready-to-release-a-update/687', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/614815d0eedcaf9c160ae61d22a4c0758bae0566_2_833x1024.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-23T20:39:46+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/getting-ready-to-release-a-update/687', status_code=200, scrape_id='84793f18-9d22-4996-a87b-33d444ebeb3a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A feature request has been made for Direct Market Access (DMA) in options trading, allowing users to control order routing to specific venues for better execution quality. The current model is criticized for inefficiency in filling limit orders. Alpaca is considering improvements to order routing for options, similar to equities, but no specific plans have been announced yet.', metadata=DocumentMetadata(title='Feature Requests - DMA in Options - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='Hi, \nI would like to request an improvement to the current options order execution model. \nI prefer paying a very small amount per contract or a higher fixed amount per month to control where my orders are sent. The curr…', url='https://forum.alpaca.markets/t/feature-requests-dma-in-options/17842', language='en', keywords=None, robots=None, og_title='Feature Requests - DMA in Options - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='Hi, I would like to request an improvement to the current options order execution model. I prefer paying a very small amount per contract or a higher fixed amount per month to control where my orders are sent. The current payment for order flow model is not efficient and works poorly in terms of filling priority for limit orders that add liquidity. For example, competitors like Interactive Brokers (although they are too expensive) have smart orders that can be sent to different priority level...', og_url='https://forum.alpaca.markets/t/feature-requests-dma-in-options/17842', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-09-22T15:11:59+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/feature-requests-dma-in-options/17842', status_code=200, scrape_id='799d4e17-b165-478e-a307-95f43e102dca', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A specific issue regarding the Calendar API error was discussed, where a user reported an error while using the API to retrieve market open and close times for a specific date. The user provided example code in Python and noted that the issue resolved itself shortly after reporting. Related topics include various API errors and troubleshooting discussions.', metadata=DocumentMetadata(title='Calender api error - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Environment\nLanguage \nPython \nAlpaca SDK Version \nlatest \nProblem\nSummary \nCalender api giving error today \nPaper or Live Tradng? \nPaper \nExample Code \ndate = ‘2018-08-12’ \ncalendar = api.get_calendar(start=date, end=dat…', url='https://forum.alpaca.markets/t/calender-api-error/151', language='en', keywords=None, robots=None, og_title='Calender api error - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Environment Language Python Alpaca SDK Version latest Problem Summary Calender api giving error today Paper or Live Tradng? Paper Example Code date = ‘2018-08-12’ calendar = api.get_calendar(start=date, end=date)[0] print(‘The market opened at {} and closed at {} on {}.’.format( calendar.open, calendar.close, date ))', og_url='https://forum.alpaca.markets/t/calender-api-error/151', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-12T14:16:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/calender-api-error/151', status_code=200, scrape_id='0134ccef-96dc-4bdb-9bac-5994183910e9', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A discussion thread titled 'Signed up for $9 market data now shows $99' highlights user concerns about a pricing change for market data subscriptions. Users express confusion and frustration over the increase from $9 to $99 per month, particularly those who were previously subscribed or under a free trial. Responses from community members and Alpaca representatives clarify that the price change affects new users only, and existing subscribers can revert to the $9 plan by contacting support. The thread has garnered significant views and interactions, indicating a strong community engagement around this issue.", metadata=DocumentMetadata(title='Signed up for $9 market data now shows $99 - Getting Started with Alpaca - Alpaca Community Forum', description='I signed up for the $9 market data and now it shows $99 a month? \nI like Alpaca so much and chose this based on the cost and ease of use. \nWhat can we do about this? Anything?', url='https://forum.alpaca.markets/t/signed-up-for-9-market-data-now-shows-99/9566', language='en', keywords=None, robots=None, og_title='Signed up for $9 market data now shows $99 - Getting Started with Alpaca - Alpaca Community Forum', og_description='I signed up for the $9 market data and now it shows $99 a month? I like Alpaca so much and chose this based on the cost and ease of use. What can we do about this? Anything?', og_url='https://forum.alpaca.markets/t/signed-up-for-9-market-data-now-shows-99/9566', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-05-25T02:20:25+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/signed-up-for-9-market-data-now-shows-99/9566', status_code=200, scrape_id='b33e3c1c-fb21-4729-a3d4-bf6efd1fbcf2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to lagging and dropping connections when using the Alpaca Trading API. Users report experiencing delays, particularly a 3-second sleep timer when making API requests, which affects order execution and data retrieval. The rate limit for API requests is noted to be 200 requests per minute per API key, and exceeding this limit results in error responses. Some users suggest that the lag may not be due to rate limits but rather connection issues. The forum includes various user experiences and troubleshooting discussions, with some users opting to ignore the delays if their trading methods are not sensitive to them.', metadata=DocumentMetadata(title='Lagging and dropping connections - Alpaca Integration Applications - Alpaca Community Forum', description='I am not aware yet if this is happening on production account, however I get this errors when working on paper account: \n01/30/2020 09:58:09 AM DEBUG: h_t_tps://paper-api.alpaca.markets:443 “GET /v2/orders/325ddffe-898c-…', url='https://forum.alpaca.markets/t/lagging-and-dropping-connections/714', language='en', keywords=None, robots=None, og_title='Lagging and dropping connections - Alpaca Integration Applications - Alpaca Community Forum', og_description='I am not aware yet if this is happening on production account, however I get this errors when working on paper account: 01/30/2020 09:58:09 AM DEBUG: h_t_tps://paper-api.alpaca.markets:443 “GET /v2/orders/325ddffe-898c-47cc-ac49-566f00262183 HTTP/1.1” 200 695 01/30/2020 10:01:00 AM DEBUG: Resetting dropped connection: paper-api.alpaca.markets You can see, that because of this lag I am loosing 3 seconds, when actually orders comes from my code. As a result, order does not go through because of...', og_url='https://forum.alpaca.markets/t/lagging-and-dropping-connections/714', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-30T19:56:25+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/lagging-and-dropping-connections/714', status_code=200, scrape_id='02335261-93ab-411d-a57d-4ad749b3dff3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum post discusses methods to calculate profit per trade using Python. The original poster, Tim Donnelly, seeks assistance in calculating profits from trading activities using the Alpaca API. Users provide various code snippets and suggestions, including using the `api.get_activities()` method to track buy and sell transactions. A notable contribution includes a function that generates a detailed trade report using Pandas, which calculates profits for each trade and summarizes results. The discussion highlights challenges with the API's limitations, such as the maximum number of orders retrievable and the need for accurate tracking of trades to ensure correct profit calculations. Overall, the thread serves as a collaborative effort to refine trading profit calculations in Python.", metadata=DocumentMetadata(title='Easy way to calculate Profit per trade in python - Alpaca Trading / Tutorial Requests - Alpaca Community Forum', description='I’m requesting some help with being able to calculate the profit per trade in Python. I’m trying to do it with the info in get_activities() but it seems to be more complicated than I was expecting. Anybody have some c…', url='https://forum.alpaca.markets/t/easy-way-to-calculate-profit-per-trade-in-python/1708', language='en', keywords=None, robots=None, og_title='Easy way to calculate Profit per trade in python - Alpaca Trading / Tutorial Requests - Alpaca Community Forum', og_description='I’m requesting some help with being able to calculate the profit per trade in Python. I’m trying to do it with the info in get_activities() but it seems to be more complicated than I was expecting. Anybody have some code?', og_url='https://forum.alpaca.markets/t/easy-way-to-calculate-profit-per-trade-in-python/1708', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-06-06T19:46:29+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/easy-way-to-calculate-profit-per-trade-in-python/1708', status_code=200, scrape_id='c31a10db-6238-4f06-b16c-2d3f12def4cd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The page provides a tutorial on manually trading stocks using Postman and the Alpaca API. Key steps include retrieving Alpaca keys, downloading Postman, and reviewing the API documentation. Users are guided through making their first API request to check account information, obtaining asset details, placing a paper trade for GOOGL, and closing a position. The tutorial emphasizes the use of paper trading for testing strategies without real money. Users can explore further applications of the Alpaca API and access community discussions for additional support.', metadata=DocumentMetadata(title='Manually Trading Stocks Using Postman and the Alpaca API - Getting Started with Alpaca / Examples - Alpaca Community Forum', description='How to get started and test the Alpaca trading API\nWant to trade with Alpaca, but you aren’t fully sure how the Alpaca API works yet? Here’s a step by step tutorial on testing the Alpaca API by trading manually using the…', url='https://forum.alpaca.markets/t/manually-trading-stocks-using-postman-and-the-alpaca-api/166', language='en', keywords=None, robots=None, og_title='Manually Trading Stocks Using Postman and the Alpaca API - Getting Started with Alpaca / Examples - Alpaca Community Forum', og_description='How to get started and test the Alpaca trading API Want to trade with Alpaca, but you aren’t fully sure how the Alpaca API works yet? Here’s a step by step tutorial on testing the Alpaca API by trading manually using the Postman interface. Before You Begin… Retrieve your Alpaca Keys If you don’t have one, go here to sign up. Alpaca provides commission free trading. You can also test out Alpaca’s features with unlimited paper trading. No real money necessary! Download Postman and sign...', og_url='https://forum.alpaca.markets/t/manually-trading-stocks-using-postman-and-the-alpaca-api/166', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/87c11dbb0afa7fda608bf87cd83258904abd29e1.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-16T19:17:23+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/manually-trading-stocks-using-postman-and-the-alpaca-api/166', status_code=200, scrape_id='e302b1f1-392c-430c-a34f-cdf5533097f8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users and provides a platform for discussions and FAQs. A key topic of interest is the inquiry about the availability of live trading for European citizens, with a specific question posed by a user named 'skyfold' regarding its potential launch in the first half of 2020. The forum also features related discussions on live trading for non-US citizens and Canadian residents, highlighting ongoing interest and questions about trading accessibility for various demographics.", metadata=DocumentMetadata(title='Live trading for European citizens when? - Alpaca Products Discussion - Alpaca Community Forum', description='Hello everyone! \nWill be Alpaca opening live trading for European citizens in the first half of 2020? \nMay next year be good for Alpaca and all traders! \nCheers, \nskyfold', url='https://forum.alpaca.markets/t/live-trading-for-european-citizens-when/576', language='en', keywords=None, robots=None, og_title='Live trading for European citizens when? - Alpaca Products Discussion - Alpaca Community Forum', og_description='Hello everyone! Will be Alpaca opening live trading for European citizens in the first half of 2020? May next year be good for Alpaca and all traders! Cheers, skyfold', og_url='https://forum.alpaca.markets/t/live-trading-for-european-citizens-when/576', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-26T17:00:35+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/live-trading-for-european-citizens-when/576', status_code=200, scrape_id='ff5522ac-c081-4064-92e3-93f46247e6e3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The forum discussion titled 'Avoid Day Trading' highlights the importance of not buying and selling stocks on the same day unless one has a day trading account. User 'johnnycodekiller' seeks advice on how to verify if a stock is ready for selling by checking the filled date of orders. User 'Rathe001' shares a function to check if a stock is at least one day old before selling. User 'hitoshi' suggests using the Activities API to query daily fills or the List Order API to check the status of orders. Related topics include managing open positions, accessing closed positions, and ensuring daily updates of portfolio positions.", metadata=DocumentMetadata(title='Avoid Day Trading - Alpaca Integration Applications - Alpaca Community Forum', description='Hello everyone! \nI am currently writing my buying and selling functions and need some input from everyone else. \nSo we all know that unless we have a day trading account we cannot buy and then sell a stock in the same da…', url='https://forum.alpaca.markets/t/avoid-day-trading/292', language='en', keywords=None, robots=None, og_title='Avoid Day Trading - Alpaca Integration Applications - Alpaca Community Forum', og_description='Hello everyone! I am currently writing my buying and selling functions and need some input from everyone else. So we all know that unless we have a day trading account we cannot buy and then sell a stock in the same day right? Because of this, im trying to find the easiest way to check each position i have and make sure a buy order wasnt placed that day. The only way i see it getting done is taking each position and comparing its order for the filled date and compare that date to today. If i...', og_url='https://forum.alpaca.markets/t/avoid-day-trading/292', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-20T03:24:17+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/avoid-day-trading/292', status_code=200, scrape_id='3ac98c74-532b-45cd-a2f3-a612f3fc4994', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread titled 'Get portfolio value difference between two dates' highlights a user's request for an endpoint to calculate portfolio value changes between two dates, excluding deposits and withdrawals. Another user mentions the recent release of the Account Activities API, which allows access to settled transfer records. The conversation includes suggestions for improvements, such as the ability to create fake deposits in paper accounts. Related topics include deposits/withdrawals endpoint, daily portfolio value history, and exporting trading activity.", metadata=DocumentMetadata(title='Get portfolio value difference between two dates - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', description='I’d like to be able to get the portfolio value increase/decrease between two dates, not including deposits and withdrawals. This could be it’s own endpoint or I could calculate it myself but there is no endpoint for view…', url='https://forum.alpaca.markets/t/get-portfolio-value-difference-between-two-dates/438', language='en', keywords=None, robots=None, og_title='Get portfolio value difference between two dates - Alpaca Products Discussion / Feature Requests - Alpaca Community Forum', og_description='I’d like to be able to get the portfolio value increase/decrease between two dates, not including deposits and withdrawals. This could be it’s own endpoint or I could calculate it myself but there is no endpoint for viewing deposits/withdrawals and no endpoint for historic portfolio values. I’m using https://github.com/alpacahq/alpaca-trade-api-js Thanks for all your hard wor k everyone at Alpaca!', og_url='https://forum.alpaca.markets/t/get-portfolio-value-difference-between-two-dates/438', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-09T00:27:33+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/get-portfolio-value-difference-between-two-dates/438', status_code=200, scrape_id='f80d343c-f159-402e-8fee-aeb8f58ffedf', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The content is about a second installment of a three-part series on enhancing a Slackbot for Alpaca trading. It details how to add more functionalities to the Slackbot, including commands for executing different types of orders (market, limit, stop, stop_limit), listing positions or orders, clearing orders, retrieving account information, getting prices, and cancelling orders. Each command is described with its name, purpose, usage hint, and a link to the corresponding code on GitHub. The article emphasizes the importance of setting up the Slack app correctly and provides links to the first installment for context. The final installment will cover adding Websockets streaming capabilities.', metadata=DocumentMetadata(title='Accessing More Alpaca Features With Slack, Part 2 of How I Built a Slackbot - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='Accessing More Alpaca Features With Slack, Part 2 of How I Built a Slackbot\n \nThis article is the second installment of a 3-part series, detailing how to add more functionality to the Slackbot I created in the first inst…', url='https://forum.alpaca.markets/t/accessing-more-alpaca-features-with-slack-part-2-of-how-i-built-a-slackbot/249', language='en', keywords=None, robots=None, og_title='Accessing More Alpaca Features With Slack, Part 2 of How I Built a Slackbot - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='Accessing More Alpaca Features With Slack, Part 2 of How I Built a Slackbot This article is the second installment of a 3-part series, detailing how to add more functionality to the Slackbot I created in the first installment. If you haven’t read the first installment, check it out here. It will help you get the environment setup, and allow you to follow along with me throughout this article. In the first installment, I created a simple function handler for making a market order. In addition ...', og_url='https://forum.alpaca.markets/t/accessing-more-alpaca-features-with-slack-part-2-of-how-i-built-a-slackbot/249', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-09T21:44:39+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/accessing-more-alpaca-features-with-slack-part-2-of-how-i-built-a-slackbot/249', status_code=200, scrape_id='edc49b26-93f1-4594-a299-d9434b38949e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum provides a space for users to discuss trading strategies and seek help. A key topic is the implementation of trailing stop orders in Python. User jimboski93 shares a code snippet to monitor price movements and execute a market sell order when a specified trailing stop is reached. Another user, yoshi, announces a beta program for the Trailing Stop feature, inviting interested users to join a private Slack channel for testing. The forum also includes related topics on trailing stops and order types.', metadata=DocumentMetadata(title='Code for trailing stop - Alpaca Account Troubleshooting - Alpaca Community Forum', description='I saw in the documentation that trailing stop orders are to come. \nAny help with code (python) that could monitor 1 minute price moves and create a market sell order when the ‘trailing stop’ has been reached? \nFor exampl…', url='https://forum.alpaca.markets/t/code-for-trailing-stop/487', language='en', keywords=None, robots=None, og_title='Code for trailing stop - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='I saw in the documentation that trailing stop orders are to come. Any help with code (python) that could monitor 1 minute price moves and create a market sell order when the ‘trailing stop’ has been reached? For example: Buy SPY @ $300 Currently, I could open a limit sell at $270 (down 10%). If SPY runs to $350, I’d like to have code that is checking every minute if SPY falls below $315 (down 10% from $350). Once the current price hits $315, I’d automatically enter a market sell order. I’...', og_url='https://forum.alpaca.markets/t/code-for-trailing-stop/487', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-25T04:27:10+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/code-for-trailing-stop/487', status_code=200, scrape_id='0e379560-d261-4713-babd-da9bef7b29d6', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. A forum post discusses an issue where a user, Bill, notices fluctuations in equity despite no completed trades, as all orders are either cancelled or pending. He seeks assistance in understanding how to view cash and securities equity separately and how each order impacts cash equity. The post has garnered 734 views. A response from another user, Kris, suggests they hope to help. Additionally, related topics include discussions on paper trading equity anomalies and account balance discrepancies.', metadata=DocumentMetadata(title='Equity decreased even though no order completed - Alpaca Trading - Alpaca Community Forum', description='I’ve just stated with paper trading using simple long short algorithm. \nI figured that no trade took place since when I look at paper overview ->Order History I see that all orders are CANCELLED or PENDING, but when I lo…', url='https://forum.alpaca.markets/t/equity-decreased-even-though-no-order-completed/363', language='en', keywords=None, robots=None, og_title='Equity decreased even though no order completed - Alpaca Trading - Alpaca Community Forum', og_description='I’ve just stated with paper trading using simple long short algorithm. I figured that no trade took place since when I look at paper overview ->Order History I see that all orders are CANCELLED or PENDING, but when I look at the equity graph I see increase and decrease. Could you help me figure out this behavior? How can I see the cash equity and securities equity separately? How can I see how each order affected the cash equity? Thank you so much for helping a newB!', og_url='https://forum.alpaca.markets/t/equity-decreased-even-though-no-order-completed/363', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-12T01:18:10+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/equity-decreased-even-though-no-order-completed/363', status_code=200, scrape_id='3047dbb7-707e-4180-84e7-b9be5b942b66', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The main topic discussed is backtesting an intraday scalping strategy, initiated by a user named mrea who shared an article on the subject. The post has garnered 2,000 views and includes interactions from other community members, such as Erez_Kaplan and cole-seph, who provided feedback and asked questions about the strategy's performance across different stocks. mrea reported testing around 100 symbols and achieving results that were better than the S&P 500 but still underperforming compared to a buy-and-hold strategy with good ETFs. Jason Bohne from Alpaca expressed interest in having mrea write more articles for the Alpaca Resources page. Related topics include backtesting examples and discussions on trading strategies.", metadata=DocumentMetadata(title='Backtesting an intraday scalping strategy - Alpaca Trading - Alpaca Community Forum', description='Just wrote this article about backtesting an intraday scalping strategy. I would love to hear your comments/opinions:', url='https://forum.alpaca.markets/t/backtesting-an-intraday-scalping-strategy/653', language='en', keywords=None, robots=None, og_title='Backtesting an intraday scalping strategy - Alpaca Trading - Alpaca Community Forum', og_description='Just wrote this article about backtesting an intraday scalping strategy. I would love to hear your comments/opinions:', og_url='https://forum.alpaca.markets/t/backtesting-an-intraday-scalping-strategy/653', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/8c7390150cd0078e967a18c7663581b9b334d239.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-14T01:42:01+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/backtesting-an-intraday-scalping-strategy/653', status_code=200, scrape_id='fc9a0a66-6cd0-4212-9fef-f97ab72c8bf3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses day trading using cash accounts. Users express confusion about the ability to day trade without incurring margin fees. Key points include: 1) Margin accounts with over $25,000 can day trade without restrictions, but users can avoid margin fees by not borrowing funds. 2) Alpaca does not currently offer cash accounts, which would allow day trading without the $25,000 PDT rule. 3) Day trading in cash accounts is limited by the settlement period (T+2 days), restricting the number of trades. 4) Alpaca generates revenue through various means, including margin lending and Payment For Order Flow (PFOF). Users are eager for updates on the potential introduction of cash accounts.', metadata=DocumentMetadata(title='Day Trading Like Cash Account - Getting Started with Alpaca - Alpaca Community Forum', description='I would like to day trade with Alpaca using cash and I’ve read conflicting or confusing information about this here, in Alpaca docs and other web sources. I am fortunate enough to have $25k (or 25%) available to satisfy …', url='https://forum.alpaca.markets/t/day-trading-like-cash-account/13017', language='en', keywords=None, robots=None, og_title='Day Trading Like Cash Account - Getting Started with Alpaca - Alpaca Community Forum', og_description='I would like to day trade with Alpaca using cash and I’ve read conflicting or confusing information about this here, in Alpaca docs and other web sources. I am fortunate enough to have $25k (or 25%) available to satisfy PDT rules but I’ve read that you still cannot day trade with a margin account anyway. I’ve also read that you can day trade, but I don’t want to pay margins. Is it possible to trade with an alpaca account using only deposited or settled cash while not paying margins? If not, that...', og_url='https://forum.alpaca.markets/t/day-trading-like-cash-account/13017', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2023-10-21T17:13:12+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/day-trading-like-cash-account/13017', status_code=200, scrape_id='2f9603c5-52f6-4ffc-ba91-8a8e53c216b1', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses the latency differences between paper trading and live trading. A user reported significant latency in paper trading, with execution times of 731 ms for buy and 107 ms for sell orders, compared to 14 ms for both in live trading. Another user highlighted issues with quote timeliness in live accounts, suggesting that Alpaca's data may be unsuitable for intraday trading. The forum also features related topics on paper trading latency and market data delays.", metadata=DocumentMetadata(title='Massive paper trading latency vs. live trading - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='I am interested in higher-frequency trading, so I am measuring the latency of Alpaca order executions. There is a huge difference between the paper trading latency and the live trading latency! \nAt ~2:15 PM ET today, I s…', url='https://forum.alpaca.markets/t/massive-paper-trading-latency-vs-live-trading/9053', language='en', keywords=None, robots=None, og_title='Massive paper trading latency vs. live trading - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='I am interested in higher-frequency trading, so I am measuring the latency of Alpaca order executions. There is a huge difference between the paper trading latency and the live trading latency! At ~2:15 PM ET today, I submitted 2 pairs of buy/sell market day orders for 25 shares of AAPL, one using paper trading and one using live trading. Live trading: 14 ms for both the buy and the sell order Paper trading: 731 ms for the buy order and 107 ms for the sell order I would have expected paper t...', og_url='https://forum.alpaca.markets/t/massive-paper-trading-latency-vs-live-trading/9053', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-04-04T18:29:36+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/massive-paper-trading-latency-vs-live-trading/9053', status_code=200, scrape_id='79a079cf-8d77-48fc-8357-1e5ae2c3893e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum provides information on pricing and fees associated with Alpaca's trading services. Key points include: 1. No fees for depositing or withdrawing funds via ACH; $25 for outgoing domestic wire transfers and $50 for international. 2. No commissions for U.S. equity trades; clearing fees are covered by Alpaca. 3. Regulatory fees apply to sell orders, including SEC and FINRA fees, which are deducted from sales proceeds. 4. Fees are typically deducted daily, not monthly, and are rounded to the nearest penny. 5. The forum also addresses user inquiries about account setup and API usage for developers.", metadata=DocumentMetadata(title='Pricing and fees - Getting Started with Alpaca - Alpaca Community Forum', description='Q - Does Alpaca charge fees to transfer money in or out of my account?\nNo, Alpaca does not charge a fee to deposit or withdraw funds via Automated Clearing House (ACH), or to deposit funds via non-ACH and wire transfers…', url='https://forum.alpaca.markets/t/pricing-and-fees/2309', language='en', keywords=None, robots=None, og_title='Pricing and fees - Getting Started with Alpaca - Alpaca Community Forum', og_description='Q - Does Alpaca charge fees to transfer money in or out of my account? No, Alpaca does not charge a fee to deposit or withdraw funds via Automated Clearing House (ACH), or to deposit funds via non-ACH and wire transfers. A $25 fee is charged for outgoing domestic and $50 for outgoing international non-ACH and wire transfers. Q - Will I incur commission or clearing fees with Alpaca? No. For U.S. equity trades there are no commissions charged and all clearing fees are paid by Alpaca Securities ...', og_url='https://forum.alpaca.markets/t/pricing-and-fees/2309', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-08-10T11:46:00+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/pricing-and-fees/2309', status_code=200, scrape_id='41aedad2-40bb-48da-b57a-1a105140c574', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses the issue of determining the purchase date of an open position. A user inquires about how to find this date to avoid day trading. Responses suggest that there is no built-in method for finding the purchase date directly, but users can check their order list for fill dates or use account activity to track trades. Suggestions include using the 'daytrade_count' in the account entity and reviewing account activities to prevent day trading. The thread includes code snippets for retrieving order fill dates and checking today's trades.", metadata=DocumentMetadata(title='Purchase date of a open position - Alpaca Integration Applications - Alpaca Community Forum', description='Is there a way to get the date of purchase of a position, i want to check the date before i sell the position to avoid day trade \nCurrently the position entity does not have purchase date.', url='https://forum.alpaca.markets/t/purchase-date-of-a-open-position/136', language='en', keywords=None, robots=None, og_title='Purchase date of a open position - Alpaca Integration Applications - Alpaca Community Forum', og_description='Is there a way to get the date of purchase of a position, i want to check the date before i sell the position to avoid day trade Currently the position entity does not have purchase date.', og_url='https://forum.alpaca.markets/t/purchase-date-of-a-open-position/136', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-07T19:17:37+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/purchase-date-of-a-open-position/136', status_code=200, scrape_id='f660cf85-b794-4459-a675-b9d5e520ae10', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes new users to create a Trading API account. A discussion thread titled 'New orders rejected by user request' highlights issues faced by users who are unable to submit orders due to error messages. Users report that their paper trading accounts function correctly, while real money accounts encounter errors. Related topics include discussions on order rejection messages, differences between real money and paper trading, and troubleshooting account authorization issues.", metadata=DocumentMetadata(title='New orders rejected by user request - Getting Started with Alpaca - Alpaca Community Forum', description='Unable to submit an order, keep receiving an error that ‘new orders rejected by user request’ and un able to resolve.', url='https://forum.alpaca.markets/t/new-orders-rejected-by-user-request/4187', language='en', keywords=None, robots=None, og_title='New orders rejected by user request - Getting Started with Alpaca - Alpaca Community Forum', og_description='Unable to submit an order, keep receiving an error that ‘new orders rejected by user request’ and un able to resolve.', og_url='https://forum.alpaca.markets/t/new-orders-rejected-by-user-request/4187', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2021-01-31T22:59:21+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/new-orders-rejected-by-user-request/4187', status_code=200, scrape_id='a3d686f8-7d10-4413-abdc-4ba9d006680e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to partial fills on Market OPG (MOO) orders for S&P500 stocks. Users report experiencing partial fills on small orders, with one user noting a significant increase in partial fills from 0% to over 30% in recent weeks. The discussion highlights the challenges faced in paper trading, where OPG orders are treated like regular market orders, leading to unexpected cancellations and partial fills. Developers from Alpaca clarify that the paper trading environment simulates live trading but does not perfectly replicate OPG and CLS orders, which can lead to random partial fills. Users express frustration over the recent changes in the trading software that seem to have introduced these issues, impacting their trading strategies and development of trading bots.', metadata=DocumentMetadata(title='Recently Seeing Partial Fills on Market OPG order (S&P500 stocks) - Alpaca Trading - Alpaca Community Forum', description='Starting about three weeks ago on, I believe on Monday, February 26, I started seeing partial fills on small orders ($2500 position size) with paper trading exclusively using S&P500 stocks and exclusively market OPG (aka…', url='https://forum.alpaca.markets/t/recently-seeing-partial-fills-on-market-opg-order-s-p500-stocks/13906', language='en', keywords=None, robots=None, og_title='Recently Seeing Partial Fills on Market OPG order (S&P500 stocks) - Alpaca Trading - Alpaca Community Forum', og_description='Starting about three weeks ago on, I believe on Monday, February 26, I started seeing partial fills on small orders ($2500 position size) with paper trading exclusively using S&P500 stocks and exclusively market OPG (aka MOO) orders. For two days there were problems, then suddenly everything was fine. 100% full order fills. For about a week and a half. Then, again starting on a Monday morning, I believe March 11, the issue came back. I’m seeing partial fills more than 30% of the time with b...', og_url='https://forum.alpaca.markets/t/recently-seeing-partial-fills-on-market-opg-order-s-p500-stocks/13906', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2024-03-21T21:34:24+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/recently-seeing-partial-fills-on-market-opg-order-s-p500-stocks/13906', status_code=200, scrape_id='4ac5eb66-25c2-4771-a7b5-97e36f355326', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses an issue regarding the "Potential wash trade detected" error that users encounter when trying to execute trades. Users report difficulties in closing positions, especially when using algorithms, as the system mistakenly flags legitimate trades as wash trades. This has led to frustration among traders who rely on quick buy and sell actions. Alpaca representatives clarify that the error is a protective measure against self-trading, which is viewed unfavorably by regulatory bodies. Users are advised to use complex orders to avoid triggering the error. The discussion highlights the need for better handling of trading algorithms and the impact of wash trade detection on trading strategies.', metadata=DocumentMetadata(title='APIError: Potential wash trade detected. use complex orders - Alpaca Trading - Alpaca Community Forum', description='I tried to place an order to buy 43 shares of AMZN to close out the short position at 2024-01-09 15:59:09-0500 \nHowever, I got “potential wash trade detected. use complex orders” \nThe order is to close out the short posi…', url='https://forum.alpaca.markets/t/apierror-potential-wash-trade-detected-use-complex-orders/13441', language='en', keywords=None, robots=None, og_title='APIError: Potential wash trade detected. use complex orders - Alpaca Trading - Alpaca Community Forum', og_description='I tried to place an order to buy 43 shares of AMZN to close out the short position at 2024-01-09 15:59:09-0500 However, I got “potential wash trade detected. use complex orders” The order is to close out the short position opened by another order filled 4 hours earlier, which sell short 43 shares of AMZN and was filled at 2024-01-09 11:59:50.643684 As a result I’m not able to close my position that’s meant to be held intra-day. There’s no wash trade whatsoever. This has happened multiple tim...', og_url='https://forum.alpaca.markets/t/apierror-potential-wash-trade-detected-use-complex-orders/13441', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2024-01-12T05:48:32+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/apierror-potential-wash-trade-detected-use-complex-orders/13441', status_code=200, scrape_id='e289a0ea-1fd2-401c-bcba-59c4b2f9e707', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum provides a space for users to discuss executing orders through the Alpaca Trading API. Key points include:\n\n1. **Order Execution**: Users inquire about executing multiple orders efficiently, particularly sending 1000 bracket orders.\n2. **Rate Limits**: Standard accounts are limited to 200 API calls per minute, requiring individual order placements. Users are advised to manage their rate limits by checking response headers for rate limit information.\n3. **Alpaca Plus**: A new program offers increased rate limits (up to 1000 calls/minute) for a fee.\n4. **Technical Support**: Users share code snippets and seek help on accessing API response headers, particularly when using Python SDKs.\n5. **Common Issues**: Discussions include troubleshooting rate limit errors and understanding the distinction between data plan limits and trading API limits.', metadata=DocumentMetadata(title='Executing Orders - Alpaca Trading - Alpaca Community Forum', description='Can we execute multiple orders at once? We are currently trying to send 1000 bracket orders. What is the quickest and most efficient way to execute all the orders.\nWhile executing orders I run into this - ’ [Sleep 3 sec…', url='https://forum.alpaca.markets/t/executing-orders/12029', language='en', keywords=None, robots=None, og_title='Executing Orders - Alpaca Trading - Alpaca Community Forum', og_description="Can we execute multiple orders at once? We are currently trying to send 1000 bracket orders. What is the quickest and most efficient way to execute all the orders. While executing orders I run into this - ’ [Sleep 3 seconds and retrying https://paper-api.alpaca.markets/v2/orders 3 more time(s)]'. I just upgraded to Alpaca Unlimited Subscription so I am not sure why I am receiving this error if API Calls are unlimited. Please advise.", og_url='https://forum.alpaca.markets/t/executing-orders/12029', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2023-03-20T20:32:27+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/executing-orders/12029', status_code=200, scrape_id='5ecafbf7-a995-40c0-ba17-3fa252506f4b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses a user issue regarding a '429 Rate Limit Exceeded' error when creating orders via the Trading API. The user, PatL, inquires about the rate limit for the create orders API, expressing concern over its restrictiveness. Other users contribute, noting a limit of 200 requests per minute, which some find inadequate for trading larger volumes. Alpaca's developer, Dan Whitnable, clarifies that the 200 calls/minute limit applies to Trading APIs and is separate from Market Data APIs, which can have higher limits with a paid subscription. He assures that this limit is sufficient for most applications, as many accounts successfully manage high order volumes under this restriction.", metadata=DocumentMetadata(title='429 Rate Limit Exceeded when creating orders - Alpaca Trading - Alpaca Community Forum', description='Hi, today I tested a new way to create orders via async http post, so I don’t have to wait for previous http response in order to create the next order (which is really important because the round-trip time is ~500ms bet…', url='https://forum.alpaca.markets/t/429-rate-limit-exceeded-when-creating-orders/14120', language='en', keywords=None, robots=None, og_title='429 Rate Limit Exceeded when creating orders - Alpaca Trading - Alpaca Community Forum', og_description='Hi, today I tested a new way to create orders via async http post, so I don’t have to wait for previous http response in order to create the next order (which is really important because the round-trip time is ~500ms between alpaca and my server). However, I quickly received 429 {“code”: “42910000”, “message”: “rate limit exceeded”} error. which isn’t documented anywhere. Could you please clarify the rate limit on create orders (/v2/orders) API? I could still consider alpaca API if that limit ...', og_url='https://forum.alpaca.markets/t/429-rate-limit-exceeded-when-creating-orders/14120', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2024-04-30T20:18:44+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/429-rate-limit-exceeded-when-creating-orders/14120', status_code=200, scrape_id='47d931e7-6d65-499f-ad3e-5ff7b120a955', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community introduces new features to enhance the trading experience, including a Watchlist API and Dashboard Watchlist, allowing users to create and manage multiple watchlists. The Account Activities API provides insights into transaction activities, including dividends and bank transfers. New dashboard features include stock search capabilities, the ability to close positions and cancel orders, and a manual trading widget. Users are encouraged to participate in a product survey to influence future developments.', metadata=DocumentMetadata(title='Watchlist, Dividends & Transfers API, and Dashboard Updates - Alpaca Products Discussion / Announcements - Alpaca Community Forum', description='New features to enhance your trading experience at Alpaca\n \nPhoto by Lauren Mancke \n\nWant to help us decide what to build next? Please participate in our ongoing product survey! \n\nNew Features\nWatchlist API & Dashboar…', url='https://forum.alpaca.markets/t/watchlist-dividends-transfers-api-and-dashboard-updates/406', language='en', keywords=None, robots=None, og_title='Watchlist, Dividends & Transfers API, and Dashboard Updates - Alpaca Products Discussion / Announcements - Alpaca Community Forum', og_description='New features to enhance your trading experience at Alpaca Photo by Lauren Mancke Want to help us decide what to build next? Please participate in our ongoing product survey! New Features Watchlist API & Dashboard Watchlist You can now use our watchlist feature through API and on our dashboard. Our API watchlist feature allows you to create, manage, and use multiple watchlists. This API can be used to build your own trading dashboard or to help you keep track and stay updated on stocks y...', og_url='https://forum.alpaca.markets/t/watchlist-dividends-transfers-api-and-dashboard-updates/406', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/1X/66991adb025a1fafdaa841e9aa1c3d39f47494db_2_1024x680.jpeg', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-30T23:49:01+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/watchlist-dividends-transfers-api-and-dashboard-updates/406', status_code=200, scrape_id='c8492430-41fe-4b67-bf4c-ea58464910eb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The forum post titled 'Alpaca on Gecko' discusses integrating Alpaca with the Gecko platform for cryptocurrency trading. A user named Hesa seeks assistance in implementing two functions: 'getTicker' and 'getTrades' for their exchange script. They provide links to their scripts for review and express hope for collaboration on the project. The post has garnered 624 views and includes links to related topics on currency trading and integration applications.", metadata=DocumentMetadata(title='Alpaca on Gecko - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='Hi guys i have been trying to integrate Alpaca on Gecko, i would like to use that platform to try and compare strategies. \nIt is made for Cryptocurrency but i think it should not be to hard to edit to make work with “rea…', url='https://forum.alpaca.markets/t/alpaca-on-gecko/561', language='en', keywords=None, robots=None, og_title='Alpaca on Gecko - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='Hi guys i have been trying to integrate Alpaca on Gecko, i would like to use that platform to try and compare strategies. It is made for Cryptocurrency but i think it should not be to hard to edit to make work with “real” markets. Where i am currently stuck is i need 2 implement 2 more functions but i am a bit confuse at what they are and what they should be in alpaca The first one is: getTicker, when i look at other exchanges implemented in gecko they all have a “ticker” method. The second ...', og_url='https://forum.alpaca.markets/t/alpaca-on-gecko/561', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-21T05:38:18+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/alpaca-on-gecko/561', status_code=200, scrape_id='e2c0915d-a3bf-4a11-b238-7d95b3096f2d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The content provides a tutorial on creating a Long-Short Equity trading script using JavaScript (Node.js) with Alpaca's paper trading API. It explains the strategy of ranking stocks to long the top performers and short the bottom performers, emphasizing the importance of a good ranking system. The tutorial includes steps to set up a Node.js environment, install necessary modules, and run the script. It outlines the script's functionality, including market checks, portfolio rebalancing, and order submissions. Customization options are discussed, such as changing the stock universe, equity allocation, rebalancing frequency, and ranking methods. The tutorial aims to help users understand and modify the script for their trading strategies.", metadata=DocumentMetadata(title='A Long-Short in JavaScript (Node.js) Using Stock API - Alpaca Trading / Tutorials - Alpaca Community Forum', description='A Long-Short in JavaScript (Node.js) Using Stock API\n \nIn this post, I will be sharing how I created a simple Long-Short Equity trading script in JavaScript (a Node.js app) using Alpaca’s free paper trading API. \nAlpaca’…', url='https://forum.alpaca.markets/t/a-long-short-in-javascript-node-js-using-stock-api/129', language='en', keywords=None, robots=None, og_title='A Long-Short in JavaScript (Node.js) Using Stock API - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='A Long-Short in JavaScript (Node.js) Using Stock API In this post, I will be sharing how I created a simple Long-Short Equity trading script in JavaScript (a Node.js app) using Alpaca’s free paper trading API. Alpaca’s paper trading API simulates the live trading API in a paper environment so we don’t have to worry about trading with real money when testing a strategy. To get access to the paper trading API, sign up here. Once you’ve signed up, you should now have access to the Alpaca paper...', og_url='https://forum.alpaca.markets/t/a-long-short-in-javascript-node-js-using-stock-api/129', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-05T18:36:40+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/a-long-short-in-javascript-node-js-using-stock-api/129', status_code=200, scrape_id='62c6ec3f-ebba-45f7-abc0-e2227272657c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The main discussion revolves around a PHP Auto Trade Server project initiated by a user named Kris, who has been developing it for over a year. Kris transitioned from the Robinhood API to Alpaca and is seeking feedback on his server, which requires accounts with data streaming providers. Other community members express interest in Kris's project, discussing potential collaboration and sharing of trading strategies. The thread has garnered 1.5k views, indicating active engagement.", metadata=DocumentMetadata(title='PHP Auto Trade Server - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Good evening, \nMy name is Kris, im posting about a project i’ve been working on its a server for algorithmic trading writing in php, ive been developing this for about a year and a half. i started with integrating with t…', url='https://forum.alpaca.markets/t/php-auto-trade-server/242', language='en', keywords=None, robots=None, og_title='PHP Auto Trade Server - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Good evening, My name is Kris, im posting about a project i’ve been working on its a server for algorithmic trading writing in php, ive been developing this for about a year and a half. i started with integrating with the robinhood api then moved over to alpaca (and i love it) and built my own server since i didn’t see anything out there that was what i was looking for. id like to know if anyone else would be interested in this. for the server to work it needs a couple things IE accounts with d...', og_url='https://forum.alpaca.markets/t/php-auto-trade-server/242', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-07T03:20:52+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/php-auto-trade-server/242', status_code=200, scrape_id='781100f4-9789-4e84-8947-612404e6e21f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The main discussion topic is about edits to a day-trading algorithm, where a user named jimboski93 seeks help in selecting a specific universe of tickers (10 to 20) for their algorithm, rather than using a function that retrieves all available tickers. The user references a Medium article for context and requests revised code for this function. The page also includes links to related topics, such as querying ticker symbols and running examples on AWS EC2.', metadata=DocumentMetadata(title='Edits to Day-Trading Algorithm - Alpaca Trading / Tutorials - Alpaca Community Forum', description='I like the algo discussed on medium here \nAs I’m learning Python, I’m looking for help on with selecting the universe of tickers: \nI’m focused on 10 to 20 tickers, which I’d like to key into the code, rather than get_tic…', url='https://forum.alpaca.markets/t/edits-to-day-trading-algorithm/488', language='en', keywords=None, robots=None, og_title='Edits to Day-Trading Algorithm - Alpaca Trading / Tutorials - Alpaca Community Forum', og_description='I like the algo discussed on medium here As I’m learning Python, I’m looking for help on with selecting the universe of tickers: I’m focused on 10 to 20 tickers, which I’d like to key into the code, rather than get_tickers() seek tickers that fit parameters from all available tickers Can you provide revised code for this function? e.g. tickers = SPY,QQQ, etc.', og_url='https://forum.alpaca.markets/t/edits-to-day-trading-algorithm/488', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-25T04:51:42+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/edits-to-day-trading-algorithm/488', status_code=200, scrape_id='94449b07-01af-4467-ad90-e5c9f78f5499', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. The forum provides a space for FAQs, idea sharing, and discussions. A specific thread features photos of the mobile app, including images of the app in use and error messages. The thread has garnered 753 views. Related topics include sample mobile apps, announcements, and issues with app calculations. Users can engage with various discussions and access resources for troubleshooting and integration.', metadata=DocumentMetadata(title='Some more photos :) this time of the mobile app - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='[mibile app in trade] [mibile app alpaca error] [mobile app errors]', url='https://forum.alpaca.markets/t/some-more-photos-this-time-of-the-mobile-app/689', language='en', keywords=None, robots=None, og_title='Some more photos :) this time of the mobile app - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description=None, og_url='https://forum.alpaca.markets/t/some-more-photos-this-time-of-the-mobile-app/689', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/c4b7933864d0b1ef21f77efb83dfe9890f0647c2.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-25T16:49:01+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/some-more-photos-this-time-of-the-mobile-app/689', status_code=200, scrape_id='4164bd13-7e22-4853-9811-ef54d307ce93', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion thread addresses how to determine a closed position using the ListPositionsAsync method, where a quantity of 0 indicates a closed position. The thread has 532 views and includes related topics on determining open/closed positions, position closing endpoints, and trading strategies. Users can find FAQs, share ideas, and follow discussions within the community.', metadata=DocumentMetadata(title='How can we determine a closed position? - Alpaca Products Discussion - Alpaca Community Forum', description='I’m using the ListPositionsAsync method to get all positions. \nIf the Quantity = 0 then it is closed else if it is open. Is it correct?', url='https://forum.alpaca.markets/t/how-can-we-determine-a-closed-position/356', language='en', keywords=None, robots=None, og_title='How can we determine a closed position? - Alpaca Products Discussion - Alpaca Community Forum', og_description='I’m using the ListPositionsAsync method to get all positions. If the Quantity = 0 then it is closed else if it is open. Is it correct?', og_url='https://forum.alpaca.markets/t/how-can-we-determine-a-closed-position/356', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-09T04:26:05+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-can-we-determine-a-closed-position/356', status_code=200, scrape_id='84f90819-35a2-4f63-a852-908ec9ca3bdf', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. The page discusses resetting paper trading accounts, featuring a post from a user named GregX999 inquiring about an API call to reset paper trading account equity. A response from another user, paper, follows up on Greg's inquiry. The page also lists related topics concerning paper trading, including requests for features and troubleshooting discussions. Users can find FAQs, share ideas, and follow discussions within the community.", metadata=DocumentMetadata(title='Reset paper account - Alpaca Integration Applications - Alpaca Community Forum', description='Hello, \nIs there an API (v2) call to reset the paper trading account equity? \nGreg', url='https://forum.alpaca.markets/t/reset-paper-account/581', language='en', keywords=None, robots=None, og_title='Reset paper account - Alpaca Integration Applications - Alpaca Community Forum', og_description='Hello, Is there an API (v2) call to reset the paper trading account equity? Greg', og_url='https://forum.alpaca.markets/t/reset-paper-account/581', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-27T23:46:03+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/reset-paper-account/581', status_code=200, scrape_id='e77c0d0b-6102-4b1b-b790-6669fac4182e', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main discussion topic is about reconnecting to Polygon, where a user inquires about the automatic reconnection process and the implications of losing state during reconnection. Related topics include issues with Polygon socket disconnects, websocket reconnection attempts, and performance of Polygon websockets in Python.', metadata=DocumentMetadata(title='Reconnecting to Polygon - Alpaca Market Data - Alpaca Community Forum', description='If the connection to Polygon is lost, then the docs say: (1) the api attempts to reconnect automatically; (2) state is lost when connection is reestablished. \nOn (1) how long does it attempt to reconnect? Until successfu…', url='https://forum.alpaca.markets/t/reconnecting-to-polygon/419', language='en', keywords=None, robots=None, og_title='Reconnecting to Polygon - Alpaca Market Data - Alpaca Community Forum', og_description='If the connection to Polygon is lost, then the docs say: (1) the api attempts to reconnect automatically; (2) state is lost when connection is reestablished. On (1) how long does it attempt to reconnect? Until successful? On (2) does losing state mean all subscriptions are cancelled and have to be resubscribed?', og_url='https://forum.alpaca.markets/t/reconnecting-to-polygon/419', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-11-05T08:26:39+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/reconnecting-to-polygon/419', status_code=200, scrape_id='65369ba4-103b-4092-971b-a2486004e1a4', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users interested in live trading, particularly non-US citizens. A user expressed interest in using Alpaca's commission-free trading API but noted the inconvenience of needing a valid Visa for non-US citizens. The Alpaca team responded that they currently do not support individual accounts outside the U.S. but have plans to expand to additional countries in the future. Users can express their interest by filling out a Non-US Account Interest Indication Form. The discussion also includes related topics about live trading for European citizens and non-US residents.", metadata=DocumentMetadata(title='Live Trading as a non US citizen - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='Hello Alpaca-Team, \nI’d be excited to use your commission free trading API for live trading. However, I am not a US citizen, so I could only use it with a valid Visa which is extremely inconvenient. Therefore I’d like to…', url='https://forum.alpaca.markets/t/live-trading-as-a-non-us-citizen/115', language='en', keywords=None, robots=None, og_title='Live Trading as a non US citizen - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description='Hello Alpaca-Team, I’d be excited to use your commission free trading API for live trading. However, I am not a US citizen, so I could only use it with a valid Visa which is extremely inconvenient. Therefore I’d like to ask if there are plans to offer your live trading services outside the US, especially in Germany. If such plans exist, could you already say something about the timeline? Thanks a lot!', og_url='https://forum.alpaca.markets/t/live-trading-as-a-non-us-citizen/115', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-01T10:39:29+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/live-trading-as-a-non-us-citizen/115', status_code=200, scrape_id='8aac78ac-ea25-4657-8763-115d1264ccdf', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. The main discussion topic is about limit orders and their placement in the order book, with a specific post by user Sungmin_Kim from January 2020 discussing liquidity providers. The page also features related topics on limit orders, including issues with paper trading and execution. Users can find FAQs, share ideas, and follow discussions within the community.', metadata=DocumentMetadata(title='Will my limit order hit the order book? - Alpaca Account Troubleshooting - Alpaca Community Forum', description='Where does my order go to and who are the liquidity providers?', url='https://forum.alpaca.markets/t/will-my-limit-order-hit-the-order-book/675', language='en', keywords=None, robots=None, og_title='Will my limit order hit the order book? - Alpaca Account Troubleshooting - Alpaca Community Forum', og_description='Where does my order go to and who are the liquidity providers?', og_url='https://forum.alpaca.markets/t/will-my-limit-order-hit-the-order-book/675', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-18T15:51:32+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/will-my-limit-order-hit-the-order-book/675', status_code=200, scrape_id='5bb98616-9750-45fe-80dc-6892471f6ec1', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A product update from July 29, 2019, introduces new features including the ability to cancel all orders and liquidate positions through API calls, enhancing user control over trading activities. The forum has been launched for discussions on trading and the Alpaca platform, addressing the need for better searchability compared to Slack. Infrastructure updates aim to improve service reliability and reduce latency. Upcoming features include margin call protections to prevent users from incurring day trade buying power margin calls. Users are encouraged to provide feedback and suggestions for future developments.', metadata=DocumentMetadata(title='New Product Update! (7/29/2019) - Alpaca Products Discussion / Announcements - Alpaca Community Forum', description='Hi there! :wave: It’s Nancy, Alpaca’s product manager. I’m excited to share several new updates and features that we’ve been working really hard on at Alpaca! \nNew Features\nCancel All Orders through API\nPreviously, Alpac…', url='https://forum.alpaca.markets/t/new-product-update-7-29-2019/91', language='en', keywords=None, robots=None, og_title='New Product Update! (7/29/2019) - Alpaca Products Discussion / Announcements - Alpaca Community Forum', og_description='Hi there! 👋 It’s Nancy, Alpaca’s product manager. I’m excited to share several new updates and features that we’ve been working really hard on at Alpaca! New Features Cancel All Orders through API Previously, Alpaca users could cancel all open orders through the Alpaca web dashboard. Now, users can cancel all open orders through an API call, too! When the following endpoint is called, all open orders will be canceled. Each cancel request works the same way as the single order cancel API. ...', og_url='https://forum.alpaca.markets/t/new-product-update-7-29-2019/91', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/8c7390150cd0078e967a18c7663581b9b334d239.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-29T20:01:29+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/new-product-update-7-29-2019/91', status_code=200, scrape_id='9ea7a712-4e39-4593-915c-594c74a67eaa', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes new users to create a Trading API account. A discussion thread addresses the pattern day trading restriction encountered by a beginner using the alpaca-py Python API for paper trading. The user, Goldflipper, seeks a way to turn off margin to avoid hitting the restriction after three trades. Dan Whitnable from Alpaca Developer Relations responds that there is no option to turn off margin, but suggests maintaining an account equity above $25,000 to avoid day trade protection rules. Goldflipper acknowledges the advice and plans to increase their account balance for future practice.', metadata=DocumentMetadata(title='Paper trading pattern day trading restriction - Getting Started with Alpaca - Alpaca Community Forum', description='Hey there, I’m a beginner trying out the alpaca-py python API, and on paper trading I’m getting hit with the pattern day trading restriction after 3 trades. Is there a way to turn margin off on paper trading so I can con…', url='https://forum.alpaca.markets/t/paper-trading-pattern-day-trading-restriction/13795', language='en', keywords=None, robots=None, og_title='Paper trading pattern day trading restriction - Getting Started with Alpaca - Alpaca Community Forum', og_description='Hey there, I’m a beginner trying out the alpaca-py python API, and on paper trading I’m getting hit with the pattern day trading restriction after 3 trades. Is there a way to turn margin off on paper trading so I can continue pushing API trades? I have no intention of day trading in production, it’s just that I’m only just learning how to code the trades and even when the python terminal throws errors, somehow alpaca still registers the trades, etc. basically I’m just practicing and this is not...', og_url='https://forum.alpaca.markets/t/paper-trading-pattern-day-trading-restriction/13795', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2024-03-06T17:12:41+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/paper-trading-pattern-day-trading-restriction/13795', status_code=200, scrape_id='c3405923-4d15-427b-a980-84693f113bf7', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community welcomes users to create a Trading API account. A discussion titled \'Account Activities Issue\' highlights a concern raised by a user, Brian67, regarding the API documentation. He notes that the API returns results with a \'side="short_sell"\' type, which is not defined in the documentation that only mentions \'Buy\' or \'Sell\'. This discrepancy makes it difficult for developers to work with the API. The page also features related topics discussing various issues and feature requests related to Alpaca\'s API and trading functionalities.', metadata=DocumentMetadata(title='Account Activities Issue - Alpaca Integration Applications - Alpaca Community Forum', description='When getting results back from a request to Activities…some of the results return with a side=“short_sell”, yet your API documentation clearly says Buy or Sell. Short_Sell is not defined in your API. It’s very hard to …', url='https://forum.alpaca.markets/t/account-activities-issue/606', language='en', keywords=None, robots=None, og_title='Account Activities Issue - Alpaca Integration Applications - Alpaca Community Forum', og_description='When getting results back from a request to Activities…some of the results return with a side=“short_sell”, yet your API documentation clearly says Buy or Sell. Short_Sell is not defined in your API. It’s very hard to program against an inaccurate API documentation. So if “short_sell” is a possible Side type…put it in your documentation.', og_url='https://forum.alpaca.markets/t/account-activities-issue/606', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-03T01:04:05+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/account-activities-issue/606', status_code=200, scrape_id='78765b1e-818e-42f5-a55d-badabbfce3d8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A user named 'achedges' discusses issues with reconnecting to the market data websocket after a local connection reset, receiving a '406-Rate limit exceeded' error. The user suspects this is due to a single connection limit for the market data API, unlike the trades API, and inquires about defining a session timeout to avoid orphaned sessions. Related topics include errors with streaming bars, connection limits, and websocket reconnections.", metadata=DocumentMetadata(title='Issue reconnecting websocket from client side - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', description='Hi all, I’m trying to improve my app’s resiliency against dropped websocket connections and I’m hitting a roadblock. I’m on a paid subscription, and I’m able to establish connections to the trades stream wss://api.alpac…', url='https://forum.alpaca.markets/t/issue-reconnecting-websocket-from-client-side/10300', language='en', keywords=None, robots=None, og_title='Issue reconnecting websocket from client side - Alpaca Integration Applications / App-Integration - Alpaca Community Forum', og_description='Hi all, I’m trying to improve my app’s resiliency against dropped websocket connections and I’m hitting a roadblock. I’m on a paid subscription, and I’m able to establish connections to the trades stream wss://api.alpaca.markets/stream and the data stream wss://stream.data.alpaca.markets/v2/sip. Everything works well until my local connection is reset (ie. unplugging my ethernet and jumping to wifi, which is already connected). As I understand it, this forces a new TCP connection which other ...', og_url='https://forum.alpaca.markets/t/issue-reconnecting-websocket-from-client-side/10300', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2022-08-12T18:36:52+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/issue-reconnecting-websocket-from-client-side/10300', status_code=200, scrape_id='bf930262-1480-458d-95d2-4a146597904b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion titled 'Bar Accuracy in Paper Simulation' addresses concerns about the accuracy of historical data fetched through the paper trading API compared to live trading data. Users have reported discrepancies in bar data, particularly regarding the Open, High, Low, and Close values, with specific examples from different dates and stocks. The thread includes contributions from various users discussing their experiences and issues with data accuracy, as well as links to related topics on the forum.", metadata=DocumentMetadata(title='Bar Accuracy in Paper Simulation - Alpaca Integration Applications - Alpaca Community Forum', description='I just want to confirm, the historical data we fetch when using paper trading API is the same as the information returned for the live historical api trading, correct? \nIt’ll let me assess if my time conversion from Paci…', url='https://forum.alpaca.markets/t/bar-accuracy-in-paper-simulation/647', language='en', keywords=None, robots=None, og_title='Bar Accuracy in Paper Simulation - Alpaca Integration Applications - Alpaca Community Forum', og_description='I just want to confirm, the historical data we fetch when using paper trading API is the same as the information returned for the live historical api trading, correct? It’ll let me assess if my time conversion from Pacific to Eastern, then to GMT is correct (for epoch) Edit: I’ve compared between two bar charts from Yahoo and TDAMT and they both reflect the same O/H/L/C. Below is a picture of a bar at 3:59pm on January 10th, but it is off from the displayed chart on Yahoo/TDAMT For those two...', og_url='https://forum.alpaca.markets/t/bar-accuracy-in-paper-simulation/647', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/faf184eb6c7ffb34e2cd9647755fbbf96a552b80.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-12T22:49:00+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/bar-accuracy-in-paper-simulation/647', status_code=200, scrape_id='2b172f49-113c-45d0-9849-985ce813fd54', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum provides a discussion on how to listen for 15-minute bar updates using the Alpaca Trading API. A user inquires about converting minute updates into 15-minute bars, seeking guidance on the process. Another user suggests using websocket subscriptions with aggregated minute data and resampling techniques to create 15-minute bars. The conversation highlights the importance of aligning the 15-minute bar creation with exchange timings for consistency. Users also discuss the possibility of resampling 15-minute bars into 30-minute bars and mention issues with the API's functionality regarding 15-minute bars.", metadata=DocumentMetadata(title='How to "listen" for 15 minute bar updates? - Alpaca Market Data - Alpaca Community Forum', description='Hi, I am wondering how one might convert minute updates into 15 minute bars. I want to run my logic over the 15 minute time scale but obvs only minute/day are available. I am relatively new to this as you may tell, so go…', url='https://forum.alpaca.markets/t/how-to-listen-for-15-minute-bar-updates/2259', language='en', keywords=None, robots=None, og_title='How to "listen" for 15 minute bar updates? - Alpaca Market Data - Alpaca Community Forum', og_description='Hi, I am wondering how one might convert minute updates into 15 minute bars. I want to run my logic over the 15 minute time scale but obvs only minute/day are available. I am relatively new to this as you may tell, so go easy on me! Thanks in advance', og_url='https://forum.alpaca.markets/t/how-to-listen-for-15-minute-bar-updates/2259', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-08-04T15:55:48+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-listen-for-15-minute-bar-updates/2259', status_code=200, scrape_id='d97c55c1-27d7-463b-80c7-b240b455d589', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses the development of an open-source trading system using PHP, focusing on the legal implications of automated stock trading. A user seeks input on applicable laws and regulations from the community, particularly regarding the SEC's stance on such systems. Key points include the user's project goals, which involve creating a profitable trading system, implementing machine learning, and ensuring compliance with regulatory standards. Community members suggest that an open-source license may suffice for legal protection, emphasizing the importance of disclaimers regarding financial advice. The discussion highlights the need for clarity on legal requirements for automated trading systems.", metadata=DocumentMetadata(title='Laws and Algos? - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', description='I’m in the process of developing and thinking about releasing an open source trading system that’s built using php, id like some input on any applicable laws in regards to fully automated stock trading ive seen Algorithm…', url='https://forum.alpaca.markets/t/laws-and-algos/327', language='en', keywords=None, robots=None, og_title='Laws and Algos? - Alpaca Account Troubleshooting / Random - Alpaca Community Forum', og_description='I’m in the process of developing and thinking about releasing an open source trading system that’s built using php, id like some input on any applicable laws in regards to fully automated stock trading ive seen Algorithmic trading - Wikipedia but id like someone to break down the basic do’s and don’ts i’ve thought of the effect this could have on the market and i believe it will make it more liquid opposed to the idea that ‘if everyone has it then no one has it’ for example to much data for th...', og_url='https://forum.alpaca.markets/t/laws-and-algos/327', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-09-29T14:54:41+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/laws-and-algos/327', status_code=200, scrape_id='a9f7b261-586e-41c2-ad72-62f207007084', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community provides resources for users to learn about trading, specifically focusing on short selling using Alpaca's V2 API. The page includes a tutorial on how to submit short orders with code examples in C# and Python. Key points discussed include the handling of market orders, the impact on buying power when placing orders, and clarifications on trading positions. Users can engage in discussions, ask questions, and find related topics on short selling and trading strategies.", metadata=DocumentMetadata(title="How to Short stocks using Alpaca's V2 API - Alpaca Trading / Tutorials - Alpaca Community Forum", description='Here’s some documentation and a code example on how to submit short orders through Alpaca. Examples are available in C# and Python. \n\n\nhttps://gist.githubusercontent.com/ttt733/8abfb228498a4baff934e128f0b2b48c/raw/8b8830…', url='https://forum.alpaca.markets/t/how-to-short-stocks-using-alpacas-v2-api/21', language='en', keywords=None, robots=None, og_title="How to Short stocks using Alpaca's V2 API - Alpaca Trading / Tutorials - Alpaca Community Forum", og_description='Here’s some documentation and a code example on how to submit short orders through Alpaca. Examples are available in C# and Python. https://gist.githubusercontent.com/ttt733/8abfb228498a4baff934e128f0b2b48c/raw/8b883048195dab310d4620b07bd634f121e1952b/short_orders.py', og_url='https://forum.alpaca.markets/t/how-to-short-stocks-using-alpacas-v2-api/21', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/19310421b3fa1fe86dd234fbc420c25dfc8d0f6d.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-07-15T19:37:06+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/how-to-short-stocks-using-alpacas-v2-api/21', status_code=200, scrape_id='205001a6-5bde-4c61-b473-18dcc6780e4f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community forum discusses an API error related to pattern day trading (PDT) protection. Users report issues when trying to sell stocks, receiving an error message indicating that trades are denied due to PDT rules. The PDT protection is triggered when an account's equity is below $25,000 at the previous day's market close, limiting the number of day trades. Users seek clarification on how to check their account equity and understand the implications of PDT rules. The forum includes various user experiences and responses from Alpaca representatives, providing insights into the trading restrictions and how to navigate them.", metadata=DocumentMetadata(title='APIError: trade denied due to pattern day trading protection - Alpaca Trading - Alpaca Community Forum', description='I have a program that buys a stock at market open and sells it at market close daily. When I ran it today, I get an error when I sell a stock with the API. It says \n\nAPIError: trade denied due to pattern day trading prot…', url='https://forum.alpaca.markets/t/apierror-trade-denied-due-to-pattern-day-trading-protection/211', language='en', keywords=None, robots=None, og_title='APIError: trade denied due to pattern day trading protection - Alpaca Trading - Alpaca Community Forum', og_description='I have a program that buys a stock at market open and sells it at market close daily. When I ran it today, I get an error when I sell a stock with the API. It says APIError: trade denied due to pattern day trading protection Where can I get more detail of this error? Is there a reference doc?', og_url='https://forum.alpaca.markets/t/apierror-trade-denied-due-to-pattern-day-trading-protection/211', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-08-30T19:52:14+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/apierror-trade-denied-due-to-pattern-day-trading-protection/211', status_code=200, scrape_id='efe25d26-f7c2-4591-a035-db62b5b9e5ed', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The Alpaca Community welcomes users to create a Trading API account. A discussion thread addresses the question of streaming order updates using Python. A user shares their code for placing orders and asks for help with streaming updates. They encounter a 'RuntimeError' related to the event loop. Other users suggest listening for 'order_updates' events and moving the connection run command inside the run function to resolve the issue. The thread includes various responses and solutions, ultimately leading to a successful implementation.", metadata=DocumentMetadata(title='Is there a way to stream order updates with python? - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', description='I am trying able to use api requests to buy place orders to buy equity, but I have to call the api every time to check if the order has been filled. \nIs there a way to stream updates with the orders to show when they hav…', url='https://forum.alpaca.markets/t/is-there-a-way-to-stream-order-updates-with-python/505', language='en', keywords=None, robots=None, og_title='Is there a way to stream order updates with python? - Alpaca Products Discussion / Alpaca Questions - Alpaca Community Forum', og_description="I am trying able to use api requests to buy place orders to buy equity, but I have to call the api every time to check if the order has been filled. Is there a way to stream updates with the orders to show when they have been been filled? i try this: import alpaca_trade_api as tradeapi import time import datetime api = tradeapi.REST('xxx','https://paper-api.alpaca.markets') conn = tradeapi.StreamConn('xxx','xxx','https://paper-api.alpaca.markets') account = api.get_account() def run(): ...", og_url='https://forum.alpaca.markets/t/is-there-a-way-to-stream-order-updates-with-python/505', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-12-04T04:13:55+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/is-there-a-way-to-stream-order-updates-with-python/505', status_code=200, scrape_id='4233a641-6b3e-418d-a04d-db979239d2c2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses the need for full extended hours trading (4am to 8pm EST). Users express concerns about the current limitations on trading hours, which restrict new orders between 6pm and 8pm. Many traders rely on extended hours for their strategies, citing increased volatility and trading opportunities. Users have repeatedly requested updates on the implementation of full extended hours, with some considering switching to other platforms like Webull or IB if the feature is not added. The Alpaca team acknowledges the feedback and is working on the request, but no specific timeline has been provided.', metadata=DocumentMetadata(title='Full extended hours - Alpaca Products Discussion - Alpaca Community Forum', description='Hi guys, \nAre there any plans in the foreseeable future to support full extended hours trading (4am to 8pm)? I see that new orders cannot be placed between 6pm and 8pm, so I’m hoping that’s segue to full extended hours? \n…', url='https://forum.alpaca.markets/t/full-extended-hours/358', language='en', keywords=None, robots=None, og_title='Full extended hours - Alpaca Products Discussion - Alpaca Community Forum', og_description='Hi guys, Are there any plans in the foreseeable future to support full extended hours trading (4am to 8pm)? I see that new orders cannot be placed between 6pm and 8pm, so I’m hoping that’s segue to full extended hours? Thanks, Andrej', og_url='https://forum.alpaca.markets/t/full-extended-hours/358', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2019-10-10T20:25:43+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/full-extended-hours/358', status_code=200, scrape_id='a4742676-8cf0-4154-b778-df0f028c51a6', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses an issue with the API call to `api.polygon.historic_agg`, where users are receiving incorrect timestamps (specifically, a year of 1969) when trying to retrieve the last 6 data points for a stock symbol (e.g., TSLA). Users are seeking solutions to filter the data correctly to avoid post-market data and ensure accurate timestamps. Suggestions include using `api.get_barset` as an alternative, but some users report missing data for low-volume stocks. The conversation highlights the need for better documentation and clarity on the differences between the two API methods.', metadata=DocumentMetadata(title='Api.polygon.historic_agg returns unwanted timestamp - Alpaca Market Data - Alpaca Community Forum', description='symbols="TSLA"\nminute_history ={}\nminute_history[symbols] = api.polygon.historic_agg(\n size="minute", symbol=symbols, limit=6,to='2020-01-03 14:59:00-0500'\n).df\ndf=minute_history[symbols]\ndf\n\nthe output seems as below…', url='https://forum.alpaca.markets/t/api-polygon-historic-agg-returns-unwanted-timestamp/612', language='en', keywords=None, robots=None, og_title='Api.polygon.historic_agg returns unwanted timestamp - Alpaca Market Data - Alpaca Community Forum', og_description='symbols="TSLA" minute_history ={} minute_history[symbols] = api.polygon.historic_agg( size="minute", symbol=symbols, limit=6,to=\'2020-01-03 14:59:00-0500\' ).df df=minute_history[symbols] df the output seems as below: i am only looking at last 6 data points (each every last 6 mins before 1-3 14:59 pm. but data shows year 1969 which is incorrect. What is wrong here. Please help', og_url='https://forum.alpaca.markets/t/api-polygon-historic-agg-returns-unwanted-timestamp/612', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/1X/41ee34764fc231496d9edb78e4265dae95ac31e6.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2020-01-04T03:41:43+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/api-polygon-historic-agg-returns-unwanted-timestamp/612', status_code=200, scrape_id='49926b92-36bb-4778-8284-846f118d4b70', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Community forum discusses issues related to closing multi-leg options positions through the API. A user, Jeroen van Lier, seeks advice on creating an order to close a multi-leg position with a limit price to avoid slippage. He highlights a limitation in the API that prevents closing uncovered short contracts in a single order, as indicated by an error message. The forum also features related topics on closing positions and order management, indicating ongoing discussions and troubleshooting within the community.', metadata=DocumentMetadata(title='Closing an existing Multi Leg Options position in a single order FAILS - Alpaca Trading - Alpaca Community Forum', description='Can someone advice me on how to create an order to close a multileg order with a limit price so as to not create slippage, I am not rolling a position, but simply trying to close as shown with the close_intent argument, …', url='https://forum.alpaca.markets/t/closing-an-existing-multi-leg-options-position-in-a-single-order-fails/16802', language='en', keywords=None, robots=None, og_title='Closing an existing Multi Leg Options position in a single order FAILS - Alpaca Trading - Alpaca Community Forum', og_description='Can someone advice me on how to create an order to close a multileg order with a limit price so as to not create slippage, I am not rolling a position, but simply trying to close as shown with the close_intent argument, this is a major disadvantage to the API if this is not possible. See the code below for example, the exact opposite position exists and this was the suggestion by the kapa.ai bot. There is no further documentation on closing positions besides liquidating positions individually. A...', og_url='https://forum.alpaca.markets/t/closing-an-existing-multi-leg-options-position-in-a-single-order-fails/16802', og_image='https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/f/f91047c7713bc13258d946a8cb84be1f9b2eaa08.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Community Forum', og_video=None, favicon='https://us1.discourse-cdn.com/flex020/uploads/alp/optimized/2X/0/0db3c981a81590c06f90afd869ffdd3a67ae7e1d_2_32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time='2025-04-21T20:29:55+00:00', article_tag=None, article_section=None, source_url='https://forum.alpaca.markets/t/closing-an-existing-multi-leg-options-position-in-a-single-order-fails/16802', status_code=200, scrape_id='b854f4e9-7ec3-4596-8ad2-887981c6aa95', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None)]) BatchScrapeJob(status='completed', completed=19, total=19, credits_used=19, expires_at=datetime.datetime(2025, 9, 25, 16, 38, 39, tzinfo=TzInfo(UTC)), next=None, data=[Document(markdown=None, html=None, raw_html=None, json=None, summary='Manzil Investment Advisors LLC has launched Manzil Invest USA, a digital platform offering Shariah-compliant investment solutions for American Muslims, in partnership with Alpaca. The platform provides access to halal investment strategies and aims to simplify investing for Muslims who often feel excluded from traditional financial tools. All securities are pre-screened for compliance with Islamic principles. The platform also includes educational resources to assist users in making informed financial decisions. Manzil is committed to delivering ethical financial alternatives tailored to Muslim consumers.', metadata=DocumentMetadata(title='Manzil Expands Shariah-Compliant Investment Solutions to American Muslims with Alpaca', description='Manzil and Alpaca partner to offer Shariah-compliant investment solutions through Manzil Invest USA, expanding ethical finance for American Muslims.', url='https://alpaca.markets/blog/manzil-expands-shariah-compliant-investment-solutions-to-american-muslims-with-alpaca/', language='en', keywords=None, robots=None, og_title='Manzil Expands Shariah-Compliant Investment Solutions to American Muslims with Alpaca', og_description='Manzil and Alpaca partner to offer Shariah-compliant investment solutions through Manzil Invest USA, expanding ethical finance for American Muslims.', og_url='https://alpaca.markets/blog/manzil-expands-shariah-compliant-investment-solutions-to-american-muslims-with-alpaca/', og_image='https://alpaca.markets/blog/content/images/2025/07/manzil-pr.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-07-15T12:03:56.000Z', published_time='2025-07-15T12:00:34.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/manzil-expands-shariah-compliant-investment-solutions-to-american-muslims-with-alpaca/', status_code=200, scrape_id='86b003b9-6b3b-43df-8ee8-ab2b864beee3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca has launched a new Broker API to support fixed-income trading, specifically US Treasuries, marking a significant expansion into the $140 trillion global fixed-income market. This initiative aims to provide a trading experience similar to equities, with fast execution times and a non-predatory fee structure. Key features include real-time order book aggregation, automatic order queuing for off-hours trading, and a flexible pricing model for partners. Alpaca is also working towards enabling fractional trading with minimum order sizes of $1. The launch is part of Alpaca's mission to democratize financial services and enhance accessibility for retail investors.", metadata=DocumentMetadata(title='Alpaca Launches Fixed-Income Trading for Broker API, Delivering Equities-Like Experience for Global Retail Order Flow', description='Alpaca launches US Treasuries trading and custody, expanding their asset class offerings while setting a new standard for fixed-income infrastructure.', url='https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/', language='en', keywords=None, robots=None, og_title='Alpaca Launches Fixed-Income Trading for Broker API, Delivering Equities-Like Experience for Global Retail Order Flow', og_description='Alpaca launches US Treasuries trading and custody, expanding their asset class offerings for Broker API with an equities-like trading experience, non-predatory fees, and path to $1 order minimums.', og_url='https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/', og_image='https://alpaca.markets/blog/content/images/2025/05/fixed-income_blog-annoucement-copy.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-05-01T13:08:19.000Z', published_time='2025-05-01T13:00:44.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/alpaca-launches-fixed-income-trading-delivering-equities-like-experience-for-global-retail-order-flow/', status_code=200, scrape_id='a2632f9f-58a5-48f7-8e7c-63c0b80c55d4', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Quantl, a fintech startup founded in 2023, is transforming access to US markets for investors in the Middle East by providing an AI-powered, algorithmic robo-trading platform. The platform aims to simplify the investment process, which has traditionally been manual and cumbersome in the region. Key features include streamlined onboarding through Alpaca's Broker API, access to US stocks and ETFs, and a focus on educating users about algorithmic trading to reduce emotional decision-making. Quantl plans to expand its offerings and user base while developing more sophisticated trading strategies.", metadata=DocumentMetadata(title='Empowering Investors in the Middle East: How Quantl is Transforming Access to US Markets', description='Discover how Quantl partnered with Alpaca to provide access to fractional US stock trading and reduce onboarding time from days to minutes.', url='https://alpaca.markets/blog/empowering-investors-in-the-middle-east-how-quantl-is-transforming-access-to-us-markets/', language='en', keywords=None, robots=None, og_title='Empowering Investors in the Middle East: How Quantl is Transforming Access to US Markets', og_description='Discover how Quantl partnered with Alpaca to provide access to fractional US stock trading and reduce onboarding time from days to minutes.', og_url='https://alpaca.markets/blog/empowering-investors-in-the-middle-east-how-quantl-is-transforming-access-to-us-markets', og_image='https://alpaca.markets/blog/content/images/2025/07/quantl_customer-story.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-09-04T14:59:56.000Z', published_time='2025-07-02T13:33:30.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/empowering-investors-in-the-middle-east-how-quantl-is-transforming-access-to-us-markets/', status_code=200, scrape_id='3ad39cd0-cd3f-4058-b73c-5659110a78d6', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Kernel, a New Zealand-based fintech, is promoting long-term investment and wealth for Kiwis through its innovative investment platform. Founded in 2019, Kernel offers a holistic wealth management experience with products like savings accounts, retirement accounts, and index funds. Recently, they expanded their offerings to include US stocks and ETFs via a partnership with Alpaca, enabling features like fractional shares and local currency trading in NZD. This expansion aims to meet customer demand for diversified investment options. Kernel experienced significant growth in 2024 and plans to enhance product adoption while developing educational resources for long-term wealth building.', metadata=DocumentMetadata(title='How Kernel is Encouraging Long-Term Investment and Wealth in New Zealand with Alpaca', description="Discover how Kernel, a New Zealand-based fintech, is revolutionizing long-term investment with Alpaca's Broker API, launching US stocks & ETFs and empowering Kiwis to build wealth.", url='https://alpaca.markets/blog/how-kernel-is-encouraging-long-term-investment-and-wealth-in-new-zealand-with-alpaca/', language='en', keywords=None, robots=None, og_title='How Kernel is Encouraging Long-Term Investment and Wealth in New Zealand with Alpaca', og_description="Discover how Kernel, a New Zealand-based fintech, is revolutionizing long-term investment with Alpaca's Broker API, launching US stocks & ETFs and empowering Kiwis to build wealth.", og_url='https://alpaca.markets/blog/how-kernel-is-encouraging-long-term-investment-and-wealth-in-new-zealand-with-alpaca', og_image='https://alpaca.markets/blog/content/images/2025/06/kernel_customer-story.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-06-03T13:30:34.000Z', published_time='2025-06-03T13:30:34.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/how-kernel-is-encouraging-long-term-investment-and-wealth-in-new-zealand-with-alpaca/', status_code=200, scrape_id='a7e4bc48-d1ae-4873-9a63-1de9bf7e38f4', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca and ZAD have partnered to enhance access to Shariah-compliant investment products globally. This collaboration aims to cater to the growing demand for Shariah-compliant financial solutions, particularly in regions with significant Islamic finance assets, projected to reach $7.5 trillion by 2028. ZAD, a Kuwait-based investment platform, is expanding its offerings to include Shariah-compliant margin trading, options trading, and instant funding, utilizing Alpaca's scalable Broker API. Both companies emphasize the importance of aligning financial growth with Islamic principles, with ZAD's co-founder highlighting the unique needs of regional investors. Alpaca's CEO expressed excitement about supporting financial accessibility through innovative Shariah-compliant products.", metadata=DocumentMetadata(title='Alpaca and ZAD Partner to Bring Shariah-Compliant Investing Globally', description='Alpaca and ZAD partner to bring Shariah-compliant investing global, expanding access to products like margin trading, options, and high-yield cash.', url='https://alpaca.markets/blog/alpaca-and-zad-partner-to-bring-shariah-compliant-investing-globally/', language='en', keywords=None, robots=None, og_title='Alpaca and ZAD Partner to Bring Shariah-Compliant Investing Globally', og_description='Alpaca and ZAD partner to bring Shariah-compliant investing global, expanding access to products like margin trading, options, and high-yield cash.', og_url='https://alpaca.markets/blog/alpaca-and-zad-partner-to-bring-shariah-compliant-investing-globally/', og_image='https://alpaca.markets/blog/content/images/2025/07/zad-pr.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-07-14T12:45:54.000Z', published_time='2025-07-08T12:30:03.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/alpaca-and-zad-partner-to-bring-shariah-compliant-investing-globally/', status_code=200, scrape_id='ccdb2337-0a53-43e5-af22-4c76916a3d08', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Ondo Finance has launched Ondo Global Markets, a platform for tokenizing US stocks and ETFs, in collaboration with Alpaca. This initiative aims to bridge traditional finance with blockchain technology, enhancing access to high-quality assets for global investors. Key features include over 100 tokenized assets available now, with plans to expand to over 1,000 by year-end, 24/7 transferability, deep liquidity akin to traditional exchanges, and usability in decentralized finance (DeFi). The platform is currently accessible in select markets across Asia-Pacific, Africa, and Latin America, with future expansions planned on Ethereum, Solana, and BNB Chain.', metadata=DocumentMetadata(title='Ondo Finance and Alpaca Collaborate to Tokenize US Stocks and ETFs', description='Ondo Finance and Alpaca partner to tokenize US stocks and ETFs through Ondo Global Markets, bridging traditional and on-chain finance for global investors.', url='https://alpaca.markets/blog/ondo-finance-and-alpaca-collaborate-to-tokenize-us-stocks-and-etfs/', language='en', keywords=None, robots=None, og_title='Ondo Finance and Alpaca Collaborate to Tokenize US Stocks and ETFs', og_description='Ondo Finance and Alpaca partner to tokenize US stocks and ETFs through Ondo Global Markets, bridging traditional and on-chain finance for global investors.', og_url='https://alpaca.markets/blog/ondo-finance-and-alpaca-collaborate-to-tokenize-us-stocks-and-etfs', og_image='https://alpaca.markets/blog/content/images/2025/09/ondo-pr.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-09-03T13:45:30.000Z', published_time='2025-09-03T13:45:30.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/ondo-finance-and-alpaca-collaborate-to-tokenize-us-stocks-and-etfs/', status_code=200, scrape_id='69b022e9-ef91-4a53-a860-cc210b5ef8e3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Investlink, a Kazakhstan-based brokerage founded in 2021, is transforming investing in Central Asia by providing diverse investment products and direct access to US markets. The platform offers US equities, ETFs, margin trading, high-yield cash, and recently launched options trading, catering to the growing demand from Kazakh investors. CEO Daniyar Nurstultan emphasizes the importance of product diversity and user education to build trust and financial independence. Investlink partners with Alpaca for infrastructure support, enabling rapid product development. Future plans include Shariah-compliant investing, crypto trading, fractional shares, demo accounts, and fixed-income products, aiming to empower users in their financial journeys.', metadata=DocumentMetadata(title='How Investlink is Redefining Investing in Central Asia Through Product Diversity', description="Investlink brings financial independence to Central Asian investors with access to US stocks, options, high-yield cash, and more through Alpaca's Broker API.", url='https://alpaca.markets/blog/how-investlink-is-redefining-investing-in-central-asia-with-product-diversity-and-alpaca/', language='en', keywords=None, robots=None, og_title='How Investlink is Redefining Investing in Central Asia Through Product Diversity', og_description="Investlink brings financial independence to Central Asian investors with access to US stocks, options, high-yield cash, and more through Alpaca's Broker API.", og_url='https://alpaca.markets/blog/how-investlink-is-redefining-investing-in-central-asia-with-product-diversity-and-alpaca', og_image='https://alpaca.markets/blog/content/images/2025/06/v02_investlink_customer-story.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-06-10T13:15:36.000Z', published_time='2025-06-10T13:00:09.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/how-investlink-is-redefining-investing-in-central-asia-with-product-diversity-and-alpaca/', status_code=200, scrape_id='af61f628-df55-4220-a3db-e64b25a88331', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca has launched a 24/5 trading feature for its Broker API, allowing global access to US markets outside traditional trading hours. This move responds to the growing demand from international retail investors, whose foreign investment in US equities has surged by 84% from June 2020 to June 2024. The 24/5 trading model aims to accommodate traders in different time zones, enhancing engagement and trading activity. Benefits for brokers include increased order flow, asset growth, market differentiation, and better access to emerging markets. Alpaca's infrastructure is designed for reliability and speed, supporting seamless integration and real-time market data. The shift to 24/5 trading is seen as a strategic advantage for brokerages looking to expand their global footprint.", metadata=DocumentMetadata(title='Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets', description="Alpaca announces the launch of 24/5 trading for Broker API, allowing partners to meet global demand. Learn how Alpaca's infrastructure supports brokers in this shift.", url='https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/', language='en', keywords=None, robots=None, og_title='Alpaca Launches 24/5 Trading for Broker API, Helping Deliver Global Access to US Markets', og_description="Alpaca announces the launch of 24/5 Trading for Broker API, allowing partners to meet global demand. Learn how Alpaca's infrastructure supports brokers in this shift.", og_url='https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/', og_image='https://alpaca.markets/blog/content/images/2025/05/blog_24-5_trading.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-05-20T13:33:02.000Z', published_time='2025-05-20T13:33:02.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/alpaca-launches-24-5-trading-for-broker-api-helping-deliver-global-access-to-us-markets/', status_code=200, scrape_id='ee47a8fd-303e-4e86-9a1b-4ca52d21b2c9', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca has secured memberships with The Options Clearing Corporation (OCC) and the Fixed Income Clearing Corporation (FICC), enhancing its capabilities as a self-clearing broker-dealer. This approval allows Alpaca to provide multi-asset self-clearing services, including access to U.S. stocks, ETFs, options, and fixed income through its API-first brokerage infrastructure. CEO Yoshi Yokokawa emphasized that this development enables lower friction and real-time operations, giving partners greater flexibility and visibility in trading. The memberships complement Alpaca's existing clearing status with DTCC, eliminating reliance on third-party brokers and reinforcing its position as a full-stack brokerage infrastructure. Earlier in the year, Alpaca also launched U.S. listed options and Treasuries, furthering its mission to democratize financial services.", metadata=DocumentMetadata(title='Alpaca Secures OCC and FICC Memberships to Power Multi-Asset Self-Clearing for Partners', description='Alpaca secures OCC and FICC memberships, enabling self-clearing for partners across U.S. equities, options, and treasuries for lower friction and real-time operations.', url='https://alpaca.markets/blog/alpaca-secures-occ-and-ficc-memberships-to-power-multi-asset-self-clearing-for-partners/', language='en', keywords=None, robots=None, og_title='Alpaca Secures OCC and FICC Memberships to Power Multi-Asset Self-Clearing for Partners', og_description='Alpaca secures OCC and FICC memberships, enabling multi-asset self-clearing for partners across US equities, options, and treasuries for lower friction and real-time operations.', og_url='https://alpaca.markets/blog/alpaca-secures-occ-and-ficc-memberships-to-power-multi-asset-self-clearing-for-partners/', og_image='https://alpaca.markets/blog/content/images/2025/08/occ-announcement.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-08-12T12:35:03.000Z', published_time='2025-08-12T12:35:03.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/alpaca-secures-occ-and-ficc-memberships-to-power-multi-asset-self-clearing-for-partners/', status_code=200, scrape_id='63355b14-29cc-4423-84f7-eaf3cce17190', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Moola, a mobile-only financial platform founded by Jason and Magda Schappert, aims to simplify personal finance for everyday Americans, particularly those with limited financial experience. Launched in March 2025, Moola focuses on educational empowerment, offering a user-friendly interface that consolidates various investment products like US stocks, ETFs, and IRAs. The platform targets individuals, such as nurses, who seek to improve their financial literacy but lack time and resources. Moola partners with Alpaca for brokerage infrastructure, utilizing features like fractional trading and KYC-as-a-service to enhance accessibility. Future plans include integrating cryptocurrency offerings and maintaining a community-driven approach as they scale.', metadata=DocumentMetadata(title='How Moola Aims to Make Finance More Accessible for Everyday Americans with Alpaca', description="Leveraging US stocks and ETFs, IRA accounts, FPSL, and high-yield cash, Moola has built a platform for the everyday American, powered by Alpaca's Broker API.", url='https://alpaca.markets/blog/how-moola-aims-to-make-finance-more-accessible-for-everyday-americans-with-alpaca/', language='en', keywords=None, robots=None, og_title='How Moola Aims to Make Finance More Accessible for Everyday Americans with Alpaca', og_description="Leveraging US stocks and ETFs, IRA accounts, FPSL, and high-yield cash, Moola has built a platform for the everyday American, powered by Alpaca's Broker API.", og_url='https://alpaca.markets/blog/how-moola-aims-to-make-finance-more-accessible-for-everyday-americans-with-alpaca/', og_image='https://alpaca.markets/blog/content/images/2025/07/moola-customer-story.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-08-07T13:00:39.000Z', published_time='2025-08-07T13:00:39.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/how-moola-aims-to-make-finance-more-accessible-for-everyday-americans-with-alpaca/', status_code=200, scrape_id='87771b2c-2a61-46c8-b018-6bac7af6abd8', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Composer is revolutionizing algorithmic trading with its no-code platform, enabling retail investors to create sophisticated trading algorithms using natural language. Founded in 2020, Composer's mission is to make investing engaging and accessible. Their unique feature, 'symphonies', allows users to build and backtest multi-strategy algorithms, fostering a community where strategies can be shared. The platform has seen significant growth, integrating with Alpaca to offer seamless trading experiences and expanding into crypto and options trading. Composer aims to disrupt the hedge fund space by lowering barriers to advanced trading, targeting both retail and sophisticated traders, and envisioning itself as an operating system for trading.", metadata=DocumentMetadata(title='How Composer is Redefining Algorithmic Trading with Their No-Code Platform', description='Learn how Composer is creating accessible trading with AI-powered, no-code algorithms in US stocks and ETFs, crypto, and options, all powered by Alpaca.', url='https://alpaca.markets/blog/how-composer-is-redefining-algorithmic-trading-with-their-no-code-platform/', language='en', keywords=None, robots=None, og_title='How Composer is Redefining Algorithmic Trading with Their No-Code Platform', og_description='Learn how Composer is creating accessible trading with AI-powered, no-code algorithms in US stocks and ETFs, crypto, and options, all powered by Alpaca.', og_url='https://alpaca.markets/blog/how-composer-is-redefining-algorithmic-trading-with-their-no-code-platform/', og_image='https://alpaca.markets/blog/content/images/2025/07/composer-customer-story--1-.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-07-24T14:25:39.000Z', published_time='2025-07-24T13:00:50.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/how-composer-is-redefining-algorithmic-trading-with-their-no-code-platform/', status_code=200, scrape_id='9a09a4fc-d422-4207-b51e-b851fb5fae6b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article discusses the collaboration between ZAD, a Kuwait-based investment platform, and Alpaca to provide Shariah-compliant investment solutions for investors in the Gulf Cooperation Council (GCC). ZAD was founded in 2020 with a mission to make investing accessible and compliant with Islamic principles. The platform has experienced rapid growth due to its user-centric approach and commitment to Shariah compliance, which prohibits investments in sectors like gambling and alcohol. ZAD's partnership with Alpaca has enabled the development of innovative products such as Shariah-compliant margin trading and instant funding. ZAD aims to expand its services across the GCC and MENA regions, focusing on markets with a strong demand for Shariah-compliant investments.", metadata=DocumentMetadata(title='How ZAD and Alpaca Are Collaborating to Deliver Shariah-Compliant Investment Solutions', description='Discover how ZAD and Alpaca are bringing Shariah-compliant options trading, margin trading, and high-yield cash to investors in the GCC.', url='https://alpaca.markets/blog/meeting-the-needs-of-the-gcc-how-zad-and-alpaca-are-collaborating-to-deliver-shariah-compliant-investment-solutions/', language='en', keywords=None, robots=None, og_title='How ZAD and Alpaca Are Collaborating to Deliver Shariah-Compliant Investment Solutions', og_description='Discover how ZAD and Alpaca are collaborating to deliver Shariah-compliant options trading, margin trading, and high-yield cash to investors in the GCC and MENA regions.', og_url='https://alpaca.markets/blog/meeting-the-needs-of-the-gcc-how-zad-and-alpaca-are-collaborating-to-deliver-shariah-compliant-investment-solutions', og_image='https://alpaca.markets/blog/content/images/2025/07/v02_zad-customer-story.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-07-14T13:00:19.000Z', published_time='2025-07-14T13:00:19.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/meeting-the-needs-of-the-gcc-how-zad-and-alpaca-are-collaborating-to-deliver-shariah-compliant-investment-solutions/', status_code=200, scrape_id='da34f4ce-2c01-49b9-9dcd-9a6cd163f81f', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca has launched two new features for its Trading API users: the Direct Market Access Gateway (DMA Gateway) and advanced order types including Volume-Weighted Average Price (VWAP) and Time-Weighted Average Price (TWAP). These features enhance execution customization, allowing users to specify execution exchanges and strategically release orders to minimize market impact. The DMA Gateway provides flexibility in routing orders to exchanges like NASDAQ, ARCA, and NYSE, while the advanced order types help optimize execution quality. These tools are designed for sophisticated traders, including hedge funds and prop trading firms, and are fully integrated into Alpaca's Elite Smart Router. Future expansions of the DMA Gateway and additional order types are planned to further support algorithmic trading strategies.", metadata=DocumentMetadata(title='Alpaca Launches Direct Market Access Gateway and Advanced Order Types for Elite Smart Router', description='Alpaca introduces DMA Gateway and advanced order types (VWAP, TWAP) for Elite Smart Router users, offering enhanced flexibility and precision for algo trading.', url='https://alpaca.markets/blog/alpaca-launches-direct-market-access-gateway-and-advanced-order-types-for-elite-smart-router/', language='en', keywords=None, robots=None, og_title='Alpaca Launches Direct Market Access Gateway and Advanced Order Types for Elite Smart Router', og_description='Alpaca introduces DMA Gateway and advanced order types (VWAP, TWAP) for Elite Smart Router users, offering enhanced flexibility and precision for algo trading.', og_url='https://alpaca.markets/blog/alpaca-launches-direct-market-access-gateway-and-advanced-order-types-for-elite-smart-router/', og_image='https://alpaca.markets/blog/content/images/2025/08/blog_advanced-order-types-dma-routing_gtm.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-09-19T15:05:08.000Z', published_time='2025-08-21T12:57:49.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/alpaca-launches-direct-market-access-gateway-and-advanced-order-types-for-elite-smart-router/', status_code=200, scrape_id='b1106852-6f7a-45d3-8ea3-f205c7a11099', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca has launched a Fully Paid Securities Lending (FPSL) program for US equities via its Broker API, aimed at helping brokerage platforms diversify revenue streams amid market uncertainty. FPSL allows customers to lend fully owned securities to institutions, generating passive income through fees split between brokers and clients. Key benefits include new revenue generation, asset retention, and scalable growth. Alpaca's FPSL program offers flexibility in pricing, transparency in lending activities, and customer protection through cash collateral. The program is designed for easy integration and aims to enhance client engagement with their portfolios.", metadata=DocumentMetadata(title='Alpaca Launches Fully Paid Securities Lending for Broker API', description='Alpaca launches Fully Paid Securities Lending for Broker API, allowing partners to build and deliver more passive yield opportunities to their clients.', url='https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/', language='en', keywords=None, robots=None, og_title='Alpaca Launches Fully Paid Securities Lending for Broker API', og_description='Alpaca launches Fully Paid Securities Lending for Broker API, allowing partners to build and deliver more passive yield opportunities to their clients.', og_url='https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/', og_image='https://alpaca.markets/blog/content/images/2025/05/FPSL-blog-announcement.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-05-20T13:28:21.000Z', published_time='2025-05-13T13:00:35.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/alpaca-launches-fully-paid-securities-lending-for-broker-api/', status_code=200, scrape_id='5ecd0c4d-64ea-473e-bac9-382508d03d45', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Backed, a regulated issuer of tokenized stocks in the EU, aims to enhance financial market accessibility through its xStocks solution, which integrates with Alpaca's infrastructure. Founded during the pandemic, Backed focuses on compliance and regulatory frameworks to ensure investor protection while addressing inefficiencies in traditional finance, especially in emerging markets. The xStocks product allows for tokenized assets that are one-to-one backed by real-world collateral, facilitating easier access to capital markets. With partnerships, including one with Kraken, Backed plans to expand its offerings and increase the number of tokenized stocks, targeting a total assets under management (AUM) of $1 billion and fostering real-world use cases for tokenized assets. The long-term vision includes integrating xStocks into various public chains and DeFi protocols to further democratize access to financial products.", metadata=DocumentMetadata(title='Bridging TradFi and DeFi with Backed’s Tokenized xStocks Solution Powered by Alpaca', description="Learn more about how Backed partnered with Alpaca's Broker API to create xStocks, bridging TradFi and DeFi through tokenization at scale.", url='https://alpaca.markets/blog/bridging-tradfi-and-defi-with-backeds-tokenized-xstocks-solution-powered-by-alpaca/', language='en', keywords=None, robots=None, og_title='Bridging TradFi and DeFi with Backed’s Tokenized xStocks Solution Powered by Alpaca', og_description="Learn more about how Backed partnered with Alpaca's Broker API to create xStocks, bridging TradFi and DeFi through tokenization at scale.", og_url='https://alpaca.markets/blog/bridging-tradfi-and-defi-with-backeds-tokenized-xstocks-solution-powered-by-alpaca', og_image='https://alpaca.markets/blog/content/images/2025/06/xstocks_customer-story.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-07-17T21:50:45.000Z', published_time='2025-06-18T12:30:28.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/bridging-tradfi-and-defi-with-backeds-tokenized-xstocks-solution-powered-by-alpaca/', status_code=200, scrape_id='426a845e-a712-49f3-bf58-e3789352f265', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="On July 10, 2025, Alpaca announced its acquisition of WealthKernel, a wealthtech firm, to enhance its brokerage infrastructure in the UK and EU. This strategic move aims to support Alpaca's global expansion and provide regulated investing services across borders. WealthKernel's offerings include tax-advantaged accounts like ISAs and SIPPs, which will complement Alpaca's existing trading infrastructure. The acquisition is expected to accelerate WealthKernel's mission while leveraging Alpaca's technology and compliance frameworks. The deal is pending regulatory approval from the UK Financial Conduct Authority and the Spanish Comisión Nacional del Mercado de Valores.", metadata=DocumentMetadata(title='Alpaca Enters UK and EU Market through WealthKernel Acquisition', description='Alpaca acquires UK/EU wealthtech firm WealthKernel, integrating its digital investment infrastructure and tax-advantaged products for global expansion.', url='https://alpaca.markets/blog/alpaca-enters-uk-and-eu-market-through-wealthkernel-acquisition/', language='en', keywords=None, robots=None, og_title='Alpaca Enters UK and EU Market through WealthKernel Acquisition', og_description='Alpaca acquires UK/EU wealthtech firm WealthKernel, integrating its digital investment infrastructure and tax-advantaged products for global expansion.', og_url='https://alpaca.markets/blog/alpaca-enters-uk-and-eu-market-through-wealthkernel-acquisition/', og_image='https://alpaca.markets/blog/content/images/2025/07/catalyst-blog-announcement.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-07-10T08:30:59.000Z', published_time='2025-07-10T08:30:59.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/alpaca-enters-uk-and-eu-market-through-wealthkernel-acquisition/', status_code=200, scrape_id='a219e90d-d4ee-4a23-b035-f8a1d46a84c2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Alpaca has launched a High-Yield Cash program for Trading API users, allowing them to earn up to 4.07% APY on uninvested USD balances. This initiative aims to help retail investors maximize their cash growth while trading commission-free. Key features include: \n1. **Interest Earnings**: Users can earn interest on idle cash without affecting trading activities. For instance, holding $10,000 could yield $407 in interest over a year. \n2. **FDIC Insurance**: The program offers up to $1 million in FDIC insurance through partner banks, providing a safety net for users' funds. \n3. **Liquidity**: Users can access their funds anytime, maintaining flexibility for trading opportunities. \n4. **Enrollment**: Users can easily enroll via their dashboard or create a new account to start earning interest. \nAlpaca is a self-clearing broker-dealer based in the US, backed by significant funding and investors.", metadata=DocumentMetadata(title='Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits', description="With Alpaca's High-Yield Cash program for Trading API, you can earn interest on your idle cash, increasing account buying power and flexibility.", url='https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/', language='en', keywords=None, robots=None, og_title='Alpaca Launches High-Yield Cash Program for Trading API Users, Enabling Growth on Deposits', og_description="With Alpaca's High-Yield Cash program for Trading API, you can earn interest on your idle cash, increasing account buying power and flexibility.", og_url='https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/', og_image='https://alpaca.markets/blog/content/images/2025/05/V03_high-yield-cash_LPCA.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-05-15T13:04:18.000Z', published_time='2025-05-15T13:04:18.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/alpaca-launches-high-yield-cash-program-for-trading-api-users-enabling-growth-on-deposits/', status_code=200, scrape_id='f7258fa6-fcf3-46a3-87aa-7d6039f7d92c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca introduces OmniSub, a sub-accounting technology for brokerage firms, allowing them to manage complex operations without the need for a fully disclosed account structure. OmniSub combines the benefits of an omnibus account with detailed transaction visibility, offering real-time control over individual sub-accounts. It simplifies position management, reconciliation, corporate actions, and trade matching, reducing administrative burdens for partners. The technology is designed to enhance operational efficiency while maintaining customer privacy, making it a compelling option for firms looking to streamline their brokerage operations.', metadata=DocumentMetadata(title='Introducing OmniSub for Broker API, Alpaca’s Powerful Technology for Sub-Accounting', description='Discover OmniSub by Alpaca: a powerful technology for sub-accounting that blends omnibus flexibility with fully disclosed account visibility and ease.', url='https://alpaca.markets/blog/introducing-omnisub-for-broker-api-alpacas-powerful-technology-for-sub-accounting/', language='en', keywords=None, robots=None, og_title='Introducing OmniSub for Broker API, Alpaca’s Powerful Technology for Sub-Accounting', og_description='Discover OmniSub by Alpaca: a powerful technology for sub-accounting that blends omnibus flexibility with fully disclosed account visibility and ease.', og_url='https://alpaca.markets/alpaca.markets/blog/introducing-omnisub-for-broker-api-alpacas-powerful-technology-for-sub-accounting/', og_image='https://alpaca.markets/blog/content/images/2025/08/blog_omnisub-gtm.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-08-21T13:00:27.000Z', published_time='2025-08-21T13:00:27.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/introducing-omnisub-for-broker-api-alpacas-powerful-technology-for-sub-accounting/', status_code=200, scrape_id='f888fa16-79b1-4a6a-98a8-d33a510ccbfe', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='hit', cached_at='2025-09-24T16:10:44.906Z', credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca has launched a Stock Lending Program for US-based users, allowing them to earn passive income from their existing stock holdings. Stock lending involves lending shares to institutions for a fee, with lenders receiving interest payments. The program offers up to 50% of the interest income generated from loaned shares, with full automation and security through cash collateral. Lenders retain economic ownership of their shares, can sell them anytime, and have visibility of loaned shares. Eligibility requires an account balance of $2,500, a reported income of $20,000, or $20,000 in liquid assets. Users can enroll easily and opt out at any time.', metadata=DocumentMetadata(title='Unlock Passive Income with Alpaca’s Stock Lending Program for Trading API', description="Unlock passive income! Lend your stocks with Alpaca's new Stock Lending Program for US users. Earn competitive rates, enjoy automation, and retain ownership.", url='https://alpaca.markets/blog/unlock-passive-income-with-alpacas-stock-lending-program-for-trading-api/', language='en', keywords=None, robots=None, og_title='Unlock Passive Income with Alpaca’s Stock Lending Program for Trading API', og_description="Unlock passive income! Lend your stocks with Alpaca's new Stock Lending Program for US users. Earn competitive rates, enjoy automation, and retain ownership.", og_url='https://alpaca.markets/blog/unlock-passive-income-with-alpacas-stock-lending-program-for-trading-api/', og_image='https://alpaca.markets/blog/content/images/2025/07/V02_FPSL-blog-announcement_final.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-07-29T13:00:38.000Z', published_time='2025-07-29T13:00:38.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/unlock-passive-income-with-alpacas-stock-lending-program-for-trading-api/', status_code=200, scrape_id='437a291b-547d-43f7-ba44-6e32eb025e65', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None)]) CrawlJob(status='completed', total=10, completed=10, credits_used=10, expires_at=datetime.datetime(2025, 9, 25, 16, 11, 16, tzinfo=TzInfo(UTC)), next=None, data=[Document(markdown=None, html=None, raw_html=None, json=None, summary='Ondo Finance and Alpaca have partnered to tokenize US stocks and ETFs, creating a bridge between traditional finance and on-chain finance for global investors. This collaboration aims to enhance accessibility and investment opportunities in the financial market.', metadata=DocumentMetadata(title='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', description="Discover our latest products, stay updated on company news, read customer stories and more about Alpaca's developer-first API for stock, options, and crypto trading.", url='https://alpaca.markets/blog/', language='en', keywords=None, robots=None, og_title='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_description="Discover our latest products, stay updated on company news, read customer stories and more about Alpaca's developer-first API for stock, options, and crypto trading.", og_url='https://alpaca.markets/blog/', og_image='https://alpaca.markets/blog/content/images/2024/06/meta-image-homepage-1.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/', status_code=200, scrape_id='3171b7f9-aee2-4658-afa3-6034b1740916', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='In 2024, Alpaca achieved significant milestones, including becoming a fully self-clearing broker-dealer and launching new features like options trading. The company expanded its product offerings for both broker and retail clients, celebrated the success of its Broker API partners, and received multiple industry awards. Key product releases included self-clearing at DTCC, US options trading, a High Yield Cash API, IRA accounts, and enhancements to various trading APIs. Alpaca also strengthened its global presence through partnerships with firms like Derayah Financial and Citadel Securities, and was recognized for its innovation at the Benzinga Global Fintech Awards and Postman API Awards. Looking ahead to 2025, Alpaca plans to enhance its asset class offerings and accelerate global partnerships.', metadata=DocumentMetadata(title='Alpaca’s 2024 Year in Review', description='Alpaca had a landmark year in 2024, becoming a fully self-clearing broker-dealer, launching options trading, and developing more advanced Broker API products.', url='https://alpaca.markets/blog/alpaca-2024-year-in-review/', language='en', keywords=None, robots=None, og_title='Alpaca’s 2024 Year in Review', og_description='Alpaca had a landmark year in 2024, becoming a fully self-clearing broker-dealer, launching options trading, and developing more advanced Broker API products.', og_url='https://alpaca.markets/blog/alpaca-2024-year-in-review', og_image='https://alpaca.markets/blog/content/images/2024/12/2024-recap-blog.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-02-19T14:16:18.000Z', published_time='2024-12-20T15:00:44.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/alpaca-2024-year-in-review/', status_code=200, scrape_id='5e947a99-8d3a-4443-b623-5f470c2cc6aa', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="Abyan Capital, a Saudi Arabian robo-advisor, has launched a wealth management app utilizing the Alpaca Broker API. Founded in June 2021 by Saleh Alaqeel, Abdullah Aljeraiwi, and Omar Almania, Abyan Capital aims to provide accessible wealth management solutions for retail investors, a segment overlooked by existing players in the market. The app features a streamlined onboarding process, personalized portfolio recommendations, and funding options via Apple Pay or wire transfers. Since its launch, the app has achieved over 100,000 downloads. Abyan Capital's mission emphasizes responsible investing, authenticity, and integrity, and it has partnered with Alpaca for its brokerage and trading solutions.", metadata=DocumentMetadata(title='Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API', description='Abyan Capital is a platform that offers an automated investing and wealth management solution. Discover how they’re leveraging Alpaca Broker API.', url='https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/', language='en', keywords=None, robots=None, og_title='Abyan Capital Launches Wealth Management App for Investors in Saudi Arabia with Alpaca Broker API', og_description='Abyan Capital is a platform that offers an automated investing and wealth management solution. Discover how they’re leveraging Alpaca Broker API.', og_url='https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/', og_image='https://alpaca.markets/blog/content/images/2022/11/blog_abyan-customer-success-1.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-09-04T14:54:06.000Z', published_time='2022-12-01T16:45:00.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/abyan-capital-launches-wealth-management-app-for-investors-in-saudi-arabia-with-alpaca-broker-api/', status_code=200, scrape_id='e6f2d003-b8cb-4068-9de1-da7d140567af', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Alpaca introduces OmniSub, a technology layer for sub-accounting on top of its omnibus account structure, allowing brokerage firms to manage complexity without sacrificing flexibility. OmniSub combines the benefits of an omnibus account, such as pooled assets and customer privacy, with the detailed transaction data typically found in fully disclosed accounts. It simplifies operations like position management, reconciliation, corporate actions, and trade matching, making it easier for partners to manage their brokerage operations. The solution is designed to reduce administrative burdens and enhance operational efficiency, allowing firms to focus on growth.', metadata=DocumentMetadata(title='Introducing OmniSub for Broker API, Alpaca’s Powerful Technology for Sub-Accounting', description='Discover OmniSub by Alpaca: a powerful technology for sub-accounting that blends omnibus flexibility with fully disclosed account visibility and ease.', url='https://alpaca.markets/blog/introducing-omnisub-for-broker-api-alpacas-powerful-technology-for-sub-accounting/', language='en', keywords=None, robots=None, og_title='Introducing OmniSub for Broker API, Alpaca’s Powerful Technology for Sub-Accounting', og_description='Discover OmniSub by Alpaca: a powerful technology for sub-accounting that blends omnibus flexibility with fully disclosed account visibility and ease.', og_url='https://alpaca.markets/alpaca.markets/blog/introducing-omnisub-for-broker-api-alpacas-powerful-technology-for-sub-accounting/', og_image='https://alpaca.markets/blog/content/images/2025/08/blog_omnisub-gtm.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca Blog | Developer-First API for Stocks, Options, and Crypto', og_video=None, favicon='https://alpaca.markets/blog/content/images/size/w256h256/2024/01/alpaca_head_logo.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time='2025-08-21T13:00:27.000Z', published_time='2025-08-21T13:00:27.000Z', article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/introducing-omnisub-for-broker-api-alpacas-powerful-technology-for-sub-accounting/', status_code=200, scrape_id='9691774e-f0af-4313-96f6-c716ef977dfe', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The page outlines the regulatory fees associated with trading through Alpaca Securities LLC, which are mandated by the SEC and FINRA. Key points include: \n- SEC charges $0.00 per $1,000,000 of principal for sell orders, rounded to the nearest penny. \n- FINRA Trading Activity Fee (TAF) is $0.000166 per share for sell orders, also rounded to the nearest penny, with a maximum of $8.30. \n- A new Consolidated Audit Trail (CAT) fee will be introduced, calculated based on transaction volume for both equities and options. \n- CAT fees for NMS and OTC equities are $0.0000265 per share, while options are assessed per executed equivalent share. \n- Regulatory fees are deducted from sales proceeds, and CAT fees from buying power. \n- The page also includes disclaimers about the risks of automated trading, margin trading, and cryptocurrency trading, emphasizing the speculative nature and associated risks.', metadata=DocumentMetadata(title='Alpaca Support - What are the regulatory fees?', description='Regulatory fees are charged by the US Securities & Exchange Commission (SEC) and Financial Industry Regulatory Authority (FINRA) on all sell orders. ', url='https://alpaca.markets/support/regulatory-fees', language=None, keywords=None, robots=None, og_title='What are the regulatory fees?', og_description='Regulatory fees are charged by the US Securities & Exchange Commission (SEC) and Financial Industry Regulatory Authority (FINRA) on all sell orders. ', og_url='https://alpaca.markets/support/regulatory-fees', og_image='https://staging-webroot.tradetalk.us/support-stg/content/images/2023/03/meta-image-faq-page-2.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name='Alpaca: Help & Support🦙', og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/reg-taf-fees/', status_code=200, scrape_id='8cb255bb-35f3-4d5a-ac50-8aa60939adf2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The blog post discusses the recent developments in the financial markets, focusing on the impact of interest rate changes and inflation on investment strategies. It highlights the importance of diversification in portfolios and suggests that investors should consider alternative assets to mitigate risks. The article also emphasizes the role of technology in trading and how it can enhance decision-making processes. Key points include the need for adaptive strategies in a volatile market, the significance of staying informed about economic indicators, and the potential benefits of using automated trading systems.', metadata=DocumentMetadata(title=None, description=None, url='https://alpaca.markets/blog/sitemap-pages.xml', language=None, keywords=None, robots=None, og_title=None, og_description=None, og_url=None, og_image=None, og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon=None, dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/sitemap-pages.xml', status_code=200, scrape_id='a88664b7-1960-4fef-bc6b-8bc8ec7e9b70', num_pages=None, content_type='text/xml; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The Alpaca Markets blog features a variety of topics related to trading, technology, and finance. Key points include updates on rewards programs, deprecation of certain features, SDK usage, and case studies. The blog also covers trading APIs, broker APIs, and opinions on market trends. Other significant topics include margin trading, short selling, technical analysis, and algorithmic trading. The content is aimed at traders and developers looking to enhance their trading strategies and understand market dynamics.', metadata=DocumentMetadata(title=None, description=None, url='https://alpaca.markets/blog/sitemap-tags.xml', language=None, keywords=None, robots=None, og_title=None, og_description=None, og_url=None, og_image=None, og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon=None, dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/sitemap-tags.xml', status_code=200, scrape_id='53d9ca0f-6c26-4e96-8d4c-0d35ff1c1c6a', num_pages=None, content_type='text/xml; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The content provides links to various sitemaps from Alpaca Markets' blog, including pages, posts, authors, and tags. Each sitemap is associated with a timestamp indicating the last update. The main sitemaps listed are: 1. Pages Sitemap - updated on September 19, 2025. 2. Posts Sitemap - updated on September 4, 2025. 3. Authors Sitemap - updated on September 23, 2025. 4. Tags Sitemap - updated on March 21, 2022.", metadata=DocumentMetadata(title=None, description=None, url='https://alpaca.markets/blog/sitemap.xml', language=None, keywords=None, robots=None, og_title=None, og_description=None, og_url=None, og_image=None, og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon=None, dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/sitemap.xml', status_code=200, scrape_id='f48bf690-8304-43d8-bda0-6548dd858553', num_pages=None, content_type='text/xml; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='Abyan Capital has launched a wealth management app for investors in Saudi Arabia, utilizing the Alpaca Broker API. This app aims to provide a user-friendly platform for investment management, catering specifically to the needs of Saudi investors. The collaboration with Alpaca allows for seamless integration of trading functionalities, enhancing the investment experience. The app is part of a broader trend of fintech innovations in the region, aimed at increasing accessibility to financial markets for local investors.', metadata=DocumentMetadata(title=None, description=None, url='https://alpaca.markets/blog/sitemap-posts.xml', language=None, keywords=None, robots=None, og_title=None, og_description=None, og_url=None, og_image=None, og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon=None, dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/sitemap-posts.xml', status_code=200, scrape_id='77d67300-a051-42ad-b323-14bb08ab8782', num_pages=None, content_type='text/xml; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The provided links lead to various blog posts authored by different individuals on the Alpaca Markets website. Each link corresponds to a specific author and their respective post, showcasing a range of topics related to finance, trading, and market insights. The posts are dated from 2021 to 2025, indicating a timeline of content that reflects the evolving discussions in the financial sector. The authors include Luke, Patrick, Giovana, Nezar, Jason, Sasha, Mariangela, Crystal, Abel, Rahul, Crest, Mahmoud, Sonia, Alpaca, Yoshi, Neal, and Hitoshi, each contributing unique perspectives and expertise.', metadata=DocumentMetadata(title=None, description=None, url='https://alpaca.markets/blog/sitemap-authors.xml', language=None, keywords=None, robots=None, og_title=None, og_description=None, og_url=None, og_image=None, og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon=None, dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/blog/sitemap-authors.xml', status_code=200, scrape_id='db103650-cbfc-4131-a119-683787943b3c', num_pages=None, content_type='text/xml; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None)]) BatchScrapeJob(status='completed', completed=38, total=38, credits_used=38, expires_at=datetime.datetime(2025, 9, 25, 16, 49, 42, tzinfo=TzInfo(UTC)), next=None, data=[Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a comprehensive guide on how to start paper trading using Alpaca's Trading API. It emphasizes the importance of paper trading for simulating trades without financial risk, allowing users to test strategies and familiarize themselves with the API. Key steps include: 1) Creating an Alpaca account and accessing Google Colab; 2) Fetching API keys from the Alpaca account; 3) Setting up Google Colab and installing necessary packages; 4) Authenticating and connecting to the API; 5) Placing paper trades; and 6) Checking and verifying trades through code or the Alpaca dashboard. The guide concludes by encouraging users to explore further resources for advanced strategies.", metadata=DocumentMetadata(title="How to Start Paper Trading with Alpaca's Trading API", description="New to algo trading? Learn how to start paper trading with Alpaca's Trading API and test your strategies in five easy steps.", url='https://alpaca.markets/learn/start-paper-trading', language=None, keywords=None, robots=None, og_title="How to Start Paper Trading with Alpaca's Trading API", og_description="New to algo trading? Learn how to start paper trading with Alpaca's Trading API and test your strategies in five easy steps.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/10/how-to-start-paper-trading-with-alpacas-trading-api-1--1--1.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/start-paper-trading', status_code=200, scrape_id='cbaad3b9-9a78-42b3-8925-591b2d2237cb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article discusses the advanced algorithmic order types VWAP (Volume-Weighted Average Price) and TWAP (Time-Weighted Average Price) available through Alpaca's Trading API. These order types help traders manage large orders efficiently, reduce costs, and minimize market impact. VWAP executes trades based on the volume-weighted average price over a specified time, while TWAP executes trades evenly over time, regardless of market volume. The article provides examples of how to implement these orders using Alpaca's API, highlighting their benefits, such as market impact management and execution predictability. It also notes the risks associated with these order types and emphasizes the importance of understanding their mechanics before use.", metadata=DocumentMetadata(title='VWAP and TWAP: Optimize Your Orders with Alpaca’s Trading API', description='Learn how to optimize your trades and minimize market impact using advanced order types like VWAP and TWAP with Alpaca’s Elite Smart Router.', url='https://alpaca.markets/learn/optimize-your-orders-with-vwap-and-twap-on-alpaca', language=None, keywords=None, robots=None, og_title='VWAP and TWAP: Optimize Your Orders with Alpaca’s Trading API', og_description='Learn how to optimize your trades and minimize market impact using advanced order types like VWAP and TWAP with Alpaca’s Elite Smart Router.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/08/learn_how-to-place-VWAP-and-TWAP-orders-with-alpaca.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/optimize-your-orders-with-vwap-and-twap-on-alpaca', status_code=200, scrape_id='1f0d9d19-59a1-4350-a85f-98dd0da5bef2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a comprehensive guide on how to connect to Alpaca's Trading API for algorithmic trading using Python. It outlines the prerequisites, including signing up for a free account and selecting an IDE, specifically Google Colab. The steps include obtaining API keys, setting up Google Colab, and authenticating the connection to the API. Users are instructed to install necessary packages, initialize the API client, and verify their account setup. The guide emphasizes the importance of securely storing API keys and offers links to additional resources and example code on Alpaca's GitHub. It concludes by encouraging users to start paper trading and highlights that the Paper Trading API does not involve real money transactions.", metadata=DocumentMetadata(title='How to Get Alpaca Trading API Key and Start Connection', description="Ready to start algo trading? Learn how to sign up, find your API keys, and connect to Alpaca's Trading API, regardless of your coding experience.", url='https://alpaca.markets/learn/connect-to-alpaca-api', language=None, keywords=None, robots=None, og_title='How to Get Alpaca Trading API Key and Start Connection', og_description="Ready to start algo trading? Learn how to sign up, find your API keys, and connect to Alpaca's Trading API, regardless of your coding experience.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/10/learn_how-to-connect-to-alpaca-s-trading-api-1--1--1.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/connect-to-alpaca-api', status_code=200, scrape_id='4c31bc0d-edf2-4a47-ad7b-cad06eed999d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a comprehensive guide on trading the BTC/USD pair using Alpaca and TradingView. It covers the basics of BTC/USD, explaining its significance as a trading pair and why it's beginner-friendly due to its USD pricing, liquidity, and availability of tools. The guide outlines various trading strategies suitable for beginners, including day trading, swing trading, and long-term investing. It details how to analyze and execute trades using Alpaca's Trading API and TradingView, including connecting accounts, using technical analysis tools like trendlines and Fibonacci retracement, and placing orders. The article emphasizes the importance of risk management and having a clear trading plan, while also providing resources for further learning and integration with Alpaca's services.", metadata=DocumentMetadata(title='How to Trade BTC/USD on Alpaca and TradingView', description='Learn about basic BTC/USD chart patterns in technical analysis—what they are, how to spot them, and how to trade using TradingView and Alpaca.', url='https://alpaca.markets/learn/btc-usd-on-alpaca-and-tradingview', language='en', keywords=None, robots=None, og_title='How to Trade BTC/USD on Alpaca and TradingView', og_description='Learn about basic BTC/USD chart patterns in technical analysis—what they are, how to spot them, and how to trade using TradingView and Alpaca.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/05/how-to-trade-BTC-USD-on-Alpaca-tradingview.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/btc-usd-on-alpaca-and-tradingview', status_code=200, scrape_id='b63c663c-613a-4327-aeb9-23cb84c6f24c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The article "Algorithmic Trading in Python with Alpaca: Part 1" serves as an introduction to algorithmic trading using the Alpaca platform. It outlines the following key points: 1. **Introduction**: The series aims to develop a fully automatic trading program using Python and Alpaca\'s API. 2. **Why Use Alpaca?**: Alpaca offers commission-free trading and operates through an API, allowing users to access market data, place orders, and manage portfolios programmatically. It also provides a free sandbox environment for testing algorithms. 3. **Setting up the Alpaca API**: Users need to create an Alpaca account to access the API, which involves generating an API Key and Secret Key for authentication. 4. **Calling the API using Python**: The article explains how to set up the Python environment, install the Alpaca library, and make API calls to fetch account details and market data. It includes code examples for viewing account details, fetching historical market data, and submitting orders. The article concludes by emphasizing the basics of using Alpaca and hints at further development in the next part of the series.', metadata=DocumentMetadata(title='Algorithmic Trading in Python with Alpaca: Part 1', description='Build your first trading bot! This tutorial provides a step-by-step guide to algorithmic trading with Python and Alpaca, from setup to execution.', url='https://alpaca.markets/learn/algorithmic-trading-python-alpaca', language=None, keywords=None, robots=None, og_title='Algorithmic Trading in Python with Alpaca: Part 1', og_description='Build your first trading bot! This tutorial provides a step-by-step guide to algorithmic trading with Python and Alpaca, from setup to execution.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/algorithmic-trading-in-python-with-alpaca_part-1-1.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/algorithmic-trading-python-alpaca', status_code=200, scrape_id='a6667dcd-6235-460f-bc0e-41060561fa23', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article explains the iron butterfly options strategy, which involves four options contracts across three strike prices, aiming for profit in neutral market conditions. It details the structure of both short and long iron butterflies, their profit and loss potential, and when to use each type. The article also compares the iron butterfly with the iron condor, discusses the Greeks' impact on the strategy, and emphasizes risk management considerations. Additionally, it provides a step-by-step guide for executing a short iron butterfly using Alpaca's Trading API, including setting up the environment, selecting strategy inputs, analyzing market data, and placing orders. The importance of backtesting the strategy is highlighted, along with a manual trading guide on Alpaca's dashboard. The conclusion reiterates the defined-risk nature of the iron butterfly and the necessity for effective risk management.", metadata=DocumentMetadata(title='The Iron Butterfly Explained (and How to Trade in Python)', description="Learn about the iron butterfly options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", url='https://alpaca.markets/learn/iron-butterfly', language='en', keywords=None, robots=None, og_title='The Iron Butterfly Explained (and How to Trade in Python)', og_description="Learn about the iron butterfly options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/04/Iron-butterfly-option_learn.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/iron-butterfly', status_code=200, scrape_id='a5203d3c-7470-4b67-aa66-217da9ae55a9', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article discusses how AI agents are revolutionizing algorithmic trading by enabling traders to create trading bots using natural language processing (NLP) and large language models (LLMs) through Alpaca's Trading API. It explains the capabilities of AI agents, including understanding natural language commands and executing trades, and highlights the benefits of using Alpaca's commission-free trading platform. The article provides real-world examples of users building AI trading bots with minimal coding, emphasizing the ease of integration and the potential for both novice and experienced traders to automate their trading strategies. It also outlines common challenges and best practices for using AI in trading, encouraging users to start with paper trading and test their strategies before live execution.", metadata=DocumentMetadata(title='How Traders Are Using AI Agents to Create Trading Bots with Alpaca', description="See how traders are using AI Agents and LLMs like Claude and Chat GPT to create no or low-code trading bots with Alpaca's Trading API.", url='https://alpaca.markets/learn/how-traders-are-using-ai-agents-to-create-trading-bots-with-alpaca', language='en', keywords=None, robots=None, og_title='How Traders Are Using AI Agents to Create Trading Bots with Alpaca', og_description="See how traders are using AI Agents and LLMs like Claude and Chat GPT to create no or low-code trading bots with Alpaca's Trading API.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/04/create-ai-trading-bots-with-ai-agents-alpaca.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/how-traders-are-using-ai-agents-to-create-trading-bots-with-alpaca', status_code=200, scrape_id='348b2ced-3a9f-4933-8f25-021fb5fbf76b', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article discusses the Direct Market Access (DMA) Gateway feature offered by Alpaca's Trading API, which allows advanced traders to have direct control over where their orders are sent, bypassing intermediaries. This feature is part of the Elite Smart Router and is designed to help manage large orders, control execution costs, and minimize market impact. Users can specify order destinations directly in their API requests using the 'advanced_instructions' parameter. The article also outlines the parameters required for using DMA Gateway, the risks associated with it, and provides resources for further exploration. It emphasizes that DMA Gateway is available only to Alpaca Elite users and highlights the importance of understanding market conditions when using this feature.", metadata=DocumentMetadata(title='How to Take Control of Your Orders with DMA Gateway for Alpaca', description='Learn how to gain flexibility and control over your orders in a few simple steps with DMA Gateway for Alpaca Elite.', url='https://alpaca.markets/learn/how-to-take-control-of-your-orders-with-dma-gateway', language=None, keywords=None, robots=None, og_title='How to Take Control of Your Orders with DMA Gateway for Alpaca', og_description='Learn how to gain flexibility and control over your orders in a few simple steps with DMA Gateway for Alpaca Elite.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/08/learn_dma-how-to-take-full-control-of-your-orders--1-.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/how-to-take-control-of-your-orders-with-dma-gateway', status_code=200, scrape_id='8839ff8e-897a-489f-85aa-95061d542258', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article discusses the potential impact of Donald Trump's return to the presidency in 2025 on the stock market, particularly focusing on algorithmic trading strategies. It highlights historical trends from Trump's first term, emphasizing sectors like defense, finance, and energy that may benefit from his policies. The analysis suggests that algorithmic trading can leverage these trends through sector rotation, volatility trading, and sentiment analysis. The article also outlines a cash-secured put strategy targeting defense-related stocks and emphasizes the importance of paper trading and historical backtesting for validating trading strategies. Overall, it presents a framework for traders to navigate the anticipated market dynamics during Trump's second term.", metadata=DocumentMetadata(title='The Stock Market Under Trump: A Hypothesis Based on Former Republican Presidencies', description='In this tutorial, we build a hypothetical cash-secured put algo trading strategy surrounding the news of an incoming Republican president (with Python).', url='https://alpaca.markets/learn/the-stock-market-under-trump-a-hypothesis-based-on-former-republican-presidencies', language='en', keywords=None, robots=None, og_title='The Stock Market Under Trump: A Hypothesis Based on Former Republican Presidencies', og_description='In this tutorial, we build a hypothetical cash-secured put algo trading strategy surrounding the news of an incoming Republican president (with Python).', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/01/polygon_trump_a-hypothesis-based-on-former-republican-presidencies.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/the-stock-market-under-trump-a-hypothesis-based-on-former-republican-presidencies', status_code=200, scrape_id='7a7e5cc5-f7fb-4f1d-aed7-a7e56c73d907', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article explains the Iron Condor options trading strategy, which involves four options contracts at different strike prices to profit from neutral market conditions. It details the mechanics of the strategy, including the short and long variations, their goals, structures, profit potentials, and scenarios for potential outcomes. The article emphasizes the importance of understanding the Greeks (Delta, Gamma, Theta, Vega) for risk management and highlights the need for proper risk management and position sizing. It also provides a step-by-step guide for executing a short Iron Condor using Alpaca's Trading API, including code examples for implementation. Additionally, it discusses the significance of backtesting the strategy and offers insights into trading on Alpaca's dashboard. The article concludes with FAQs addressing common concerns about the Iron Condor strategy.", metadata=DocumentMetadata(title='The Iron Condor Explained and How to Trade it with Alpaca', description="Learn about the iron condor options strategy including types, when to use them, and how to trade them in Python using Alpaca's Trading API.", url='https://alpaca.markets/learn/iron-condor', language='en', keywords=None, robots=None, og_title='The Iron Condor Explained and How to Trade it with Alpaca', og_description="Learn about the iron condor options strategy including types, when to use them, and how to trade them in Python using Alpaca's Trading API.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/03/Iron-Condor-Option-Strategy---and-How-to-Build-with-Alpaca.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/iron-condor', status_code=200, scrape_id='8e842fc4-8354-4ea7-a7e5-64805a4ca14a', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The article "Emotionless Option Trading: A Guide for Algo Traders and Developers" discusses the impact of emotions on trading, particularly in options trading, and advocates for a systematic, emotionless approach. It highlights how emotions like fear, greed, and overconfidence can lead to impulsive decisions and poor trading outcomes. The guide emphasizes the importance of having a well-defined trading plan, utilizing algorithmic trading to minimize emotional influence, and implementing risk management strategies. Key benefits of emotionless trading include improved consistency, better risk management, reduced stress, and fewer impulsive decisions. The article also provides practical tips for creating an emotionless trading system, such as leveraging historical data, using alerts, and engaging in paper trading and backtesting to refine strategies. Ultimately, it encourages traders to adopt data-driven, emotionless strategies for greater success in the options market.', metadata=DocumentMetadata(title='Emotionless Option Trading: A Guide for Algo Traders', description='Learn more about the role of emotions in options trading and tips on how traders can potentially reduce their impact.', url='https://alpaca.markets/learn/emotionless-option-trading', language=None, keywords=None, robots=None, og_title='Emotionless Option Trading: A Guide for Algo Traders', og_description='Learn more about the role of emotions in options trading and tips on how traders can potentially reduce their impact.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/03/emotionless-options-trading.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/emotionless-option-trading', status_code=200, scrape_id='37962f65-6b93-4e1e-bb2f-1924879f3fa3', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The article "Trader to Trader: How to Get Started with Machine Learning in Trading" by Stephen Coley outlines his journey into algorithmic trading, emphasizing the transition from manual trading to algo trading despite initial coding challenges. Coley, a Master\'s student in Financial Mathematics, shares his educational background, including a shift from Theatre to Data Science, and experiences that shaped his skills in trading and programming. He details his algorithm development process using Alpaca\'s Trading API, including data collection, feature engineering, model training with CatBoost, and trading logic implementation. The article concludes with potential improvements for the algorithm and resources for further learning about options trading with Alpaca.', metadata=DocumentMetadata(title='Trader to Trader: How to Get Started with Machine Learning in Trading', description="Learn how Stephen Coley, a University of Chicago Master's student, got started in algo trading and built his machine learning strategy with Alpaca.", url='https://alpaca.markets/learn/how-to-get-started-with-machine-learning-in-trading', language=None, keywords=None, robots=None, og_title='Trader to Trader: How to Get Started with Machine Learning in Trading', og_description="Learn how Stephen Coley, a University of Chicago Master's student, got started in algo trading and built his machine learning strategy with Alpaca.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/03/trader-to-trader_stephen-2.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/how-to-get-started-with-machine-learning-in-trading', status_code=200, scrape_id='696a50ea-7495-4787-a70c-2c4ef0c951c7', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The tutorial provides a step-by-step guide on how to use OAuth to access the Alpaca API, which is designed for trading applications. It begins by instructing users to create a new OAuth app on the Alpaca platform after registering. Key steps include entering app information, obtaining a Client ID and Client Secret, constructing an authorization URL, and handling the authorization code to exchange for an access token. The document emphasizes that OAuth 2.0 is used for third-party applications to access the Alpaca Trading API on behalf of users. Additional resources and links to related articles are also provided.', metadata=DocumentMetadata(title='How to Use OAuth to Access Alpaca API?', description="Our comprehensive OAuth guide provides developers with the knowledge needed to build cutting-edge trading applications with Alpaca's API.", url='https://alpaca.markets/learn/connecting-to-oauth', language=None, keywords=None, robots=None, og_title='How to Use OAuth to Access Alpaca API?', og_description="Our comprehensive OAuth guide provides developers with the knowledge needed to build cutting-edge trading applications with Alpaca's API.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/how-to-use-oauth-to-access-alpaca-api.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/connecting-to-oauth', status_code=200, scrape_id='ad2d6c10-4dae-475c-a0f7-535e37d5baa0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The article explains 0DTE (Zero Days to Expiration) options, which are options contracts traded on their expiration day. It discusses their appeal due to lower premiums and potential for high leverage, but also highlights the risks associated with rapid price changes and time decay. Key points include the mechanics of 0DTE options, market conditions affecting their strategies, and the importance of liquidity. The article outlines the pros and cons of trading 0DTE options, including benefits like greater leverage and fewer transaction costs, and risks such as the need for close monitoring and potential for significant losses. It also describes various strategies for trading 0DTE options, such as short call and put vertical spreads, iron condors, and iron butterflies. The conclusion emphasizes the need for experienced traders to manage risks effectively while capitalizing on the unique opportunities presented by 0DTE options.', metadata=DocumentMetadata(title='0DTE Options Explained: What They Are and How To Use Them', description='0DTE options offer leveraged trading with increased flexibility. Learn about the benefits, risks, and strategies for trading these 0DTE contracts', url='https://alpaca.markets/learn/0dte-options', language=None, keywords=None, robots=None, og_title='0DTE Options Explained: What They Are and How To Use Them', og_description='0DTE options offer leveraged trading with increased flexibility. Learn about the benefits, risks, and strategies for trading these 0DTE contracts', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/0DTE-options-part-I.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/0dte-options', status_code=200, scrape_id='9fea2771-077d-4e0f-82c9-c7171c5b00ee', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The article discusses credit spreads in options trading, which are strategies that involve selling one option and buying another to create a defined risk-reward profile. Key points include: 1. **Definition**: Credit spreads involve selling a higher premium option and buying a lower premium option, resulting in a net credit. 2. **Types of Credit Spreads**: The article covers several types, including Bull Put Spreads, Bear Call Spreads, Iron Condors, and Iron Butterflies, each with specific setups, profit/loss scenarios, and market outlooks. 3. **Advantages**: Benefits include premium collection, defined risk, strategy diversification, and lower capital requirements. 4. **Disadvantages**: Limitations include capped profit potential, the need for active management, and risks if the market moves significantly against the position. 5. **Algorithmic Trading Considerations**: Emphasizes the importance of identifying optimal market conditions, dynamic risk management, and backtesting strategies. 6. **Conclusion**: Credit spreads can enhance profitability and risk control when integrated with robust market analysis and risk management tools.', metadata=DocumentMetadata(title='Credit Spreads: How The Strategy Works in Options Trading', description='Learn how credit spreads work in options trading including the types of credit spreads, profit and loss scenarios, and their pros and cons.', url='https://alpaca.markets/learn/credit-spreads', language=None, keywords=None, robots=None, og_title='Credit Spreads: How The Strategy Works in Options Trading', og_description='Learn how credit spreads work in options trading including the types of credit spreads, profit and loss scenarios, and their pros and cons.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/02/credit-spreads-learn.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/credit-spreads', status_code=200, scrape_id='104fe89a-3c88-4569-9055-920193574508', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article discusses Level 3 options trading, which involves advanced strategies using multiple options contracts to create specific risk and reward profiles. It highlights the flexibility of options for hedging risk and pursuing growth, especially for manual and algorithmic traders using Alpaca's Trading API. Key strategies include iron condors, straddles, strangles, and spreads, each with defined risks and potential profits. The article emphasizes the importance of understanding options pricing, market dynamics, and the risks involved in trading options. It also provides resources for traders to learn more about connecting to Alpaca's Trading API, paper trading, and various options trading strategies. The content concludes with a reminder of the risks associated with options trading and encourages thorough research before engaging in such strategies.", metadata=DocumentMetadata(title='Level 3 Options Trading: Explaining Advanced Options Strategies', description="Learn about advanced options trading strategies available through Alpaca's Trading API and Dashboard including straddles, strangles, and spreads.", url='https://alpaca.markets/learn/level-3-options-trading', language='en', keywords=None, robots=None, og_title='Level 3 Options Trading: Explaining Advanced Options Strategies', og_description="Learn about advanced options trading strategies available through Alpaca's Trading API and Dashboard including straddles, strangles, and spreads.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/02/v02_learn_options-lvl-3.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/level-3-options-trading', status_code=200, scrape_id='7f80287d-e9dc-4982-9094-321280a6f993', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The article explains the Options Wheel Strategy, a method in options trading that combines selling cash-secured puts and covered calls to generate income and manage risk. Key steps include: 1) Selecting an appropriate underlying asset, focusing on long-term ownership and capital constraints. 2) Selling cash-secured puts to earn premium income and establish a purchase point for the stock. 3) Optionally rolling put options to manage risk. 4) Implementing covered calls after stock acquisition to generate additional income. 5) Iterating the process for consistent income generation. The strategy emphasizes active management, understanding option Greeks, and effective risk management. It also highlights the importance of backtesting and paper trading for mastering the strategy.', metadata=DocumentMetadata(title='The Options Wheel Strategy (How to Trade in Python)', description='This in-depth guide on the wheel strategy discusses its key concepts, risk management, and how to implement it using Python.', url='https://alpaca.markets/learn/options-wheel-strategy', language='en', keywords=None, robots=None, og_title='The Options Wheel Strategy (How to Trade in Python)', og_description='This in-depth guide on the wheel strategy discusses its key concepts, risk management, and how to implement it using Python.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/12/wheel-strategy-_options-learn.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/options-wheel-strategy', status_code=200, scrape_id='a801816d-9714-42f9-8628-91cd01b31936', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a step-by-step guide on how to fund an account via the Broker API on the Alpaca platform. It begins by explaining the Broker API's purpose and its sandbox testing environment. The tutorial outlines four main steps: 1) Accessing the Broker Dashboard to view account information, 2) Setting up a testing environment with random test users, 3) Creating an ACH relationship to link a bank account, and 4) Initiating an ACH transfer to fund the account. Key points include the importance of correct formatting for bank details, the status updates for ACH relationships, and the ability to query transfer lists. The article also includes links to additional resources and related articles.", metadata=DocumentMetadata(title='How to Fund an Account via Broker API', description='In this tutorial, we provide a sample request and successful response object for funding an account via Broker API', url='https://alpaca.markets/learn/fund-broker-api', language=None, keywords=None, robots=None, og_title='How to Fund an Account via Broker API', og_description='In this tutorial, we provide a sample request and successful response object for funding an account via Broker API', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/how-to-fund-an-account-via-broker-api.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/fund-broker-api', status_code=200, scrape_id='9a2cc206-b353-4fc7-ba76-556de711882d', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a comprehensive guide on the Calendar Spread Options Strategy, which involves selling a short-term option and buying a longer-term option of the same type at the same strike price. The strategy aims to profit from the differences in time decay and implied volatility. It covers the mechanics of calendar spreads, their advantages and disadvantages, and when to use them. The article also details the types of calendar spreads (long and short) and their specific use cases, including long call and put calendar spreads, and short call and put calendar spreads. Additionally, it discusses the factors affecting calendar spreads, such as time decay, implied volatility, and price movement risk. The guide emphasizes the importance of risk management, position sizing, and backtesting strategies. It also provides a step-by-step approach to executing a calendar spread using Alpaca's Trading API, including code examples and considerations for American and European-style options. Finally, it highlights the significance of adapting strategies based on market conditions and the necessity of thorough analysis before trading.", metadata=DocumentMetadata(title='The Calendar Spread Options Strategy (and How to Build with Alpaca)', description='Learn more about calendar including what they are, when to use them, the different types, pros and cons, and how to trade them using Alpaca.', url='https://alpaca.markets/learn/calendar-spread', language='en', keywords=None, robots=None, og_title='The Calendar Spread Options Strategy (and How to Build with Alpaca)', og_description='Learn more about calendar including what they are, when to use them, the different types, pros and cons, and how to trade them using Alpaca.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/03/calendar-spreads-learn.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/calendar-spread', status_code=200, scrape_id='0c1c068e-2fc8-413a-b0e1-3371c22c1dab', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The guide provides a comprehensive overview of backtesting a 0DTE (zero days to expiration) bull put spread options strategy using Alpaca's Trading API and Databento API. It covers the following key points: 1. **Introduction to 0DTE Options**: Explanation of 0DTE options and their trading advantages and challenges. 2. **Bull Put Spread Strategy**: Details on the strategy, including selling a higher-strike put and buying a lower-strike put to limit risk. 3. **Backtesting Process**: Step-by-step instructions on how to backtest the strategy, including environment setup, data retrieval, and option selection. 4. **Data Sources**: Utilization of Alpaca and Databento APIs for historical stock and options data. 5. **Implementation of Options Greeks**: Calculation of delta and implied volatility to select appropriate options for the strategy. 6. **Execution of Trades**: Logic for executing trades based on historical data, including entry and exit conditions. 7. **Iterative Backtesting**: Running multiple trades to simulate real trading conditions and aggregating results for performance analysis. 8. **Performance Visualization**: Generating cumulative P&L charts and summarizing results. The guide emphasizes the importance of thorough backtesting before live trading and provides links to additional resources for further learning.", metadata=DocumentMetadata(title='Backtesting 0DTE Options with Python: The Full Guide', description='Learn how to backtest a 0DTE options strategy (bull put spread) in Python with Alpaca and Databento in our step-by-step guide', url='https://alpaca.markets/learn/backtesting-zero-dte-bull-put-spread-options-strategy-with-python', language='en', keywords=None, robots=None, og_title='Backtesting 0DTE Options with Python: The Full Guide', og_description='Learn how to backtest a 0DTE options strategy (bull put spread) in Python with Alpaca and Databento in our step-by-step guide', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/08/0dte-bull-put-spread-backtest-strategy-setup-performance.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/backtesting-zero-dte-bull-put-spread-options-strategy-with-python', status_code=200, scrape_id='3bc2664f-3a50-4795-bae1-ddcfd387bdd2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article explains the head and shoulders pattern, a significant chart pattern in technical analysis that signals potential trend reversals. It describes the structure of the pattern, which consists of three peaks: a higher central peak (the head) flanked by two lower peaks (the shoulders). The inverse head and shoulders pattern is also discussed, indicating a potential bullish reversal after a downtrend. The article outlines how to estimate price targets based on the pattern's size, the advantages and limitations of using this pattern, and emphasizes the importance of patience and confirmation through additional indicators. It provides guidance on identifying the pattern using TradingView, including multi-time frame analysis and the use of technical indicators like moving averages and MACD. Additionally, it introduces a Pine Script for detecting head and shoulders patterns automatically on TradingView. The article concludes by encouraging traders to integrate their findings with Alpaca's trading platform for execution.", metadata=DocumentMetadata(title='Head and Shoulders Pattern with TradingView and Alpaca', description='Learn about the head and shoulders pattern in technical analysis, what it is, how to spot it, and how to trade it with TradingView and Alpaca', url='https://alpaca.markets/learn/head-and-shoulders-pattern', language=None, keywords=None, robots=None, og_title='Head and Shoulders Pattern with TradingView and Alpaca', og_description='Learn about the head and shoulders pattern in technical analysis, what it is, how to spot it, and how to trade it with TradingView and Alpaca', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/04/02_head-and-shoulder_learn@3x-1.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/head-and-shoulders-pattern', status_code=200, scrape_id='c4b3e14d-b969-47e9-b97f-c8303c297162', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article discusses how to add an interactive line plot to a trading app using the Alpaca Market Data API. It highlights the growth of retail investing, particularly through platforms like Robinhood, which emphasizes user-friendly design and commission-free trading. The tutorial outlines the steps to fetch historical stock data using the Alpaca API, including making GET requests in Swift, processing the data into a format suitable for plotting, and displaying the plot in the app. Key components include using the Bars endpoint for historical data, structuring API responses, and utilizing Swift's Combine framework for data flow. The article concludes with implementation instructions and encourages developers to enhance user engagement through effective data visualization.", metadata=DocumentMetadata(title='Add an Interactive Line Plot to your Trading App with Alpaca Market Data API', description="Visualize market trends with interactive line plots! Learn how to integrate Alpaca's Market Data API and build dynamic charts for your trading applications.", url='https://alpaca.markets/learn/add-an-interactive-line-plot-to-your-trading-app-with-alpaca-market-data-api', language=None, keywords=None, robots=None, og_title='Add an Interactive Line Plot to your Trading App with Alpaca Market Data API', og_description="Visualize market trends with interactive line plots! Learn how to integrate Alpaca's Market Data API and build dynamic charts for your trading applications.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/add-an-interactive-lineplot-to-your-trading-app-with-alpaca-market-data-api.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/add-an-interactive-line-plot-to-your-trading-app-with-alpaca-market-data-api', status_code=200, scrape_id='2b475a4f-4d31-4cbb-be55-a87486e7ac02', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The tutorial provides a step-by-step guide on how to open an account for an end-user using the Alpaca Broker API. It begins by explaining the Broker API's purpose and its sandbox testing environment, which allows developers to test functionalities before going live. The process includes accessing the Broker Dashboard, setting up a testing environment, sending a request to open an account with required attributes (contact, identity, disclosures, agreements, documents), and handling responses. Key points include the ability to create accounts in the sandbox, potential delays in account activation in production, and various API endpoints for account management. The tutorial emphasizes compliance with regulations and offers links to additional resources.", metadata=DocumentMetadata(title='How to Open an Account for an End-User', description='In this tutorial, we provide a sample request and successful response object for opening an account for an end-user via Broker API', url='https://alpaca.markets/learn/open-account-end-user', language=None, keywords=None, robots=None, og_title='How to Open an Account for an End-User', og_description='In this tutorial, we provide a sample request and successful response object for opening an account for an end-user via Broker API', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/v02_how-to-open-an-account-for-an-end-user-by-broker-api-2.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/open-account-end-user', status_code=200, scrape_id='a3801f07-88e1-4523-992e-c9bd4dec1d13', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article explains the bull call spread, an options trading strategy for traders expecting a moderate increase in an asset's price. It involves buying a call option at a lower strike price and selling another at a higher strike price, both with the same expiration date. The guide covers the mechanics, when to use the strategy, potential risks, and provides a detailed example with a payoff diagram. It also discusses the differences between bull call spreads and bull put spreads, the importance of understanding options Greeks, and key considerations for executing the strategy using Alpaca's Trading API. Additionally, it highlights the advantages and disadvantages of bull call spreads, emphasizing defined risk exposure and cost efficiency, while noting capped profit potential and time decay risks. The article concludes with a call to backtest strategies and offers resources for further learning.", metadata=DocumentMetadata(title='The Bull Call Spread Explained and How to Trade in Python', description="Learn about the bull call spread options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", url='https://alpaca.markets/learn/bull-call-spread', language='en', keywords=None, robots=None, og_title='The Bull Call Spread Explained and How to Trade in Python', og_description="Learn about the bull call spread options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/03/bull-call-spread_learn.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/bull-call-spread', status_code=200, scrape_id='995da8f6-664e-4120-bfa4-adc071bb55e9', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article explains the bull put spread, an options trading strategy that involves selling a higher strike put option while buying a lower strike put option, both with the same expiration date. It aims to profit from premium collection while limiting potential losses. Key points include: 1. **Definition**: A bull put spread is a credit spread that profits if the underlying asset's price remains above the higher strike price at expiration. 2. **Market Conditions**: Best used in moderately bullish markets or when implied volatility is high. 3. **Example**: A detailed example illustrates the setup, potential outcomes, and profit/loss scenarios. 4. **Greeks**: The article discusses how the Greeks (Delta, Gamma, Theta, Vega) affect the strategy's performance. 5. **Risks**: Limited profit potential, risk of early assignment, and liquidity concerns are highlighted. 6. **Implementation**: The article provides a step-by-step guide for executing a bull put spread using Alpaca's Trading API, including code snippets for algorithmic trading. 7. **Conclusion**: The bull put spread is a defined-risk strategy suitable for traders expecting stable or rising prices, with a focus on risk management and market analysis.", metadata=DocumentMetadata(title='The Bull Put Spread Explained (and How to Trade in Python)', description="Learn about the bull put spread options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", url='https://alpaca.markets/learn/bull-put-spread', language='en', keywords=None, robots=None, og_title='The Bull Put Spread Explained (and How to Trade in Python)', og_description="Learn about the bull put spread options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/03/bull-put-spread_learn.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/bull-put-spread', status_code=200, scrape_id='383242dc-e5a6-44b1-a039-b840775e60f2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a comprehensive guide on implementing a gamma scalping strategy using Python and Alpaca's Trading API. It begins with an introduction to gamma scalping, explaining its significance in options trading and how it involves adjusting delta-neutral positions to profit from the gamma of an option. The guide outlines the steps to build the strategy, including setting up the trading environment, collecting data, calculating the Greeks (delta and gamma), and executing trades. Key points include the importance of maintaining a delta-neutral position, handling real-time trade updates, and continuously monitoring and adjusting the portfolio. The article emphasizes the need for risk management and provides code snippets for practical implementation. Additionally, it includes links to related resources and a YouTube tutorial for further learning.", metadata=DocumentMetadata(title='Gamma Scalping: Building an Options Strategy with Alpaca’s Trading API', description="This guide dives into how to start building and implementing a gamma scalping strategy using Python and Alpaca's Trading API.", url='https://alpaca.markets/learn/gamma-scalping', language='en', keywords=None, robots=None, og_title='Gamma Scalping: Building an Options Strategy with Alpaca’s Trading API', og_description="This guide dives into how to start building and implementing a gamma scalping strategy using Python and Alpaca's Trading API.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/Learn_Gamma-Scalping_Options-Strategy.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/gamma-scalping', status_code=200, scrape_id='58fc370b-c5da-4d2a-a468-720860748fcd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a comprehensive guide on creating a trading app using OAuth with React. It explains how to utilize Alpaca's OAuth service to access market and account data, enabling the development of various applications like market data visualization and automated investing apps. Key steps include setting up OAuth by registering an app on Alpaca's dashboard, creating a React project, and implementing routing with react-router for a multi-page application. The guide details the creation of a Home page for user authentication and a Dashboard for displaying historical stock data using candlestick charts. It emphasizes the reusability of components and the lightweight nature of OAuth applications, allowing developers to focus on user experience without backend complexities.", metadata=DocumentMetadata(title='How To Create Your Own Trading App Using OAuth with React', description="Build your own trading app with React and Alpaca's OAuth! This guide provides a step-by-step approach including set up, authentication, and dashboarding.", url='https://alpaca.markets/learn/how-to-create-your-own-trading-app-using-oauth-with-react', language=None, keywords=None, robots=None, og_title='How To Create Your Own Trading App Using OAuth with React', og_description="Build your own trading app with React and Alpaca's OAuth! This guide provides a step-by-step approach including set up, authentication, and dashboarding.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/how-to-create-your-own-trading-app-using-oauth-with-react-2.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/how-to-create-your-own-trading-app-using-oauth-with-react', status_code=200, scrape_id='4f82ca5e-5b21-475f-a5bb-7aac5aa790bb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a tutorial on building options trading algorithms using Alpaca's MCP server and Cursor AI. It outlines the steps to set up the MCP server, including prerequisites like Alpaca API keys, Python, and Cursor. The tutorial focuses on creating a bull call spread algorithm, detailing the necessary components for structuring prompts to generate production-ready code. Key features include error handling, command-line interface integration, and customization options for trading strategies. The MCP server simplifies the process of connecting AI assistants to Alpaca's Trading API, allowing users to prototype trading strategies quickly. The article concludes with resources for further learning and emphasizes the importance of understanding the risks associated with options trading.", metadata=DocumentMetadata(title='Vibe Coding: Build Option Algos with Alpaca & Cursor', description='Learn how to vibe code to build options trading algorithms with Alpaca’s MCP Server & Cursor AI in a few easy steps.', url='https://alpaca.markets/learn/vibe-coding-how-to-build-options-trading-algorithms-with-alpacas-mcp-server-cursor-ai', language=None, keywords=None, robots=None, og_title='Vibe Coding: Build Option Algos with Alpaca & Cursor', og_description='Learn how to vibe code to build options trading algorithms with Alpaca’s MCP Server & Cursor AI in a few easy steps.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/08/learn_options-algo-trading-alpaca-mcp-server-and-cursor-ai.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/vibe-coding-how-to-build-options-trading-algorithms-with-alpacas-mcp-server-cursor-ai', status_code=200, scrape_id='14d6737c-27ab-410f-8e78-d1b931322764', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The article "Calls Vs Puts: A Beginner’s Guide to Understanding Options Trading" provides an overview of options trading, focusing on call and put options. It explains that options are contracts allowing buyers to purchase or sell stocks at predetermined prices. The guide covers basic strategies like covered calls and protective puts, detailing their mechanics, benefits, and risks. Covered calls involve selling call options on owned stocks for income, while protective puts serve as insurance against stock price drops. The article emphasizes the importance of understanding trading levels and suggests using Alpaca\'s Trading API for simulated trading. It also includes Python examples for executing these strategies and highlights the need for backtesting before live trading. The conclusion encourages readers to practice with paper trading to build confidence in options trading.', metadata=DocumentMetadata(title="Calls Vs Puts: A Beginner's Guide to Options Trading", description="Learn more about the difference between covered calls and protective puts, and how to trade them using Python with Alpaca's Trading API", url='https://alpaca.markets/learn/calls-vs-puts-a-beginners-guide-to-options-trading', language='en', keywords=None, robots=None, og_title="Calls Vs Puts: A Beginner's Guide to Options Trading", og_description="Learn more about the difference between covered calls and protective puts, and how to trade them using Python with Alpaca's Trading API", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/guide-to-calls-vs-puts_understanding-level-1.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/calls-vs-puts-a-beginners-guide-to-options-trading', status_code=200, scrape_id='79c62b39-1f55-4747-9b28-7e1c1ed3c9f2', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a tutorial on how to pass an order on behalf of an end-user using the Alpaca Broker API. It begins by explaining the Broker API's purpose and its sandbox testing environment, which allows developers to test functionalities before going live. The tutorial outlines four main steps: 1) Accessing the Broker Dashboard to view account information, 2) Setting up a testing environment with random test users, 3) Sending a request to place a market order for shares of AAPL, and 4) Understanding the response received after a successful order placement. Key points include the similarity between the Trading API and Broker API, the ability to trade fractional shares, and how to check order status. Additional resources and links to related articles are provided for further learning.", metadata=DocumentMetadata(title='How to Pass an Order on Behalf of the End-User', description='In this tutorial, we provide a sample request and successful response object for passing an order on behalf of the end-user via Broker API', url='https://alpaca.markets/learn/pass-order-end-user', language=None, keywords=None, robots=None, og_title='How to Pass an Order on Behalf of the End-User', og_description='In this tutorial, we provide a sample request and successful response object for passing an order on behalf of the end-user via Broker API', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/how-to-pass-an-order-end-user-by-broker-api-2.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/pass-order-end-user', status_code=200, scrape_id='a24d1497-880f-4fe2-894f-befeb6674832', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="This guide provides a comprehensive tutorial on building a free algorithmic trading bot using the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) indicators, leveraging ChatGPT and Alpaca's Trading API. It emphasizes the growing role of AI in trading, with over 71,000 ChatGPT-related projects on GitHub, many focused on trading. The tutorial outlines steps including defining objectives, selecting technology stacks, understanding technical indicators, designing entry and exit strategies, writing pseudocode, converting it to functional Python code, and automating the bot on AWS EC2. Key points include the importance of using advanced AI models for better accuracy, the necessity of strong prompt engineering, and the risks associated with trading bots. The guide concludes with a discussion on the benefits and risks of algorithmic trading, and how Alpaca's Trading API facilitates the integration of trading bots.", metadata=DocumentMetadata(title='How to Build a Free Trading Bot with ChatGPT and Alpaca', description='Learn to build a RSI and MACD trading bot with ChatGPT and Alpaca’s Trading API: Python coding, AWS EC2 deployment, strategy design, cron jobs.', url='https://alpaca.markets/learn/free-rsi-and-macd-trading-bot-with-chatgpt-and-alpaca', language=None, keywords=None, robots=None, og_title='How to Build a Free Trading Bot with ChatGPT and Alpaca', og_description='Learn to build a RSI and MACD trading bot with ChatGPT and Alpaca’s Trading API: Python coding, AWS EC2 deployment, strategy design, cron jobs.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/05/How-to-Build-Algorithmic-Trading-Bot-with-Chat-GPT-and-Alpaca.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/free-rsi-and-macd-trading-bot-with-chatgpt-and-alpaca', status_code=200, scrape_id='7ba4da81-9e3c-40e9-ab53-317306b2f8e0', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a comprehensive guide on building an automated trading workflow using Model Context Protocol (MCP), Claude AI, Alpaca's Trading API, and Google Sheets. It explains the functionality of MCP as a middleware that allows AI tools to communicate with various applications, simplifying the trading process. Key points include: 1. Overview of MCP and its components: MCP Client, MCP Server, and Target Systems. 2. Advantages of using MCP for traders, such as natural language processing, extensible workflows, and traceable decisions. 3. Step-by-step setup instructions for integrating Claude Desktop with Alpaca's Trading API and Google Sheets. 4. Example prompts for market analysis, executing trades, and recording positions. 5. Considerations for risks and vulnerabilities associated with MCP, including permission control and data validation. The guide emphasizes the potential of AI in trading while highlighting the importance of careful implementation.", metadata=DocumentMetadata(title='How to Build an MCP-Based Trading Workflow with Alpaca', description='Learn about how to build an MCP-Based trading workflow, including what it is, how to build it with Claude AI, Alpaca, and Google Sheets', url='https://alpaca.markets/learn/mcp-trading-with-claude-alpaca-google-sheets', language=None, keywords=None, robots=None, og_title='How to Build an MCP-Based Trading Workflow with Alpaca', og_description='Learn about how to build an MCP-Based trading workflow, including what it is, how to build it with Claude AI, Alpaca, and Google Sheets', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/05/what-is-an-mcp-server.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/mcp-trading-with-claude-alpaca-google-sheets', status_code=200, scrape_id='b75a74ec-40e3-4aae-8a6d-981486df80aa', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article provides a detailed comparison of two options trading strategies: the Iron Condor and the Iron Butterfly. Both strategies involve four options and are designed for low volatility environments, but they differ in structure and risk profiles. \n\n**Iron Butterfly:**\n- Defined-risk strategy centered around the at-the-money (ATM) strike price.\n- Involves selling one ATM call and one ATM put, while buying out-of-the-money (OTM) options.\n- Higher potential profit but narrower profit range.\n- Sensitive to volatility changes and requires precise timing.\n\n**Iron Condor:**\n- Defined-risk strategy that profits from the underlying asset's price remaining within a specific range.\n- Involves selling OTM call and put options, while buying further OTM options.\n- Wider profit range but lower initial credit.\n- Less sensitive to volatility changes, making it suitable for range-bound markets.\n\n**Key Considerations for Algorithmic Trading:**\n- Both strategies require clear entry and exit rules, risk management, and backtesting.\n- The Iron Butterfly is better for low-volatility periods, while the Iron Condor is suited for mean-reverting price movements.\n\n**Conclusion:**\n- Understanding the nuances of these strategies is crucial for algorithmic traders to optimize performance and manage risks effectively.", metadata=DocumentMetadata(title='Iron Condor vs Iron Butterfly: A Deep Dive for Algorithmic Traders', description='This guide explores the iron condor and iron butterfly options strategies, focusing on mechanics, P/L scenarios, the Greeks, and risk management for algorithmic trading.', url='https://alpaca.markets/learn/iron-condor-vs-iron-butterfly', language=None, keywords=None, robots=None, og_title='Iron Condor vs Iron Butterfly: A Deep Dive for Algorithmic Traders', og_description='This guide explores the iron condor and iron butterfly options strategies, focusing on mechanics, P/L scenarios, the Greeks, and risk management for algorithmic trading.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/12/Iron-Butterflies-vs-Iron-Condors.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/iron-condor-vs-iron-butterfly', status_code=200, scrape_id='97a1e402-c6c6-4577-bc5f-94e780dfb887', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary='The article discusses the transition from paper trading to live trading in algorithmic trading, emphasizing the importance of understanding when to make this shift. Key insights include that 67.2% of Trading API users began live trading without prior paper trading, indicating a preference for real conditions. Paper trading is useful for testing strategies without financial risk, but it lacks the emotional and technical realities of live trading. The article outlines key differences between the two, such as emotional pressure, order execution realism, and risk of loss. It also provides indicators for when traders are ready to go live, including platform understanding, consistent performance, and emotional preparedness. The conclusion encourages traders to start small in live trading and to continue learning and adapting their strategies.', metadata=DocumentMetadata(title='Paper Trading vs. Live Trading: A Data-Backed Guide on When to Start Trading Real Money', description='Build the confidence to start live trading with our data-backed guide on when to transition from paper trading to live trading.', url='https://alpaca.markets/learn/paper-trading-vs-live-trading-a-data-backed-guide-on-when-to-start-trading-real-money', language='en-US', keywords=None, robots='noindex,indexifembedded, noindex,indexifembedded, noindex,indexifembedded, noindex,indexifembedded', og_title='Paper Trading vs. Live Trading: A Data-Backed Guide on When to Start Trading Real Money', og_description='Build the confidence to start live trading with our data-backed guide on when to transition from paper trading to live trading.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/07/paper-trading-vs-live-trading.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/paper-trading-vs-live-trading-a-data-backed-guide-on-when-to-start-trading-real-money', status_code=200, scrape_id='d11a9311-6905-4c03-8b48-c9162d291a74', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="This guide provides a comprehensive overview of trading 0DTE (zero days to expiration) options using Alpaca's Trading API in Python. It begins by explaining the concept of 0DTE options, their advantages, and challenges, as well as the impact of option Greeks like theta and delta. The guide emphasizes the importance of understanding market conditions, risk-reward ratios, and various strategies such as short vertical call spreads, short vertical put spreads, iron condors, and iron butterflies. It details the process of setting up a trading environment, fetching market data, and executing trades, including monitoring and exit strategies. The guide also highlights the significance of paper trading for testing strategies without financial risk. Additionally, it includes a theoretical case study of an iron condor strategy, illustrating potential profits, losses, and break-even points. Overall, the guide serves as a practical framework for traders looking to automate and efficiently manage 0DTE options trading.", metadata=DocumentMetadata(title='How To Trade 0DTE Options on Alpaca', description="Learn how to start executing a short put vertical spread 0DTE trading strategy using Python, Alpaca's Trading API, and paper trading environment.", url='https://alpaca.markets/learn/how-to-trade-0dte-options-on-alpaca', language='en', keywords=None, robots=None, og_title='How To Trade 0DTE Options on Alpaca', og_description="Learn how to start executing a short put vertical spread 0DTE trading strategy using Python, Alpaca's Trading API, and paper trading environment.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/12/0DTE-options-part-II.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/how-to-trade-0dte-options-on-alpaca', status_code=200, scrape_id='b3ae73b9-fdf2-4f24-a9db-07addaf14a9c', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article explains the bear put spread, an options trading strategy for traders expecting a moderate decline in an asset's price. It details the mechanics of the strategy, which involves buying a put option at a higher strike price and selling another at a lower strike price, both with the same expiration. The guide covers when to use this strategy, how to construct it, and provides a real-world example with a payoff diagram. It also discusses the advantages and disadvantages of bear put spreads, including defined risk and reward, lower costs compared to buying a single put, and the impact of market conditions on the strategy's effectiveness. Additionally, it outlines how to implement the strategy using Alpaca's Trading API, including setting up the environment, calculating option metrics, and executing trades. The article emphasizes the importance of backtesting and monitoring market conditions to optimize the strategy's performance.", metadata=DocumentMetadata(title='The Bear Put Spread Explained (and How to Trade in Python)', description="Learn about the bear put spread options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", url='https://alpaca.markets/learn/bear-put-spread', language='en', keywords=None, robots=None, og_title='The Bear Put Spread Explained (and How to Trade in Python)', og_description="Learn about the bear put spread options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/03/bear-put-spread_learn.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/bear-put-spread', status_code=200, scrape_id='788c5503-b10d-4605-8ca4-e8ffd96492cb', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article explains the long straddle options trading strategy, which involves buying both a call and a put option at the same strike price and expiration date, aiming to profit from significant price volatility in either direction. Key points include: 1. **Definition**: A long straddle is used when traders expect high volatility without a clear directional bias. 2. **Execution**: It requires understanding market conditions, implied volatility, and the Greeks (Delta, Gamma, Theta, Vega). 3. **Risks**: The maximum loss is limited to the total premium paid, and time decay can erode option value if the underlying asset does not move significantly. 4. **Market Conditions**: Ideal for events like earnings reports or economic announcements. 5. **Comparison**: Differentiates between long straddles and other strategies like short straddles and long strangles. 6. **Implementation**: Provides a step-by-step guide for executing a long straddle using Alpaca's Trading API, including code examples for algorithmic trading. 7. **Backtesting**: Emphasizes the importance of backtesting strategies before live trading. 8. **Conclusion**: Highlights the need for careful evaluation of costs and market conditions, and encourages using Alpaca's paper trading platform for practice.", metadata=DocumentMetadata(title='The Long Straddle Explained (and How to Trade in Python)', description="Learn about the long straddle options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", url='https://alpaca.markets/learn/long-straddle', language='en', keywords=None, robots=None, og_title='The Long Straddle Explained (and How to Trade in Python)', og_description="Learn about the long straddle options strategy including what it is, when to use it, and how to trade it in Python using Alpaca's Trading API.", og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2025/03/The-Long-Straddle-Explained--and-How-to-Trade-The-Options-Strategy-with-Alpaca-.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/long-straddle', status_code=200, scrape_id='a92f5eaa-b4a8-4285-b2d3-9cc109fa4ccd', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None), Document(markdown=None, html=None, raw_html=None, json=None, summary="The article discusses the concept of Option Greeks, which are essential for algorithmic trading strategies involving options. It explains the five Greeks: Delta, Gamma, Vega, Theta, and Rho, detailing how each measures sensitivity to various market factors such as price changes, volatility, time decay, and interest rates. \n\n1. **Delta**: Indicates how much an option's price changes with a $1 change in the underlying asset. It helps traders assess bullish or bearish positions and is crucial for delta hedging strategies.\n2. **Gamma**: Measures the rate of change of Delta, indicating how Delta will evolve with price movements. High Gamma options require frequent rebalancing to maintain delta neutrality.\n3. **Vega**: Reflects how an option's price changes with a 1% shift in implied volatility. It is always positive and is used in volatility trading strategies.\n4. **Theta**: Represents time decay, showing how much value an option loses each day. Option sellers benefit from high Theta, while buyers prefer low Theta to minimize losses.\n5. **Rho**: Measures sensitivity to interest rate changes, with positive Rho for calls and negative for puts. It is more relevant for long-term options.\n\nThe article emphasizes the advantages of using algorithms to monitor and manage these Greeks in real-time, allowing for precise adjustments to trading strategies. It also discusses the importance of backtesting and the potential risks associated with algorithmic trading, such as market noise and technical glitches. Finally, it highlights scenarios where manual trading may still be beneficial for understanding the Greeks and making informed decisions.", metadata=DocumentMetadata(title='Option Greeks: What They Are and How They Can Be Used', description='Learn more about the option Greeks including what they are, how they work, and how they can be used in algorithmic trading.', url='https://alpaca.markets/learn/option-greeks', language=None, keywords=None, robots=None, og_title='Option Greeks: What They Are and How They Can Be Used', og_description='Learn more about the option Greeks including what they are, how they work, and how they can be used in algorithmic trading.', og_url=None, og_image='https://alpaca.markets/learn-api/content/images/2024/11/options-greeks.png', og_audio=None, og_determiner=None, og_locale=None, og_locale_alternate=None, og_site_name=None, og_video=None, favicon='https://files.alpaca.markets/webassets/favicon-32x32.png', dc_terms_created=None, dc_date_created=None, dc_date=None, dc_terms_type=None, dc_type=None, dc_terms_audience=None, dc_terms_subject=None, dc_subject=None, dc_description=None, dc_terms_keywords=None, modified_time=None, published_time=None, article_tag=None, article_section=None, source_url='https://alpaca.markets/learn/option-greeks', status_code=200, scrape_id='c3cccae8-14d9-4f30-ba9f-be937f1e3756', num_pages=None, content_type='text/html; charset=utf-8', proxy_used='basic', cache_state='miss', cached_at=None, credits_used=1, error=None), links=None, images=None, screenshot=None, actions=None, warning=None, change_tracking=None)])