Скрипт для qt bitcoin trader

Qt Bitcoin Trader — Клиент для безопасных торгов на известных биржах

Qt Bitcoin Trader

Пляшущий с бубном

Qt Bitcoin Trader позволяет быстрее и удобнее торговать на HitBTC, Bittrex, Binance, Bitfinex, Bitstamp, BTC China, Bitcurex, BitmarketPL и BTC-e.
Программа с открытым исходным кодом разработана на Qt с использованием OpenSSL.

Для сохранения ключа и пароля к API в программе используется шифрование AES 256.
Пароль должен быть длиной больше 7 символов, состоять из букв, цифр и спец символов.

Хочу создать программу для торговли которую можно будет настроить на любую стратегию с помощью правил и скриптов.
Если вы хотите поддержать проект: 1d6iMwjjNo8ZGYeJBZKXgcgVk9o7fXcjc
Теперь у меня есть поддержка http://centrabit.com/

Что еще осталось сделать

1) Поддержку всех валют
2) Включить работу простых правил
3) Оптимизировать для низких разрешений
3) Добавить поддержку языков (в том числе и Русский)
4) Добавить другие Bitcoin биржи

5) Добавить графики в реальном времени
6) Добавить возможность мониторинга нескольких валют и бирж одновременно
7) Доработать скрипты для настройки стратегий используя данные из пункта 6
Добавить настройку звуковых оповещений на все случаи жизни
9) Разработать сервер для сборки данных с всех бирж чтобы предоставить одно websocket подключение программе для получения данных в реальном времени
10) Сделать интерфейс более настраиваемым
11) Возможность сохранения настроек интерфейса как профили, чтобы быстро переключаться
12) Разработать мобильное приложения для предоставления безопасного удаленного доступа к запущенной программе
13) Добавить поддержку плагинов, чтобы позволить сторонним разработчикам быстро добавлять любые биржи

Портабельный режим Windows
Рядом с ехе файлом создайте папку QtBitcoinTrader и все шифрованные данные, настройки будут сохраняться там.
Удобно носить на флешке, без риска взлома благодаря AES256.

Настройки Proxy берутся из системы. Для Windows берутся из IE.

Ctrl+B — Купить
Ctrl+S — Продать
Ctrl+N — Новое окно
Ctrl+T — Поверх всех окон
Ctrl+H — Спрятать в трей
Ctrl+Shift+D или Alt+Shift+D — дебаг режим с просмотром трафика

Если вы ввели ключи, но данные не обновляются, проверьте выставлены ли на сайте права Trade и Info.
Если это не помогло, то перегенерируйте ключи и удалите профиль, создайте еще раз.
Если и это не помогло, читайте ниже Debug.

Если возникают какие-либо проблемы, вы можете помочь мне их устранить.
Для этого вы можете включить лог событий в программе, и прислать мне файл для анализа.
Для включения лога надо зайти в папку:
для Windows: %localappdata%\QtBitcoinTrader или %userprofile%\Local Settings\Application Data\QtBitcoinTrader
Вы найдете там ini файлы настроек, надо отредактировать один из них и изменить строчку

LogEnabled=false
на
LogEnabled=true

Запустите программу с этого профиля на 1 минуту и закройте.
Возле ini файла появиться log файл с таким же названием, отправьте мне его на почту с объяснениями проблемы.

После этого не забудьте отключить лог
LogEnabled=false

Когда будет готов интерфейс настроек и дебага, этот метод не будет актуален.

В Qt Bitcoin Trader под Windows присутствует цифровая подпись.
Всегда перед запуском любых программ проверяйте их цифровую подпись и информацию на http://virustotal.com, особенно если на этой же машине ведете торги.

Настоятельно рекоммендую использовать безопасное автоматическое обновление. С проверкой контрольной суммы защищенной RSA2048 риск подмены файла снизится до нуля.

Windows: просто скачайте ехе файл и положите в надежное место, на рабочий стол, или в програм файлс.

Компилирование под Linux с Qt5 (Предпочтительно):

Компилирование под Linux с Qt4 (Без звуков):

Источник

Скрипт для qt bitcoin trader

QT Bitcoin trader scripts (README IS NOT UPDATED!)

These scripts are working with QT Bitcoin Trader: https://sourceforge.net/projects/bitcointrader/

and were inspired by the user on QT Bitcoin Trader Forum: https://bitcointalk.org/index.php?topic=201062.new#new

Read page «How to setup» and «How it works» for further instructions. Currently, they are used on my Raspberry Pi and all values in the variable folder are set with my latest configurations.

