Bitcoin Forum
November 09, 2024, 08:35:10 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin HFT client using FIX API  (Read 1726 times)
yossarian78 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 13, 2015, 08:36:14 AM
 #1

I am looking for a skilled developer with hands on experience building automatic trading applications in the bitcoin world.

The desired product is a simple interface (no gui needed) to run my own trading algorithm.

Requirments:
Get realtime data from btcchina and okcoin exchanges.
Create buy&sell procedures with error handling.
Create a log file for every session of trading.
Wrap it all in threads that can function simultaneously.
*** interface with exchanges using their FIX API
Create an empty client (for me) that will allow me to get the real time market data, do my own calculations, and perform my trades with minimum latency.

You can do the project yourself or guide me through it - both are acceptable.

For details pleasse contact me at supraniti.inbox@gmail.com
best regards,
Yair
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1073



View Profile
May 13, 2015, 04:28:57 PM
 #2

Two questions:

1) according to you which cryptocoins exchanges have an actual working FIX protocol interface with real live data, not some "demo mode"?

2) are you (or your intended programmer/user) familiar with the totally event-driven, non-blocking, programming paradigm?

I'm asking those questions after some experience with non-cryptocoin trading where people and companies claim to support FIX, but don't really do support it and moreover are completely mentally wedded to the request-response paradigm (RPC, REST, etc.)

Edit: And maybe a 3rd question:

3) are you essentially asking for a cryptocoin equivalent of e.g. Interactive Brokers gateway that talks FIX with the exchange but does multithreaded RPC/LPC with the user's/programmer's algorithms?

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
arunka71
Sr. Member
****
Offline Offline

Activity: 410
Merit: 257


View Profile
May 14, 2015, 03:18:46 PM
 #3

I could help with some Java code for REST api's?
arunka71
Sr. Member
****
Offline Offline

Activity: 410
Merit: 257


View Profile
May 16, 2015, 03:22:09 PM
 #4

When I did my HFT attempts, the biggest problem were the rest APIs of the exchanges, that had major access restrictions (often like 1 currency pair every15s, or so). With hundreds of pairs, it's almost impossible to get all the arb opportunities in a reasonable time. Maybe proxies or several servers would help, but I never had such infrastructure available.

One of my older attempts:


2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1073



View Profile
May 17, 2015, 04:25:41 PM
 #5

When I did my HFT attempts, the biggest problem were the rest APIs of the exchanges, that had major access restrictions (often like 1 currency pair every15s, or so).
REST is for losers. The whole point of FIX is that there's only one connection long lasting being made for the whole trading session. FIX conceptually hails from the days of analog telephone modems, where establishing a connection took better part of a minute.

The problem with FIX is that it requires implementation of the producer-subscriber design pattern and that is way too much for most of the programmers, who never ventured beyond request-response pattern.

The main problems with REST (and other communication mechanisms based on HTTP) is that the sudden spike in popularity of the service is indistinguishable from a distributed denial of service attack.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
arunka71
Sr. Member
****
Offline Offline

Activity: 410
Merit: 257


View Profile
May 17, 2015, 10:41:30 PM
 #6

I studied JavaFix, but the problem is just, that it's so different from most of the current exchanges. I needed a design, that abstracts from one specific exchange, so a bot could communicate via a interface, that is then implemented for all the exchanges. So you could write a strategy, and apply it then to any supported exchange as an example.
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1073



View Profile
May 17, 2015, 10:46:38 PM
 #7

I studied JavaFix, but the problem is just, that it's so different from most of the current exchanges.
When you say "current exchanges" do you mean "cryptocoin exchanges" or "established financial exchanges"? In the FIAT financial world every exchange/broker/etc. supports FIX or equivalent session-oriented protocol. When they do not support it its a good sign that it is a bucket shop or other scam.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
arunka71
Sr. Member
****
Offline Offline

Activity: 410
Merit: 257


View Profile
May 18, 2015, 01:44:45 AM
 #8

Cryptocoin exchanges, I meant...
Serge_Quantor
Member
**
Offline Offline

Activity: 123
Merit: 10

Quantitative investments in decentralized ecomomy


View Profile WWW
November 09, 2017, 09:42:30 PM
 #9

Requirments:
Get realtime data from btcchina and okcoin exchanges.
Create buy&sell procedures with error handling.
Create a log file for every session of trading.
Wrap it all in threads that can function simultaneously.
*** interface with exchanges using their FIX API

I’ve also heard HitBTC has FIX API https://hitbtc.com/fix
Do you know about that?

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!