Grand Exchange
API for the Grand Exchange (marketplace).
- class artifacts.api.grand_exchange.GrandExchangeAPI[source]
Bases:
objectGrand Exchange public endpoints.
- async get_history(code, *, account=None, page=1, size=50)[source]
GET /grandexchange/history/{code}
- Return type:
DataPage[GeOrderHistorySchema]- Parameters:
code (str)
account (str | None)
page (int)
size (int)
- async get_orders(*, code=None, account=None, type=None, page=1, size=50)[source]
GET /grandexchange/orders
- Return type:
DataPage[GEOrderSchema]- Parameters:
code (str | None)
account (str | None)
type (GEOrderType | None)
page (int)
size (int)