All comments and ideas are welcome and all new functionalities will be committed here.

Contributions are also welcome on my BTC address 1PR1PH2dqx5gBH5dzY5wXV4h62so11Q4MK or you can donate it to author of QT Bitcoin Trader 1d6iMwjjNo8ZGYeJBZKXgcgVk9o7fXcjc

Читайте также:  Производные финансовые инструменты это инвестиции

The idea of these scripts is, to make more bids, where first bids are with lower volume and when the price falls, the volume increases.

Old bids are cleared when one of next conditions are fulfilled:

  • sell has been executed when resetPrice condition in percentage is reached
  • after every sell or restart of script Trader
  • min value is checked and then if the current price is bigger for more than resetPrice in percentage, everything restarts

Included trading pairs

Current scripts are for buying and selling Ethereums in Bitcoin (ETHBTC). If you want to use it as something like BTCLTC trader, Then change first all BTC strings to XXX, then ETH to BTC and then XXX to LTC. Do this in all scripts.

Create new scripts in QT Bitcoin trader

Open four new scripts in your QT Bitcoin Trader and name them

  • Trader
  • TraderMain
  • TraderMainRestart
  • TraderLastBuy
  • TraderRestartOnSale (this script is optional and it runs individually)

Copy script files into QT Bitcoin Trader

Copy script files that end with .js in the proper script of QT Bitcoin Trader.

Set variables and log files path

Set Variables path in script Trader and TraderMain to your path where all Variables and log files will be saved.

Setting the variables

Maker fees are paid when you add liquidity to our order book by placing a limit order under the ticker price for buy and above the ticker price for sell (source bitfinex.com).

Taker fees are paid when you remove liquidity from our order book by placing any order that is executed against an order of the order book (source bitfinex.com).

when the first bid will take place. If you are testing the script, then set the value to bigger than 5. If the value is set to 0, then the first bid will be the same as the current price and order will be executed.

this value sets how much apart are the bids.

set maximum number of bid orders

how to lay into each sell order.

set profit for each ask price (sell price) in dollars.

if it’s set to true, then profit for each selling price(ask) will be calculated from value found in profitInDollarsCondition.txt, otherwise what is defined in profitInPercentage.txt. Best to leave it to false and set profit in percentage.

set profit for each ask price (sell price) in percentage. This value set’s how much profit would you like to make with each buy and sell.

this value is in percentage and it defines, if price goes up, when all the bids cleared and generated like at first run.

if this variable is set to true, then all bids will be reset and new bids will be generated, when condition in resetPrice.txt will be reached.

If a variable in allBidsPriceEnabled.txt is set to true, then all bids will set at fixed price. This can be good if you want to make more bids in closer range between them.

Condition for setting all bids with same price.

If variable in firstBidPriceEnabled.txt is set to true, then first price will be at price that was set. If allBidsPriceEnabled is also true, then the price set in file allBidsPrice.txt will prevail.

Condition for setting first bid with fixed price.

overlap stroke rates, calculating the depth of the table buy orders. For example, in a first step, the price 10BTC percentage of overlap of 20% means that the table will be set in the range // 8-10BTC.

Log files

At start, log files will be created:

  • bidPrice.txt
  • fileLoggerTrader.txt
  • lastSale.txt
  • qtLastBTCbalance.log
  • lastETHbalance.txt

Log files can be deleted before start or when all scripts are stopped.

Starting the scripts

Start the script named «TraderMainRestart». This script stops and runs everything.

Источник

Скрипт для qt bitcoin trader

Secure multi crypto exchange trading client

Use Git or checkout with SVN using the web URL.

Work fast with our official CLI. Learn more.

Читайте также:  Срок окупаемости по валовой прибыли

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Qt Bitcoin Trader

This software helps you open and cancel orders very fast. Real time data monitoring.

Developed on pure Qt, uses OpenSSL, AES 256 key and secret protection.

I want to develop this Trader App so that it can be configured for any rule and strategy.

  • Add realtime charts
  • Make rules more advanced
  • https://sourceforge.net/projects/bitcointrader/ Win32 , Mac , Linux
  • http://www.softpedia.com/get/Others/Finances-Business/Bitcoin-Trader.shtml Win32
  • http://mac.softpedia.com/get/Finance/Qt-Bitcoin-Trader.shtml Mac

