Bitcoin Forum
May 28, 2024, 03:28:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Framework/library for bitcoin trading bot?  (Read 5086 times)
hugolp (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


Radix-The Decentralized Finance Protocol


View Profile
March 27, 2013, 09:52:57 PM
 #1

Im looking for a framework/library to program a trading bot. Ideally Python but java or even C would be acceptable. Anyone can recommend any?

Just to be clear, Im not looking for an already programmed bot or strategies. Im looking for a library that it will facilitate writting my own.


               ▄████████▄
               ██▀▀▀▀▀▀▀▀
              ██▀
             ███
▄▄▄▄▄       ███
██████     ███
    ▀██▄  ▄██
     ▀██▄▄██▀
       ████▀
        ▀█▀
The Radix DeFi Protocol is
R A D I X

███████████████████████████████████

The Decentralized

Finance Protocol
Scalable
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
██                   ██
██                   ██
████████████████     ██
██            ██     ██
██            ██     ██
██▄▄▄▄▄▄      ██     ██
██▀▀▀▀██      ██     ██
██    ██      ██     
██    ██      ██
███████████████████████

███
Secure
      ▄▄▄▄▄
    █████████
   ██▀     ▀██
  ███       ███

▄▄███▄▄▄▄▄▄▄███▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀██
██             ██
██             ██
██             ██
██             ██
██             ██
██    ███████████

███
Community Driven
      ▄█   ▄▄
      ██ ██████▄▄
      ▀▀▄█▀   ▀▀██▄
     ▄▄ ██       ▀███▄▄██
    ██ ██▀          ▀▀██▀
    ██ ██▄            ██
   ██ ██████▄▄       ██▀
  ▄██       ▀██▄     ██
  ██▀         ▀███▄▄██▀
 ▄██             ▀▀▀▀
 ██▀
▄██
▄▄
██
███▄
▀███▄
 ▀███▄
  ▀████
    ████
     ████▄
      ▀███▄
       ▀███▄
        ▀████
          ███
           ██
           ▀▀

███
Radix is using our significant technology
innovations to be the first layer 1 protocol
specifically built to serve the rapidly growing DeFi.
Radix is the future of DeFi
█████████████████████████████████████

   ▄▄█████
  ▄████▀▀▀
  █████
█████████▀
▀▀█████▀▀
  ████
  ████
  ████

Facebook

███

             ▄▄
       ▄▄▄█████
  ▄▄▄███▀▀▄███
▀▀███▀ ▄██████
    █ ███████
     ██▀▀▀███
           ▀▀

Telegram

███

▄      ▄███▄▄
██▄▄▄ ██████▀
████████████
 ██████████▀
   ███████▀
 ▄█████▀▀

Twitter

██████

...Get Tokens...
lucif
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


Clown prophet


View Profile
March 27, 2013, 09:57:44 PM
 #2

I wrote custom one (php). Didn't find anything suitable.
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
March 27, 2013, 10:02:53 PM
 #3

https://github.com/chrisacheson/liquidbot

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
lucif
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


Clown prophet


View Profile
March 28, 2013, 01:07:42 AM
 #4

Started PHP repository for that. Currently imported only btce interface. MtGox and Bitstamp comming.

https://github.com/pentarh/btctrading-lib
w1R903
Full Member
***
Offline Offline

Activity: 218
Merit: 100


View Profile
March 28, 2013, 09:34:57 AM
 #5

Im looking for a framework/library to program a trading bot. Ideally Python but java or even C would be acceptable. Anyone can recommend any?

Just to be clear, Im not looking for an already programmed bot or strategies. Im looking for a library that it will facilitate writting my own.

Here's the only thing I've found that might fit the definition of "library" for trading, and it's in Java:

https://github.com/timmolter/XChange

Even though it's in Ruby, I'm finding this post helpful as I've started writing my own arbitrage bot in Python.  If you're looking to include arbitration in your bot, it may prove of use:

http://www.kelvinjiang.com/2010/10/currency-arbitrage-in-99-lines-of-ruby.html

Here are a few implementations of the above algo in Python:

http://shriphani.com/blog/2010/07/02/bellman-ford-algorithms-applications-triangular-arbitrage/
https://github.com/mlbright/arbitrage

I know that you're not looking for an actual bot, but here's one specifically for arbitrage in Python that might help you with exchange APIs. It's even licensed MIT (thanks maxme!). It uses a brute force algo for arbitration, and I don't know enough about this to say whether or not it would be as effective as something like Bellman-Ford. 

https://github.com/maxme/bitcoin-arbitrage

I

4096R/F5EA0017
thezerg
Legendary
*
Offline Offline

Activity: 1246
Merit: 1010


View Profile
March 28, 2013, 05:05:05 PM
 #6

Im looking for a framework/library to program a trading bot. Ideally Python but java or even C would be acceptable. Anyone can recommend any?

Just to be clear, Im not looking for an already programmed bot or strategies. Im looking for a library that it will facilitate writting my own.

I've got a python system the grabs the Gox and CampBX feeds and stores it to a postgresSQL database.  And I've written some simple queries across the data...
hugolp (OP)
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


Radix-The Decentralized Finance Protocol


View Profile
March 29, 2013, 03:28:46 AM
 #7

Here's the only thing I've found that might fit the definition of "library" for trading, and it's in Java:

https://github.com/timmolter/XChange

Thanks. That looks well enough mantained.


               ▄████████▄
               ██▀▀▀▀▀▀▀▀
              ██▀
             ███
▄▄▄▄▄       ███
██████     ███
    ▀██▄  ▄██
     ▀██▄▄██▀
       ████▀
        ▀█▀
The Radix DeFi Protocol is
R A D I X

███████████████████████████████████

The Decentralized

Finance Protocol
Scalable
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
██                   ██
██                   ██
████████████████     ██
██            ██     ██
██            ██     ██
██▄▄▄▄▄▄      ██     ██
██▀▀▀▀██      ██     ██
██    ██      ██     
██    ██      ██
███████████████████████

███
Secure
      ▄▄▄▄▄
    █████████
   ██▀     ▀██
  ███       ███

▄▄███▄▄▄▄▄▄▄███▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀██
██             ██
██             ██
██             ██
██             ██
██             ██
██    ███████████

███
Community Driven
      ▄█   ▄▄
      ██ ██████▄▄
      ▀▀▄█▀   ▀▀██▄
     ▄▄ ██       ▀███▄▄██
    ██ ██▀          ▀▀██▀
    ██ ██▄            ██
   ██ ██████▄▄       ██▀
  ▄██       ▀██▄     ██
  ██▀         ▀███▄▄██▀
 ▄██             ▀▀▀▀
 ██▀
▄██
▄▄
██
███▄
▀███▄
 ▀███▄
  ▀████
    ████
     ████▄
      ▀███▄
       ▀███▄
        ▀████
          ███
           ██
           ▀▀

███
Radix is using our significant technology
innovations to be the first layer 1 protocol
specifically built to serve the rapidly growing DeFi.
Radix is the future of DeFi
█████████████████████████████████████

   ▄▄█████
  ▄████▀▀▀
  █████
█████████▀
▀▀█████▀▀
  ████
  ████
  ████

Facebook

███

             ▄▄
       ▄▄▄█████
  ▄▄▄███▀▀▄███
▀▀███▀ ▄██████
    █ ███████
     ██▀▀▀███
           ▀▀

Telegram

███

▄      ▄███▄▄
██▄▄▄ ██████▀
████████████
 ██████████▀
   ███████▀
 ▄█████▀▀

Twitter

██████

...Get Tokens...
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!