Questions tagged [stock]
1109 questions
-2
votes
1 answer
Magento backend - manage products - move qty field in the general tab
I would like to know if there is a way in Magento (1.5) to move the qty field from backend catalog/manage products/inventory tab to catalog/manage products/general tab.
Thank you by advance.
![](../../users/profiles/1300718.webp)
Zard
- 72
- 8
-3
votes
0 answers
Using Beatiful Soup to get stock data python
from bs4 import BeautifulSoup
import requests
#ticker = input("Ticker: ")
ticker = "AAPL"
URL = f'https://uk.finance.yahoo.com/quote/{ticker}/news?p={ticker}'
page = requests.get(URL)
soup = BeautifulSoup(page.content, 'html.parser')
results =…
-3
votes
1 answer
Argument 'open' has incorrect type (expected numpy.ndarray, got DataFrame)
tickers = ['HDFCBANK.NS' , 'VOLTAS.NS']
screen = yfinance.download(tickers , period='1d', interval='5m')
print(screen)
morning_star = talib.CDLMORNINGSTAR(screen['Open'], screen['High'] , screen['Low'] , screen['Close'])
morning_star
how to get…
-3
votes
1 answer
Uptodate (2020) ways of retrieving live and historical stock data to Excel/VBA
I am researching methods for getting stock data to Excel via VBA. Most of the tutorials and articles about it seem to use googlefinance, however, I would like to know other methods and possibly the most recommended one for creating a spreadsheet…
-3
votes
1 answer
Does Tdameritrade has Interactive Brokers Python API like IbPy?
Does Tdameritrade have Interactive Brokers Python API like IbPy?
pip install IbPy2
![](../../users/profiles/7984318.webp)
William
- 1,666
- 2
- 24
- 50
-3
votes
1 answer
Stock_Market prediction using Linear regression
I'm trying to improve a stock_market prediction model using LinearRegression() on sklearn. First of all, I'm new to machine learning and I am kind of struggling on how the code works here it is:
df = df[["Adj Close"]] #price of…
![](../../users/profiles/10176683.webp)
Mansmisterio
- 1
- 2
-3
votes
1 answer
Creating a demo stock portfolio and test performance?
Is there a tool to create a demo portfolio and check performance for given dates?
e.g.
input symbols: fb, amzn, hbi, etc...
input dates: 1.1.12 - 1.6.17
output: report of revenue per stock, of whole portfolio, std, max loss at time period etc...
Is…
![](../../users/profiles/9050098.webp)
koren maliniak
- 113
- 8
-3
votes
1 answer
Using Java to pull data from web
I was wondering if there is a way to pull specific data from a website using java (eclipse). For example, stock information from Yahoo Finances or from Bloomberg. I've looked around and have found some resources, but I haven't been able to get them…
![](../../users/profiles/3682779.webp)
user3682779
- 11
- 1
- 3
-4
votes
1 answer
C++/CLI: Get Stock Price
I'm currently working on a C++ project to get the price of my stocks, and display it in cells on my computer screen. However, my Googling is NOT working for any of this. I also searched for libraries, but to no avail. Can anyone please tell me how I…
![](../../users/profiles/724344.webp)
Francis Lau
- 13
- 7
-4
votes
0 answers
Have problem with stock strategy code, very simple
So i have this code, everything works great expect one condition: i want the stock to close at
10%profit form the initial buying
position
> For some reason close==limiti*1.1 wont work and it only close at close…
-4
votes
0 answers
Python csv file name as variable
i am new in python and wondering how i can use filename as variable
I have multiple csv file contain stock price data and files name are timestamp something like this 20171205144050 (time stamp in yyyymmddhhmmss)
now i want to use time as variable…
![](../../users/profiles/9056588.webp)
shahzad james
- 7
- 1
- 4
-4
votes
1 answer
i want show notification on stock value change in android
I developed stock market app.now I want to develop app that have features like notification when stock value has been change to 1 % of current ...help me ...thanks in advance..i want show notification on stock value change in android
-4
votes
1 answer
C++ File editing without deleting.other information
I am programming a stock trading program.
For this function, I need to change the balance in a specific account, but whenever I output back to the file, it updates the balance for one account and deletes everyone else.
Source Code:
void…
![](../../users/profiles/4217576.webp)
AmazingBandit
- 1
- 1
-4
votes
1 answer
Convert Daily Returns to Monthly Returns in Stata
I am using Stata and I have 6 years of daily returns for stocks that individuals hold in their portfolios. I would like to aggregate the daily returns to monthly portfolio returns. In some instances, the individual may hold more than one stock in…
![](../../users/profiles/3196098.webp)
user3196098
- 21
- 1
- 5