How to get the percent change using Marketstack? - stock

I know how to calculate the change if I need to. I'm just not seeing how I can get the data needed to calculate it (original stock price) or just the percent change itself. Their website shows the percent change in example images on the home page, so it seems like it should be possible. I'm not very versed in Stock Market stuff, so it may entirely be my ignorance here.
I really only need end of day data but I've tried numerous endpoints, read through the docs, etc. I'm just stuck, any help is greatly appreciated.

Related

Getting all filled orders from the Binance API

I am working on a trading bot and I wanted to train it by getting a list of my order history from Binance for a specific period of time. I looked at the API documentation here, but it seems that I am always required to provide a ticker symbol. While iterating over all tickers is an option, it will take forever to complete (I'm trying to get data for a full year). Can anyone point me to a less stupid way of doing this?
P.s. I also looked into allOrdersList but that only provides OCO orders and that is different than regular orders. See here. Any help would be greatly appreciated.
It's not currently possible (still, as of June 2021).
Many developers are complaining about the lack of such a commonly-used endpoint. See https://dev.binance.vision/t/fetch-all-account-orders/279
The only workarounds seem to be:
Looking at the user's current coin balances, and iterating over those relevant trading pairs (although this will miss the trades where the balance is now zero)
Iterate over every symbol offered by Binance – and there are a lot! This is ridiculous, and requires careful management of rate limits, but appears to be the only comprehensive solution.
Add your voice to the thread above, so that perhaps Binance might implement a more sane endpoint.
Loop over all symbols once to get your entire order history. Then save the distinct symbols to a file/database. Then every time you make a order and it's on a new symbol append that symbol to your file/database.

What's the most efficient method to overlay data on top of a PDF?

I need to created hundreds of PDFs each day. Each PDF will be the same blank purchase order, on top of which will be pasted various data points such as offer prices, dates, buyer names, seller names, etc. This will have the effect of creating hundreds of purchase orders each day, automatically.
I am thinking the best way to do this would be to take the data and paste it on top of the PDF using x/y coordinates.
I am looking for this community's thoughts on which technology would be best to use to put the data on top of / in the PDF. What are your thoughts? What questions can I answer for you that might give you further clarification?
I'm new to this forum, so apologies in advance if I'm posting this in the wrong place. If you have suggestions about where I should post this or what tags I should add, I would appreciate that as well!

In Qualtrics, how to hide a slider from being displayed until a response is given?

I'm trying to create a survey containing several slider-type questions, asking participants to select a point on a line to indicate their experience of different emotions. For example:
Not at all anxious -----------------------|---------------------Extremely anxious
These questions are meant to serve as visual analogue scales (VAS), often used in my field but typically administered via paper/pen. A digital VAS would be very useful for my research, but I have 2 problems with the Qualtrics format.
First, I need to hide the vertical slider until participants selects a point on the line (in effect removing any visual "starting point" that can influence responses). Second, I can't force participants to respond to every question, so I need a way to distinguish those who skip a question/don't answer (including code to check if the slider was displayed or not displayed when the participant chooses to continue to the next question might work, so that Qualtrics stores no response for that question if the slider is still hidden).
Thanks for the help! I'm not a coder, so I would really value any and all advice!

Big Commerce, Top\Featured\New Products on category page

Hi there working with bigcommerce Im looking to get the following style of break down on each category page
Essentially making a category version of;
%%Panel.HomeFeaturedProducts%%
%%Panel.SideTopSellers%%
%%Panel.HomeNewProducts%%
Ive gone ahead and attempted this however they seem to be pulling in from global values, and there dose not seem to me much option to break these down or limit the category, has anyone done this previously and if so how?
developerscott is correct in those panels not offering contextually unique data. I'd recommend looking into Unbxd. It has a 30 day trial so you can either investigate their programmatic solution or use it in place of making your own.

MDX / SSAS - Need flexible percent of parent measure

I’ve been searching for hours on this and I’m just not adept enough at MDX to know if I’ve come across the solution yet. Everything I tried has not worked. The situation is, I need a “percent of parent” measure. In this example, the only thing I have gotten to work, each product code attribute displayed shows it’s sales as a percentage of every other product code attribute displayed:
([Product].[Product Code].CURRENTMEMBER,
[Measures].[Sales]) / ([Product].[Product Code].CURRENTMEMBER.PARENT,
[Measures].[Sales])
The problem is when the users start dragging other dimensions in or other attributes not in that hierarchy, or don’t use the product code attribute, it stops working and I get #NUM! values. Is there anyway to do a better percent of parent measure that’s more flexible? I really need something like a “percent of what’s visible” measure, ideally not dependent on a single dimension.
unfortunately I can't provide a fully working example due to the lack of my laptop during my vacation :-)
What you're looking for can be achieved with the MDX functions AXIS and ITEM. Within this book
http://www.amazon.com/Microsoft-Server-Analysis-Services-Cookbook/dp/1849681309/ref=sr_1_1?ie=UTF8&qid=1372255356&sr=8-1&keywords=tomislav+piasevoli
there is a dedicated chapter about "Context-Aware Calculations"
Hope this helps somehow
Tom