Skip to content

Conversation

@joaquinbejar
Copy link
Owner

Resize binomial tree plot and update drawing elements.

Updated the canvas size to 1200x800 for better visibility and adjusted label positioning and font sizes for clearer text rendering. Enhanced the binomial tree visualization with more precise label placements and additional data points.

Implemented a binomial tree pricing model with tree generation functionality in the pricing module. Added new methods in the model for binomial tree price calculation and introduced a visualization module to draw the binomial tree. Updated Cargo.toml to include the `plotters` dependency for rendering the tree.
Introduce utility functions for binomial tree calculations in `utils.rs`. Refactor `binomial_model.rs` to use these new utility functions, ensuring a cleaner and more modular code structure. Add documentation and tests to `visualization/binomial_tree.rs`.
Updated the canvas size to 1200x800 for better visibility and adjusted label positioning and font sizes for clearer text rendering. Enhanced the binomial tree visualization with more precise label placements and additional data points.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants