Questions tagged [stock]

1109 questions
59
votes
5 answers

What is the difference between isSaleable() and isAvailable()?

I'm working on the display of the stock availability on the (individual) product page of my Magento theme, and there's something I don't completely understand about this. I see two methods being used in the templates to check whether a product is…
pancake
  • 1,863
  • 2
  • 20
  • 42
46
votes
4 answers

Download all stock symbol list of a market

I need to download in some way a list of all stock symbol of specified market. I've found in this link ho can I do it someway. It uses following link in order to retrieve stock list that statisfies some…
Jepessen
  • 9,377
  • 11
  • 64
  • 111
34
votes
1 answer

Free JSON formatted stock quote API (live or historical)

I have an project where i implement live stock updates of various companies of all countries. Can any one tell me where we can find "Free API" to fetch these details. I already search a lot on Google only found "Pro API". Need help :)
Ramit Joshi
  • 359
  • 1
  • 3
  • 5
28
votes
4 answers

Converting OHLC stock data into a different timeframe with python and pandas

Could someone please point me in the right direction with respect to OHLC data timeframe conversion with Pandas? What I'm trying to do is build a Dataframe with data for higher timeframes, given data with lower timeframe. For example, given I have…
kgr
  • 9,184
  • 2
  • 36
  • 42
22
votes
11 answers

Are there known techniques to generate realistic looking fake stock data?

I recently wrote some Javascript code to generate random fake stock data as I wanted to show a chart that at first glanced looked like real stock data - but all I came up with was pretty noddy. I was just wondering if there are some resources that…
Mark Rhodes
  • 9,375
  • 4
  • 44
  • 51
15
votes
2 answers

Updating product stock programmatically in Woocommerce 3

I need so help. I'm trying to update the woocommerce product stock quantity programmatically. We have a vendor feed to us through some JSON. I can read the stock from the feed and can pull the data from the post meta correctly. I'm using the latest…
Dave
  • 163
  • 1
  • 2
  • 10
15
votes
5 answers

How get variation's stock quantity woocommerce

I'm developing a theme for wordpress and woocommerce. I need show variation's stock.

get_stock_quantity(); ?>

(here: How to get the stock quantity of an article from woocommerce?) but this code only…
SeiyaJapon
  • 464
  • 1
  • 6
  • 19
10
votes
7 answers

Magento API: Assigning preexisting simple products to configurable products

I've got a client database with a large range of stock items, which are being uploaded to Magento as simple products. Now I need to group them up and assign them to configurable products with their size and colour being their configurable…
keith
  • 2,995
  • 2
  • 26
  • 34
10
votes
4 answers

How can I download stock price data with Python?

I have installed pandas-datareader but I'm wondering if there are alternatives. So far, I'm using this: import pandas_datareader.data as web start_date = '2018-01-01' end_date = '2018-06-08' panel_data = web.DataReader('SPY', 'yahoo', start_date,…
user8270077
  • 3,589
  • 5
  • 41
  • 90
10
votes
5 answers

Retrieve company name with ticker symbol input, yahoo or google API

Just looking for a simple api return, where I can input a ticker symbol and receive the full company name: ticker('MSFT') will return "Microsoft"
paulz
  • 322
  • 1
  • 2
  • 10
8
votes
1 answer

Broker that supports both ISA accounts and API access?

I'm looking for a stockbroker but can't seem to find one that 'ticks all the right boxes' - can anyone help please?! The essential requirements are: Supports Shares ISA accounts Access to ETFs on the LSE, especially iShares Real-time price…
Paul
  • 81
  • 2
7
votes
3 answers

Use of magento is_in_stock

What exactly is the function of the property is_in_stock in Magento? Whether a product is in stock can be determined on whether qty >= 1? It seems to automatically adjust to the current stock_level (compared to minimal allowed quantity?) but why…
Lucas Moeskops
  • 5,285
  • 2
  • 24
  • 41
7
votes
2 answers

How to convert MetaStock format to CSV?

http://en.wikipedia.org/wiki/MetaStock Anybody knows how to convert metastock data format to ASCII/CSV format ? Any sample code (c++/c#) would be of great help.
Martin
  • 3,050
  • 5
  • 37
  • 63
7
votes
1 answer

Magento event on stock change?

is there an event whenever the stock quantity of an product is changed? I tried: cataloginventory_stock_item_save_after _after and _before. But this event only get triggerd if product is saved, but not on sell or order cancel. So is there a…
mfrosch
  • 91
  • 1
  • 5
6
votes
4 answers

How to predict future Stock using LSTM Keras

First of all, I must say, I'm a beginner to this AI things. I followed most of the tutorials about stock market predictions and all of them are pretty much same. These tutorials using a data set and split in to two sets. First one is Training set…
1
2 3
73 74