Giter VIP home page Giter VIP logo

cexcontrol's People

Contributors

eloque avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cexcontrol's Issues

<type 'exceptions.KeyError'>

Hi,

This error has just popped up in the last few days.

This has been working perfectly until this though, awesome app.

Any ideas?

Cheers

Chris

LTC Trading

Hi,

I just noticed, that CEX.io has implemented LTC now.
Could you implement that too?

Passing newconfig on first launch creates new config twice

Based on the docs, it looked like I needed to launch it for the first time with the "newconfig" argument, which I did.

It looks like when you do that, it first asks all the new config questions because it realizes there is no config, saves that config, then does it all over again because it parses the "newconfig" argument.

I think the newconfig argument check should come before trying to load the config.

Insufficent funds error when trading GHS/NMC

I'm currently running the script (using the master branch downloaded 5 May 2014) with these settings:

{"username": "reedog117", "NMCReserve": "0.0001", "secret": "blahblah", "NMCThreshold": "5e-05", "key": "blahblah", "BTCReserve": "0.0001", "BTCThreshold": "5e-05", "HoldCoins": true, "EfficiencyThreshold": "0.5"}

I'm getting errors such as:

Buy NMC then use that to buy GHS
Target Coin set to: NMC

Efficiency threshold: 0.5
Efficiency possible: 0.24
Arbitration not desired, hold non target coins this cycle
BTC Balance: 0.00056438
NMC Balance: 0.26166969
----------------------------------------
Amount to buy 0.18157900

Placed order at GHS/NMC
   Buy 0.18157900
   at 1.44048910
   Total 0.26156257
   Funds 0.26166969
{u'error': u'Error: Place order error: Insufficient funds.'}
0.181579
1.4404891
GHS/NMC
----------------------------------------

Not sure what to do at this point to fix it. I'm guessing that the trade fee isn't being calculated correctly, resulting in orders that are too large?

Implement limit trading

I would like to be able to specify a minimum and maximum limit for trading , for BTC mainly, but if you have to do both BTC and NMC to make it make sense, that would be fine too.

Possible to withdraw crypto-currency from CEX via API?

Great APi, thanks for sharing. In my reading of CEX's API (both REST and Websocket), I can not find an API endpoint to withdraw crypto-currency. However, their web-client is able to withdraw from CEX to a crypto-currency address. Has anyone found a way to withdraw crypto-currency funds from CEX programatically?

Copy/paste typo

log.Output ("LTC Threshold: %0.8f" % settings.IXC.Threshold)
log.Output ("LTC Reserve : %0.8f" % settings.IXC.Reserve)

So LTC is equal to IXC.

Feature Request: Max GHS purchased per 24hrs.

Maybe Ive just over looking a method to accomplish this for myself.
BUT...
Id love to be able to set a max GHS per day to buy.
What are your thoughts, is it something that is accomplish-able with out a huge rework (which is what I saw)...

Thanks ahead of time.

CexControl doesn't work since commit 03662ad ("Change Logging")

Every commit since 03662ad gives me the following error (copied from CexControl.log):

1387093886 Start cycle at Sat Dec 14 23:51:26 2013
1387093895 GHS balance: 1.7076357
1387093895 
1387093898 1 NMC is 0.09015089 GHS
1387093898 1 NMC is 0.00663780 BTC
1387093898 1 BTC is 13.62873155 GHS
1387093898 1 BTC is 150.65232457 NMC
1387093898 
1387093898 Unexpected error:
1387093898 <type 'exceptions.TypeError'>
1387093898 An error occurred, skipping cycle

I get this error on my own machine running either Ubuntu 12.10 64-bit or Ubuntu 13.10 32-bit (I've tried it with both) and also on a VPS (where I normally run the bot) running Ubuntu 12.10 Server 64-bit.

When I revert to commit 12958f9 everything works fine using the same configuration file. I'm not much of a Python expert but I don't see what changes in 03662ad would be causing this problem, otherwise this would be a pull request. :)

If it helps, I can post my configuration file with the API key and secret removed, but the config was created by CexControl.py and works fine with 12958f9 and older commits. For now I'll just keep running the older version since it works for me, but hopefully this is an easy fix so I can keep up to date with any new changes.

Reopen #13

See last comment. Not sure this is something you can fix from your side, but it is an issue now.

Withdrawing

Hi,

does the API allow Withdrawals?

It would be nice to auto withdraw the Altcoins, that cannot be used to buy GHS yet.

Desired Hold Purchase method.

It would be amazing if I could set a value to spend all BTC in excess of X.
So in theory IF I wanted to take 1BTC out a day with the Cex auto pay out, the "overage" would be re-invested.

IF you would consider implementing I would be most greatful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.