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/ar/Python4Finance/com.python4finance
🆔 ble.ir/ar/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/ar/Python4Finance/com.python4finance
🆔 ble.ir/ar/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: |

How Does Bitcoin Mining Work?

Bitcoin mining is the process of adding new transactions to the Bitcoin blockchain. It’s a tough job. People who choose to mine Bitcoin use a process called proof of work, deploying computers in a race to solve mathematical puzzles that verify transactions.To entice miners to keep racing to solve the puzzles and support the overall system, the Bitcoin code rewards miners with new Bitcoins. “This is how new coins are created” and new transactions are added to the blockchain, says Okoro.

Telegram announces Search Filters

With the help of the Search Filters option, users can now filter search results by type. They can do that by using the new tabs: Media, Links, Files and others. Searches can be done based on the particular time period like by typing in the date or even “Yesterday”. If users type in the name of a person, group, channel or bot, an extra filter will be applied to the searches.

Python4Finance from ar


Telegram Python4Finance
FROM USA