Skip to content

Powershell script that continuously downloads all Binance/Bybit income history from multiple accounts into a sqLite db.

Notifications You must be signed in to change notification settings

daisy613/accountData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

🌼 AccountData

(from WH scripts collection)

What it does:

  • This Powershell script continuously downloads all Binance/Bybit income history from multiple accounts into a sqLite db.
  • It can be used in tandem with Darksheer's Crypto-PNL-Tracker or on its own.

Instructions:

  1. Specify your settings in the accountData.json file
    • number: an arbitrary number you want to give to your account (1, 2, 3, etc)
    • exchange: binance or bybit
    • name: an arbitrary number you want to give to your account (myCoolAccount1)
    • key: your account API key. Best practice is to create a separate Read-Only key for this.
    • secret: your account API secret
    • symbol: used for bybit and Binance COIN-M (BTC, ETH, EOS, etc) *
    • start: the day your account was opened
    • enabled: true/false
  2. Optional: If using Darksheer's Crypto-PNL-Tracker, place the script in the root of the tracker.
  3. Execute the accountData.ps1 file from within a Powershell console or by double-clicking on it.
  4. Leave it running and it will collect new data every 10 minutes. When each cycle is complete, you will see the green Import Complete message.
  5. Profit!
  6. Submit any issues or enhancement ideas on the Issues page.

* for Binance COIN-M or Bybit, create a separate account entry in the settings file per each asset and make sure to specify the asset in the Symbol field. * for Bybit USDT Futures, use "USDT" for symbol.

Donations/Tips:

  • USDT (TRC20): TWhjv6ita4Y1i2xevTjxgB6g92yZLpkTwv
  • BTC: 13nsGbe7A7K1SR2KpJHRPH9eArKf823T9o

About

Powershell script that continuously downloads all Binance/Bybit income history from multiple accounts into a sqLite db.

Resources

Stars

Watchers

Forks

Packages

No packages published