You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
average price paid for the held outcome (YES price for sign 1, NO price for sign -1)
sign
int
1 holds the YES outcome, -1 holds the NO outcome
size
str
magnitude only; combine with sign
Example
fromlighter.models.account_binary_options_positionimportAccountBinaryOptionsPosition# TODO update the JSON string belowjson="{}"# create an instance of AccountBinaryOptionsPosition from a JSON stringaccount_binary_options_position_instance=AccountBinaryOptionsPosition.from_json(json)
# print the JSON string representation of the objectprint(AccountBinaryOptionsPosition.to_json())
# convert the object into a dictaccount_binary_options_position_dict=account_binary_options_position_instance.to_dict()
# create an instance of AccountBinaryOptionsPosition from a dictaccount_binary_options_position_from_dict=AccountBinaryOptionsPosition.from_dict(account_binary_options_position_dict)