Telegram Group & Telegram Channel
برخی تحلیل ها نشان دهنده این است که سال آینده سال کامودیتی‌هاست. علاوه بر فلزات گرانبها که نقش بسیار مهمی در پوشش ریسک دارند، سال آینده احتمالا شاهد تحرکات زیادی در فلزات کاربردی مانند مس خواهیم بود.
در مثال این پست قیمت مس و طلا برای 4 ماه گذشته رسم می شود.

#code by @python4finance
import yfinance as yf
import pandas as pd
import matplotlib.pyplot as plt
plt.style.use("ggplot")

gold_data = yf.download("GC=F",period="4Mo", multi_level_index=False)
copper_data = yf.download("HG=F" ,period="4Mo", multi_level_index=False)

gold_data['Close'].plot(label='Gold', color='gold' , figsize=(16, 6))
copper_data['Close'].plot( secondary_y=True, label='Copper', color='brown')
copper_data['Close'].rolling(10).mean().plot( secondary_y=True, label='Copper MA', color='green', style='--')
plt.xlabel('Date')
plt.ylabel('Price')
plt.title('Gold and Copper Prices')
plt.legend()
plt.show()


پایتون برای مالی

🆔 www.tg-me.com/ye/Python4Finance/com.python4finance
🆔 ble.ir/ye/Python4Finance/com.python4finance



tg-me.com/python4finance/1094
Create:
Last Update:

برخی تحلیل ها نشان دهنده این است که سال آینده سال کامودیتی‌هاست. علاوه بر فلزات گرانبها که نقش بسیار مهمی در پوشش ریسک دارند، سال آینده احتمالا شاهد تحرکات زیادی در فلزات کاربردی مانند مس خواهیم بود.
در مثال این پست قیمت مس و طلا برای 4 ماه گذشته رسم می شود.

#code by @python4finance
import yfinance as yf
import pandas as pd
import matplotlib.pyplot as plt
plt.style.use("ggplot")

gold_data = yf.download("GC=F",period="4Mo", multi_level_index=False)
copper_data = yf.download("HG=F" ,period="4Mo", multi_level_index=False)

gold_data['Close'].plot(label='Gold', color='gold' , figsize=(16, 6))
copper_data['Close'].plot( secondary_y=True, label='Copper', color='brown')
copper_data['Close'].rolling(10).mean().plot( secondary_y=True, label='Copper MA', color='green', style='--')
plt.xlabel('Date')
plt.ylabel('Price')
plt.title('Gold and Copper Prices')
plt.legend()
plt.show()


پایتون برای مالی

🆔 www.tg-me.com/ye/Python4Finance/com.python4finance
🆔 ble.ir/ye/Python4Finance/com.python4finance

BY Python4Finance




Share with your friend now:
tg-me.com/python4finance/1094

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

To pay the bills, Mr. Durov is issuing investors $1 billion to $1.5 billion of company debt, with the promise of discounted equity if the company eventually goes public, the people briefed on the plans said. He has also announced plans to start selling ads in public Telegram channels as soon as later this year, as well as offering other premium services for businesses and users.

Traders also expressed uncertainty about the situation with China Evergrande, as the indebted property company has not provided clarification about a key interest payment.In economic news, the Commerce Department reported an unexpected increase in U.S. new home sales in August.Crude oil prices climbed Friday and front-month WTI oil futures contracts saw gains for a fifth straight week amid tighter supplies. West Texas Intermediate Crude oil futures for November rose $0.68 or 0.9 percent at 73.98 a barrel. WTI Crude futures gained 2.8 percent for the week.

Python4Finance from ye


Telegram Python4Finance
FROM USA