0 Replies
8129 Views
Last post by admin
Mon Sep 22, 2025 9:15 am
0 Replies
5189 Views
Last post by admin
Tue Jun 24, 2025 1:51 pm
JUNE 2025
by
admin »
Thu Jun 12, 2025 8:36 am
eye training
eye check
market data
- moving averages
- move files to google
0 Replies
6468 Views
Last post by admin
Thu Jun 12, 2025 8:36 am
MAY IDEAS
by
admin »
Sat May 10, 2025 12:14 pm
Getting stocks
Review
Food
Pose pictures -
MLP List
FRED
Python
0 Replies
4502 Views
Last post by admin
Sat May 10, 2025 12:14 pm
Matrix Index
by
admin »
Thu Apr 10, 2025 1:50 pm
High Liquidity
Ticker Fullname EWJ iShares MSCI Japan ETF FXI iShares China Large-Cap ETF EWC iShares MSCI Canada ETF EWZ iShares MSCI Brazil ETF EWU iShares MSCI United Kingdom ETF EWY iShares MSCI South Korea ETF EWT iShares MSCI Taiwan ETF EWA iShares MSCI-Australia ETF EWW iShares MSCI Mexico ETF EWL iShares MSCI Switzerland ETF EWQ iShares MSCI France ETF
Low liquidity Ticker Fullname JPXN iShares JPX-Nikkei 400 ETF PGJ Invesco Golden Dragon China ETF EWH iShares MSCI Hong Kong ETF EWS iShares MSCI Singapore ETF EWI iShares MSCI Italy ETF EWD iShares MSCI Sweden ETF EZA iShares MSCI...
0 Replies
5267 Views
Last post by admin
Thu Apr 10, 2025 1:50 pm
BONDS Working
by
admin »
Sun Apr 06, 2025 1:34 pm
import yfinance as yf
import pandas as pd
# Fetch U.S. Treasury yield data from yfinance
tickers = # 3-month, 5-year, 10-year, and 30-year Treasury yield indices
data = yf.download(tickers, auto_adjust=False, start='1980-01-01', end='2025-04-04')
# Rename columns for clarity
data.columns =
# Display the first few rows of data
print(data.tail())
import matplotlib.pyplot as plt
# Plot the yield curve
plt.figure(figsize=(10, 6))
for date in :
plt.plot( , data.loc , label=f'Yield Curve {date}')
plt.title('U.S. Treasury Yield Curve')
plt.xlabel('Maturity')
plt.ylabel('Yield (%)')
plt.legend()...
0 Replies
7951 Views
Last post by admin
Sun Apr 06, 2025 1:34 pm
etf changes
by
admin »
Sat Apr 05, 2025 6:11 pm
ETF
# Local Qlib classes
from qlib.data.data_connector import DataConnector
# Logger
from qlib.data.utils.data_logs import data_logger
logger = data_logger()
async def main():
dc = DataConnector()
# Define tickers and sectors
tickers =
sectors =
# Fetch data for different tickers
all_data = []
for ticker in tickers:
try:
output = await dc.etfs.get_etf_ohlcv(tickers= , exchanges= , granularity='1d', period_starts= , period_ends= )
data = output .set_index( datetime )
data = ticker
all_data.append(data)
logger.info(f Fetched data for {ticker} )
except Exception as e:...
0 Replies
4379 Views
Last post by admin
Sat Apr 05, 2025 6:11 pm
AI Based Trading
by
admin »
Sat Mar 29, 2025 5:58 pm
import yfinance as yf google = yf.Ticker( GOOG )
df = google.history(period='1d', interval= 1m )
print(df.head())
df = google.history(period='1d', interval= 1m )
df = df[ ]
df.head()
df = pd.to_datetime(df.index).time
df.set_index('date', inplace=True)
df.head()
X = df.index.values
y = df .values # The split point is the 10% of the dataframe length
offset = int(0.10*len(df)) X_train = X
y_train = y
X_test = X
y_test = y If we plot it, we get: plt.plot(range(0,len(y_train)),y_train, label='Train')
plt.plot(range(len(y_train),len(y)),y_test,label='Test')
plt.legend()
plt.show()...
0 Replies
10124 Views
Last post by admin
Sat Mar 29, 2025 5:58 pm
Chart - shares - heatmap
by
admin »
Fri Mar 28, 2025 11:04 am
import yfinance as yf
import pandas as pd
import numpy as np
import matplotlib
matplotlib.use('Qt5Agg')
import matplotlib.pyplot as plt
#top 10 market value 20240614
top_10_companies =
#past 91 days price data
data = yf.download(top_10_companies, period='91d')
#adjusted close prices
adj_close = data
#total percentage change
total_change = ((adj_close.iloc - adj_close.iloc ) / adj_close.iloc ) * 100
#Plot bar
plt.figure(figsize=(10, 6))
bars = total_change.sort_values().plot(kind='bar', color='skyblue')
plt.title('Total Percentage Change in Past 91 Days')
plt.xlabel('Company')...
0 Replies
3973 Views
Last post by admin
Fri Mar 28, 2025 11:04 am
0 Replies
2929 Views
Last post by admin
Sat Mar 01, 2025 1:58 pm
0 Replies
4070 Views
Last post by admin
Sat Mar 01, 2025 12:59 pm
0 Replies
7290 Views
Last post by admin
Sat Mar 01, 2025 12:56 pm
0 Replies
2699 Views
Last post by admin
Sat Mar 01, 2025 12:55 pm
0 Replies
3004 Views
Last post by admin
Sat Mar 01, 2025 12:54 pm
0 Replies
2738 Views
Last post by admin
Sat Mar 01, 2025 12:53 pm
0 Replies
3726 Views
Last post by admin
Sat Mar 01, 2025 12:52 pm
0 Replies
3225 Views
Last post by admin
Sat Mar 01, 2025 12:50 pm
0 Replies
2655 Views
Last post by admin
Sat Mar 01, 2025 11:42 am
0 Replies
2874 Views
Last post by admin
Sat Mar 01, 2025 11:41 am
0 Replies
5515 Views
Last post by admin
Sat Mar 01, 2025 11:40 am
0 Replies
2287 Views
Last post by admin
Sat Mar 01, 2025 11:38 am
0 Replies
2470 Views
Last post by admin
Sat Mar 01, 2025 11:37 am
Forum permissions
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum