Bitcoin Forum
May 27, 2024, 10:05:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5]  All
  Print  
Author Topic: tAPI-bot - Automated crossover trade platform for BTC-e [INACTIVE 2013-10-15]  (Read 36322 times)
ravagetheearth
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
October 20, 2013, 06:35:25 AM
 #81

Edited thread title to inactive. Other projects have been consuming my time.

That saddens me   Embarrassed

Good luck with your other projects though  Wink

Thank you. I won't say the project is dead, I may revisit when I have the time to test and tune.

That would be great!! I'm currently learning python just so I can tweak this. Thanks for the code Smiley Looks like you put a decent amount of time into this!
ravagetheearth
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
October 22, 2013, 02:35:12 PM
 #82

Edited thread title to inactive. Other projects have been consuming my time.

That saddens me   Embarrassed

Good luck with your other projects though  Wink

Thank you. I won't say the project is dead, I may revisit when I have the time to test and tune.

That would be great!! I'm currently learning python just so I can tweak this. Thanks for the code Smiley Looks like you put a decent amount of time into this!

A lot of time... I wrote this as a way of writing functional code I was interested in while learning Python basics myself.

A word of warning; most of the code is extremely amateur, and does not follow best practices. Frankly, it's a mess. There are many areas for improvement.

Best of luck! As others have stated, the biggest area of functional improvement is a better source of ticker data.

Thanks for the tip! I'm a first year networking student and have almost no experience with coding. I am basically learning from the ground up. Someone I know who trades 100's of BTC used this bot as a shell for the one that he wrote and he recommended this one to me. I can't even get this to run  Roll Eyes I'll get a hang of it though. I hope you don't mind if I message you every once in a while to ask you a question about it Smiley
DobZombie
Hero Member
*****
Offline Offline

Activity: 896
Merit: 532


Former curator of The Bitcoin Museum


View Profile
October 25, 2013, 01:39:51 PM
 #83

I'm getting this A LOT.  I think it only happens when it attempts to make a buy. bot was working pretty good until this started happening...

Code:
Volatility is 0.84%
Market trending up
Traceback (most recent call last):
  File "application.py", line 57, in <module>
    runLoop()
  File "application.py", line 33, in runLoop
    trader.update()
  File "C:\tAPIbot-master\tapi\trader.py", line 113, in update
    self.evalOrder()
  File "C:\tAPIbot-master\tapi\trader.py", line 172, in evalOrder
    self.placeBid()
  File "C:\tAPIbot-master\tapi\trader.py", line 216, in placeBid
    amount = balance/rate
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'

Tip Me if believe BTC1 will hit $1 Million by 2030
1DobZomBiE2gngvy6zDFKY5b76yvDbqRra
DobZombie
Hero Member
*****
Offline Offline

Activity: 896
Merit: 532


Former curator of The Bitcoin Museum


View Profile
October 26, 2013, 12:58:03 PM
 #84

I've figured out it's directly related to changing...
Code:
min_volatility = 1.0
# Min volatility sleep: time in seconds to sleep between min volatility checks when volatility is below threshold
volatility_sleep = 120
to
Code:
min_volatility = 0.8
# Min volatility sleep: time in seconds to sleep between min volatility checks when volatility is below threshold
volatility_sleep = 90

Is it possible that increasing the amount of times that the api is checked can induce an response that confounds the bot?

Tip Me if believe BTC1 will hit $1 Million by 2030
1DobZomBiE2gngvy6zDFKY5b76yvDbqRra
xhabit
Full Member
***
Offline Offline

Activity: 209
Merit: 100



View Profile
November 03, 2013, 10:51:19 AM
 #85

I'like this bot really!!!! I'hope you will find time to tune the bot ... for giving profit ...

Bitcoin Priester German BTC PoolParty League
DOGE: DQz6dAAGZ3jyWhhnBvfey73VX5jeZ26e2N
Pages: « 1 2 3 4 [5]  All
  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!