Hello guys, I’m trying to pull my current stock holdings ticker symbols from Tradestation broker and export them to a google sheets spreadsheet using Parabola to mediate this link
I am not successful in setting the connection between Tradestation and Parabola. I wonder if someone had success doing this before or can help with the API settings
@daniel , sorry for the late reply but I was traveling and I was meaning to send you this. Everytime I try to apply the Oauth settings I get this error attached
Hi @Sameh_Radwan - Stepping in for Daniel to help! It looks like the callback URL that is being provided on the Parabola side may not match what you have saved on the TradeStation side.
Hi @Emory_Stainbrook ! Thank you for your reply, appreciate it. So I have not saved any callback urls on Tradestation because I was not able to access the link they provided in the url "[https://config.tslogin.auth0.com/]
I sent this to Tradestation API team and this is what they sent:
It is not immediately clear why you would be encountering an issue with the redirect_uri (callback).
In general, the redirect_uri is only need initially when you first obtain a refresh token. Once you have obtained a refresh token, the redirect_uri is no longer needed.
Once you have obtained a refresh token, access tokens can be generated as needed through an x-www-form-urlencoded POST request to https://signin.tradestation.com/oauth/token
Note, a new access token should only be obtained when the current one is approaching expiration or has expired.
For a greater explanation on the authentication process, see the following topic:
Hey @Ayana_Usui , I made contact with Tradestation API team and the callback URL was added to my API key. but now when I try to apply the settings, this shows up intead: “No data received”
Hi @Sameh_Radwan - From the screenshot that you sent over, it looks like the API Endpoint URL is blank. You’ll need to set up that endpoint to start pulling in data now that you’re connected. Happy to help with the formatting of that endpoint. What data are you looking to pull in?
Pull my current stock holdings (ticker symbols like AAPL, etc) automatically into a google sheets spreadsheet. I am trying to monitor their earnings dates
Practice semi-automated trading through another google spreadsheet where everyday I document multiple ticker symbols, trade direction (BUY/SELL), entry price, share size and then have limit orders sent automatically from that spreadsheet to tradestation next morning premarket. let me know if you want to see an example of that spreadsheet.
Hi @Sameh_Radwan - Thank you for that information! Could you please reach out to us at help@parabola.io and send over a link to the Flow where you’re setting this up so we can take a look? Thank you!
Hi @Emory_Stainbrook , I was finally able to pull my positions thanks to your help! Thank you for that, now last thing is sending orders from google sheets to TS, I just needed to check with you the format of the order: as you can see in TS documentation Here there are many languages I can use to format the order (Python, C#, shell, etc…) which format should i choose?
@Emory_Stainbrook , I would appreciate help with the formatting portion as I’ve been struggling!
So I’m trying to pull data from google sheets and send them as multiple orders to tradestation. I am using a flow with 2 steps: 1. pull from google sheets 2. send to API. endpoint url is https://api.tradestation.com/v3/orderexecution/orders per this
I realize that orders need to be sent in JSON format like this?
I tried writing this JSON paragraph in cell A1 of the spreadsheet as shown in screenshot. Flow ran successfully but no orders were sent. whenever I try to send multiple rows from sheets (multiple orders), flow gives a 500 error. Can you help with proper formatting/ and being able to send multiple orders?
third screenshot attached shows flow was run successfully (not exact same order but just showing you how things went)
Thank you so much, appreciate your patience with this!
For formatting JSON body, we recommend using an online validator/formatter like jsonlint!
Flow ran successfully but no orders were sent.
Is this an intentional outcome after running the Flow or were there orders supposed to be placed? If an order was supposed to be placed, it seems like the request being sent needs to be adjusted.
Could you send us how the Request Body section in the Send to API step is set up? It looks like the JSON format looks correct from the example they have posted on their API documentation!
@Ayana_Usui Thanks for that. I have tried adjusting the body but still order not going through. let me show you what I have. I even tried adding header value: application/json but still nothing