Constructor
# new Advice(adviceData)
Represents an Advice.
Parameters:
Name | Type | Description |
---|---|---|
adviceData |
AdviceData |
Members
Object.<string, number>
# odds
A dictionary consisting of price/odds mappings. Each key corresponds to a
possible price, and the value is the likelihood that you'll hit that price.
Methods
# toJSON() → {AdviceData}
Serializes the Advice to a JSON.