Skip to content

Commit

Permalink
Merge pull request #622 from ttamg/feature/isolated_margin_endpoints_…
Browse files Browse the repository at this point in the history
…and_docs

Isolated Margin endpoints and documentation
  • Loading branch information
kimchirichie authored Dec 1, 2020
2 parents dc80a81 + aaf961e commit cc28523
Show file tree
Hide file tree
Showing 3 changed files with 415 additions and 120 deletions.
36 changes: 22 additions & 14 deletions Endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,33 +427,41 @@
client.get_max_margin_transfer(asset, isolatedSymbol, recvWindow)
```
- **POST /sapi/v1/margin/isolated/create (HMAC SHA256)** (Create Isolated Margin Account (MARGIN).)

> :warning: Not yet implemented
```python
client.create_isolated_margin_account(base, quote, recvWindow)
```
- **POST /sapi/v1/margin/isolated/transfer (HMAC SHA256)** (Isolated Margin Account Transfer (MARGIN).)

> :warning: Not yet implemented
```python
client.transfer_spot_to_isolated_margin(asset, symbol, amount, recvWindow)
client.transfer_isolated_margin_to_spot(asset, symbol, amount, recvWindow)
```
- **GET /sapi/v1/margin/isolated/transfer (HMAC SHA256)** (Get Isolated Margin Transfer History (USER_DATA).)

> :warning: Not yet implemented
- **GET /sapi/v1/margin/isolated/account (HMAC SHA256)** (Query Isolated Margin Account Info (USER_DATA).)

> :warning: Not yet implemented
- **GET /sapi/v1/margin/isolated/pair (HMAC SHA256)** (Query Isolated Margin Symbol (USER_DATA).)

> :warning: Not yet implemented
```python
client.get_isolated_margin_symbol(symbol, recvWindow)
```
- **GET /sapi/v1/margin/isolated/allPairs (HMAC SHA256)** (Get All Isolated Margin Symbol (USER_DATA).)

> :warning: Not yet implemented
```python
client.get_all_isolated_margin_symbols(recvWindow)
```
- *User Data Streams*
- **POST /api/v3/userDataStream** (Create a ListenKey (Spot) (USER_STREAM): Start a new user data stream.)

> :warning: Not yet implemented
```python
client.stream_get_listen_key()
```
- **PUT /api/v3/userDataStream** (Ping/Keep-alive a ListenKey (Spot) (USER_STREAM).)

> :warning: Not yet implemented
```python
client.stream_keepalive(listenKey)
```
- **DELETE /api/v3/userDataStream** (Close a ListenKey (Spot) (USER_STREAM).)

> :warning: Not yet implemented
```python
client.stream_close(listenKey)
```
- **POST /sapi/v1/userDataStream** (Create a ListenKey (Margin).)
```python
client.margin_stream_get_listen_key()
Expand Down
Loading

0 comments on commit cc28523

Please sign in to comment.