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

triat/accountData

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 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 files 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.

Tips:

  • USDT (TRC20): TNuwZebdZmoDxrJRxUbyqzG48H4KRDR7wB
  • BTC: 1PV97ppRdWeXw4TBXddAMNmwnknU1m37t5
  • USDT/ETH (ERC20): 0x56b2239c6bde5dc1d155b98867e839ac502f01ad

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

Languages

  • PowerShell 100.0%