Intelligent Lattice Search: Efficiency in Option Pricing using Python, C++, Cython and Numba

  Рет қаралды 231

Brian Byrne

Brian Byrne

Күн бұрын

Пікірлер: 4
@ranjithramachandran8009
@ranjithramachandran8009 2 ай бұрын
Very informative. I was wondering if it is possible to further enhance the execution time for the baseline code using JAX. Can that be implemented ? I do understand that it is ideal for large computations (GPU) and may not perform well (can become slow) in comparison to Numpy. JAX with lax.scan for iterative computations like option pricing. However it is questionable if JAX can beat the Numba execution time.
@BrianByrneFinance
@BrianByrneFinance 2 ай бұрын
Hi @ranjithramachandran8009, Thank you for the great suggestion! JAX with lax.scan could be an interesting approach for iterative computations like option pricing, especially with GPU acceleration. As you noted, JAX may not always outperform Numba on CPU-bound tasks, but it’s worth testing. I’ll consider exploring this comparison in a future video-thanks again for your thoughtful input! best, Brian
@laurentbouchard1448
@laurentbouchard1448 29 күн бұрын
Numba can be set up to use GPUs; you get the speedup benefits if you have to value lots of contracts is my understanding. I'v been running this code with the Intel SVML/fastmath=true Numba parameters and the speed is ridiculously fast. It really is amazing.
@BrianByrneFinance
@BrianByrneFinance 29 күн бұрын
@@laurentbouchard1448 Dear Laurent, Do you have a colab link to that? If so could you share? best, Brian
Make Python code 1000x Faster with Numba
20:33
Jack of Some
Рет қаралды 449 М.
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
Every team from the Bracket Buster! Who ya got? 😏
0:53
FailArmy Shorts
Рет қаралды 13 МЛН
How to use Cython to speed up Python
7:56
InfoWorld
Рет қаралды 9 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 290 М.
Refactoring Object-Oriented to AWESOME Functional Code
22:59
ArjanCodes
Рет қаралды 52 М.
Tutorial: CUDA programming in Python with numba and cupy
45:43
nickcorn93
Рет қаралды 84 М.
Black-Scholes in Python: Option Pricing Made Easy
12:22
Ryan O'Connell, CFA, FRM
Рет қаралды 11 М.
Why is Python 150X slower than C?
10:45
Mehul - Codedamn
Рет қаралды 76 М.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 44 М.
Numba Explained in 30 Minutes - The Python and Numpy Compiler
30:29