Black Scholes

User avatar
dataheck
Posts: 30
Joined: 19 Nov 2019
Location: Amherst, Nova Scotia
Been thanked: 5 times
Contact:

Black Scholes

Postby dataheck » 23 Jul 2020

I took a code snippet I found here: https://gist.github.com/achvaicer/59824 ... 645e96f8ac by achvaicer and implemented it as an indicator for MultiCharts.

It's not perfect. It doesn't agree with my Interactive Brokers model 1-to-1 If someone has a nice tweak for it, please feel free to share.

Supports at the money or fixed strike.
Attachments
BlackScholes.pln
(2.62 KiB) Downloaded 198 times

Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Re: Black Scholes

Postby Emmanuel » 24 Jul 2020

Excellent !!!!!!! This is a good idea !!!!

This is awesome !!!!!!!!!!!!!!!!!!!!!

If we had the Interactive formula, it would be possible to compare.

If the difference is small , it could be because of difference of variable , e.g : single variable in one calculus and double in another calculus for the same variable.

This happen often.

Thank you very much :):):)

__bv__
Posts: 4
Joined: 23 Jun 2021

Re: Black Scholes

Postby __bv__ » 01 Jul 2021

IB use standard Black & Scholes for European options, and I believe also for American options.
Bjerksund-Stensland is a little more tricky on exercising conditions.
I have coded my own standalone platform and I'd be happy to help if anyone needs assistance with core code (not MC specific.


Return to “User Contributed Studies”