abayomi185 / simple-pump-and-dump-bot

Simple pump-and-dump bot for Binance and Kucoin Cryptocurrency Exchange
Apache License 2.0
78 stars 21 forks source link

API-key format invalid. #53

Open pablocusatti opened 3 years ago

pablocusatti commented 3 years ago

File "/home/opc/.local/lib/python3.6/site-packages/binance/client.py", line 318, in _handle_response raise BinanceAPIException(response, response.status_code, response.text) binance.exceptions.BinanceAPIException: APIError(code=-2014): API-key format invalid.

rishabhkr432 commented 3 years ago

You haven't formatted your API keys properly. Follow this format. api_key: xxx api_secret: xxx

If this doesn't solve your issue then do post your API key format. Replace the secret info with xxx

pablocusatti commented 3 years ago

I followed instructions using a different format you are showing me now.... excuse my English... Now is working.... How do I link Coín recognition from telegram to the bot?

El dom., 4 de jul. de 2021 16:21, Rishabh Kumar @.***> escribió:

You haven't formatted your API keys properly. Follow this format. api_key: xxx api_secret: xxx

If this doesn't solve your issue then do post your API key format. Replace the secret info with xxx

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abayomi185/simple-pump-and-dump-bot/issues/53#issuecomment-873655285, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUM77OYFWT3YTBGFBGI3SYLTWC7C7ANCNFSM47ZJ4SPQ .

rishabhkr432 commented 3 years ago

This page shows how to set up telegram - https://github.com/abayomi185/simple-pump-and-dump-bot/tree/master/node_wip

pablocusatti commented 3 years ago

Thanks a lot for your help, i need one more:

im receiving this telegram format message: GRS/BTC +11.07% in 3 min., how should i set this??

  prefix: "     /BTC: " # "The coin is: " in "The coin is DOGE"
  alt_prefix: "https://trade.kucoin.com/" # Alternative prefix
  special_character: "" # '$' in $DOGE
  suffix_to_split: "-USDT" # "-USDT" in DOGE-USDT => DOGE

El dom, 4 jul 2021 a las 18:10, Rishabh Kumar @.***>) escribió:

This page shows how to set up telegram - https://github.com/abayomi185/simple-pump-and-dump-bot/tree/master/node_wip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abayomi185/simple-pump-and-dump-bot/issues/53#issuecomment-873672053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUM77OZFJPMZFO2WOZKIIDDTWDL4LANCNFSM47ZJ4SPQ .

--

pablocusatti commented 3 years ago

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'es-dirname' imported from /home/opc/BinanceBots/simplePump/node_wip/src/scrapers/telegram.js at packageResolve (internal/modules/esm/resolve.js:650:9) at moduleResolve (internal/modules/esm/resolve.js:691:18) at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:805:11) at Loader.resolve (internal/modules/esm/loader.js:88:40) at Loader.getModuleJob (internal/modules/esm/loader.js:241:28) at ModuleWrap. (internal/modules/esm/module_job.js:72:40) at link (internal/modules/esm/module_job.js:71:36) { code: 'ERR_MODULE_NOT_FOUND' }

El dom, 4 jul 2021 a las 21:49, Ing. Pablo Cusatti @.***>) escribió:

Thanks a lot for your help, i need one more:

im receiving this telegram format message: GRS/BTC +11.07% in 3 min., how should i set this??

  prefix: "     /BTC: " # "The coin is: " in "The coin is DOGE"
  alt_prefix: "https://trade.kucoin.com/" # Alternative prefix
  special_character: "" # '$' in $DOGE
  suffix_to_split: "-USDT" # "-USDT" in DOGE-USDT => DOGE

El dom, 4 jul 2021 a las 18:10, Rishabh Kumar @.***>) escribió:

This page shows how to set up telegram - https://github.com/abayomi185/simple-pump-and-dump-bot/tree/master/node_wip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abayomi185/simple-pump-and-dump-bot/issues/53#issuecomment-873672053, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUM77OZFJPMZFO2WOZKIIDDTWDL4LANCNFSM47ZJ4SPQ .

--

--

rishabhkr432 commented 3 years ago

import telegram node package

abayomi185 commented 3 years ago

Run "yarn install"

pablocusatti commented 3 years ago

Thanks, I'll check it out.

El lun., 5 de jul. de 2021 15:30, Yomi Ikuru @.***> escribió:

Run "yarn install"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abayomi185/simple-pump-and-dump-bot/issues/53#issuecomment-874295246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUM77O2SELMHZAEY37FHDHTTWIB3RANCNFSM47ZJ4SPQ .

pablocusatti commented 3 years ago

auth.sendCode error: { _: 'mt_rpc_error', error_code: 400, error_message: 'API_ID_INVALID' } (node:280425) UnhandledPromiseRejectionWarning: # (Use node --trace-warnings ... to show where the warning was created) (node:280425) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3) (node:280425) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

El lun, 5 jul 2021 a las 15:48, Ing. Pablo Cusatti @.***>) escribió:

Thanks, I'll check it out.

El lun., 5 de jul. de 2021 15:30, Yomi Ikuru @.***> escribió:

Run "yarn install"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abayomi185/simple-pump-and-dump-bot/issues/53#issuecomment-874295246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUM77O2SELMHZAEY37FHDHTTWIB3RANCNFSM47ZJ4SPQ .

--

abayomi185 commented 3 years ago

Have you run the telegram-register program?

pablocusatti commented 3 years ago

Yes, I did. A long time ago... I'm gonna do everything from the beginning.....so many bugs starting

El lun., 5 de jul. de 2021 18:39, Yomi Ikuru @.***> escribió:

Have you run the telegram-register program?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abayomi185/simple-pump-and-dump-bot/issues/53#issuecomment-874355784, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUM77O7PKYXRXLSJRK5RH5DTWIYC3ANCNFSM47ZJ4SPQ .

abayomi185 commented 3 years ago

You will probably need to run it again

pablocusatti commented 3 years ago

I could do a clean install, everything working up to please enter your login code:xxxxx, once I enter it, it just freeze, and stay like that per many minutes, Ctrl+c , life continues... Red Hat Vps,

El lun., 5 de jul. de 2021 18:58, Yomi Ikuru @.***> escribió:

You will probably need to run it again

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abayomi185/simple-pump-and-dump-bot/issues/53#issuecomment-874359399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUM77OZEDTIHGN2WTGEUSTLTWI2KTANCNFSM47ZJ4SPQ .

Atsiekratsie commented 3 years ago

I could do a clean install, everything working up to please enter your login code:xxxxx, once I enter it, it just freeze, and stay like that per many minutes, Ctrl+c , life continues... Red Hat Vps, El lun., 5 de jul. de 2021 18:58, Yomi Ikuru @.***> escribió: You will probably need to run it again — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#53 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUM77OZEDTIHGN2WTGEUSTLTWI2KTANCNFSM47ZJ4SPQ .

Same here, I can see a login and an active session on my web.telegram and also see data in [./src/data/telegram.json]. But it's stuck after the code...