Git Product home page Git Product logo

accountdata's Introduction

๐ŸŒผ 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

accountdata's People

Contributors

daisy613 avatar

Stargazers

 avatar Michal Grzegorzak avatar andrp92 avatar

Watchers

 avatar  avatar

Forkers

triat tmmatherne

accountdata's Issues

Weird calculation on bybit account

After trying to import data from bybit, I could see that the numbers in the database were wrong
image

My gut feeling is that having too low numbers causes the import to fail. I do not know SQLite or your dev language enough to know exactly the source of the issue but I would look in this direction.

I'm available here or on discord (Biwaa#7257) if you want some more info.

loading Binance Data not possible

webhook error

Hi Daisy,

I tried to install your Programm, to be able to get my PnL from Binance.
Somehow i always get the attached error message.
Could it have something to do with the Change from API to SAPI, which Binance announced a couple of days ago?

Well anyway, i tried everything out, without beeing a programmer, but nothing works.
What i did:

  1. checked for the correct API on Binance
  2. put your 3 files into the same folder like the PnL Tracker. (not into the db folder)
  3. i tried to activate tls1.0 which doesnt seems to exist. (found it in a forum)
  4. tried to change the https:// to http:// also didnt work (found that also in a forum)
    1. played around with the link to binance fapi, but i always got a invalid Symbol

So well i gave it up. Pretty sure you will be able to fix it in a couple of minutes.

cheers and have fun, and thanks a lot for the script. it would be awesome :D

Bybit api key issue has no error report

I've set up bybit account and realized that no data were being gathered. The key was correct and it was saying that it found 1 result. The issue was that my IP was not correct but the software was still saying "all good" instead of "error: bla"

This could be a nice improvement to have error feedback when there is one with the API key

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.