Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - abit

Pages: 1 ... 295 296 297 298 299 300 301 [302] 303
4516
General Discussion / Re: BitUSD Market Maker Live
« on: September 17, 2014, 03:08:40 am »
My bot often stuck while fetching price feed from bter or btc38 (pool Internet connection :().

I think it's better to add a timeout parameter while fetching..

feeds/bter.py
Code: [Select]
bitstamp_data = json.load(urllib2.urlopen(req, timeout=5))
...
btsx_data = json.load(urllib2.urlopen(req, timeout=5))

feeds/btc38.py (several lines)
Code: [Select]
response = requests.get(url=url, headers=self.headers, params=params, timeout=5)

4517
General Discussion / Re: BitUSD Market Maker Live
« on: September 16, 2014, 05:19:42 pm »
Anyone has any profit generated?
I saw no transaction done with the default config..

4518
General Discussion / Re: BitUSD Market Maker Live
« on: September 15, 2014, 02:26:05 pm »
Should this line
response = self.request("wallet_market_order_list", [base, quote, -1, account])
change to
response = self.request("wallet_market_order_list", [base, quote, -1, account_name])
?
Check your bots!


Recent price changes have caused the 15RC1 release market_maker to cancel some orders. The btsx.py cancel_bids_less_than and cancel_bids_out_of_range references account instead of account_name which causes a crash. Have a look and make sure your bot is still running.


Fix is to change the def to account_name like the other functions.

Code: [Select]
    def cancel_bids_less_than(self, account_name, base, quote, price):
        response = self.request("wallet_market_order_list", [base, quote, -1, account])
        order_ids = []
        for pair in response.json()["result"]:
            order_id = pair[0]
            item = pair[1]
            if item["type"] == "bid_order":
                if float(item["market_index"]["order_price"]["ratio"])* (self.BTSX_PRECISION / self.USD_PRECISION) < price:
                    order_ids.append(order_id)
                    log("%s canceled an order: %s" % (account_name, str(item)))
        cancel_args = [[item] for item in order_ids]
        response = self.request("batch", ["wallet_market_cancel_order", cancel_args])
        return cancel_args

4519
中文(Chinese) / Re: 升级到0.4.13版本时git checkout 0.4.13出错
« on: September 10, 2014, 02:50:47 pm »
怎么这次多个v

4520
正好趁机补仓

4521
中文(Chinese) / Re: 客户端0.4.8-b问题收集帖
« on: August 27, 2014, 01:37:46 am »
黑鱼,可以把你的QQ发给我吗?我不会在论坛贴图,我0.4.7版本运行的时候直接崩溃了,后来装的0.4.8版本,结果没法运行,在APPDATA里删除后可以运行了,导入备份文件,报错了,24,25号备份文件提示无法导入,23号以前的备份文件提示没找到文件,我截了好几张图,请帮我看看~急~
在论坛贴图,可以先把图保存之后,上传到http://www1.freep.cn/,然后把链接插入到帖子里
插一句, freep.cn不靠谱, 图片是个X
你可以上传个图片后,换台电脑看看是不是这样

4522
bitUSD兑CNY的交易对,我感觉应该会比bitUSD兑USD的交易量要大.

4523
General Discussion / Re: Upgraded to 0.4.7
« on: August 24, 2014, 06:43:15 am »

I'm on Arch Linux OS.

It looks like there's updates on the git source.  I'm about to build the client.  How do I find out my client version?  I've been looking everywhere, but I can't find it.

I tried about, getinfo, get_info, wallet_get_info, about  - console commands.  I also clicked on Help.

It's possible my bad eyes just cannot see it, lol.
Try 'git status' from shell.

4524
确实0.3.0版本比较稳,跑了好多天没大问题。
0.4.x的linux版相对比较顺,win版比较头疼。
一开始同步很慢,后来把chain_servers参数打开很快就同步好了;
现在登录后一直卡在  transaction scanning progress is 0% ,不知道是不是要重新导入钱包

4525
General Discussion / Re: Dry Run 15: Fifteen ( Market GUI ! )
« on: August 16, 2014, 11:44:39 am »
Fund please.
XTSLYifrtHXLvYjMrDYF2djApYYNRMcurcp5
Thanks!

4526
delegate.baozi is register as delegate on btsx, but baozi is not.  Can I get baozi with the same addres on dns keyID?
I have same question.
Since BM suggested delegates to use sub accounts, it's no reason to register the main account as delegate.

4527
中文(Chinese) / Re: DPOS出块速度太快的副作用
« on: August 03, 2014, 07:29:35 am »
有没有把日志关掉的选项?
或者老日志压缩或者清理机制?
虽然说现在测试阶段日志比较重要

4528
General Discussion / Re: Delegates Post Your Robot With your Name
« on: July 31, 2014, 02:57:55 pm »
a.delegate.abit

4529
中文(Chinese) / Re: 0.2.4 客户端退出问题
« on: July 29, 2014, 03:31:43 pm »
是不是还是那个SSL的问题

4530
中文(Chinese) / Re: xp下无法用钱包的看过来
« on: July 29, 2014, 02:16:24 am »
建议这贴置顶

Pages: 1 ... 295 296 297 298 299 300 301 [302] 303