Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.43 KB

File metadata and controls

41 lines (32 loc) · 1.43 KB

ReqGetTrades

Properties

Name Type Description Notes
auth str made optional to support header auth clients [optional]
market_id int [optional]
account_index int [optional] [default to -1]
order_index int [optional]
sort_by str
sort_dir str [optional] [default to 'desc']
cursor str [optional]
var_from int [optional] [default to -1]
ask_filter int [optional]
role str [optional] [default to 'all']
type str [optional] [default to 'all']
limit int
aggregate bool [optional] [default to False]

Example

from lighter.models.req_get_trades import ReqGetTrades

# TODO update the JSON string below
json = "{}"
# create an instance of ReqGetTrades from a JSON string
req_get_trades_instance = ReqGetTrades.from_json(json)
# print the JSON string representation of the object
print(ReqGetTrades.to_json())

# convert the object into a dict
req_get_trades_dict = req_get_trades_instance.to_dict()
# create an instance of ReqGetTrades from a dict
req_get_trades_from_dict = ReqGetTrades.from_dict(req_get_trades_dict)

[Back to Model list] [Back to API list] [Back to README]