A Telegram Bot that can interact with Cryptopia ECA/BTC Market.
-
Mainly For Mobile User.
-
Cryptopia Mobile Web Version not good enough.
-
Cryptopia Login Process is ANNOYING.
-
Less Mobile Internet Data Usage.
-
Much Faster & Convenience way to use Cryptopia.
-
No Additional Application Required (If you already installed Telegram)
-
Will Cover to ALL Market in Cryptopia Soon
-
Get Balance of Specific Currency in Cryptopia
-
Submit Buy / Sell Trade Order (Only ECA/BTC Market For NOW)
-
Cancel Trade Order
-
List Trade Orders (Only ECA/BTC Orders For NOW)
-
Get Deposit Address of Specific Currency in Cryptopia
-
Get Market of Specific Market in Cryptopia (BidPrice, AskPrice, Low, High, etc.)
-
Get Market Orders of Specific Currency Market in Cryptopia (Current Market Buy / Sell Orders)
-
New Order Received Alert (Only ECA/BTC Orders For NOW)
-
Order Filled Alert (Only ECA/BTC Orders For NOW)
-
Record the total BTC of the price when you submit your order IN THE BOT.
-
Calculate how much ECA you can buy with specific ECA Price and BTC Amount.
-
MORE NEW FEATURES IS COMING, Feel free to suggest any Features.
- Telegram Bot Token
- NodeJS
- Cryptopia Private API Key & Secret
- Download the Project
- Run
npm install
in the directory (Make sure you installed NodeJS) - Setup your Config in
config[template].json
(API Key, Api Secret, Bot Token, TimeZone etc.) (You should keep ownerID as default. It will register your telegram ID once you type/start
to the bot.) - Rename
config[template].json
toconfig.json
- Rename
ownOpenOrders[template].json
toownOpenOrders.json
& RenamesubmitOrderHistory[template].json
tosubmitOrderHistory.json
- Run
node app.js
in the directory - Type
/start
in the telegram chat with your bot. - Done.
Q: > How to create telegram bot ?
Q: > How to install NodeJs ?
Q: > How do i get Bot Token ?
A: You can get Bot Token after creating a bot. See here if you don't know how to create Telegram Bot
Q: > How do i get Cryptopia API Key and API Secret ?
A: In Cryptopia > Setting > Security > Account Security > Api Setting > Check Enable API
(If you want to allow Withdraw, Click Enable Withdrawal
too) > Click New Key
> Click Save Changes
> Copy Api Key And Api Secret To config.json
Q: > What are npm install
and node app.js
mean ?
A: These are the commands that you can execute after installed NodeJs and they are execute on cmd or Terminal
Q: > How do i execute npm install
and node app.js
?
A: Open Terminal if you are using Linux/Mac, Open cmd if you are using Windows, and then type: cd [directory]
. The [directory]
is the folder that you just downlaoded. For example: your folder is in ~/Downloads/Cryptopia-Telegram-Bot-ECABTC-master
, then you type cd ~/Downloads/Cryptopia-Telegram-Bot-ECABTC-master
. Another Example: if your folder is in C:/Users/abc/Downloads/Cryptopia-Telegram-Bot-ECABTC-master
, then you type cd C:/Users/abc/Downloads/Cryptopia-Telegram-Bot-ECABTC-master
. After changed directory, you can now type npm install
or node app.js
.
Q: > Why do i get an Error after execute node app.js
?
A: if this look like your error message:
(node:1477) UnhandledPromiseRejectionWarning: privateRequest(), Error on privateRequest: StatusCodeError: 401 - ""
. That means your apiKey or apiSecret is incorrect. Remember to Save Changes in Cryptopia.
Q: > Thats not my Error Message !
A: Contact me on Telegram OR Create a New Issue in this Repo.
/help
: List All Commands/Balance [Currency]
: Get Specific Currency's Balance in Cryptopia./submitOrder [Buy/Sell] [Price in BTC] [ECA Amount]
: Place Buy/Sell ECA Order./cancelOrder [OrderID]
: Cancel Buy/Sell ECA Order./listOrders
: List all ECA Open Orders./Deposit [Currency]
: Get Deposit Address of Specific Currency in Cryptopia./getMarket [Currency_BaseCurrency]
: Get Market of the Specific Market, For example:/getMarket ECA_BTC
, get ECA_BTC Market./getMarketOrders [Currency_BaseCurrency]
Get Market Orders of the Specific Market, For example:/getMarketOrders ECA_BTC
, get ECA_BTC Market Orders./enableFilledAlert
: Turn on Order Filled Alert/disableFilledAlert
: Turn off Order Filled Alert/enableReceiveAlert
: Turn on New Order Received Alert/disableReceiveAlert
: Turn off New Order Received Alert/calc [ECA Price] [BTC Amount]
: Calculate how much ECA you can buy with the given ECA Price and BTC Amount
- Follow Installation Step 1 - 2
- Follow Installation Step 4 - 5
- Copy your setting in the old
config.json
to newconfig.json
(Only apiKey, apiSecret, botToken and ownerID(if the ownerID is a number instead of null)) - Follow Installation Step 6 (Do step 7 too, if the ownerID is null)
- Done.
Find me if you have any question about the bot.
itD0g - Telegram
- BTC :
18tfrh9fA4XZz9b4mNP2t9AaYDa1XGR1FM
- ETH :
0x54DD3A68C8d0A7930A09f90F7a1ea15c2D2abC5E
- ECA :
EKAad7P8hLQ5x4g758keYUAKVfjryGrhKU
In no event shall this bot or its dev(me) be responsible for any loss.