PEP 8 in README
This commit is contained in:
parent
c15e937d0e
commit
e509df96f8
|
@ -23,11 +23,11 @@ parameter is the ticker symbol to look up.
|
||||||
## Basic data
|
## Basic data
|
||||||
To get the current price of a share, get the `Stock`'s `current_price`.
|
To get the current price of a share, get the `Stock`'s `current_price`.
|
||||||
|
|
||||||
krogerPrice = kroger.current_price
|
kroger_price = kroger.current_price
|
||||||
|
|
||||||
To get the day gain in dollars, get the `Stock`'s `increase_dollars`.
|
To get the day gain in dollars, get the `Stock`'s `increase_dollars`.
|
||||||
|
|
||||||
krogerGainDollars = kroger.increase_dollars
|
kroger_gain_dollars = kroger.increase_dollars
|
||||||
|
|
||||||
The same value as a percent is available in the `increase_percent` property. To
|
The same value as a percent is available in the `increase_percent` property. To
|
||||||
indicate losses, these values are negative.
|
indicate losses, these values are negative.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user