Compilation on Linux

  • sudo apt-get install g++ libssl-dev libglu1-mesa-dev qt5-qmake qtscript5-dev qtmultimedia5-dev git
  • git clone https://github.com/JulyIGHOR/QtBitcoinTrader.git
  • cd ./QtBitcoinTrader/src
  • QT_SELECT=5 qmake QtBitcoinTrader_Desktop.pro
  • make && make install && make clean
  • Fixed trader.groupStop(..) script command
  • Synchronized currency pairs
  • Fixed trader.say(..) script command
  • Fixed crash on unix systems
  • Fixed critical bug causing missing public trade history items
  • Fixed bug when zero/incorrect balance reached script/rules events
  • Fixed missing script events/wrong rule state for Bitfinex
  • Fixed own trade history items missing for Bitfinex
  • Fixed rounding of buy/sell total calculations
  • Fixed Hitbtc exchange api keys impossible to add
  • Fixed translation issues. French language updated
  • Optimized memory usage
  • Removed exchanges bitmarket.pl, okcoin.cn, btcchina.com, goc.io
  • Enabled experimental vnc server on a Linux
  • Fixed yobit api, if you ever get nonce error, re-create API keys
  • Improved minimum request interval for Binance to prevent IP bans
  • Fixed hitbtc balance
  • Fixed binance balance
  • Fixed hitbtc authorization bug
  • Fixed transaction history in bitstamp
  • Smart paste for spinbox values
  • Synchronized currency pairs
  • Improved text to speech engine
  • Request interval now can be set less than 0.5 seconds
  • Fixed bug when timers wasn’t stopped on group stop
  • Fixed crash when open Debug dialog
  • Fixed incorrect fee value in Bitfinex
  • Fixed filter open orders in Bitfinex
  • Fixed tray icon in Linux
  • Fixed bug caused long delay after network down
  • Fixed on top mode for dock widgets
  • Fixed bug when password was incorrectly detected as weak
  • Currency pairs synchronized in all exchanges
  • Fixed start window position
  • Removed duplicated info in log view
  • Fixed Own transactions display in Bitstamp
  • Fixed problem with false time
  • Added option to change hostname and port for exchange profile
  • Fixed wrong order amount for Bitfinex, when order partly filled
  • Minor UI fixes, fixed crash in log view
  • Bitstamp API integration fixed
  • Rules generator dialog critical bug fixed when price with fee used
  • Time sync bug fixed
  • Binance orderbook table fixed
  • Removed Wex exchange
  • Added alternative domain for Yobit
  • Fixed dock panel issue caused blinks
  • Many small fixes
  • New exchange Poloniex
  • Fixed script language command cancel ask and bid for Binance
  • Fixed bug caused forever API down in some cases
  • Minor fixes
  • Added new exchange HitBTC
  • Added more decimals for Fee Calculator
  • Fixed canceling order via rule or script for Binance
  • Fixed bug in charts
  • Fixed wex mirror
  • Minor cleanup and optimizations
  • Added new exchange Bittrex
  • Portable mode for Linux and macOS
  • Secure auto update for Linux x86_64
  • Uninstall option in help menu
  • Fixed Binance own trade history order
  • Time Sync bug fixed
  • HDPI bug fixed
  • Minor fixes
  • Added new exchange Binance
  • Many small fixes
  • Subscribe to beta of Qt Trader exchange www.QtTrader.com
  • Qt Trader 2.0 Announced! Visit www.QtTrader.com
  • Fixed bug of Rules dialog
  • Fixed HiDPI mode
  • Fixed Script and Rules enable-disable command
  • Fixed Last Buy and Sell price event bug
  • Memory optimisations, refractoring
  • Minor fixes
  • Dropped support of Windows XP and macOS 10.9, but you still can compile it manually
  • Removed update size limit for future bigger updates
  • Fixed Bitfinex trade history bug
  • Fixed Bitstamp certificate issue
  • Switched to OpenSSL 1.1, no UPX in release binaries
  • Minor improvements
  • Fixed FeeCalculator crash
  • Fixed account open orders filtering and calculations
  • UI layout bugs fixed
  • Added WEX exchange, removed BTC-e
  • Fixed crash on app closing
  • Added confirmation message on script editor clear
  • Minor fixes
  • Release builds for Win64
  • Fix balance for OKCoin
  • Fix script for Bitfinex
  • Fix order type for Bitfinex
  • JL Script logs now recognize endline and tabulation
  • Fixed bug when silent auto update wont work
  • Fixed fee calculator issue
  • Added new currencies
  • Minor improvements and fixes
  • Bitfinex support fixes
  • Secure auto update now works via Proxy
  • YoBit support fixes
  • Added button to force resync currencies
  • New Exchange YoBit.net
  • Currency pair synchronization on startup!
  • Fixed issue with functions getPriceByVolume and getVolumeByPrice in JL Script
  • Add HiDPI enable or disable settings
  • Now you can search for currency pairs by keyword
  • Improved many elements of interface
  • Fixed bug with certificate that caused error messages
  • Many other small fixes
  • Add new pair for BitStamp
  • Fixd fee calculations in Bitfinex
  • Main window title now shows middle price instead of last trade price
  • Fixed issue when app can’t start
  • High screen resolution support for Windows
  • Fixed fee for BTCChina and OKCoin
  • Add new pairs for Bitfinex
  • Fixed authorization for Bitfinex
  • Completed the Norwegian translation
  • Fixed bug on restoring Workspace from previous state
  • Fixed account data and add new pairs for bitstamp
  • Fixed minor bugs
  • macOS Sierra support
  • JL Script file read/write support
  • Syncronised currency pairs of Bitfinex, Bitstamp, BTC-e
  • Fixed bugs of history and currency pair in Bitstamp
  • Improved Proxy settings
  • Fixed network stat information
  • Fixed display of balance in bitfinex, bitstamp, btcchina
  • Fix tonce in btcchina
  • Add reducing interface elements spacing (optional in settings)
  • Add inactive start script button
  • Fixed JL Script groups bug
  • Fixed open order/cancel bug in bitstamp
  • Fixed time synchronization bug
  • Hotfix. High CPU load fix. Nonce error fix
  • Improved connection stability
  • API engine rewrited
  • Added balances triggers to rules
  • Fixed RUR currency in BTC-e
  • Fixed auto-scroll mode in last trades
  • Fixed many minor bugs
  • Now all binaries is digitally signed
  • Bugfix release
  • Fixed critical bug in Mt.Gox engine
  • Fixed Mac OS X «New window» bug
  • Fixed minor bugs
  • Improved buy/sell/cancel stability
  • Critical bugs fixed
  • Calculations fixes
  • Ui fixes
  • Added PPC, FTC, RTC support
  • Added proxy support
  • Fixed UI bugs
  • Added NMC and NVC to BTC-e
  • Now last price displays in title
  • Stability improvements in BTC-e exchange
  • Many small improvements
  • Translation fixes
  • SSL security fix
  • Fixed translations
  • Small ui fix
  • BTC-E.com support added. Now you can trade with LTC
  • Added trade history display
  • Multi-monitor support (Detachable windows)
  • Improved connection stability
  • Added German translation
  • Fixed UI bugs, translation bugs and some minor bugs
  • Fixed traffic heavy load.
  • Added trades fetch to update last values faster.
  • Api engine rewrited. Now works faster.
  • Api lag improvements.
  • Fixed minor bugs.
  • Added Norwegian translation.
  • Fixed minor bugs
  • Added Spanish translation
  • Translation engine updated
  • Checking update engine rewrited. Secure autoinstall for Mac and Win feature added.
  • Added portable mode for Windows (Just create folder QtBitcoinTrader near exe file)
  • Added translation engine. Now you can translate application to your native language
  • Fixed ui bugs
  • Enhanced rules. Now there is two modes, Sequential and Concurrent
  • Added profit calculation to main window
  • Optimized ui
  • Fixed minor bugs
  • Optimized ui
  • Mac version released
  • Fixed fee calculator bug
  • Now supports resolution down to 1024×700
  • Enhanced rules feature
  • Minor bugs fixed
  • Rules finally working!
  • Fixed some minor bugs
  • Fixed critical ui bug where was wrong field in orders table
  • Fixed minor bugs in ui and currencies
  • Added Profiles
  • Fixed Ui Bugs
  • Added all currencies supported by Mt.Gox
  • Minor fixes
  • Addes Mt.Gox key and secret encryption with AES 256
  • Fixed some ui bugx
  • Minor fixes
  • Match more faster engine
  • Fixed some bugs
  • Improved socket stability
  • Tested on Linux, thanks to macman31
  • Fixed bug in Orders Log
  • Fixed bug in fee calculation
  • Fixed ui dialogs
  • Added SSL switcher
  • Fixed some dialogs
  • Interlaced software lag performance
  • Improved socket stability
  • Minor bugs fixed
  • Improved stability
  • Added packet priority for buying and selling
Читайте также:  Если индекс рентабельности инвестиций больше срока окупаемости

Copyright (C) 2013-2019 July Ighor Contact: julyighor@gmail.com Donate: 1d6iMwjjNo8ZGYeJBZKXgcgVk9o7fXcjc

About

Secure multi crypto exchange trading client

Источник

Оцените статью