Skip to content

Commit

Permalink
Update option-history-object.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMelchin authored Oct 17, 2024
1 parent 0c1967b commit c281330
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/universes/option/option-history-object.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<div class='python section-example-container'>
<pre class='python'>option_history.data_frame</pre>
</div>
<img class='python' src='<?=$dataFrameImg?>' alt='DataFrame of Options data'>
<img class='python' style='max-width: 100%' src='<?=$dataFrameImg?>' alt='DataFrame of Options data'>

<p class='python'>To get the expiration dates of all the contracts in an <code>OptionHistory</code> object, call the <code class='csharp'>GetExpiryDates</code><code class='csharp'>get_expiry_dates</code> method.</p>
<div class='python section-example-container'>
<pre class='python'>option_history.get_expiry_dates()</pre>
</div>
<img class='python' src='<?=$expiryDatesImg?>' alt='list of expiry dates'>
<img class='python' style='max-width: 100%' src='<?=$expiryDatesImg?>' alt='list of expiry dates'>

<p class='python'>To get the strike prices of all the contracts in an <code>OptionHistory</code> object, call the <code class='csharp'>GetStrikes</code><code class='csharp'>get_strikes</code> method.</p>
<div class='python section-example-container'>
<pre class='python'>option_history.get_strikes()</pre>
</div>
<img class='python' src='<?=$strikesImg?>' alt='List of strike prices'>
<img class='python' style='max-width: 100%' src='<?=$strikesImg?>' alt='List of strike prices'>

0 comments on commit c281330

Please sign in to comment.