Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Remove superfluous closing bracket, fixes #541
Browse files Browse the repository at this point in the history
  • Loading branch information
erdewit committed Jan 19, 2023
1 parent 980f3d7 commit a0fe082
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/recipes.rst
Expand Up @@ -52,7 +52,7 @@ Scanner data (blocking)

.. code-block:: python
allParams = ib.reqScannerParameters())
allParams = ib.reqScannerParameters()
print(allParams)
sub = ScannerSubscription(
Expand Down Expand Up @@ -88,11 +88,11 @@ Option calculations
option = Option('EOE', '20171215', 490, 'P', 'FTA', multiplier=100)
calc = ib.calculateImpliedVolatility(
option, optionPrice=6.1, underPrice=525))
option, optionPrice=6.1, underPrice=525)
print(calc)
calc = ib.calculateOptionPrice(
option, volatility=0.14, underPrice=525))
option, volatility=0.14, underPrice=525)
print(calc)
Order book
Expand Down

0 comments on commit a0fe082

Please sign in to comment.