Skip to content

Bybit Trades Data Saver using ClickHouse (ultra-fast solution for generating analytics)

License

Notifications You must be signed in to change notification settings

ryu878/Bybit-OHLC-Data-Saver-ClickHouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

⛔ BYBIT Exchange Affiliate Program SCAM ALERT ⛔

I have received a letter from Bybit Exchange:

  • "After a thorough internal investigation conducted by our risk team, your account was being flagged out from receiving Referral commissions due to a violation of our Terms of Service and Bonus... Let it be clear that this decision is final and we will not accommodate any further appeals regarding the matter."

I must admit that this is totally scam behaviour from the exchange. I have a lot of referees and as I know a lot of them have passed KYC. Sometimes I help traders with trades on their accounts but I neved registered another account for myself to receive comission. But Bybit say that "According to our statistics, we found out that most users who have successfully registered using your referral link created their accounts using the same IP address." This is total lie. I can't register account for users.

Also I sent email to them regargind my ref id P11NJW. But there is no answer as well.

So then let it be CLEAR, that since

  • Bybit violate their own rules
  • Bybit scam users
  • I'll not receive a Referral commission anymore
  • They don't reply and there is no support

this project is closed and there will be no more updates. I'll move all my code to Binance, OKX etc soon.

By their actions they undermine my authority and I can no longer recommend trading on this platform.

⛔ BYBIT Exchange Affiliate Program SCAM ALERT ⛔

`

`

`

`

`

`

`

`

Bybit Trades Data Saver ClickHouse

Python script - Bybit Trades Data Saver using ClickHouse (ultra-fast solution for generating analytics)

Script will take the Trades data from Bybit REST API, save it to ClickHouse and then take it back from ClickHouse in JSON format.

Latest release

Install

First install ClickHoouse:

sudo apt-get install apt-transport-https ca-certificates dirmngr

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E0C56BD4

echo "deb https://repo.clickhouse.tech/deb/stable/ main/" | sudo tee
/etc/apt/sources.list.d/clickhouse.list

sudo apt-get update

sudo apt-get install -y clickhouse-server clickhouse-client

And run it:

sudo service clickhouse-server start

clickhouse-client

Next create python virtual environment and activate it:

python3 -m venv .pb-ch && source .pb-ch/bin/activate

And then install necessary libraries:

pip install clickhouse-driver

pip install pandas

pip install pybit==2.4.1

Disclaimer

This project is for informational and educational purposes only. You should not use this information or any other material as legal, tax, investment, financial or other advice. Nothing contained here is a recommendation, endorsement or offer by me to buy or sell any securities or other financial instruments. If you intend to use real money, use it at your own risk. Under no circumstances will I be responsible or liable for any claims, damages, losses, expenses, costs or liabilities of any kind, including but not limited to direct or indirect damages for loss of profits.

Contacts

I develop trading bots of any complexity, dashboards and indicators for crypto exchanges, forex and stocks. To contact me:

Discord: https://discord.gg/zSw58e9Uvf

Telegram: https://t.me/aadresearch

VPS for bots and scripts

I prefer using DigitalOcean.

To get $200 in credit over 60 days use my ref link: https://m.do.co/c/3d7f6e57bc04