Coder Social home page Coder Social logo

pump_and_dump_bot's People

Contributors

aqfaridi 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  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  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  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  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  avatar  avatar

pump_and_dump_bot's Issues

Can´t purchase coins

Thank you so much for your great work and your brillant telegram channel.
Unfortunately I can´t purchase coins.
Terminal just shows me something like:

{"success":true,"message":"","result":[{"MarketName":"BTC-SC","High":0.00000175,"Low":0.00000156,"Volume":210217573.48060574,"Last":0.00000158,"BaseVolume":345.72570913,"TimeStamp":"2017-08-25T13:42:57.313","Bid":0.00000158,"Ask":0.00000159,"OpenBuyOrders":1184,"OpenSellOrders":20208,"PrevDay":0.00000173,"Created":"2017-05-22T21:30:29.16"}]}
[2.89e-06, 2.99e-06, 2.99e-06, 639.5004915]

Can´t figure out why.
Greetings, Michael

Colorize

Hi AQFARIDI
Can you help me?
Is Giving me this error

C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- colorize (LoadError) from C:/Ruby24-x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require'
from bittrex_bot.rb:2:in `

'

Can't start it

ruby bittrex_bot.rb
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- rest-client (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
from bittrex_bot.rb:1:in `

'

Error Fetching Market Summary

Bot adds a "," at the end of the URL. Any idea on how i can remove it?
Thanks in advance

ruby bittrex_bot.rb "SC", "3"
Fetching Market Summary...
["https://bittrex.com/api/v1.1/public/getmarketsummary?market=BTC-SC,", {"success"=>false, "message"=>"INVALID_MARKET", "result"=>nil}]
Failed
bittrex_bot.rb:145:in get_market_summary': undefined method first' for nil:NilClass (NoMethodError)
from bittrex_bot.rb:249:in buy_sell_bot' from bittrex_bot.rb:309:in

'

Edit API keys

Cannot open Bittrex bot to edit api keys, Immediately closes when I open.

Error in line 9

Hello, I'm trying to use your bot ..,
but I get the following error when trying to open the bittrex_bot (screen opens and closes), showing the error below:

Error bellow :
C: / user / bitcoin / bittrex - Ruby / Bittrex_bot.rb: 9: in '+': no implication conversion of nil into String from c: / users / bitcoin / bittrex - ruby / bittrex_boit.rb: in '

Error bellow :
C: / user / bitcoin / bittrex - Ruby / Bittrex- Ruby/bittrex_bot.rb:9 syntax error,un expected tIVAR,
exppecting end-of-input
@market_name = "BTC-"@Currency ^

  • I have installed the Ruby version 2.4.3-1 (x64)
  • I have installed rest-client installed and colorize

Stop loss

Hi @aqfaridi

Thank you for your bot.

I would like ask you is there any chance that you could add stop loss bot, please?

bot will buy coin and setup stop loss (SL) 5%(optional for own choice) and next bot will scan the price once price will change for example 1%(optional) it will cancel previous order and create new SL with increased price so we will have smaller SL from order price. it will continue to the top price -5%(optional) or your choice price(also possibility)
for example
sl_bot(5%,1%)
run ruby bittrex_bot.rb "FUN" "8" will go to top once -5%
or
run ruby bittrex_bot.rb "FUN" "0.00000700" "9" will go to 700sat and will sell that coin

thank you in advance

Purchase order not being completed

Dear @aqfaridi,

Thank you so much for writting this great bot.
When i try to run the buy all option 5 bot everything works up till purchase. API key seems to be accepted but order is not being completed. Does anybody know why my order is not completing? I have enough balance in BTC and order is above minium orde amount on bitrex:

