BTS asset exchange launched(Alt's version of "shapeshift" for BTS assets )

Started by alt, February 03, 2015, 01:53:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alt

there is an ask order at price 0.01 CNY/BTS now, and the end time is 07:30:00

alt

support price limit exchange with BTS now,
http://btsx.bitsuperlab.com:8000/auction

trade engine will excute every 4 hours, if your order is match, you will get balance,
if not, your order will enter next round, until 24 hours later, you will get your balance return.

if you want to sell BTS at price more than 0.055,  transfer  BTS to auction.btsbots, the memo is the price(CNY/BTS) limit,
when your order match, you will get BOTSCNY

wallet_transfer 10 BTS baozi auction.btsbots 0.055

if you want to buy BTS at price less than 0.056, transfer USD,CNY,EUR,GOLD,SILVER,or BOTSCNY to auction.btsbots, with price limit

wallet_transfer 1 USD baozi auction.btsbots 0.056

joele

Quote from: Rune on February 03, 2015, 02:41:57 PM
Quote from: xeroc ¯\_(ツ)_/¯ on February 03, 2015, 02:17:54 PM
ha? why would I use a service for exchange when I can do the exchange in the market myself?
What's the use-case here?

This is factually really big. I had been hoping someone would make something like this, as it's a vital piece of infrastructure.

The light wallet cannot trade on the DEX. With a bridge like this then all light wallets have access to easy trading with market orders. Once the system has proven reliable I think the best of these services should be incorporated directly in the GUI of the light wallets. Over time a rating system and alert system can be put in to reduce risk, but at first our focus should be the immediate UX benefit this service has over using the DEX directly for casual traders.
+5%

alt

Quote from: clayop on February 06, 2015, 06:09:09 PM
Awesome work! Once gateways join into Bitshares, their IOUs can be added in your exchange.
The site is very simple now... maybe needs @cass 's hand?

PS. Can you add price switching button?
yes, I should ask cass's help early. wish he still have time, so many project need cass.
I have much more tasks to implement at this exchange,
there will be heavy  work at web development

clayop

Awesome work! Once gateways join into Bitshares, their IOUs can be added in your exchange.
The site is very simple now... maybe needs @cass 's hand?

PS. Can you add price switching button?
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

alt


xeroc



mike623317


bitmarket

This is a great tool for lite wallet clients.   the speed with which things are happening and coming online has me very excited.
Host of [url="//bitshares.tv"]BitShares.TV[/url] and Author of BitShares 101

arhag

Quote from: alt on February 04, 2015, 01:55:11 AM
I don't know how to sent return and change in a single transaction, can you tell me? that will be very helpfull

Oh, I assumed you already knew how to do it because you did it with the bid and ask orders with BTSBOTS (https://bitsharestalk.org/index.php?topic=12289.msg164521#msg164521). But I see that the wallet_market_batch_update command only applies to market orders.

I am confident that the blockchain supports an arbitrary number of deposit and withdrawal operations within a single transaction (as long as the transaction size doesn't exceed limits), but I guess there isn't support to build such a transaction through the client RPC interface as of now. So it is in theory possible to custom build a JSON of such a transaction, then use the wallet_builder_add_signature command to sign and broadcast it, but that is a lot of effort so forget it (unless you want to!). I also wonder how the full client would visualize such a transaction in the transaction history.

alt

Quote from: arhag on February 04, 2015, 01:46:25 AM
Quote from: alt on February 04, 2015, 01:15:34 AM
here is a history list, spent about 2-20 seconds to complete a trade

2015-02-03T13:22:20 1693307 d4941f29 buy GOLD with 0.88 USD from wildpig
2015-02-03T13:24:40 1693321 ae5a360c buy USD with 1.2 CNY from metalallen
2015-02-03T13:26:05 1693330 a76752e1 sell 0.1902 USD to metalallen
2015-02-03T13:30:03 1693354 37e02ce7 sell 0.000377 GOLD to wildpig
2015-02-03T13:30:04 1693354 2c799b70 change 0.3901 USD to wildpig
2015-02-03T13:32:40 1693369 1dcdd369 buy GOLD with 0.88 USD from dorian
2015-02-03T13:32:49 1693370 2a2ad0b3 change 0.3906 USD to dorian
2015-02-03T13:32:49 1693370 3b2482af sell 0.000378 GOLD to dorian
2015-02-03T13:42:20 1693427 58b72942 buy USD with 2 CNY from icenox
2015-02-03T13:42:35 1693429 bd6f0473 sell 0.3171 USD to icenox
2015-02-03T14:13:40 1693615 b6a840bb buy USD with 0.5 CNY from marchliang
2015-02-03T14:13:53 1693617 5938565d sell 0.0793 USD to marchliang
2015-02-03T14:15:00 1693623 17398ca8 buy CNY with 0.1 USD from marchliang
2015-02-03T14:15:15 1693625 2d448fd7 sell 0.6214 CNY to marchliang
2015-02-03T18:50:30 1695263 6e434a37 buy USD with 100 BTS from fundomatic
2015-02-03T18:50:42 1695265 7f0b1e0d sell 1.032 USD to fundomatic
2015-02-03T18:54:20 1695286 fa0b370a buy CNY with 100 BTS from fundomatic
2015-02-03T18:54:20 1695287 e8247339 sell 6.463 CNY to fundomatic
2015-02-03T18:55:00 1695290 1941a37e buy EUR with 100 BTS from fundomatic
2015-02-03T18:55:04 1695292 643e41a2 sell 0.8978 EUR to fundomatic
2015-02-03T18:56:40 1695300 515fd696 buy GOLD with 100 BTS from fundomatic
2015-02-03T18:56:54 1695302 24b6f1ef sell 0.000804 GOLD to fundomatic
2015-02-03T18:58:30 1695311 43212b15 buy SILVER with 100 BTS from fundomatic
2015-02-03T18:58:32 1695312 947c518c sell 0.0587 SILVER to fundomatic
2015-02-03T18:59:50 1695319 1f1e5869 buy BTC with 100 BTS from fundomatic
2015-02-03T19:00:04 1695321 18ac9448 sell 0.004305 BTC to fundomatic
2015-02-03T19:53:20 1695640 fece5077 buy GOLD with 100 BTS from tmp1.btsbots
2015-02-04T00:23:10 1697257 a170ba48 buy USD with 100 CNY from btshuang
2015-02-04T00:23:26 1697259 345e5a64 sell 15.87 USD to btshuang
2015-02-04T00:28:00 1697286 aca9c55c buy USD with 100 CNY from btshuang
2015-02-04T00:28:02 1697287 588207f9 sell 15.86 USD to btshuang


How do you determine how much of the order to fulfill (and in what time limits)? I noticed that a lot of the orders with GOLD are partially filled (presumably because those markets are not very liquid?) and the rest is returned as change. Also, what do you think instead combining the partial fill returns and the change into a single transaction, just to make things simpler in the user's transaction history (plus it saves you an extra transaction fee)?
that's for test, I set the  max limit to 3 CNY at that moment. now I have change the limit to 100 CNY.
I don't know how to sent return and change in a single transaction, can you tell me? that will be very helpfull

arhag

Quote from: alt on February 04, 2015, 01:15:34 AM
here is a history list, spent about 2-20 seconds to complete a trade

2015-02-03T13:22:20 1693307 d4941f29 buy GOLD with 0.88 USD from wildpig
2015-02-03T13:24:40 1693321 ae5a360c buy USD with 1.2 CNY from metalallen
2015-02-03T13:26:05 1693330 a76752e1 sell 0.1902 USD to metalallen
2015-02-03T13:30:03 1693354 37e02ce7 sell 0.000377 GOLD to wildpig
2015-02-03T13:30:04 1693354 2c799b70 change 0.3901 USD to wildpig
2015-02-03T13:32:40 1693369 1dcdd369 buy GOLD with 0.88 USD from dorian
2015-02-03T13:32:49 1693370 2a2ad0b3 change 0.3906 USD to dorian
2015-02-03T13:32:49 1693370 3b2482af sell 0.000378 GOLD to dorian
2015-02-03T13:42:20 1693427 58b72942 buy USD with 2 CNY from icenox
2015-02-03T13:42:35 1693429 bd6f0473 sell 0.3171 USD to icenox
2015-02-03T14:13:40 1693615 b6a840bb buy USD with 0.5 CNY from marchliang
2015-02-03T14:13:53 1693617 5938565d sell 0.0793 USD to marchliang
2015-02-03T14:15:00 1693623 17398ca8 buy CNY with 0.1 USD from marchliang
2015-02-03T14:15:15 1693625 2d448fd7 sell 0.6214 CNY to marchliang
2015-02-03T18:50:30 1695263 6e434a37 buy USD with 100 BTS from fundomatic
2015-02-03T18:50:42 1695265 7f0b1e0d sell 1.032 USD to fundomatic
2015-02-03T18:54:20 1695286 fa0b370a buy CNY with 100 BTS from fundomatic
2015-02-03T18:54:20 1695287 e8247339 sell 6.463 CNY to fundomatic
2015-02-03T18:55:00 1695290 1941a37e buy EUR with 100 BTS from fundomatic
2015-02-03T18:55:04 1695292 643e41a2 sell 0.8978 EUR to fundomatic
2015-02-03T18:56:40 1695300 515fd696 buy GOLD with 100 BTS from fundomatic
2015-02-03T18:56:54 1695302 24b6f1ef sell 0.000804 GOLD to fundomatic
2015-02-03T18:58:30 1695311 43212b15 buy SILVER with 100 BTS from fundomatic
2015-02-03T18:58:32 1695312 947c518c sell 0.0587 SILVER to fundomatic
2015-02-03T18:59:50 1695319 1f1e5869 buy BTC with 100 BTS from fundomatic
2015-02-03T19:00:04 1695321 18ac9448 sell 0.004305 BTC to fundomatic
2015-02-03T19:53:20 1695640 fece5077 buy GOLD with 100 BTS from tmp1.btsbots
2015-02-04T00:23:10 1697257 a170ba48 buy USD with 100 CNY from btshuang
2015-02-04T00:23:26 1697259 345e5a64 sell 15.87 USD to btshuang
2015-02-04T00:28:00 1697286 aca9c55c buy USD with 100 CNY from btshuang
2015-02-04T00:28:02 1697287 588207f9 sell 15.86 USD to btshuang


How do you determine how much of the order to fulfill (and in what time limits, since I noticed wildpig's gold order took 8 minutes to partially be fulfilled)? I noticed that the orders purchasing GOLD with USD are partially filled (presumably because those markets are not very liquid?) and the rest is returned as change. Also, what do you think about instead combining the partial fill returns and the change into a single transaction, just to make things simpler in the user's transaction history (plus it saves you an extra transaction fee)?

metalallen

Quote from: alt on February 04, 2015, 01:28:18 AM
next, I'll try to find the best price order from wallet market, connect the market and  this exchange service.

Go for it! +5% +5%
浮壹白的微博:[url=http://weibo.com/u/2279693077]http://weibo.com/u/2279693077[/url]
BTSX Account:metalallen

alt

next, I'll try to find the best price order from wallet market, connect the market and  this exchange service.