How blilet/pricer_basic works
Main Components
• GUI Component ("gui.py"): Acts as the user interface where users interact with the options pricer. This module is responsible for displaying input fields, outputs, and potentially integrating the option pricing results.
• Pricing Calculation Module ("ModuleBlackScholes(2).py"): Contains the Black-Scholes formula and related computations to price options. It is the core computational engine that the GUI will invoke.
• Data Extraction Component ("extraction.py"): Likely responsible for fetching or processing external data, which could be used as inputs or for analysis in pricing.
• External Utilities ("commun" folder): Contains executable files (chromedriver.exe and chromedriver1.exe), which suggest automated web interactions (possibly for scraping market data or performing browser-based automation for data input).
Relationships and Interactions
• The GUI component triggers events that:
– Call the Pricing Calculation Module to compute option prices.
– Interact with the Data Extraction Module to fetch or update market data.
• The Pricing Calculation Component accepts input parameters, performs calculations, and returns pricing outputs back to the GUI for display.
• The Data Extraction Module may communicate with external services or websites using the drivers in the “commun” folder. The extracted data feeds into the pricing module or is displayed on the GUI.
Technologies, Frameworks, and Libraries (as inferred)
• Python as the base programming language.
• Likely use of a GUI framework (Tkinter, PyQt, etc.) in gui.py.
• Custom implementation of Black-Scholes in the pricing module.
• Automation libraries (Selenium or similar) likely orchestrate operations using the Chrome drivers.