Questions tagged [stock]
1109 questions
5
votes
1 answer
Magento2; update stock by REST API
I've set up a local Magento 2.1.2 environment with sample data. I'm trying to find the correct code for updating stocks through the REST api (catalogInventoryStockRegistryV1 - Put).
This is what i've got so far:
![](../../users/profiles/4609822.webp)
Tjitse
- 153
- 1
- 8
5
votes
1 answer
Python Datareader Stock Exchange markets options
I'm using Datareader to get some stock quotes from Yahoo finance. I would like to get the values of Euronext Paris Stock exchange market and not the standard values (NYSE ones I think).
import pandas.io.data as web
import time
today =…
![](../../users/profiles/5339460.webp)
MFK
- 51
- 2
5
votes
5 answers
iPhone Objective-C Simplest Way to get a stock quote
Im wondering what is the simplest way to get the current price of a stock from say yahoo finance (or similar) in objective-C For the iPhone SDK.
Simple is the key, I am looking for current price, and days movement.
I havent had much luck finding an…
![](../../users/profiles/243560.webp)
oberbaum
- 2,431
- 6
- 35
- 51
5
votes
1 answer
stock management database
I am working on a stock management application Here is the scenario:
-the user enters the items purchased with the following information (Id of the item, quantity purchased, purchase price, minimum price for wind, date of purchase)
each operation,…
![](../../users/profiles/1417996.webp)
Adel Bachene
- 874
- 1
- 13
- 30
4
votes
2 answers
How to convert tic data to 5 minute OHLC?
I am learning KDB+ and have loaded the tic data into the table W as below. My question is, how to transfer the data into 5 (or n) minutes…
![](../../users/profiles/1072888.webp)
bigbug
- 40,984
- 35
- 71
- 92
4
votes
2 answers
Greying out "out-of-stock" product variations with custom stock quantity reduction in WooCommerce
I've used the awesome snippet of https://jeroensormani.com/custom-stock-quantity-reduction/ to add an additional setting to variations that reduces the main inventory stock by the set amount in the variation.
The problem I'm facing now is that it…
![](../../users/profiles/13020104.webp)
Nicolas Körner
- 59
- 4
4
votes
1 answer
Display custom stock message if "Manage Stock" is not enabled in WooCommerce
If Enable stock management at the product level is not checked I would like to show a message in product page for the stock status
When the Stock status is
instock - "Available"
outofstock - "Out of stock"
onbackorder - "Available after…
![](../../users/profiles/4768140.webp)
George Gour
- 55
- 1
- 8
4
votes
1 answer
Reduce stock only for specific order statuses and payment method in Woocommerce
I'm working on a bit of custom Woocommerce functionality for a client. They use the BACS payment gateway to handle manual payments.
However, the gateway currently reduces the stock too early for our needs, i.e., when the order is "On Hold". I would…
![](../../users/profiles/8579993.webp)
Conor Campbell
- 89
- 1
- 6
4
votes
2 answers
Remove the stock quantity from WooCommerce cart error messages
Iin WooCommerce, I've set woocommerce->settings->products->inventory->stock display format to "Never show quantity remaining in stock".
However if a customer ads a product to the cart, continues to cart or checkout page and enter a value higher than…
![](../../users/profiles/2080894.webp)
axelra82
- 479
- 5
- 21
4
votes
1 answer
Show stock status next to each attribute value in WooCommerce variable products
I want to implement in my store something similar like this:
I have this code, but this show quantity next to each variation.
function get_stock_variations_from_product(){
global $product;
$variations =…
![](../../users/profiles/8047947.webp)
DrMTR
- 423
- 10
- 28
4
votes
1 answer
.NET: Can't get correct RSI and MACD values from TA-Lib
I'm trying to use TA-Lib for technical analysis. I downloaded TA-Lib-Core Nuget package for .NET. Unfortunately, I can't find any API documentation so some method parameters are a bit of mystery.
I downloaded historical data for AMD between…
![](../../users/profiles/812582.webp)
Mark13426
- 2,429
- 4
- 35
- 72
4
votes
4 answers
woocommerce stock, multiple products from same stock
I'm building a woocommerce webshop.
It's a webshop for phonecases and the customer wants to keep inventory in the woocommerce backoffice, there is only one problem:
They have different models for example for iPhone 4 & iPhone 5. But in fact these…
![](../../users/profiles/4092665.webp)
Sebastiaan36
- 41
- 1
- 4
4
votes
2 answers
showing available product quanity in two different units in openerp / odoo
i am working on odoo to implement for a liquor trading firm. Actually clent uses two different units e.g., unit(s) and case. Case size may vary. for example 1 Case = 12 or 18 or 24. In odoo if the default UOM is case then it shows available product…
![](../../users/profiles/4708705.webp)
zed15
- 41
- 2
4
votes
1 answer
Stock chart pattern finder with Javascript (Node)
I am building a little stock trader program, that try's to find patterns in (many) forex charts.
There is a lot of information on the web, about the most used patterns.
1:…
![](../../users/profiles/2750476.webp)
DutchKevv
- 1,451
- 1
- 18
- 36
4
votes
3 answers
Fixed income data online
I am looking for a resource to download fixed income data online, much like there is access to stock data from yahoo. At the very least I'd like the treasury bonds.
I use python, but any help would be appreciated.
![](../../users/profiles/139885.webp)
John Smith
- 11,467
- 16
- 59
- 105