Purchasing coin...
[{:api_type=>"market", :action=>"buy", :market=>"BTC-BURST", :quantity=>310.55900621118013, :rate=>1.932e-06}]
Calling API...
["https://bittrex.com/api/v1.1/market/buylimit?market=BTC-BURST&quantity=310.55900621118013&rate=1.932e-06&apikey=&nonce=xxxxxxxxxxxxx", {"success"=>false, "message"=>"There was a problem processing your request. If this problem persists, please email [email protected] with this error id - 18f25c09-f519-4352-94c7-94de5a60e1d5", "result"=>nil}]
Failed
Failed
[nil, "Units Bought : 0"]

INVALID_MARKET

bkd@iMac:~/pump_and_dump_bot$ ruby bittrex_bot.rb "WAVES", "1"
Fetching Market Summary...
["https://bittrex.com/api/v1.1/public/getmarketsummary?market=BTC-WAVES,", {"success"=>false, "message"=>"INVALID_MARKET", "result"=>nil}]
Failed
bittrex_bot.rb:145:in get_market_summary': undefined method first' for nil:NilClass (NoMethodError)
from bittrex_bot.rb:177:in buy_bot' from bittrex_bot.rb:301:in

'

6. SELL_ALL BOT sold coins under the 5. BUY_ALL BOT RATE

Dear @aqfaridi and @lacostenycoder

I just used the BOT to buy coins. After buying I let the BOT place +20% sell orders for all bought coins. Now the BOT bought RDD coins, I also was holding some RDD coins already in my BITREX account. Now the BOT placed a sell order for all RDD coins, not just the ones it bought. And it placed the sell order way under market value as you can see in attached screenshot. Is there any reason it decided to sell all RDD coins for such a low rate and how can I avoid this in the future? I selected the BOT RDD purchase order and hold my mouse button on the BOT RDD sell order.

image

Thanks!

Error with restclient

I was working just fine with the bot, but suddenly it stopped working. I´m having this error over and over again:

c:\ruby yobit_bot.rb "ETH" "1"
"https://yobit.net/api/3/ticker/eth_btc"
C:/Ruby24-x64-2/lib/ruby/gems/2.4.0/gems/rest-client-2.1.0.rc1-x64-mingw32/lib/r
estclient/abstract_response.rb:249:in `exception_with_response': 503 Service Una
vailable (RestClient::ServiceUnavailable)
        from C:/Ruby24-x64-2/lib/ruby/gems/2.4.0/gems/rest-client-2.1.0.rc1-x64-
mingw32/lib/restclient/abstract_response.rb:129:in `return!'
        from C:/Ruby24-x64-2/lib/ruby/gems/2.4.0/gems/rest-client-2.1.0.rc1-x64-
mingw32/lib/restclient/request.rb:831:in `process_result'
        from C:/Ruby24-x64-2/lib/ruby/gems/2.4.0/gems/rest-client-2.1.0.rc1-x64-
mingw32/lib/restclient/request.rb:738:in `block in transmit'
        from C:/Ruby24-x64-2/lib/ruby/2.4.0/net/http.rb:877:in `start'
        from C:/Ruby24-x64-2/lib/ruby/gems/2.4.0/gems/rest-client-2.1.0.rc1-x64-
mingw32/lib/restclient/request.rb:722:in `transmit'
        from C:/Ruby24-x64-2/lib/ruby/gems/2.4.0/gems/rest-client-2.1.0.rc1-x64-
mingw32/lib/restclient/request.rb:158:in `execute'
        from C:/Ruby24-x64-2/lib/ruby/gems/2.4.0/gems/rest-client-2.1.0.rc1-x64-
mingw32/lib/restclient/request.rb:58:in `execute'
        from C:/Ruby24-x64-2/lib/ruby/gems/2.4.0/gems/rest-client-2.1.0.rc1-x64-
mingw32/lib/restclient.rb:66:in `get'
        from yobit_bot.rb:57:in `call_api'
        from yobit_bot.rb:85:in `get_market_summary'
        from yobit_bot.rb:122:in `buy_bot'
        from yobit_bot.rb:225:in `<main>'

Any idea what´s going on?

Thanks!

Binance

I would appreciate one for binance

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.