Bitcoin Forum
August 09, 2024, 01:08:15 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitbank: Auto Earn BTC\CNY\USD\LTC without mine  (Read 1235 times)
bitsaint (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
July 21, 2014, 10:27:07 AM
 #1

Hello everyone~
I had developed a project named "Bitbank".This is not a bank, but a bank own yourself.
This code was written to help you earn money easily on market(like bitstamp btc-e huobi okcoin).

for example, there are 2 market in china: huobi & okcoin
I use ltc for test(because it's cheap  Grin)

prepare:
Deposit some cny and ltc in huobi
Deposit same cny and ltc in okcoin

algorithm:
1: get huobi&okcoin market depth @runtime
2: search the depth to find the difference of prices
3: if huobi.bid.price > okcoin.ask.price then I will buy some ltc in okcoin and sell the same amount in huobi @ the same time
after that I won the "difference of prices" * "amount"

Technical Parameters
Project : VS2013
Language : C#
Multi-Thread : YES
Param Can Edit:safePriceProfitThreshold/safeDeficitThreshold/safeAmountDepthThreshold/safeAmountRate/safeAmountThreshold/safeMinestAmount
Framework : main thread is a company (your bank) , every sub-thread is a role of this company. every role work as real-people just like the real-world.There are  monitors, workers, anaysts, finances.

But I had just a little of money, I want to sell this framework to more people.
Let's stable the price~ Cool

ext plan : you can add some role and create a new company by yourself. such as a company of buying btc with the price $100 lower than markets.  Cool

anyone interesting?
bitsaint (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
July 21, 2014, 10:28:43 AM
 #2

Somel Log Like This:

Quote

huobi buy order     okc sell order
53.43     53.23
buy ltc in huobi & sell ltc in okc : amount = 3
okc sell id = 35492152
huobi buy id = 5296552
CNY = 4440.48703  LTC = 126.187 Profit = 6.69999999999982
huobi buy order     okc sell order
53.42     53.22
buy ltc in huobi & sell ltc in okc : amount = 3
huobi buy id = 5296569
okc sell id = 35492172
CNY = 4441.08703  LTC = 126.187 Profit = 7.30000000000018
okc-ltc market depth(LTC_CNY):
   buy orders      sell orders
1   53.3   892.687   53.32   100.553
2   53.28   71.3   53.35   10
3   53.27   146.5   53.36   10
4   53.26   194.3   53.37   140
5   53.24   104.3   53.38   555
huobi-ltc market depth(LTC_CNY):
   buy orders      sell orders
1   53.14   30.9458   53.15   17.802
2   53.11   155.1368   53.16   60.2572
3   53.1   500   53.2   324.1973
4   53.06   250   53.21   1027.4648
5   53.05   80.1664   53.22   0.5

Nobitcoin
Legendary
*
Offline Offline

Activity: 966
Merit: 1000


In holiday we trust


View Profile
July 21, 2014, 10:53:31 AM
 #3

Wouldn't this depend on the speed of the transactions and if a bottleneck happens than it would be pointless but good idea.
bitsaint (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
July 21, 2014, 11:23:03 AM
 #4

Wouldn't this depend on the speed of the transactions and if a bottleneck happens than it would be pointless but good idea.
you are right, a bottleneck may make one side order un-done
try
1. transaction  lower amount to void bottleneck
2. wait for market rebound(most situation, the market will rebound itself)
3. continue to run until other side order un-done, cancel two orders.
4. allow some “Deficit”  make more Frequency
polynesia
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000



View Profile
July 22, 2014, 01:05:13 AM
 #5

What are the transaction charges?
Any charges while depositing / withdrawing CNY?
bitsaint (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
July 22, 2014, 01:18:23 AM
 #6

What are the transaction charges?
Any charges while depositing / withdrawing CNY?

yes, 0% in chinese market
okcoin will launch btc/usd
http://www.coindesk.com/chinese-exchange-okcoin-launch-usd-deposits-withdrawals/

I think..., everyone hope USD/BTC trading will be free like CNY/BTC.
polynesia
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000



View Profile
July 23, 2014, 01:35:11 AM
 #7



yes, 0% in chinese market
okcoin will launch btc/usd
http://www.coindesk.com/chinese-exchange-okcoin-launch-usd-deposits-withdrawals/

I think..., everyone hope USD/BTC trading will be free like CNY/BTC.


Very interesting.
Any idea about how the revenue model of the exchange is?
Where exactly do they make their money?
bitsaint (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
July 23, 2014, 06:00:25 AM
 #8



yes, 0% in chinese market
okcoin will launch btc/usd
http://www.coindesk.com/chinese-exchange-okcoin-launch-usd-deposits-withdrawals/

I think..., everyone hope USD/BTC trading will be free like CNY/BTC.


Very interesting.
Any idea about how the revenue model of the exchange is?
Where exactly do they make their money?

cny/btc : huobi btcc okcoin
usd/btc : btc-e bitstamp (but the fee is too high. I think the fee would lower after btcc/okcoin support usd/btc).

Another way, u can use less money buy btc or more money sell btc.
now $620 ; just buy as $610 ~ $500 per btc ; or sell as $630~$700 per btc.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!