Ping pong trading bot

in #ecency3 years ago

I have been working on automating some of my trading. for this i have used binance platform API to be coded with python programming. idea is simple i create allocate funds for trades and setup trades. here is an example.

BTC 45k - buy $10 worth of btc.
BTC 44k - buy $10 worth of btc.
BTC 43k - buy $10 worth of btc.
BTC 42k - buy $10 worth of btc.
BTC 41k - buy $10 worth of btc.
BTC 45k - buy $20 worth of btc.
BTC 35k - buy $30 worth of btc.
BTC 30k - buy $30 worth of btc.

BTC 46k - Sell $10 worth of btc
BTC 47k - Sell $10 worth of btc
BTC 48k - Sell $10 worth of btc
BTC 49k - Sell $10 worth of btc
BTC 50k - Sell $20 worth of btc
BTC 55k - Sell $30 worth of btc
BTC 60k - Sell $30 worth of btc

that can be achieved without bot as well. the use of bot here is that it will place a sell order as soon as buy is executed, so this way if the price keeps moving between 30-60k range my orders will keep getting hit.

i can also put orders and tell the bot to just buy at current level and once executed put sale order 200 above. define the budgets and then improve.

its in early stages but i will be talking about it often in this blog. if you have any ideas for trading please share and i will be happy to discuss those.

Sort:  

Congratulations @cylid249! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You received more than 50 upvotes.
Your next target is to reach 100 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Hive Power Up Month - Feedback from Day 20

Yay! 🤗
Your content has been boosted with Ecency Points, by @cylid249.
Use Ecency daily to boost your growth on platform!

Support Ecency
Vote for Proposal
Delegate HP and earn more