Thanks for your help. I don't have any available bitUSD as the only thing I have done is buy BTS and then short bitUSD. My question is can I control the price at which I cover using a limit order? I gather the current design only allows one to cover at the current feed price (aside from depositing extra funds and making a separate bitUSD limit buy).
Up to recently, BitShares did not allow the collateral locked in the short position to be used to buy BitUSD to cover the debt outside of automatic covers caused by either expired shorts (after 30 days) or margin calls (which you normally want to avoid). Recently bytemaster talked about the ability to set the call price (in BTS/BitUSD) on a cover to anything you want above the minimum call price. This could be done by the short position owner to trigger a "margin call" intentionally to act like a limit order that buys the BitUSD using the collateral in the short position. I am not sure if this triggered margin call will match with any orders up to the price feed or up to 10% above the price feed. If it is the latter, this can be a dangerous thing to do since if the orders up to and including the price feed could disappear suddenly (say the order owners detect your call price change transaction on the network and try to front run you) then you can end up paying a lot more than you intended. Either way this doesn't do what you want because it doesn't allow you to specify your own custom price limit. There is also the question of whether this feature (I hesitate to call it that because of how it is implemented) has even been implemented in the current version of the client.
For now, just ignore that feature and pretend it doesn't exist. What this means is that you are either forced to cover with a BitUSD balance that you already own or simply wait until expiration. There is one other thing to keep in mind about expired covering. I think the current implementation of the client has a bug (unless it has already been fixed) in which automatic cover orders of expired shorts will actually buy up to 10% above the price feed rather than just up to and including the price feed as they are supposed to. So again, relying on expired covering might be a bit risky.
Now from your description it seems that you used your entire BTS balance as collateral for a short, is that correct? In that case you are forced to wait until expiration or you need to buy more BitUSD (or more BTS which you then trade for BitUSD) using outside money. This is why you shouldn't use all of your BTS for short collateral; you need to keep some BTS around to be able to buy the BitUSD you will need to cover your short debt. You could then use this BTS to place a BitUSD buy order at the price you want to cover at. What this effectively means is that the amount of margin you need to initially provide for the short is not really 2x but 3x or even 3.5x if you want to be extra safe (2x that gets locked along with the BitUSD buyer's 1x in the collateral, and then the other 1x to 1.5x you keep to support your BitUSD buy order to get the amount of BitUSD necessary to cover the debt).
So as an example, let's say you had 3,500 BTS and the current price feed was 110 BTS/BitUSD. Let's say you were willing to short at a price as low as 100 BTS/BitUSD. Let's also say that you wanted to exit your short position if the price went down to 90 BTS/BitUSD. You would put 2,000 BTS as the margin for a short order at the price feed with a price limit of 100 BTS/BitUSD (meaning the maximum debt you could end up owing from the short position(s) would be 10 BitUSD). In the worst case scenario (excluding margin calls) your short position would be fully matched at the 100 BTS/BitUSD price with someone's bid for 10 BitUSD purchased using 1000 BTS (locking 3000 BTS in the collateral of the short position) and then the price of BitUSD would grow all the way up to 149 BTS/BitUSD (if it reached 150 BTS/BitUSD it would trigger a margin call which you want to avoid). Even if you had to buy BitUSD at a price of 150 BTS/BitUSD, you could use all 1,500 BTS of your remaining BTS balance outside of the collateral to buy the 10 BitUSD which you would then use to cover the short and get back the 3000 BTS collateral (that would be a net loss of 500 BTS). This is a more naive conservative strategy; there are ways to keep smaller amounts of a BTS balance without adding additional risk by splitting up the short orders [1].
Now let's say your short position was fully matched at the 100 BTS/BitUSD price (again 3000 BTS locked in collateral with a 10 BitUSD debt owed). At this point you would want to use your remaining BTS balance to put a BitUSD buy order for a quantity of 10 BitUSD at whatever price limit you wish to exit your BTS long exposure at. So if that price was 90 BTS/BitUSD you would use 900 BTS to put a buy order for 10 BitUSD at the 90 BTS/BitUSD price. The remaining 600 BTS would be kept in your wallet as your BTS balance. Now you can simply leave your wallet alone (making sure the price doesn't get close to the 150 BTS/BitUSD margin call price of course) and let the market take care of everything. Eventually you come back (before the expiration date) and discover whether your buy order was matched or not. If was fully matched you use that 10 BitUSD to cover the short and you end up with 3600 BTS (a net profit of 100 BTS). If was not fully matched, you may decide to cancel the order and instead buy the needed BitUSD at a higher BTS/BitUSD price (meaning smaller profits or even a loss), or you simply cancel the order and let the short expire and have the blockchain do the forced covering for you at any price up to and including the price feed.
[1] If you want to reduce the amount of BTS you need to keep outside of the collateral you can split up your short orders. Here is one strategy for the above example. Instead of having one short order with 2000 BTS margin, you break up the order into the following 5 short orders: 1) 1000 BTS margin; 2) 500 BTS margin; 3) 250 BTS margin; 4) 125 BTS margin; 5) 125 BTS margin. (Note: you can break it up in a similar manner to more orders if you wish but that decision depends on user convenience, unless automated by a bot, and more importantly on the quantity of the margin of the smallest order relative to the transaction fees.) Now in the worst case scenario (excluding margin calls) half the amount of the collateral in any short position would be needed to trade for the necessary amount of BitUSD to cover the debt of that short position. So for the case of short position 5, which would have a collateral of 187.5 BTS, one would need 93.75 BTS outside of collateral to fully cover short position 5. By doing so, one would then have 187.5 BTS outside of collateral, half of which can be put aside and the other half (93.75 BTS) could be used to repeat the process by buying BitUSD to cover short position 4. Short position 4's collateral (187.5 BTS) can be used to buy BitUSD to cover short position 3. Short position 3's collateral (375 BTS) can be used to buy BitUSD to cover short position 2. This continues until all of the short positions have been fully covered and user is left with 1593.75 BTS. Since the user originally had a total of 2000 BTS dedicated for margins of short orders and an additional 93.75 BTS held outside of the collateral to initialize the covering chain, that means there would be a net loss of 500 BTS in this scenario (just like in the previous example).
If the number of short orders you want to split the shorting process (of a total of M BTS margin) into is N (in the above example N = 5), then the margin provided for the smallest short order is (M / 2^(N-1)) BTS, and thus the amount of BTS that should be kept outside of the collateral is 0.75 * (M/ 2^(N-1)) BTS, or 1.5 * (M / 2^N) BTS. That means if the total amount of BTS you own is T = M + 1.5*(M / 2^N) = M * (1 + 1.5/2^N) BTS, then the maximum percentage p of your BTS balance that you should use for short orders if you want to be conservative (assuming you following the above procedure to split the orders up into N orders as described above, where N is an integer greater than 0) is
p = M/T = 1/(1 + 1.5/2^N).