diff --git a/README.md b/README.md
index b7ad285..68e1b3d 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
-
🦾 A python3 binance API wrapper powered by modern technologies such as asyncio.
+🦾 A python3 binance API wrapper powered by asyncio and python Decimals.
@@ -64,7 +64,7 @@ client = binance.Client(API_KEY, API_SECRET)
await client.load()
order = await client.create_order(
- "ETHPAX", Side.BUY.value, OrderType.MARKET.value, quantity=1, test=True,
+ "ETHPAX", Side.BUY.value, OrderType.MARKET.value, quantity="1", test=True,
)
print(order)
```
diff --git a/examples/get_started.py b/examples/get_started.py
index c633144..6b63995 100644
--- a/examples/get_started.py
+++ b/examples/get_started.py
@@ -45,8 +45,8 @@ async def main(loop):
side=binance.Side.SELL,
order_type=binance.OrderType.LIMIT,
time_in_force=binance.TimeInForce.GTC,
- quantity="0.0012",
- price="15100.00",
+ quantity=Decimal("0.0012"), # you can use Decimals
+ price="15100.00", # or directly a string
test=False,
)
print(order)