# Alpaca Integration Applications

**URL:** https://forum.alpaca.markets/c/programming/11.md?page=3

[Latest](https://forum.alpaca.markets/latest.md) · [Categories](https://forum.alpaca.markets/categories.md)

**Page:** 4

---

## [Issue with Trading API - corporate announcements](https://forum.alpaca.markets/t/issue-with-trading-api-corporate-announcements/14215)

<div class="topic-metadata">

**Author:** [@sc9](https://forum.alpaca.markets/u/sc9)\
**Replies:** 0\
**Last updated:** [May 15, 2024, 6:30pm UTC](https://forum.alpaca.markets/t/issue-with-trading-api-corporate-announcements/14215 "2024-05-15T18:30:13Z")

</div>

I’m trying to find recent splits, what am I doing wrong? from alpaca.trading.client import TradingClient from alpaca.trading.requests import GetCorporateAnnouncementsRequest from alpaca.trading.enums import CorporateAct…

---

## [Tick size - how to get (Convert currency vs ticks)](https://forum.alpaca.markets/t/tick-size-how-to-get-convert-currency-vs-ticks/13964)

<div class="topic-metadata">

**Author:** [@demez.christophe](https://forum.alpaca.markets/u/demez.christophe)\
**Replies:** 2\
**Last updated:** [April 3, 2024, 5:37pm UTC](https://forum.alpaca.markets/t/tick-size-how-to-get-convert-currency-vs-ticks/13964 "2024-04-03T17:37:18Z")

</div>

Hi, I’m building an application and I wish to add the ability to convert between For now, I try to convert to/from quote currency to ticks, using the ‘tick size’, but I can’t find a way to got this information with the…

---

## [Zapier connectivity bis broken](https://forum.alpaca.markets/t/zapier-connectivity-bis-broken/3688)

<div class="topic-metadata">

**Author:** [@fcinvestments](https://forum.alpaca.markets/u/fcinvestments)\
**Replies:** 17\
**Last updated:** [March 27, 2024, 10:45pm UTC](https://forum.alpaca.markets/t/zapier-connectivity-bis-broken/3688 "2024-03-27T22:45:53Z")

</div>

Hi, Could you please look into the Oauth integration with zapier, it flashes a URI error when I try to sign in. Thank you!

---

## [Can't connect to MinuteBar websocket](https://forum.alpaca.markets/t/cant-connect-to-minutebar-websocket/13925)

<div class="topic-metadata">

**Author:** [@Jakob\_Lilliemarck](https://forum.alpaca.markets/u/Jakob_Lilliemarck)\
**Replies:** 0\
**Last updated:** [March 26, 2024, 6:34am UTC](https://forum.alpaca.markets/t/cant-connect-to-minutebar-websocket/13925 "2024-03-26T06:34:24Z")

</div>

I’m writing a client for Alpaca in Rust, and in doing so I’m trying to subscribe to Trade, Qoute and MinuteBar streams over websocket. I can’t find any documentation that seems to be really up to date, but I managed to a…

---

## [Websocket rejected (403) and 404 Client Error](https://forum.alpaca.markets/t/websocket-rejected-403-and-404-client-error/13914)

<div class="topic-metadata">

**Author:** [@BosJelle](https://forum.alpaca.markets/u/BosJelle)\
**Replies:** 3\
**Last updated:** [March 24, 2024, 3:13pm UTC](https://forum.alpaca.markets/t/websocket-rejected-403-and-404-client-error/13914 "2024-03-24T15:13:35Z")

</div>

When trying to setup a connection in Python (on my paper trading account), I get the following warning on my MacOS Monterey: “WARNING:alpaca\_trade\_api.stream:trading stream websocket error, restarting connection: serve…

---

## [Asset class keyword causing error in Python](https://forum.alpaca.markets/t/asset-class-keyword-causing-error-in-python/2865)

<div class="topic-metadata">

**Author:** [@pkdenver](https://forum.alpaca.markets/u/pkdenver)\
**Replies:** 5\
**Last updated:** [March 21, 2024, 12:52pm UTC](https://forum.alpaca.markets/t/asset-class-keyword-causing-error-in-python/2865 "2024-03-21T12:52:11Z")

</div>

Can the Asset element “class” be renamed to something different? It’s a python keyword and problematic in my code. It gives me an error when I try to access it. Code snippet and error indicated below: asset = api.get\_as…

---

## [1 minute historical data python doesnt work](https://forum.alpaca.markets/t/1-minute-historical-data-python-doesnt-work/13854)

<div class="topic-metadata">

**Author:** [@Mo\_He](https://forum.alpaca.markets/u/Mo_He)\
**Replies:** 4\
**Last updated:** [March 15, 2024, 9:26pm UTC](https://forum.alpaca.markets/t/1-minute-historical-data-python-doesnt-work/13854 "2024-03-15T21:26:24Z")

</div>

Hello all, I downloaded the 1 minute historical data in the past using python, but recently it doesn’t work anymore. I’m using the free API key, is this a problem of the free key or in general? It worked till around end…

---

## [Which day of the quote does Option API return?](https://forum.alpaca.markets/t/which-day-of-the-quote-does-option-api-return/13839)

<div class="topic-metadata">

**Author:** [@Steven\_Wang](https://forum.alpaca.markets/u/Steven_Wang)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 6:13am UTC](https://forum.alpaca.markets/t/which-day-of-the-quote-does-option-api-return/13839 "2024-03-13T06:13:18Z")

</div>

Hello I tried the new Option API. The returned data seem one-day older. Here is an example. The request was send on 3/12/2024 after the market close. The return data is like: {“option\_contracts”:\[{“id”:“d12adfd2-e140-4…

---

## [View current portfolio in python with alpaca api](https://forum.alpaca.markets/t/view-current-portfolio-in-python-with-alpaca-api/13836)

<div class="topic-metadata">

**Author:** [@Anay\_Shah](https://forum.alpaca.markets/u/Anay_Shah)\
**Replies:** 0\
**Last updated:** [March 12, 2024, 11:05pm UTC](https://forum.alpaca.markets/t/view-current-portfolio-in-python-with-alpaca-api/13836 "2024-03-12T23:05:10Z")

</div>

Is there a python function built into the Alpaca api module that allows me to see MY current portfolio. For ex: if my account has stocks in Amazon, Microsoft, and Google; the code should print each ticker symbl with a “/…

---

## [Quantower - Alpaca issue sending orders](https://forum.alpaca.markets/t/quantower-alpaca-issue-sending-orders/13759)

<div class="topic-metadata">

**Author:** [@perddiccas](https://forum.alpaca.markets/u/perddiccas)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 9:23am UTC](https://forum.alpaca.markets/t/quantower-alpaca-issue-sending-orders/13759 "2024-03-01T09:23:33Z")

</div>

I have a problem when I send orders from Quantower to Alapaca… The connection between them is ok, as I see the Account info, and the symbols data… The problem is that when I send an order to alpaca through a strategy, …

---

## [Python Webbsocket error Errorno 104](https://forum.alpaca.markets/t/python-webbsocket-error-errorno-104/13746)

<div class="topic-metadata">

**Author:** [@Ricardo](https://forum.alpaca.markets/u/Ricardo)\
**Replies:** 0\
**Last updated:** [February 28, 2024, 1:55pm UTC](https://forum.alpaca.markets/t/python-webbsocket-error-errorno-104/13746 "2024-02-28T13:55:56Z")

</div>

Hi, I’m receiving an error Errno 104 connection reset by peer when streaming data using websockets. After some search it seems that this error is produced on the server side. I am using a dispatcher as recommended in th…

---

## [Help understanding protective order workflows](https://forum.alpaca.markets/t/help-understanding-protective-order-workflows/13725)

<div class="topic-metadata">

**Author:** [@l.kerrigan87](https://forum.alpaca.markets/u/l.kerrigan87)\
**Replies:** 0\
**Last updated:** [February 24, 2024, 9:29am UTC](https://forum.alpaca.markets/t/help-understanding-protective-order-workflows/13725 "2024-02-24T09:29:17Z")

</div>

Hello Alpaca Community, I am currently developing an app and need some guidance on integrating my order workflows, specifically regarding protective orders. I have two scenarios where I’m a bit stuck: Scenario 1: I’m l…

---

## [Streaming Trade Assumption](https://forum.alpaca.markets/t/streaming-trade-assumption/13653)

<div class="topic-metadata">

**Author:** [@trevdawg122](https://forum.alpaca.markets/u/trevdawg122)\
**Replies:** 3\
**Last updated:** [February 15, 2024, 3:34pm UTC](https://forum.alpaca.markets/t/streaming-trade-assumption/13653 "2024-02-15T15:34:27Z")

</div>

Is it safe to assume that a trade Stream object from alpaca\_trade\_api.stream will always provide trades with volume \> 0 or should I account for \<= 0 volume in trade data received from a stream? Thanks.

---

## [Not able to get more than 100 historical orders using activities endpoint](https://forum.alpaca.markets/t/not-able-to-get-more-than-100-historical-orders-using-activities-endpoint/13652)

<div class="topic-metadata">

**Author:** [@CuCrest](https://forum.alpaca.markets/u/CuCrest)\
**Replies:** 2\
**Last updated:** [February 12, 2024, 7:32pm UTC](https://forum.alpaca.markets/t/not-able-to-get-more-than-100-historical-orders-using-activities-endpoint/13652 "2024-02-12T19:32:25Z")

</div>

Hi, I’m trying to get the account order history (FILL) using the /v2/account/activities/activity\_type/ endpoint but I’m not able to get the pagination to work as the result only provides a list of 100 transactions. Ins…

---

## [Regarding the Java Set Up](https://forum.alpaca.markets/t/regarding-the-java-set-up/13563)

<div class="topic-metadata">

**Author:** [@andrew\_sal](https://forum.alpaca.markets/u/andrew_sal)\
**Replies:** 0\
**Last updated:** [January 26, 2024, 6:28pm UTC](https://forum.alpaca.markets/t/regarding-the-java-set-up/13563 "2024-01-26T18:28:01Z")

</div>

I want to develop a bot using Java. Currently I am starting the project using IntelliJ. I went to the community library using Java but it seems to be geared towards using Gradile. Should I just incorporate to be able to …

---

## [OHLC out of order in dataframe](https://forum.alpaca.markets/t/ohlc-out-of-order-in-dataframe/13555)

<div class="topic-metadata">

**Author:** [@onesNzeros](https://forum.alpaca.markets/u/onesNzeros)\
**Replies:** 0\
**Last updated:** [January 25, 2024, 8:41pm UTC](https://forum.alpaca.markets/t/ohlc-out-of-order-in-dataframe/13555 "2024-01-25T20:41:20Z")

</div>

Did Alpaca change the order of the OHLC in the dataframe when retrieving historical bars? I’m using the alpaca\_trade\_api to retrieve historical bars at the start of the day and then subscribing to minute bars and updatin…

---

## [Is there a way to develop a personal app for myself only?](https://forum.alpaca.markets/t/is-there-a-way-to-develop-a-personal-app-for-myself-only/13453)

<div class="topic-metadata">

**Author:** [@tommyz23](https://forum.alpaca.markets/u/tommyz23)\
**Replies:** 1\
**Last updated:** [January 16, 2024, 8:46am UTC](https://forum.alpaca.markets/t/is-there-a-way-to-develop-a-personal-app-for-myself-only/13453 "2024-01-16T08:46:39Z")

</div>

Hello Alpaca team, As I dive into using the Alpaca API, I’m curious to know if it’s possible to run the live API without the necessity of demonstrating my app. My intention is to solely run it with live data for persona…

---

## [Https://paper-api.alpaca.markets](https://forum.alpaca.markets/t/https-paper-api-alpaca-markets/13450)

<div class="topic-metadata">

**Author:** [@mistrymachine](https://forum.alpaca.markets/u/mistrymachine)\
**Replies:** 0\
**Last updated:** [January 12, 2024, 4:01pm UTC](https://forum.alpaca.markets/t/https-paper-api-alpaca-markets/13450 "2024-01-12T16:01:21Z")

</div>

https://paper-api.alpaca.markets - this endpoint is not working. get Response \[404\] every time. Trying to learn paper trading in python & cannot get past this issue. Has Alpaca stopped supporting this paper trading pla…

---

## [HTTPError: 400 Client Error: Bad Request for url](https://forum.alpaca.markets/t/httperror-400-client-error-bad-request-for-url/13385)

<div class="topic-metadata">

**Author:** [@Nayrouz\_Hamdy](https://forum.alpaca.markets/u/Nayrouz_Hamdy)\
**Replies:** 1\
**Last updated:** [January 3, 2024, 5:05pm UTC](https://forum.alpaca.markets/t/httperror-400-client-error-bad-request-for-url/13385 "2024-01-03T17:05:33Z")

</div>

from this link , i got the code to fetching Historical Bars data , (How to Fetch Historical Data in Alpaca Market Data API v2) but i keep receving this error: HTTPError: 400 Client Error: Bad Request for url: https://…

---

## [Why is it impossible to concurrently open long and short bracket orders?](https://forum.alpaca.markets/t/why-is-it-impossible-to-concurrently-open-long-and-short-bracket-orders/13159)

<div class="topic-metadata">

**Author:** [@reshawn](https://forum.alpaca.markets/u/reshawn)\
**Replies:** 6\
**Last updated:** [November 27, 2023, 9:16am UTC](https://forum.alpaca.markets/t/why-is-it-impossible-to-concurrently-open-long-and-short-bracket-orders/13159 "2023-11-27T09:16:58Z")

</div>

Hi all, new to the forum so if I make a mistake or post in the wrong place please let me know. If I perform the following sequence of events it results in an error and failure to open the second entry. The initial requ…

---

## [The redirect uri included is not valid](https://forum.alpaca.markets/t/the-redirect-uri-included-is-not-valid/10122)

<div class="topic-metadata">

**Author:** [@santiago.zuniga](https://forum.alpaca.markets/u/santiago.zuniga)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 10:54pm UTC](https://forum.alpaca.markets/t/the-redirect-uri-included-is-not-valid/10122 "2023-11-20T22:54:54Z")

</div>

Hi! I’m working to integrate Alpaca with a mobile app. The integration is developed using Python Django. I managed to integrate it, but at the moment I go to the Alpaca platform and login, I got a message “The redirect…

---

## [Sort positions by creation time](https://forum.alpaca.markets/t/sort-positions-by-creation-time/13061)

<div class="topic-metadata">

**Author:** [@Vejas](https://forum.alpaca.markets/u/Vejas)\
**Replies:** 3\
**Last updated:** [November 1, 2023, 9:56am UTC](https://forum.alpaca.markets/t/sort-positions-by-creation-time/13061 "2023-11-01T09:56:59Z")

</div>

Hello everyone, I was wondering if it is possible to sort my current positions by time of creation in ascending or descending order in Python. Also one idea, since I’m developing a pairs trading strategy, it would be a…

---

## [Changing stops on a open position](https://forum.alpaca.markets/t/changing-stops-on-a-open-position/1267)

<div class="topic-metadata">

**Author:** [@rusted](https://forum.alpaca.markets/u/rusted)\
**Replies:** 6\
**Last updated:** [October 8, 2023, 4:13pm UTC](https://forum.alpaca.markets/t/changing-stops-on-a-open-position/1267 "2023-10-08T16:13:24Z")

</div>

I’m looking to change the stop (or limit) value for an open position. This isn’t a trailing stop as requested elsewhere, just the change of the regular stop/limit value on a position - I can’t see anything in the docume…

---

## [Historical Data timestamps seem to be odd](https://forum.alpaca.markets/t/historical-data-timestamps-seem-to-be-odd/13051)

<div class="topic-metadata">

**Author:** [@Alun\_Thomas](https://forum.alpaca.markets/u/Alun_Thomas)\
**Replies:** 3\
**Last updated:** [October 26, 2023, 4:56am UTC](https://forum.alpaca.markets/t/historical-data-timestamps-seem-to-be-odd/13051 "2023-10-26T04:56:48Z")

</div>

Hi , I’m linking up to to the historical feed using the SDK, but when requesting historical data via some simple code \[as per the SDK\], the timestamps look random. I’m not using anything pytz-related within the code arg…

---

## [Curl gives SSL cert problem](https://forum.alpaca.markets/t/curl-gives-ssl-cert-problem/13019)

<div class="topic-metadata">

**Author:** [@colinm](https://forum.alpaca.markets/u/colinm)\
**Replies:** 4\
**Last updated:** [October 23, 2023, 12:49am UTC](https://forum.alpaca.markets/t/curl-gives-ssl-cert-problem/13019 "2023-10-23T00:49:11Z")

</div>

Not sure how to solve this, is it that I cannot use a self signed certificate? Thanks for any assistance. Using Curl for windows curl: (60) SSL certificate problem: unable to get local issuer certificate More details…

---

## [API: Get\_all\_assets generates error on Crypto's](https://forum.alpaca.markets/t/api-get-all-assets-generates-error-on-cryptos/12343)

<div class="topic-metadata">

**Author:** [@lorenzo](https://forum.alpaca.markets/u/lorenzo)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 4:15am UTC](https://forum.alpaca.markets/t/api-get-all-assets-generates-error-on-cryptos/12343 "2023-05-08T04:15:56Z")

</div>

Since the recent updates in Alpaca (5th May’23), I have noticed an error when asking assets or positions that involve Crypto’s !! For example: get\_all\_assets() I used to get the list of all tradeable assets (us stocks…

---

## [500 - Internal Server Error calling py-sdk](https://forum.alpaca.markets/t/500-internal-server-error-calling-py-sdk/12995)

<div class="topic-metadata">

**Author:** [@hola](https://forum.alpaca.markets/u/hola)\
**Replies:** 0\
**Last updated:** [October 17, 2023, 7:03pm UTC](https://forum.alpaca.markets/t/500-internal-server-error-calling-py-sdk/12995 "2023-10-17T19:03:57Z")

</div>

Today, I was exploring the features of the Alpaca broker and delving into the Alpaca Py SDK and found an example of creating a new account. I’ve just changed a bit the original example and tried to send a request through…

---

## [Internal Server Error when fetching candles](https://forum.alpaca.markets/t/internal-server-error-when-fetching-candles/12976)

<div class="topic-metadata">

**Author:** [@bennycode](https://forum.alpaca.markets/u/bennycode)\
**Replies:** 2\
**Last updated:** [October 12, 2023, 7:12pm UTC](https://forum.alpaca.markets/t/internal-server-error-when-fetching-candles/12976 "2023-10-12T19:12:43Z")

</div>

Hi, I just tried to fetch Historical bars using the playground here (Historical bars) and also using the “@master-chief/alpaca-ts” npm package. Both attempts resulted in a HTTP 500 Server Error but the Alpaca status page…

---

## [Data API Problem](https://forum.alpaca.markets/t/data-api-problem/12974)

<div class="topic-metadata">

**Author:** [@CurtisDehaven](https://forum.alpaca.markets/u/CurtisDehaven)\
**Replies:** 2\
**Last updated:** [October 11, 2023, 2:58pm UTC](https://forum.alpaca.markets/t/data-api-problem/12974 "2023-10-11T14:58:02Z")

</div>

HI, All… I’ve been using the Data API for open/close/high/low data nightly for quite awhile. All of a sudden it’s not working. My app now gets a “400 Bad Request”. An example url that used to work, but doesn’t anym…

---

## [C# SDK List Assets Broke? See link. IPO error](https://forum.alpaca.markets/t/c-sdk-list-assets-broke-see-link-ipo-error/12921)

<div class="topic-metadata">

**Author:** [@Homer](https://forum.alpaca.markets/u/Homer)\
**Replies:** 4\
**Last updated:** [September 29, 2023, 6:36pm UTC](https://forum.alpaca.markets/t/c-sdk-list-assets-broke-see-link-ipo-error/12921 "2023-09-29T18:36:09Z")

</div>

[Previous page](https://forum.alpaca.markets/c/programming/11.md?page=2)

[Next page](https://forum.alpaca.markets/c/programming/11.md?page=4)
