Skip to content

Commit

Permalink
Market docs prices in cents.
Browse files Browse the repository at this point in the history
  • Loading branch information
somespecialone committed Mar 9, 2023
1 parent 312d3a9 commit e2086b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/market.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ from aiosteampy import SteamClient, Game
client = SteamClient(...)

# with asset id of inventory EconItem
listing_id = await client.place_sell_listing(1234567890, Game.CSGO, price=164.57)
listing_id = await client.place_sell_listing(1234567890, Game.CSGO, price=16457)

# with EconItem
inventory = await client.get_inventory(Game.CSGO)
listing_id = await client.place_sell_listing(inventory[0], to_receive=161.20)
listing_id = await client.place_sell_listing(inventory[0], to_receive=16120)

# and cancel with listing id
await client.cancel_sell_listing(listing_id)
Expand All @@ -44,7 +44,7 @@ from aiosteampy import SteamClient

client = SteamClient(...)

buy_order_id = await client.place_buy_order("★ Butterfly Knife | Slaughter (Minimal Wear)", 730, price=11.51)
buy_order_id = await client.place_buy_order("★ Butterfly Knife | Slaughter (Minimal Wear)", 730, price=1151)
await client.cancel_buy_order(buy_order_id)

# with buy order model
Expand Down

0 comments on commit e2086b1

Please sign in to comment.