Skip to content

Commit 63a0f0b

Browse files
author
github-actions
committed
readme updates
[TRANSFER][TRANSFER]
1 parent c7d6370 commit 63a0f0b

File tree

3 files changed

+6
-71
lines changed

3 files changed

+6
-71
lines changed

README.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

build/templates/examples/async.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ async def main():
1717
symbol = "__EXAMPLE_SYMBOL__"
1818

1919
# fetch ticker
20-
#
2120
ticker = await instance.fetch_ticker(symbol)
2221
print(ticker)
2322

24-
# fetch ohlcv
25-
#
26-
ohlcv = await instance.fetch_ohlcv(symbol, "1m")
27-
print(ohlcv)
23+
# create order
24+
order = await instance.create_order("__EXAMPLE_SYMBOL__", "limit", "buy", 1, 123456.789)
25+
print(order)
2826

2927
# close after you finish
3028
await instance.close()

build/templates/examples/sync.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,12 @@ def main():
1313
symbol = "__EXAMPLE_SYMBOL__"
1414

1515
# fetch ticker
16-
#
1716
ticker = instance.fetch_ticker(symbol)
1817
print(ticker)
1918

20-
# fetch ohlcv
21-
#
22-
ohlcv = instance.fetch_ohlcv(symbol, "1m")
23-
print(ohlcv)
24-
19+
# create order
20+
order = instance.create_order("__EXAMPLE_SYMBOL__", "limit", "buy", 1, 123456.789)
21+
print(order)
2522

2623
main()
2724

0 commit comments

Comments
 (0)