privex.steemengine.objects.SEOrder

class SEOrder(symbol: str, quantity: ~typing.Union[~decimal.Decimal, float, str], price: ~typing.Union[~decimal.Decimal, float, str], timestamp: ~typing.Union[~datetime.datetime, str, int], account: str, expiration: ~typing.Union[~datetime.datetime, str, int], txid: str = None, tokens_locked: ~typing.Union[~decimal.Decimal, float, str] = <factory>, _seng_instance: privex.steemengine.SteemEngineToken.SteemEngineToken = None, raw_data: ~typing.Union[dict, ~privex.helpers.collections.DictObject] = <factory>)[source]

Represents an open order on the SE market.

__init__(symbol: str, quantity: ~typing.Union[~decimal.Decimal, float, str], price: ~typing.Union[~decimal.Decimal, float, str], timestamp: ~typing.Union[~datetime.datetime, str, int], account: str, expiration: ~typing.Union[~datetime.datetime, str, int], txid: str = None, tokens_locked: ~typing.Union[~decimal.Decimal, float, str] = <factory>, _seng_instance: privex.steemengine.SteemEngineToken.SteemEngineToken = None, raw_data: ~typing.Union[dict, ~privex.helpers.collections.DictObject] = <factory>) None

Methods

__init__(symbol, quantity, price, timestamp, ...)

from_dict(obj[, seng_ins])

from_list(obj_list[, seng_ins])

get(key[, fallback])

get_transaction()

Lookup the transaction ID txid and return a SETransactionInfo object.

set_seng_instance(seng_ins)

Attributes

tokensLocked

txid

The transaction ID of the order

symbol

The token symbol this order is buying/selling

quantity

The amount of tokens being bought/sold

price

The price per token ( symbol ) in STEEMP or SWAP.HIVE

timestamp

The date/time which the order was placed

account

The username of the person who placed the order

expiration

tokens_locked

The amount of STEEMP or SWAP.HIVE locked into the order

raw_data

The raw, unmodified data that was passed as kwargs, as a dictionary