Telegram Group & Telegram Channel
محاسبه بازده روزانه سهم با چند روش
داده های مربوط به قیمت پایانی سهم گسترش‌سرمايه‌گذاري‌ايران‌خودرو (خگستر) را برای 10 روز آخر منتهی به 99.03.01 در نظر بگیرید
داده ها چیزی شبیه به این خواهد بود:
khgostar = [3894,4088,4292,4451,4639,4560,4471,4683,4915,5153]
می خواهیم بازده روزانه سهم را با روش های مختلف محاسبه کنیم.
روش اول
در این روش با استفاده از محاسبات عادی پایتون بازده را محاسبه می کنیم.
برنامه نوشته شده شبیه آنچه در تصویر این پست مشاهده می کنید خواهد شد.

#بازده_سهم
#پایتون_مالی


پایتون برای مالی در تلگرام
https://www.tg-me.com/joinchat-AAAAAFGMkouqbsb86Vfzug



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

محاسبه بازده روزانه سهم با چند روش
داده های مربوط به قیمت پایانی سهم گسترش‌سرمايه‌گذاري‌ايران‌خودرو (خگستر) را برای 10 روز آخر منتهی به 99.03.01 در نظر بگیرید
داده ها چیزی شبیه به این خواهد بود:
khgostar = [3894,4088,4292,4451,4639,4560,4471,4683,4915,5153]
می خواهیم بازده روزانه سهم را با روش های مختلف محاسبه کنیم.
روش اول
در این روش با استفاده از محاسبات عادی پایتون بازده را محاسبه می کنیم.
برنامه نوشته شده شبیه آنچه در تصویر این پست مشاهده می کنید خواهد شد.

#بازده_سهم
#پایتون_مالی


پایتون برای مالی در تلگرام
https://www.tg-me.com/joinchat-AAAAAFGMkouqbsb86Vfzug

BY Python4Finance




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

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

The S&P 500 slumped 1.8% on Monday and Tuesday, thanks to China Evergrande, the Chinese property company that looks like it is ready to default on its more-than $300 billion in debt. Cries of the next Lehman Brothers—or maybe the next Silverado?—echoed through the canyons of Wall Street as investors prepared for the worst.

The global forecast for the Asian markets is murky following recent volatility, with crude oil prices providing support in what has been an otherwise tough month. The European markets were down and the U.S. bourses were mixed and flat and the Asian markets figure to split the difference.The TSE finished modestly lower on Friday following losses from the financial shares and property stocks.For the day, the index sank 15.09 points or 0.49 percent to finish at 3,061.35 after trading between 3,057.84 and 3,089.78. Volume was 1.39 billion shares worth 1.30 billion Singapore dollars. There were 285 decliners and 184 gainers.

Python4Finance from hk


Telegram Python4Finance
FROM USA