# Help with CP asset trading

**URL:** <https://forums.counterparty.io/t/help-with-cp-asset-trading/384>\
**Category:** Counterwallet\
**Created:** [July 31, 2014, 12:25pm UTC](https://forums.counterparty.io/t/help-with-cp-asset-trading/384 "2014-07-31T12:25:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thehun](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/thehun/32/27_2.png) [@thehun](https://forums.counterparty.io/u/thehun)\
**Post date:** [July 31, 2014, 12:25pm UTC](https://forums.counterparty.io/t/help-with-cp-asset-trading/384/1 "2014-07-31T12:25:08Z")

</div>

Hi,   
  
  
I placed a market sell order for SWARMPRE and 3 days later it still shows open… even though now there are BUY orders for a higher price. Also, I can’t cancel the transaction either as it seems I need to send more BTC to my account again  
  
  
I really don’t get this  
  
  
My Open Orders   
Type&nbsp; Price [BTC/SWARMPRE]&nbsp; Amount [SWARMPRE]&nbsp; Total BTC&nbsp; Completion   
Action SELL&nbsp; 0.000182&nbsp; 1472.52747253 0.268&nbsp; 0.00%&nbsp; Cancel  
  
  
And now there are buy orders for 0.000191  
  
  
Later, after sending 0.01 BTC to my CP address from a different wallet it shows this:  
  
  
My Trades History  
Type&nbsp; Block Time&nbsp; Price BTC&nbsp; Amount [SWARMPRE]&nbsp; Total BTC&nbsp; Status  
SELL&nbsp; 2014/07/31 04:27:45 PM +02:00&nbsp; 0.000182&nbsp; 54.94615384&nbsp; 0.0100002&nbsp; pending  
  
  
My Open Orders  
Type&nbsp; Price [BTC/SWARMPRE]&nbsp; Amount [SWARMPRE]&nbsp; Total BTC&nbsp; Completion&nbsp; Action  
SELL&nbsp; 0.000182&nbsp; 1417.58131869&nbsp; 0.2579998&nbsp; 3.73%&nbsp; Cancel  
  
  
So now instead of getting the 0.01 BTC from my wallet, exactly 0.01 BTC worth of SWARMPRE have been sold and that is the balance of my CP BTC wallet (the transaction I sent however seems to have evaporated into thin air)  
  
  
Am I missing anything?  
Cheers

---

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [July 31, 2014, 1:12pm UTC](https://forums.counterparty.io/t/help-with-cp-asset-trading/384/2 "2014-07-31T13:12:07Z")

</div>

[quote author=thehun link=topic=479.msg2955#msg2955 date=1406823908]  
Hi,   
  
  
I placed a market sell order for SWARMPRE and 3 days later it still shows open… even though now there are BUY orders for a higher price. Also, I can’t cancel the transaction either as it seems I need to send more BTC to my account again  
  
…  
  
So now instead of getting the 0.01 BTC from my wallet, exactly 0.01 BTC worth of SWARMPRE have been sold and that is the balance of my CP BTC wallet (the transaction I sent however seems to have evaporated into thin air)  
  
  
Am I missing anything?  
Cheers  
[/quote]  
  
When your order is matched, then your offer and the other party’s offer are placed in escrow and wait for settlement.  
If one of the sides has insufficient amount of tokens to pay or maybe logs out, then the DEX will keep the order pending for 20 blocks and return the tokens to each side minus the transaction fee charge (and I think a small penalty for the side that didn’t pay).  
XCP can’t “disappear” if transaction hasn’t been completed.   
  
“even though now there are BUY orders for a higher price”: well now is now, and then was then.&nbsp; Your sell order was probably matched before and it’s now stuck waiting for the other guy to show up (and he may not show up), so if that’s what happened with your order you’ll get your tokens back when that order expires (20 blocks from the time it was matched which you can see in address History or elsewhere), until then they’re held in escrow and can’t be sold again (to these current bidders).&nbsp;   
  
Due to the nature of Counterparty not having direct control of people’s wallets, the DEX doesn’t work and can’t work the same way as centralized exchanges.  
  
Check these forums and the Wiki and if you can’t use these tools to check what’s going on with your ballance paste here your address.   
[https://wiki.counterparty.co/w/How\_to\_track\_Bitcoin\_and\_Counterparty\_orders,\_transactions\_and\_assets](https://wiki.counterparty.co/w/How_to_track_Bitcoin_and_Counterparty_orders,_transactions_and_assets)

---

<div class="post-metadata">

**Author:** ![thehun](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/thehun/32/27_2.png) [@thehun](https://forums.counterparty.io/u/thehun)\
**Post date:** [July 31, 2014, 2:18pm UTC](https://forums.counterparty.io/t/help-with-cp-asset-trading/384/3 "2014-07-31T14:18:34Z")

</div>

Thanks,  
  
  
so when the order actually gets matched, I have to wait for the other party to pay his BTC/XCP or otherwise it will get cancelled. I guess this is what happened to this 3.73% of my order that now doesn’t show up any longer (completion 0% again).   
  
  
However, the original buy order for [right]1472.52747253 SWARMPRE at 0.000182 BTC/SWARMPRE is still there, and it never actually seems to get matched with my sell order. It has been like this for 3-4 days now (way more than 20 blocks). Other orders are being matched for higher prices but not mine (my order doesn’t show up in the orderbook at all).   
  
Should I just cancel the order and place a new one? Also, does a fee get charged even if the transaction doesn’t complete (as I was asked to put more money into my wallet in order to be able to cancel it at all).  
  
[right]I can’t track my balance on blockscan as it only shows XCP, not BTC. My CW address is [/right]19FviQGN1QdcSXEFabHMPv47zuwaMuRMKi  
  
  
Cheers  
  
P.D.: sorry for the odd formatting, I actually tried to remove all formatting from my message but it somehow got right-aligned!

---

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [July 31, 2014, 2:41pm UTC](https://forums.counterparty.io/t/help-with-cp-asset-trading/384/4 "2014-07-31T14:41:04Z")

</div>

Okay, that’s probably enough detail for further troubleshooting.  
I’ll try to get someone who knows more about the DEX to look into this.

---

<div class="post-metadata">

**Author:** ![thehun](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/thehun/32/27_2.png) [@thehun](https://forums.counterparty.io/u/thehun)\
**Post date:** [July 31, 2014, 4:54pm UTC](https://forums.counterparty.io/t/help-with-cp-asset-trading/384/5 "2014-07-31T16:54:47Z")

</div>

[quote author=something link=topic=479.msg2959#msg2959 date=1406832064]  
Okay, that’s probably enough detail for further troubleshooting.  
I’ll try to get someone who knows more about the DEX to look into this.  
[/quote]  
  
  
thanks, I’m looking forward to it!

---

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [August 8, 2014, 2:30am UTC](https://forums.counterparty.io/t/help-with-cp-asset-trading/384/6 "2014-08-08T02:30:49Z")

</div>

[font=Verdana][size=78%]Can you tell me if this explanation helps?[/size][/font]  
[https://bitcointalk.org/index.php?topic=395761.msg8136340#msg8136340](https://bitcointalk.org/index.php?topic=395761.msg8136340#msg8136340)  
  
  
If not please contact Counterparty support.
