ctubio / Krypto-trading-bot

Self-hosted crypto trading bot (automated high frequency market making) written in C++
https://127.0.0.1:3000
Other
3.35k stars 821 forks source link

Okex -> -0.1 maker fees. Is the bot working with it ? #459

Closed Camille92 closed 6 years ago

Camille92 commented 6 years ago

Hi Carles and all,

I just looked at Okex which is the alt trading platform of OkCoin.

It seems to be a good exchange to trade in as the maker fees is negative (and -0.1% is a LOT). If you just trade 10x your stack, you made already 1%.

Doing market making, I achieve to exchange my stack around 1000 times per month, so I think it's really worth it.

Plus, as it's derivated from OkCoin, I imagine that the API might be pretty similar or exactly the same.

They offer a lot of pairs to trade in, so it seems to be one good trading platform for the bot. (Above 40).

Tell me what you think,

Camille

Camille92 commented 6 years ago

https://www.okex.com/ https://www.okex.com/intro_apiOverview.html

ctubio commented 6 years ago

just change the WSS HTTP endpoints and there you go, like okcoin.cn i hope

Camille92 commented 6 years ago

That would be amazing it is just that, I will try when I have time :)

serzhiio commented 6 years ago

Are they working outside US territory?

Camille92 commented 6 years ago

They are Chinese, I think they don't care when you come from as you don't put fiat there.

They have crypto / BTC, crypto /ETH and crypto /USDT pairs.

serzhiio commented 6 years ago

Unfortunately BTC maker fee is positive.

Camille92 commented 6 years ago

No look go on "token trading" side and everything is minus -0.1.

capture d ecran 2017-12-04 a 14 06 01

serzhiio commented 6 years ago

Hm interesting! I've glanced here. fee the leading global bitcoin cryptocurrency exchange okex com P.S.: Camille how can I contact you, i have some questions about bitfinex.

Camille92 commented 6 years ago

It's for the futures :).

You'll tell me when I'm on the IRC or here :)

Camille92 commented 6 years ago

I need to add that volume is probably going to be an issue here (see: https://coinmarketcap.com/exchanges/okex/), but that would be a good starting exchange for people with a small budget!

CarlitoGrey commented 6 years ago

Just updating the API addresses doesn't work:

terminate called after throwing an instance of 'std::out_of_range'
  what():  unresolved reference token '4'

I'm guessing there's some small changes to the API. I'd be interested in getting on this exchange so another vote from me!

CarlitoGrey commented 6 years ago

Ok, managed to get it to connect but there's no order book :D.

Camille92 commented 6 years ago

Oh sad!

I was thinking about it, it's crazy you trade 1M, and you get 1000USD! And that's just if you sell at the price of buying.

CarlitoGrey commented 6 years ago

Yup! Sounds good to me.

b-seite commented 6 years ago

Hey @CarlitoGrey do you like to explain hot you fixed the unresolved reference token error?

ctubio commented 6 years ago

reopening cos some buggy bugs were reported about this integration