[UtopMod] Price task add and destroy

in #utopian-io6 years ago (edited)

First, I made radical changes in the project. I added 3 new libraries in the project. I did this to DB migrate and to check more. This was necessary to provide a better working environment while adding new features.

1.png

PR link: https://github.com/tolgahanuzun/Utopmod/pull/2

New Feature

I added a command that follows Steem-dollar exchange rate. This task warns you when the desired threshold value is reached.

Price task

This feature is meant to generate profits at high rates. It gives a signal according to a threshold value that you create.

  • You need to log in to the telegram bot. (/register username)

  • Make a threshold value. Like $ 5. (/price_task 5)

  • You can create only 1 task.

  • If you can delete the task. (/price_destroy)

2.png

  • The bot checks a market value every 10 minutes. If it is above the threshold, it will send you a message.

3.png

It's an idea I got from friends in Discord. I also think that it will be helpful in myself.

Code

  • New libraries have been added for database control. Provides more specific control.

4.png

5.png

6.png

  • Database control now exists. (migrate) Added new table. This tabloda has price tasks.

7.png

  • Two commands have been added to the telegram bot.

8.png

  • price_task : Price allows you to set a threshold value..

9.png

  • price_destroy: It will delete the task. (if like)

10.png

  • Every 10 minutes it scans all the tasks in the database. A message is sent if there is a desired situation.

11.png

Idea proposal

I'm looking for new suggestions for a telegram bot.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

@tolgahanuzun, Contribution to open source project, I like you and upvote.

Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase https://
3. Type re
Get Featured Instantly � Featured Posts are voted every 2.4hrs
Join the Curation Team Here | Vote Resteemable for Witness

Vay güzel fikir :)

Bencede :D Böyle fikirler gelince değerlendiriyorum :D

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @tolgahanuzun I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.029
BTC 63351.43
ETH 3495.50
USDT 1.00
SBD 2.53