> ## Content Index
> Fetch the complete content index at: https://alpaca.markets/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# API & Web-Dashboard Updates, Trade Contest, SDK Updates for alpaca-proxy-agent
- URL: https://alpaca.markets/blog/sdk-api-trade-contest/
- Published: 2020-10-12T17:39:57.000Z
- Updated: 2020-10-12T17:39:57.000Z
- Description: These new features are to offer more flexibility when using Alpaca products and are to give you more visibility on the web-dashboard as well.
- Author: Yoshi Yokokawa
- Tags: product update, algo trading

We are constantly adding new features in our API as well as in the web-dashboard. These features are to offer more flexibility when using Alpaca products and are to give your more visibility on the web-dashboard as well.

---

## Liquidate a Part of Your Position via API

The position API now accepts a new parameter \`qty\` in the \`DELETE /v2/positions/{symbol}\` endpoint.

This allows you to specify the number of shares to liquidate instead of all the shares you are holding which is the default behavior when you don’t specify. Please check out the API reference in the [documentation](https://alpaca.markets/docs/api-documentation/api-v2/positions/?ref=alpaca.markets#close-a-position). 

[Positions - Documentation | AlpacaAlpaca API lets you build and trade with real-time market data for free.![](https://alpaca.markets/static/favicon-32x32.png)AlpacaAlpaca![](https://alpaca.markets/docs/images/alpacalogo.png)](https://alpaca.markets/docs/api-documentation/api-v2/positions/?ref=alpaca.markets#close-a-position)

The same functionality is now available in the Positions Page on the web-dashboard.

![](https://alpaca.markets/blog/content/images/2020/10/image.png)

---

## Hosting the 2nd Trade Contest (Starts on 10/26)

We are excited to announce that Alpaca is hosting its second virtual Electronic Trading Contest starting on Oct 26 (Monday), a four-week-long contest where participants compete against each other in a simulated market using the Alpaca Paper Trading feature. There are cash prizes (Amazon gift cards ?) for the winning participants.

For detail, please visit [here](https://alpaca.markets/blog/2nd-trade-contest/).

[2nd Trade Contest - 10/26 MondayThe second Trade Contest is starting on Oct 26 (Mon), a 4-week-long contest where participants compete in a simulated market.![](https://alpaca.markets/blog/favicon.png)AlpacaYoshi Yokokawa![](https://alpaca.markets/blog/content/images/2020/10/trade_contest.png)](https://alpaca.markets/blog/2nd-trade-contest/)

---

## Balances Page on the Web-Dashboard

A new page, Balances Page, has been added to give you more visibility about your account balances. This page shows detail information about your cash position, maintenance margin requirements, RegT vs day trading buying power etc for real time and beginning of day.

![](https://alpaca.markets/blog/content/images/2020/10/image-1.png)

This update comes with a minor change in the Positions Page which now has a pie chart to visualize the ratio between your cash position and stock values.

![](https://alpaca.markets/blog/content/images/2020/10/image-2.png)

---

## SDK Updates

We have added support in several SDKs for [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets) which allows you to run multiple strategies in parallel under one websocket. Please see the [project on Github](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets) and step-by-step [how to set it up](https://alpaca.markets/learn/alpaca-proxy-agent-01/?ref=alpaca.markets) here.

And there are more SDK updates as well!

[shlomikushchi/alpaca-proxy-agentContribute to shlomikushchi/alpaca-proxy-agent development by creating an account on GitHub.![](https://github.githubassets.com/favicons/favicon.svg)GitHubshlomikushchi![](https://avatars2.githubusercontent.com/u/7924802?s=400&v=4)](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets)

[Run Multiple Algorithms on Alpaca - Alpaca Proxy Agent (Part I)Showing you how to run multiple algorithms on Alpaca using the Alpaca Proxy Agent and one websocket.![](https://alpaca.markets/learn/favicon.png)Alpaca ResourcesShlomi Kushchi![](https://alpaca.markets/learn/content/images/2020/10/alpaca-proxy.png)](https://alpaca.markets/learn/alpaca-proxy-agent-01/?ref=alpaca.markets)

### [Python SDK 0.51.0](https://github.com/alpacahq/alpaca-trade-api-python/releases/tag/v0.51.0?ref=alpaca.markets)

In this release, we add support for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets).

Also:

- Add a new simple stream example to demonstrate how to use the streaming service. It's under examples/websocket\_example.py
- Cleaner look for the documentation (README file)
- Explain exactly how to use get\_barset()

### [JS SDK 1.4.2](https://github.com/alpacahq/alpaca-trade-api-js/releases/tag/v1.4.2?ref=alpaca.markets)

In this release, we add support for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets).

Also, a fix was added to example code: long-short.js 

### [pylivetrader 0.5.1](https://github.com/alpacahq/pylivetrader/releases/tag/v0.5.1?ref=alpaca.markets)

In this release, we make this project compatible for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets).

Also:

- mchanged can\_trade to be more resilient
- fixed minor issues with the smoke-util

### [backtrader-api 0.11.0](https://github.com/alpacahq/alpaca-backtrader-api/releases/tag/v0.11.0?ref=alpaca.markets)

In this release, we add support for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets).

Also:

- Fix issue in which a custom order id was not stored with the order object
- Update the url for live trading (wasn't set)
- Enhance the sample code and fix constants
- Update trading\_calendars

### [Go SDK 1.6.2](https://github.com/alpacahq/alpaca-trade-api-go/releases/tag/v1.6.2?ref=alpaca.markets)

In this release, we add support for the [alpaca-proxy-agent](https://github.com/shlomikushchi/alpaca-proxy-agent?ref=alpaca.markets).

---

****Follow** [****@AlpacaHQ**](https://twitter.com/AlpacaHQ?ref=alpaca.markets) **on Twitter!**

*Brokerage services are provided by Alpaca Securities LLC ("Alpaca"), member*[ ***FINRA***](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=qpbQqeRiiyQ9eoidGxf0MAM1iw7jPUUR54KQlbWcSjw%3D&h=b35b7e63d6333d5f97109f0060863f4665d71673-24832849877&l=7174bf3f1edb5bae5547dc9e4db718e77df9c984-2178780&ref=alpaca.markets)*/*[***SIPC***](https://alpaca-e339b1d6388e.intercom-clicks.com/via/e?ob=KEgWd3oylzYecFsezsP1uKfc88J7HUWn9qRQaPRyd2M%3D&h=a65f07d4555b46d85565b602cdc2adbc8eb8bcff-24832849877&l=084175e32d9b7be859dd1c08204cf50201a101c7-2178781&ref=alpaca.markets)*, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc.*