معرفی شرکت ها


finoptions-0.1.5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Energy derivatives (futures, options etc...)
ویژگی مقدار
سیستم عامل -
نام فایل finoptions-0.1.5
نام finoptions
نسخه کتابخانه 0.1.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Ben Cho
ایمیل نویسنده ben.cho@gmail.com
آدرس صفحه اصلی https://github.com/bbcho/finoptions-dev
آدرس اینترنتی https://pypi.org/project/finoptions/
مجوز MIT License
# finoptions Python implementation of the R package fOptions for use in energy trading. Changes include coverting the package to OOP as well as Finite Difference Methods for Option greeks for all Options. ## Supported by Rpanda Training Solutions <br> To install package run: ``` pip install finoptions ``` ## Working with finoptions Vanilla Options are found at the root of the package. For example, to run a Generalized Black Scholes Option: ```python import finoptions as fo opt = fo.GBSOption(10.0, 8.0, 1.0, 0.02, 0.01, 0.1) opt.call() # to get call price opt.put() # to get put price opt.summary() # for a printed summary of the option opt.greeks() # to get the greeks for the option # to calculate implied volatility, omit the sigma argument and then # call the volatility method opt = fo.GBSOption(10.0, 8.0, 1.0, 0.02, 0.01) opt.volatility(2) ``` All options follow the same format for calls, puts, greeks and summaries. GBSOption uses the analytic solution to calculate to the greeks, but for all other options the finite difference method is used. ## Calculating Options for Multiple Inputs The vanilla options are capable of calculating calls, puts, vols and greeks for multiple inputs at the same time by passing numpy arrays of values as parameters. Currently this only works for the vanilla options. ```python import finoptions as fo import numpy as np opt = fo.GBSOption(10.0, np.arange(5,15), 1.0, 0.02, 0.01, 0.1) opt.call() # to get call price opt.put() # to get put price opt.summary() # for a printed summary of the option opt.greeks() # to get the greeks for the option ``` # Notebooks To see example notebooks, please see github repo found here: https://github.com/bbcho/finoptions-dev/tree/main/notebooks


نیازمندی

مقدار نام
>=1.7 scipy
- numpy
- numdifftools
- matplotlib


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl finoptions-0.1.5:

    pip install finoptions-0.1.5.whl


نصب پکیج tar.gz finoptions-0.1.5:

    pip install finoptions-0.1.5.tar.gz