Giter VIP home page Giter VIP logo

binance-p2p-google-sheets's Introduction

Binance P2P

Парсер Binance P2P, отображает информацию в Google Sheets. Пример таблицы - Binance P2P

Отображаемая информация

  • Цены P2P (data/banks.json)
  • Цены маркета (data/spread.json)
  • Спреды Банк -> Банк
  • Спреды Банк -> Коин -> Банк

В таблице можно менять

  • Цену от которой рассматривать ордера
  • Сумма которая будет в них учавствовать
  • Отображение данных в рублях или процентах

Создание профиля для взаимодейстия с Google API

  1. Выполнить шаги из пункта Authorize credentials for a desktop application (подключить Google Drive API, Google Sheets API).
  2. В настройках доступа таблицы добавить созданный профиль в роли Редактора.

Запуск

  1. Создать директорию "creds"
  2. Добавить файл авторизации в "creds".
  3. Создать файл .env
cp .env_pub .env
  1. Отредактировать .env
SHEET_ID=1a1a1a1a
CREDENTIALS_FILE=creds/credentials.json
  1. Установить зависимости
python3 -m pip install -r requirements.txt
  1. Запустить
python3 main.py

Автоматическая стилизация таблицы (демоверсия)

  • Это не полноценная стилизация, а только для первого представления информации.
  • При запуске стилизации таблицы все предыдущие настройки обновляются.
  • Стилизация фиксирована для текущей конфигурации (data/banks.json и data/spread.json) utils/generates_table_style.py.

Предложения и пожелания писать в Telegram @offliny

binance-p2p-google-sheets's People

Contributors

sergo-code avatar

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.