logo

#Version 2.3.63

Released 2020-11-02

Add export rake tasks

Add caching for the most used public endpoints (#2645)

  • Add caching for the most used public endpoints (#2625)

  • Remove inqury from TradingFee model

  • Fix /currencies and /markets

Add ability to select orders with different states (#2446)

Add ability to set user rate limit (#2577)

Add ability to select orders with different states (#2447)

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2425)

Enhauncement: update sdk version (#2436)

Feature: Add ability to resend beneficiary pin (#2582)

Fix: Add validations for crypto address in beneficiary (#2438)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update UID and GID to the app user for all files in the project directory (#2496)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

Fix: disable beneficiary validation on withdrawal failing (#2442)

Fix: docs generated step for drone pipeline (#2422)

Imrove Deposit and Withdraw filters (#2456)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Remove account_id from Withdraw model (#2445)

Update README.md

Update dependencies

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.5.42

Released 2020-11-02

AML integration (#2589)

  • Add AMLplugin system Add AML functions for Beneficiary model Store deposits source addresses Add admin beneficiary api Add refund model

  • Update rails to 5.2.4.3, dependencies and plugins versions

Ability to edit market through management API (#2384)

Accounting: add member_id in platform revenues (#2607)

  • Accounting: add member_id in platform revenue

Add wallet balances. Add cron job for wallet balances update

Add jobs table (#2649)

  • Add job table

  • Add error_code, error_message, pointer and counter for jobs table

Add rake task for distribution (#2631)

  • Add rake task for distribution

Add caching for the most used public endpoints (#2625)

Add ability to configure database pool size

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Add ability to set member group, select member by uid and get all existing groups (#2401)

Add pagination to currencies markets & balances. Expose currency position (#2394)

Add deposits and withdraws history to one API endpoint (#2392)

Add ability to update currency through management api (#2389)

Add visible, deposit_enabled, withdrawal_enabled columns to Currency (#2374)

  • Add visible, deposit_enabled, withdrawal_enabled columns to currency model

  • Change enabled to visible

Add endpoint to get currency by code to management API (#2372)

Add details about fees in trade API (#2363)

  • Add details about fees in trade API

  • Expose fee on /api/v2/market/trades

Add ability to change markets precision in Admin API (#2361)

Add endpoint for create fiat deposit (#2357)

Add endpoint to select specified adjustment (#2354)

Add actions endpoints for Withdraw and Deposit Admin API (#2351)

  • Add Account Kind to Operation's response

  • Add action endpoint for withdraws

  • Add actions endpoint for deposits

  • Finish action endpoint

  • Add rescue to prevent Internal Error

Add public endpoint for trading_fees (#2353)

Add user information in event_api (#2349)

Add uid and email field for withdrawal and deposits admin entities (#2350)

Add adjusments (#2325)

Co-authored-by: mnaichuk <mnaichuk@heliostech.fr> Co-authored-by: dnfd <dfedorchenko@heliostech.fr>

Add Admin and Management API for TradingFees (#2334)

Add endpoint to list all blockchain clients (#2339)

  • Allow filtering by disabled markets

Add missing -y in bin/gendocs (#2332)

Add validation specs for blockchain_key in Currency (#2158)

Add ability to bump & tag stable branches (#2328)

Add attr_readonly to some Order attributes (#2189)

Add specs for Operations::Account validations (#2175)

Add parity wallet gataway and use it instead of peth. Deprecate peth (#2295)

Admin API module for tower (#2264)

Feature admin panel api

Orders Blockchains Currencies Markets Wallets Deposits Withdraws Trades Operations Members Unify API doc files structure and naming.

Co-authored-by: dnfd dfedorchenko@heliostech.fr Co-authored-by: chumaknadya nchumak@heliostech.fr Co-authored-by: ysv ysavchuk@heliostech.fr

Allow filtering by multiple states in admin/withdraws (#2397)

Beneficiaries model with ability to manage via user API (#2347)

Add Beneficiary model which can store both fiat crypto beneficiary data. Custom beneficiary fields like country, account_number, bank_swift_code are stored in JSON format. Also beneficiary contains name, description & currency_id in string format.

On beneficiary creation pin generated and saved in DB user needs to activate beneficiary with pin sent by email. Create & update actions are published to RabbitMQ by Event API.

There are 3 states of beneficiary:

  • pending - requires activation with pin;
  • active - activated by user and can be used for withdrawal;
  • achieved - equal to removed except fact that admin can read it.

Beneficiary account API consists of 5 endpoints:

  • GET /beneficiaries - get paginated list of beneficiaries for user;
  • GET /beneficiaries/:id - get single beneficiary by id;
  • POST /beneficiaries - create beneficiary for user;
  • PATH /beneficiaries/:id/activate - activate beneficiary with pin;
  • DELETE /beneficiaries/:id - delete beneficiary (actually change state to archived).

Co-authored-by: ysv <ysavchuk@heliostech.fr> Co-authored-by: mod <lbellet@heliostech.fr>

Change run Peatio::Application to Rails.application in config.ru (#2316)

Using Rails::Application subclass to start the server is deprecated and was removed in Rails 6.0. https://github.com/rails/rails/commit/553b86fc751c751db504bcbe2d033eb2bb5b6a0b

Clean rails built in warnings (#2483)

Crash daemons on Mysql connection error (#2367)

Create roadmap.md

Delete encrypt for market data. Update upstream daemon (#2543)

Do not expose wallet sensitive settings data on admin api (#2403)

Do not log full backtrace on order creation (#2368)

Dockerfile need to add apt-get upgrade (#2624)

  • Dockerfile need to add apt-get upgrade

Dockerfile need to add this line RUN apt-get update && apt-get upgrade. To resolve OS bug-fix and important updates.

  • Update Dockerfile

  • Don't see anything to review more.

Drop step from blockchain model (#2282)

Enhancement: Filter trade by type && expose received_amount

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: add management api to retrieve non-zero balances

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Expose UUID (#2473)

  • Make UUID not nil in schema

Expose explorer transaction and address in admin api (#2396)

Fail ethereum withdrawal in case of fail status in blockchain (#2302)

Feature: Add possibility to import and export Operation::Accounts

Feature: Add export:configs Rake task (#2693)

  • Tasks to export/import peatio configurations

  • Fix market/engine export Rake tasks

Co-authored-by: Camille Meulien <cmeulien@heliostech.fr>

Feature: trigger custom image build

Feature: add ability to generate deposit address by admin (#2683)

Feature: add filters for blockchains (#2585)

Feature: add ability to filter deposits by email

Feature: PnL calculation for traders Uses deposits, withdrawals, trades, adjustments and simple transfers Supports multi-level conversions

Increase time precision to milliseconds for deposits, withdrawals, trades and adjustments

Feature: Add redis cluster support

Feature: expose maker & taker fee for order entity (#2627)

Feature: Add ability to resend beneficiary pin

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Feature: improve bump step in drone pipeline && change docs structure (#2415)

Feature: update version of plugins (#2416)

Feature: add confirmations field to transactions API (#2413)

Feature: add ability to add note to withdraw by management api (#2412)

Feature: add notify step to drone pipeline (#2407)

Feature: Add tid to /account deposits endpoints (#2393)

Feature: Use drone CI && Update the CI to use SDK for version bumps (#2405)

Feature: add gem for support dash (#2338)

Feature scale puma to 4 workers

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Fix wallet balance parse in the daemons

Fix: Add from_addresses on deposit creation

Fix influxdb spec for 50008 seed

Fix format function in TickersJob

Fix: Bitgo address generation

Fix versionning generation in CI (#2604)

Fix: Update error handling for trading_fee api

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

Fix: rename assets folder && change images path in websocket_api.md (#2409)

Fix asks order in api (#2406)

Fix: move travis to openware repo

Fix #update_legacy_balance for locked accounts (#2380)

Fix 422 response on successful actions (#2358)

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

Increase trading fees maker & taker precision to 6 digits (#2360)

InfluxDB sharding

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Integrate ability to withdraw both fiat & crypto with Beneficiary model (#2355)

Since we can store Beneficiaries in peatio starting from #2347 now we can implement user withdraw API for both fiat & crypto currencies. Itmeans that in this patch we have replaced POST accounts/withdraw rid param with beneficiary_id. This change gives ability to use active beneficiaries for both fiat & crypto withdrawals.

Beneficiary is now exposed in Admin API as field of Withdraw so admin can validate it directly.

beneficiary_id foreign key was added to Withdraw model so now it has optional belongs_to association with Beneficiary.

Also this patch improves Withdraw sum & amount precision logic. Instead of rounding attributes on creation now attributes precision is validated on Withdraw creation.

This patch also adds additional validation for Beneficiary data attribute

Integrate vault-rails (#2310)

  • Update migration

Market & Currency admin forms corrections & improvements (#2278)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Minor Admin fixes for Blockchain, Order, Trade, Currency (#2352)

  • Blockchain:

      ** Increase height max value
    
  • Orders Add ability to cancel single Cancel all orders by market, by side ** Change order type filter from ask/bid to sell/buy

  • Trades ** Replace maker/taker_order_id with maker/taker_order_email

  • Currency ** Base factor usage

Minor Wallet Admin API fixes & improvements. Drop parent & nsig from Wallet (#2348)

  • Use currency in wallet creation

  • Remove parent and nsig(api only)

  • List wallet gateways and wallet kinds

  • Fix typo

  • Remove Nsig and Parent

Move data from main database to archive database (#2632)

  • Add stored procedure execution

  • Delete old cancelled orders without trades

  • Add copy orders to the archive database

  • Add compactor time range. Write orders in batches

  • Updating to ruby 2.6.6 and Rails

  • Update Faye to v1.4.x

  • Replace crob-job daemon with rake tasks

  • Improve SP and Job model

  • Update job rake tasks with Job.execute

  • Correcting where clause

  • Add job.rake spec

  • Minor big fix with pointer

  • Fix jobs specs

Co-authored-by: Maksym <mnaichuk@heliostech.fr> Co-authored-by: MoD <mod@websys.io>

Optimize PnL main query

Optimize blockchain scan (#2556)

  • Optimize blockchain scanning process by filtering addresses in tx in SQL
  • Fix typo in blockchain service
  • Move fake wallet/blockchain plugin to spec_helpers

Co-authored-by: Maksym Naichuk <mnaichuk@heliostech.fr>

OrderProcessor must process order cancel after TradeExecutor (#2371)

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Refactoring to maker-taker fee model. Major Trade model rework (#2292)

This patch replaces side-related (buy or sell) with maker-taker fee model. Its basic structure gives a fee discount to market makers providing liquidity (the makers); and charges higher fee to customers who take liquidity out of the market (the takers). Fee could be configured per market. Next changes were produced by switching to maker-taker fee model:

  • Replace ask_fee and bid_fee with maker_fee and taker_fee in Market model;
  • Replace fee with maker_fee and taker_fee in Order model;
  • Update Entities for Market and Trade models in user API, Trade model in management API;
  • Update Trade Accounting with maker/taker_fee;
  • Update Trade_executor and Matching_engine with new Trade model;
  • Update Market seeds;
  • Specs for maker/taker_fee;

Trade model rework consist of next changes:

  • Update Trade model structure:
    • ask_id -> maker_order_id;
    • bid_id -> taker_order_id;
    • ask_member_id -> maker_id;
    • bid_member_id -> taker_id;
    • volume -> amount;
    • funds -> total;
    • drop trend;

Release 2-5-stable. Update .drone.yml

Remove inqury from TradingFee model

Remove date parsing in api/v2/public/version

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Remove uid length limit in members table (#2346)

Remove jq package from gendocs (#2333)

Remove legacy withdraw factories (#2198)

  • Remove legacy_btc_withdraw

  • Remove legacy_usd_withdraw

  • Remove unused legacy_{eth,trst,ring}_withdraw factories

Replace legacy authentication with jwt-rack (#2450)

Reraise errors in #submit and #cancel methods (#2375)

Return wallet balance in admin api (#2522)

Return member accounts for all currencies for admin (#2387)

Rewrite deposit collection flow (#2636)

  • Remove amqp publish and add new deposit state

  • Remove amqp deposit workers

  • Remove rspec stubs for amqp deposit workers

  • Improve deposit daemon

  • Remove amqp deposit daemons specs

  • fee_process! if transactions present

  • Improve deposit collection flow

  • Improve error handling

  • Update wallet search for the deposit

  • Add deposit collection flow documentation

Rewrite validation for buy and sell order in trade_executor (#2335)

Setup redeploy on devkube (#2489)

Start 2-3 development 💰

Starting v2.4

Stop use validations in migrations (#2331)

Support beneficiary_id in management API create withdraw (#2378)

  • Support beneficiary_id in management API create withdraw

  • Add currency check for deposits, update error messages + fixes

Trading Fee Schedule based on Member group (#2321)

Trading Fee Schedule based on Member group

Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>" Co-authored-by: ysv <ysavchuk@heliostech.fr>

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update README.md

Update CI to build images with git sha for branches matching {fix,integration}/*

Update peatio-bitgo version. Change rid length for withdraw

Update structure sql (#2652)

Update configuration for database pool

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Update gem versions (#2414)

Update ruby to 2.6.5 for security reasons (#2386)

Update Transher model (#2356)

  • Key changed to String;
  • Kind changed to enum Category, possible categories %w[wire refund purchases commission];
  • Desc changed to Description;

Update specs for swagger (#2340)

Update README.md

Update gem versions to reduce vulnerabilities (#2318)

The following vulnerabilities are fixed with an upgrade:

Update peatio-ripple gem version (#2298)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

Use redis gem with hiredis instead of rails-redis (#2390)

Use grape entity for exposing & documenting market ticker (#2365)

Use Faker::Blockchain::Bitcoin instead of Faker::Bitcoin (#2343)

Use update_attribute in migrations (#2324)

Validate order price and origin_volume only on creating (#2385)

Validate accounting on Transfer & Adjustment creation. Create account on fly if does not exist (#2370)

  • Accounting check on Transfer/Adjustment creation

#Version 2.2.34

Released 2020-11-02

Add deposits and withdraws history to one API endpoint (#2207)

Add ability to bump & tag stable branches (#2328) (#2329)

Crash daemons on Mysql connection error (#2383)

  • Crash daemons on Mysql connection error (#2367)

  • Reraise errors in #submit and #cancel methods

Fail ethereum withdrawal in case of fail status in blockchain (#2302) (#2327)

Feature: update version of plugins (#2417)

Feature: Use drone CI (#2411)

Market & Currency admin forms corrections & improvements (#2303)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Update README.md

Update peatio-ripple gem version (#2306)

Use Faker::Blockchain::Bitcoin instead of Faker::Bitcoin (#2344)

#Version 2.5.41

Released 2020-10-19

Feature: Add possibility to import and export Operation::Accounts

#Version 2.5.40

Released 2020-10-05

Feature: Add export:configs Rake task (#2693)

  • Tasks to export/import peatio configurations

  • Fix market/engine export Rake tasks

Co-authored-by: Camille Meulien <cmeulien@heliostech.fr>

#Version 2.5.39

Released 2020-09-29

Optimize PnL main query

#Version 2.5.38

Released 2020-09-24

Feature: trigger custom image build

#Version 2.5.37

Released 2020-09-09

Feature: add ability to generate deposit address by admin (#2683)

#Version 2.5.36

Released 2020-09-03

AML integration (#2589)

  • Add AMLplugin system Add AML functions for Beneficiary model Store deposits source addresses Add admin beneficiary api Add refund model

  • Update rails to 5.2.4.3, dependencies and plugins versions

Accounting: add member_id in platform revenues (#2607)

  • Accounting: add member_id in platform revenue

Add wallet balances. Add cron job for wallet balances update

Add jobs table (#2649)

  • Add job table

  • Add error_code, error_message, pointer and counter for jobs table

Add rake task for distribution (#2631)

  • Add rake task for distribution

Add caching for the most used public endpoints (#2625)

Add ability to configure database pool size

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Clean rails built in warnings (#2483)

Create roadmap.md

Delete encrypt for market data. Update upstream daemon (#2543)

Dockerfile need to add apt-get upgrade (#2624)

  • Dockerfile need to add apt-get upgrade

Dockerfile need to add this line RUN apt-get update && apt-get upgrade. To resolve OS bug-fix and important updates.

  • Update Dockerfile

  • Don't see anything to review more.

Enhancement: Filter trade by type && expose received_amount

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: add management api to retrieve non-zero balances

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Expose UUID (#2473)

  • Make UUID not nil in schema

Feature: add filters for blockchains (#2585)

Feature: add ability to filter deposits by email

Feature: PnL calculation for traders Uses deposits, withdrawals, trades, adjustments and simple transfers Supports multi-level conversions

Increase time precision to milliseconds for deposits, withdrawals, trades and adjustments

Feature: Add redis cluster support

Feature: expose maker & taker fee for order entity (#2627)

Feature: Add ability to resend beneficiary pin

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Fix wallet balance parse in the daemons

Fix: Add from_addresses on deposit creation

Fix influxdb spec for 50008 seed

Fix format function in TickersJob

Fix: Bitgo address generation

Fix versionning generation in CI (#2604)

Fix: Update error handling for trading_fee api

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

InfluxDB sharding

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Move data from main database to archive database (#2632)

  • Add stored procedure execution

  • Delete old cancelled orders without trades

  • Add copy orders to the archive database

  • Add compactor time range. Write orders in batches

  • Updating to ruby 2.6.6 and Rails

  • Update Faye to v1.4.x

  • Replace crob-job daemon with rake tasks

  • Improve SP and Job model

  • Update job rake tasks with Job.execute

  • Correcting where clause

  • Add job.rake spec

  • Minor big fix with pointer

  • Fix jobs specs

Co-authored-by: Maksym <mnaichuk@heliostech.fr> Co-authored-by: MoD <mod@websys.io>

Optimize blockchain scan (#2556)

  • Optimize blockchain scanning process by filtering addresses in tx in SQL
  • Fix typo in blockchain service
  • Move fake wallet/blockchain plugin to spec_helpers

Co-authored-by: Maksym Naichuk <mnaichuk@heliostech.fr>

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Release 2-5-stable. Update .drone.yml

Remove inqury from TradingFee model

Remove date parsing in api/v2/public/version

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Replace legacy authentication with jwt-rack (#2450)

Return wallet balance in admin api (#2522)

Rewrite deposit collection flow (#2636)

  • Remove amqp publish and add new deposit state

  • Remove amqp deposit workers

  • Remove rspec stubs for amqp deposit workers

  • Improve deposit daemon

  • Remove amqp deposit daemons specs

  • fee_process! if transactions present

  • Improve deposit collection flow

  • Improve error handling

  • Update wallet search for the deposit

  • Add deposit collection flow documentation

Setup redeploy on devkube (#2489)

Starting v2.4

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update CI to build images with git sha for branches matching {fix,integration}/*

Update peatio-bitgo version. Change rid length for withdraw

Update structure sql (#2652)

Update configuration for database pool

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.3.62

Released 2020-09-02

Add export rake tasks

Add caching for the most used public endpoints (#2645)

  • Add caching for the most used public endpoints (#2625)

  • Remove inqury from TradingFee model

  • Fix /currencies and /markets

Add ability to select orders with different states (#2446)

Add ability to set user rate limit (#2577)

Add ability to select orders with different states (#2447)

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2425)

Enhauncement: update sdk version (#2436)

Feature: Add ability to resend beneficiary pin (#2582)

Fix: Add validations for crypto address in beneficiary (#2438)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update UID and GID to the app user for all files in the project directory (#2496)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

Fix: disable beneficiary validation on withdrawal failing (#2442)

Fix: docs generated step for drone pipeline (#2422)

Imrove Deposit and Withdraw filters (#2456)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Remove account_id from Withdraw model (#2445)

Update dependencies

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.4.22

Released 2020-09-01

Add ability to set user rate limit (#2578)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: add pagination to POST management/accounts/balances

Enhancement: add management api to retrieve non-zero balances (#2570)

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Feature: Add ability to resend beneficiary pin (#2582)

Feature: Add filters for currencies, markets and wallets

Feature: Include post_only order in market/depth (#2530)

Fix versionning generation in CI (#2604)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update error handling for trading_fee api

Fix: Add docs && changelog generation on master branch (#2515)

Fix: add ability to cancel order by uuid (#2508)

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Release: 2-4-stable :tada:

Remove date parsing in api/v2/public/version

Update CI to build images with git sha for branches matching {fix,integration}/*

Update update sassc and ffi

Update websocket API documentation for peatio 2.4 (#2505)

Update irix and peatio-bitgo versions (#2533)

Update export task with data field for market (#2513)

Update irix version (#2506)

Update peatio plugins (#2504)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550) (#2552)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.5.35

Released 2020-08-24

Update peatio-bitgo version. Change rid length for withdraw

#Version 2.5.34

Released 2020-08-17

AML integration (#2589)

  • Add AMLplugin system Add AML functions for Beneficiary model Store deposits source addresses Add admin beneficiary api Add refund model

  • Update rails to 5.2.4.3, dependencies and plugins versions

Accounting: add member_id in platform revenues (#2607)

  • Accounting: add member_id in platform revenue

Add wallet balances. Add cron job for wallet balances update

Add jobs table (#2649)

  • Add job table

  • Add error_code, error_message, pointer and counter for jobs table

Add rake task for distribution (#2631)

  • Add rake task for distribution

Add caching for the most used public endpoints (#2625)

Add ability to configure database pool size

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Clean rails built in warnings (#2483)

Create roadmap.md

Delete encrypt for market data. Update upstream daemon (#2543)

Dockerfile need to add apt-get upgrade (#2624)

  • Dockerfile need to add apt-get upgrade

Dockerfile need to add this line RUN apt-get update && apt-get upgrade. To resolve OS bug-fix and important updates.

  • Update Dockerfile

  • Don't see anything to review more.

Enhancement: Filter trade by type && expose received_amount

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: add management api to retrieve non-zero balances

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Expose UUID (#2473)

  • Make UUID not nil in schema

Feature: add filters for blockchains (#2585)

Feature: add ability to filter deposits by email

Feature: PnL calculation for traders Uses deposits, withdrawals, trades, adjustments and simple transfers Supports multi-level conversions

Increase time precision to milliseconds for deposits, withdrawals, trades and adjustments

Feature: Add redis cluster support

Feature: expose maker & taker fee for order entity (#2627)

Feature: Add ability to resend beneficiary pin

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Fix wallet balance parse in the daemons

Fix: Add from_addresses on deposit creation

Fix influxdb spec for 50008 seed

Fix format function in TickersJob

Fix: Bitgo address generation

Fix versionning generation in CI (#2604)

Fix: Update error handling for trading_fee api

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

InfluxDB sharding

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Move data from main database to archive database (#2632)

  • Add stored procedure execution

  • Delete old cancelled orders without trades

  • Add copy orders to the archive database

  • Add compactor time range. Write orders in batches

  • Updating to ruby 2.6.6 and Rails

  • Update Faye to v1.4.x

  • Replace crob-job daemon with rake tasks

  • Improve SP and Job model

  • Update job rake tasks with Job.execute

  • Correcting where clause

  • Add job.rake spec

  • Minor big fix with pointer

  • Fix jobs specs

Co-authored-by: Maksym <mnaichuk@heliostech.fr> Co-authored-by: MoD <mod@websys.io>

Optimize blockchain scan (#2556)

  • Optimize blockchain scanning process by filtering addresses in tx in SQL
  • Fix typo in blockchain service
  • Move fake wallet/blockchain plugin to spec_helpers

Co-authored-by: Maksym Naichuk <mnaichuk@heliostech.fr>

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Release 2-5-stable. Update .drone.yml

Remove inqury from TradingFee model

Remove date parsing in api/v2/public/version

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Replace legacy authentication with jwt-rack (#2450)

Return wallet balance in admin api (#2522)

Rewrite deposit collection flow (#2636)

  • Remove amqp publish and add new deposit state

  • Remove amqp deposit workers

  • Remove rspec stubs for amqp deposit workers

  • Improve deposit daemon

  • Remove amqp deposit daemons specs

  • fee_process! if transactions present

  • Improve deposit collection flow

  • Improve error handling

  • Update wallet search for the deposit

  • Add deposit collection flow documentation

Setup redeploy on devkube (#2489)

Starting v2.4

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update structure sql (#2652)

Update configuration for database pool

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.3.61

Released 2020-08-10

Add caching for the most used public endpoints (#2645)

  • Add caching for the most used public endpoints (#2625)

  • Remove inqury from TradingFee model

  • Fix /currencies and /markets

Add ability to select orders with different states (#2446)

Add ability to set user rate limit (#2577)

Add ability to select orders with different states (#2447)

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2425)

Enhauncement: update sdk version (#2436)

Feature: Add ability to resend beneficiary pin (#2582)

Fix: Add validations for crypto address in beneficiary (#2438)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update UID and GID to the app user for all files in the project directory (#2496)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

Fix: disable beneficiary validation on withdrawal failing (#2442)

Fix: docs generated step for drone pipeline (#2422)

Imrove Deposit and Withdraw filters (#2456)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Remove account_id from Withdraw model (#2445)

Update dependencies

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.4.21

Released 2020-08-10

Add ability to set user rate limit (#2578)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: add pagination to POST management/accounts/balances

Enhancement: add management api to retrieve non-zero balances (#2570)

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Feature: Add ability to resend beneficiary pin (#2582)

Feature: Add filters for currencies, markets and wallets

Feature: Include post_only order in market/depth (#2530)

Fix versionning generation in CI (#2604)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update error handling for trading_fee api

Fix: Add docs && changelog generation on master branch (#2515)

Fix: add ability to cancel order by uuid (#2508)

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Release: 2-4-stable :tada:

Remove date parsing in api/v2/public/version

Update websocket API documentation for peatio 2.4 (#2505)

Update irix and peatio-bitgo versions (#2533)

Update export task with data field for market (#2513)

Update irix version (#2506)

Update peatio plugins (#2504)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550) (#2552)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.5.33

Released 2020-08-10

Fix: Add from_addresses on deposit creation

#Version 2.5.32

Released 2020-08-10

Enhancement: Filter trade by type && expose received_amount

#Version 2.5.31

Released 2020-08-07

Add wallet balances. Add cron job for wallet balances update

#Version 2.5.30

Released 2020-08-07

Dockerfile need to add apt-get upgrade (#2624)

  • Dockerfile need to add apt-get upgrade

Dockerfile need to add this line RUN apt-get update && apt-get upgrade. To resolve OS bug-fix and important updates.

  • Update Dockerfile

  • Don't see anything to review more.

Feature: add filters for blockchains (#2585)

Feature: add ability to filter deposits by email

Optimize blockchain scan (#2556)

  • Optimize blockchain scanning process by filtering addresses in tx in SQL
  • Fix typo in blockchain service
  • Move fake wallet/blockchain plugin to spec_helpers

Co-authored-by: Maksym Naichuk <mnaichuk@heliostech.fr>

#Version 2.5.29

Released 2020-08-06

Move data from main database to archive database (#2632)

  • Add stored procedure execution

  • Delete old cancelled orders without trades

  • Add copy orders to the archive database

  • Add compactor time range. Write orders in batches

  • Updating to ruby 2.6.6 and Rails

  • Update Faye to v1.4.x

  • Replace crob-job daemon with rake tasks

  • Improve SP and Job model

  • Update job rake tasks with Job.execute

  • Correcting where clause

  • Add job.rake spec

  • Minor big fix with pointer

  • Fix jobs specs

Co-authored-by: Maksym <mnaichuk@heliostech.fr> Co-authored-by: MoD <mod@websys.io>

#Version 2.5.28

Released 2020-08-06

Update structure sql (#2652)

#Version 2.5.27

Released 2020-08-05

AML integration (#2589)

  • Add AMLplugin system Add AML functions for Beneficiary model Store deposits source addresses Add admin beneficiary api Add refund model

  • Update rails to 5.2.4.3, dependencies and plugins versions

#Version 2.5.26

Released 2020-08-05

Feature: PnL calculation for traders Uses deposits, withdrawals, trades, adjustments and simple transfers Supports multi-level conversions

Increase time precision to milliseconds for deposits, withdrawals, trades and adjustments

#Version 2.5.25

Released 2020-08-05

Accounting: add member_id in platform revenues (#2607)

  • Accounting: add member_id in platform revenue

#Version 2.5.24

Released 2020-08-04

Add jobs table (#2649)

  • Add job table

  • Add error_code, error_message, pointer and counter for jobs table

Add rake task for distribution (#2631)

  • Add rake task for distribution

Add caching for the most used public endpoints (#2625)

Add ability to configure database pool size

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Delete encrypt for market data. Update upstream daemon (#2543)

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: add management api to retrieve non-zero balances

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Feature: Add redis cluster support

Feature: expose maker & taker fee for order entity (#2627)

Feature: Add ability to resend beneficiary pin

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Fix influxdb spec for 50008 seed

Fix format function in TickersJob

Fix: Bitgo address generation

Fix versionning generation in CI (#2604)

Fix: Update error handling for trading_fee api

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

InfluxDB sharding

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Release 2-5-stable. Update .drone.yml

Remove inqury from TradingFee model

Remove date parsing in api/v2/public/version

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Return wallet balance in admin api (#2522)

Rewrite deposit collection flow (#2636)

  • Remove amqp publish and add new deposit state

  • Remove amqp deposit workers

  • Remove rspec stubs for amqp deposit workers

  • Improve deposit daemon

  • Remove amqp deposit daemons specs

  • fee_process! if transactions present

  • Improve deposit collection flow

  • Improve error handling

  • Update wallet search for the deposit

  • Add deposit collection flow documentation

Update configuration for database pool

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.4.20

Released 2020-08-03

Add ability to set user rate limit (#2578)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Clean rails built in warnings (#2483)

Create roadmap.md

Enhancement: add pagination to POST management/accounts/balances

Enhancement: add management api to retrieve non-zero balances (#2570)

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Expose UUID (#2473)

  • Make UUID not nil in schema

Feature: Add ability to resend beneficiary pin (#2582)

Feature: Add filters for currencies, markets and wallets

Feature: Include post_only order in market/depth (#2530)

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

Fix versionning generation in CI (#2604)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update error handling for trading_fee api

Fix: Add docs && changelog generation on master branch (#2515)

Fix: add ability to cancel order by uuid (#2508)

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Release: 2-4-stable :tada:

Remove date parsing in api/v2/public/version

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Replace legacy authentication with jwt-rack (#2450)

Setup redeploy on devkube (#2489)

Starting v2.4

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update websocket API documentation for peatio 2.4 (#2505)

Update irix and peatio-bitgo versions (#2533)

Update export task with data field for market (#2513)

Update irix version (#2506)

Update peatio plugins (#2504)

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Use scheduling in blockchain daemon to reflect config changes in DB (#2550) (#2552)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.3.60

Released 2020-08-01

Add caching for the most used public endpoints (#2645)

  • Add caching for the most used public endpoints (#2625)

  • Remove inqury from TradingFee model

  • Fix /currencies and /markets

Add ability to select orders with different states (#2446)

Add ability to set user rate limit (#2577)

Add ability to select orders with different states (#2447)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2425)

Enhauncement: update sdk version (#2436)

Feature: Add ability to resend beneficiary pin (#2582)

Fix: Add validations for crypto address in beneficiary (#2438)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update UID and GID to the app user for all files in the project directory (#2496)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

Fix: disable beneficiary validation on withdrawal failing (#2442)

Fix: docs generated step for drone pipeline (#2422)

Imrove Deposit and Withdraw filters (#2456)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Remove account_id from Withdraw model (#2445)

Update dependencies

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.5.23

Released 2020-07-27

Rewrite deposit collection flow (#2636)

  • Remove amqp publish and add new deposit state

  • Remove amqp deposit workers

  • Remove rspec stubs for amqp deposit workers

  • Improve deposit daemon

  • Remove amqp deposit daemons specs

  • fee_process! if transactions present

  • Improve deposit collection flow

  • Improve error handling

  • Update wallet search for the deposit

  • Add deposit collection flow documentation

#Version 2.5.22

Released 2020-07-15

Feature: Add redis cluster support

Fix influxdb spec for 50008 seed

InfluxDB sharding

#Version 2.5.21

Released 2020-07-02

Add rake task for distribution (#2631)

  • Add rake task for distribution

Add caching for the most used public endpoints (#2625)

Add ability to configure database pool size

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Clean rails built in warnings (#2483)

Create roadmap.md

Delete encrypt for market data. Update upstream daemon (#2543)

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: add management api to retrieve non-zero balances

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Expose UUID (#2473)

  • Make UUID not nil in schema

Feature: expose maker & taker fee for order entity (#2627)

Feature: Add ability to resend beneficiary pin

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

Fix format function in TickersJob

Fix: Bitgo address generation

Fix versionning generation in CI (#2604)

Fix: Update error handling for trading_fee api

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Release 2-5-stable. Update .drone.yml

Remove inqury from TradingFee model

Remove date parsing in api/v2/public/version

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Replace legacy authentication with jwt-rack (#2450)

Return wallet balance in admin api (#2522)

Setup redeploy on devkube (#2489)

Starting v2.4

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update configuration for database pool

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.3.59

Released 2020-07-01

Add ability to select orders with different states (#2446)

Add ability to set user rate limit (#2577)

Add ability to select orders with different states (#2447)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2425)

Enhauncement: update sdk version (#2436)

Feature: Add ability to resend beneficiary pin (#2582)

Fix: Add validations for crypto address in beneficiary (#2438)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update UID and GID to the app user for all files in the project directory (#2496)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

Fix: disable beneficiary validation on withdrawal failing (#2442)

Fix: docs generated step for drone pipeline (#2422)

Imrove Deposit and Withdraw filters (#2456)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Remove account_id from Withdraw model (#2445)

Update dependencies

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.5.20

Released 2020-06-26

Feature: expose maker & taker fee for order entity (#2627)

#Version 2.5.19

Released 2020-06-24

Remove inqury from TradingFee model

#Version 2.5.18

Released 2020-06-24

Fix format function in TickersJob

#Version 2.5.17

Released 2020-06-24

Add caching for the most used public endpoints (#2625)

Add ability to configure database pool size

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Delete encrypt for market data. Update upstream daemon (#2543)

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Enhancement: add management api to retrieve non-zero balances

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Feature: Add ability to resend beneficiary pin

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Fix: Bitgo address generation

Fix versionning generation in CI (#2604)

Fix: Update error handling for trading_fee api

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Release 2-5-stable. Update .drone.yml

Remove date parsing in api/v2/public/version

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Return wallet balance in admin api (#2522)

Update configuration for database pool

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.4.19

Released 2020-06-19

Add ability to set user rate limit (#2578)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

Enhancement: add pagination to POST management/accounts/balances

Enhancement: add management api to retrieve non-zero balances (#2570)

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Feature: Add ability to resend beneficiary pin (#2582)

Feature: Add filters for currencies, markets and wallets

Feature: Include post_only order in market/depth (#2530)

Fix versionning generation in CI (#2604)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update error handling for trading_fee api

Fix: Add docs && changelog generation on master branch (#2515)

Fix: add ability to cancel order by uuid (#2508)

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Release: 2-4-stable :tada:

Remove date parsing in api/v2/public/version

Update websocket API documentation for peatio 2.4 (#2505)

Update irix and peatio-bitgo versions (#2533)

Update export task with data field for market (#2513)

Update irix version (#2506)

Update peatio plugins (#2504)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550) (#2552)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.5.16

Released 2020-06-19

Enhancement: Skip pending ERC-20 transaction in blockchain daemon (#2615)

Remove date parsing in api/v2/public/version

#Version 2.5.15

Released 2020-06-17

Update configuration for database pool

#Version 2.5.14

Released 2020-06-11

Add ability to configure database pool size

#Version 2.5.13

Released 2020-06-10

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Clean rails built in warnings (#2483)

Create roadmap.md

Delete encrypt for market data. Update upstream daemon (#2543)

Enhancement: add management api to retrieve non-zero balances

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Expose UUID (#2473)

  • Make UUID not nil in schema

Feature: Add ability to resend beneficiary pin

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Fix: Bitgo address generation

Fix versionning generation in CI (#2604)

Fix: Update error handling for trading_fee api

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Release 2-5-stable. Update .drone.yml

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Replace legacy authentication with jwt-rack (#2450)

Return wallet balance in admin api (#2522)

Setup redeploy on devkube (#2489)

Starting v2.4

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.3.58

Released 2020-06-09

Add ability to select orders with different states (#2446)

Add ability to set user rate limit (#2577)

Add ability to select orders with different states (#2447)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2425)

Enhauncement: update sdk version (#2436)

Fix: Add validations for crypto address in beneficiary (#2438)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update UID and GID to the app user for all files in the project directory (#2496)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

Fix: disable beneficiary validation on withdrawal failing (#2442)

Fix: docs generated step for drone pipeline (#2422)

Imrove Deposit and Withdraw filters (#2456)

Remove account_id from Withdraw model (#2445)

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.5.12

Released 2020-06-05

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Delete encrypt for market data. Update upstream daemon (#2543)

Enhancement: add management api to retrieve non-zero balances

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Fix: Bitgo address generation

Fix versionning generation in CI (#2604)

Fix: Update error handling for trading_fee api

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Release 2-5-stable. Update .drone.yml

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Return wallet balance in admin api (#2522)

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.4.18

Released 2020-06-05

Add ability to set user rate limit (#2578)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

Enhancement: add pagination to POST management/accounts/balances

Enhancement: add management api to retrieve non-zero balances (#2570)

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Feature: Add ability to resend beneficiary pin (#2582)

Feature: Add filters for currencies, markets and wallets

Feature: Include post_only order in market/depth (#2530)

Fix versionning generation in CI (#2604)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update error handling for trading_fee api

Fix: Add docs && changelog generation on master branch (#2515)

Fix: add ability to cancel order by uuid (#2508)

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Release: 2-4-stable :tada:

Update websocket API documentation for peatio 2.4 (#2505)

Update irix and peatio-bitgo versions (#2533)

Update export task with data field for market (#2513)

Update irix version (#2506)

Update peatio plugins (#2504)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550) (#2552)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.5.11

Released 2020-06-05

Fix versionning generation in CI (#2604)

#Version 2.5.10

Released 2020-06-04

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Delete encrypt for market data. Update upstream daemon (#2543)

Enhancement: add management api to retrieve non-zero balances

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Fix: Update error handling for trading_fee api

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Release 2-5-stable. Update .drone.yml

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Return wallet balance in admin api (#2522)

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.4.17

Released 2020-06-04

Enhancement: add pagination to POST management/accounts/balances

#Version 2.4.16

Released 2020-06-04

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

#Version 2.4.15

Released 2020-06-02

Fix: Update error handling for trading_fee api

#Version 2.4.14

Released 2020-06-01

Add ability to set user rate limit (#2578)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Clean rails built in warnings (#2483)

Create roadmap.md

Enhancement: add management api to retrieve non-zero balances (#2570)

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Expose UUID (#2473)

  • Make UUID not nil in schema

Feature: Add ability to resend beneficiary pin (#2582)

Feature: Add filters for currencies, markets and wallets

Feature: Include post_only order in market/depth (#2530)

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

Fix: Add docs && changelog generation on master branch (#2515)

Fix: add ability to cancel order by uuid (#2508)

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Release: 2-4-stable :tada:

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Replace legacy authentication with jwt-rack (#2450)

Setup redeploy on devkube (#2489)

Starting v2.4

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update websocket API documentation for peatio 2.4 (#2505)

Update irix and peatio-bitgo versions (#2533)

Update export task with data field for market (#2513)

Update irix version (#2506)

Update peatio plugins (#2504)

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Use scheduling in blockchain daemon to reflect config changes in DB (#2550) (#2552)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.3.57

Released 2020-05-29

Add ability to select orders with different states (#2446)

Add ability to set user rate limit (#2577)

Add ability to select orders with different states (#2447)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2425)

Enhauncement: update sdk version (#2436)

Fix: Add validations for crypto address in beneficiary (#2438)

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Update UID and GID to the app user for all files in the project directory (#2496)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

Fix: disable beneficiary validation on withdrawal failing (#2442)

Fix: docs generated step for drone pipeline (#2422)

Imrove Deposit and Withdraw filters (#2456)

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.4.13

Released 2020-05-27

Add ability to set user rate limit (#2578)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Feature: Add filters for currencies, markets and wallets

Feature: Include post_only order in market/depth (#2530)

Fix: Add docs && changelog generation on master branch (#2515)

Fix: add ability to cancel order by uuid (#2508)

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Release: 2-4-stable :tada:

Update websocket API documentation for peatio 2.4 (#2505)

Update irix and peatio-bitgo versions (#2533)

Update export task with data field for market (#2513)

Update irix version (#2506)

Update peatio plugins (#2504)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550) (#2552)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.5.9

Released 2020-05-27

Add ability to set user rate limit (#2579)

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Add export rake task for engines

Add docs about engines

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Clean rails built in warnings (#2483)

Create roadmap.md

Delete encrypt for market data. Update upstream daemon (#2543)

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Expose UUID (#2473)

  • Make UUID not nil in schema

Feature: Add Management API for beneficiaries

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve market states for api

Improve orders and trades filtes. Add data field in engine admin API

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Release 2-5-stable. Update .drone.yml

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Replace legacy authentication with jwt-rack (#2450)

Return wallet balance in admin api (#2522)

Setup redeploy on devkube (#2489)

Starting v2.4

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update irix version

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.3.56

Released 2020-05-27

Add ability to set user rate limit (#2577)

Add ability to select orders with different states (#2447)

Enhancement: Update sdk image (#2425)

Enhauncement: update sdk version (#2436)

Fix: Update UID and GID to the app user for all files in the project directory (#2496)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

Fix: disable beneficiary validation on withdrawal failing (#2442)

Fix: docs generated step for drone pipeline (#2422)

Imrove Deposit and Withdraw filters (#2456)

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.4.12

Released 2020-05-25

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Feature: Add filters for currencies, markets and wallets

Feature: Include post_only order in market/depth (#2530)

Fix: Add docs && changelog generation on master branch (#2515)

Fix: add ability to cancel order by uuid (#2508)

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Release: 2-4-stable :tada:

Update websocket API documentation for peatio 2.4 (#2505)

Update irix and peatio-bitgo versions (#2533)

Update export task with data field for market (#2513)

Update irix version (#2506)

Update peatio plugins (#2504)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550) (#2552)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.5.8

Released 2020-05-25

Improve market states for api

#Version 2.5.7

Released 2020-05-22

Add export rake task for engines

#Version 2.5.6

Released 2020-05-22

Improve orders and trades filtes. Add data field in engine admin API

#Version 2.5.5

Released 2020-05-21

Add docs about engines

#Version 2.5.4

Released 2020-05-21

Feature: Add Management API for beneficiaries

#Version 2.5.3

Released 2020-05-20

#Version 2.5.2

Released 2020-05-19

Update irix version

#Version 2.5.1

Released 2020-05-16

#Version 2.5.0

Released 2020-05-15

Add default value for data market field (#2553)

Add manager role (#2540)

Add admin api for engines (#2538)

Delete encrypt for market data. Update upstream daemon (#2543)

Enhancement: Improve deposit model. Add ability to collect through api (#2510)

Enhancement: Add Engine model (#2527)

Enhancement: Add ability to fail withdraw from skipped state (#2519)

Enhancement: Update sdk image to 2.4.5 (#2524)

Enhancement: Add Kaigara installation to the Dockerfile (#2514)

  • Use --jobs to speed up bundle install process

Feature: add POST admin/blockchain/process_block (#2526)

Feature: Add user portfolio API module (#2537)

Feature: Include post_only order in market/depth (#2531)

Feature: Expose deposit address && beneficiaries for admin endpoints (#2518)

Feature: Alive check for a blockchain node to get the latest block (#2521)

Fix market migration with existing data

Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination (#2551)

  • Fix: Avoid to use join in admin API for tables with large amount of data

  • Add index for orders on uuid

Fix: Remove nested sql transaction. Update deposit model (#2548)

Fix market entity (#2545)

Fix: Update UID and GID to the app user for all files in the project directory (#2499)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add created_at to transaction entity (#2497)

Fix: Ability to save wallet secret on update (#2500)

Merge 2-4 branch to master (#2520)

  • Release: 2-4-stable :tada:

  • Fix: Ability to save wallet secret on update (#2501)

  • Fix: Add created_at to transaction entity (#2498)

  • Update peatio plugins (#2504)

  • Update irix version (#2506)

  • Fix: add ability to cancel order by uuid (#2508)

  • Update export task with data field for market (#2513)

  • Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

  • Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

  • Fix: Add docs && changelog generation on master branch (#2515)

Co-authored-by: chumaknadya <chumaknadya19@gmail.com> Co-authored-by: mikoim <3958340+mikoim@users.noreply.github.com> Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

Release 2-5-stable. Update .drone.yml

Remove old helpers (#2528)

Remove old Peatio admin panel (#2523)

Return wallet balance in admin api (#2522)

Update gems dependencies

Update peatio-core version (#2536)

Update column type for data engines (#2534)

Update irix and peatio-bitgo versions (#2532)

Update peatio plugins (#2503)

Update websocket API documentation for peatio 2.4 (#2502)

Use scheduling in blockchain daemon to reflect config changes in DB (#2550)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.4.11

Released 2020-05-13

Use scheduling in blockchain daemon to reflect config changes in DB (#2550) (#2552)

  • Implement reflected blockchain with sample example

  • Finalize

  • Update comment

#Version 2.4.10

Released 2020-05-13

Update websocket API documentation for peatio 2.4 (#2505)

#Version 2.4.9

Released 2020-04-20

Update irix and peatio-bitgo versions (#2533)

#Version 2.4.8

Released 2020-04-20

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Clean rails built in warnings (#2483)

Create roadmap.md

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Expose UUID (#2473)

  • Make UUID not nil in schema

Feature: Include post_only order in market/depth (#2530)

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

Fix: Add docs && changelog generation on master branch (#2515)

Fix: add ability to cancel order by uuid (#2508)

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Release: 2-4-stable :tada:

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Replace legacy authentication with jwt-rack (#2450)

Setup redeploy on devkube (#2489)

Starting v2.4

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update export task with data field for market (#2513)

Update irix version (#2506)

Update peatio plugins (#2504)

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

#Version 2.3.55

Released 2020-04-16

Add ability to select orders with different states (#2447)

Enhancement: Update sdk image (#2425)

Enhauncement: update sdk version (#2436)

Fix: Update UID and GID to the app user for all files in the project directory (#2496)

Co-authored-by: apaulb <apaulb@users.noreply.github.com>

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

Fix: disable beneficiary validation on withdrawal failing (#2442)

Fix: docs generated step for drone pipeline (#2422)

Imrove Deposit and Withdraw filters (#2456)

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.4.7

Released 2020-04-10

Experimental: Remove LOCKING_BUFFER_FACTOR from buy market order (#2509)

  • Remove LOCKING_BUFFER_FACTOR from buy market order

  • Imrove buy market order creation

Fix: Add docs && changelog generation on master branch (#2515)

#Version 2.4.6

Released 2020-04-10

Add feature to search currency by code or name in /public/currencies (#2516)

  • Add feature to search currency by code or name in /public/currencies

  • Simplify search_params building

#Version 2.4.5

Released 2020-04-03

Update export task with data field for market (#2513)

#Version 2.4.4

Released 2020-04-01

Fix: add ability to cancel order by uuid (#2508)

#Version 2.4.3

Released 2020-03-27

Update irix version (#2506)

#Version 2.4.2

Released 2020-03-26

Update peatio plugins (#2504)

#Version 2.4.1

Released 2020-03-25

#Version 2.4.0

Released 2020-03-25

Add CronJob daemon for k-lines and tickers. (#2485)

Add Opendax Upstream support (#2458)

Add ability to read tickers from influx (#2480)

Add Trading docs (#2478)

  • Add Trading docs

  • Update trading_api.md

Co-authored-by: Louis <lbellet@openware.com>

Add ability to filter zero user balances (#2444)

  • Add ability to filter zero user balances

  • Add validation for parameter

  • Change parameter type and add specs

  • Add spec with non boolean value

  • Rename not_empty to nonzero

  • Fix specs

  • Change error message

Add finex as third party engine support. Add to_reject withdrawal state. Add maker role (#2459)

Add rake task for export and import PaymentAddresses (#2454)

Add ability to select orders with different states (#2446)

Clean rails built in warnings (#2483)

Create roadmap.md

Enhancement: Redeploy on master.devkube.com on every master push (#2491)

Enhancement: Add validation for trading fees (#2464)

Enhancement: Delete total header from admin API endpoints (#2468)

Enhancement: Update sdk image (#2424)

Enhauncement: update sdk version (#2435)

Expose UUID (#2473)

  • Make UUID not nil in schema

Feature: add POST management/currencies/list API endpoint (#2487)

Feature: add POST /management/markets/list API endpoint (#2486)

Feature: Add filters by deposit/withdraw states (#2463)

Feature: Add Webhooks support (#2460)

Feature: rake tasks for drop accounting and extract configs (#2426)

Co-authored-by: ymasuik <emasiuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Co-authored-by: Maksym <mnaichuk@heliostech.fr>

Feature: Rake task for revert trading activity for a particular user (#2437)

Feature incremental orderbook with snapshots (#2400)

Feature: add notification step && add step for pushing docs to sdk (#2418)

Features and improvements pack (#2490)

Co-authored-by: baturich <baturich@ukr.net>

fix: Gemfile & Gemfile.lock to reduce vulnerabilities (#2494)

The following vulnerabilities are fixed with an upgrade:

Fix: Add created_at to transaction entity (#2498)

Fix: Ability to save wallet secret on update (#2501)

Fix: add ability to search order by uuid (#2481)

Fix ./bin/setup (#2482)

Fix: Collect deposits after sql transaction (#2471)

Fix: Change beneficiary address validation (#2462)

Fix: Add report exception to screen for OrderProcessor initialize (#2453)

Fix: disable beneficiary validation on withdrawal failing

Fix: Add validations for crypto address in beneficiary (#2438)

Fix vulnerabilities CVE-2019-16770 CVE-2019-16782 (#2432)

Fix event api message on trade_completed (#2430)

Fix: docs generated step for drone pipeline (#2421)

Fix: Add Bundler 2 installation to the Dockerfile

Co-authored-by: Valentine Shatravenko <vshatravenko@heliostech.fr>

Guardrails integration & minor security issue fixes (#2431)

  • Guardrails integration

  • Comment some secrets

  • Ignore specs

Improve deposits, withdrawals and transactions filters (#2492)

Improve API filtering for order history (#2476)

Improve errors messages in Account model. Add daemons locking by key

Imrove Deposit and Withdraw filters (#2455)

Instantiate Blockchain and Wallet adapters in service creation. Update pluggins vesrions (#2474)

Prepare doc for Peatio v2.4 migration (#2475)

Publish events to specific exchange (#2470)

Rake task for importing all users and accounts (#2448)

Record Trades and K-lines to InfluxDB (#2441)

  • Add InfluxDB client;
  • Add new AMQP daemon InfluxDB writer;
  • Rewrite Public Trade endpoint to return trades from influx;
  • Rewrite Public K-line endpoint to return k-lines from influx;
  • Rewrite k-line daemon;
  • Rewrite KlineService;

Release: 2-4-stable :tada:

Remove precision from order timestamps (#2457)

Remove deprecated amqp daemons (#2451)

  • Remove Pusher Market amqp daemon

  • Remove Pusher Member amqp daemon

  • Remove Pusher Market amqp daemon

  • Move event api to lib

Remove :touch_accounts after user creation (#2449)

Remove account_id from Withdraw model (#2445)

Remove :touch_account after currency creation (#2429)

Replace legacy authentication with jwt-rack (#2450)

Setup redeploy on devkube (#2489)

Starting v2.4

Tweak publi-markets endpoint (#2395)

  • Add position to markets
  • Add search for base & quote name to markets
  • Add search filters to /account/balances & /public/markets

Update to Rails 5.2.4 (#2466)

  • Update to Rails 2.5.4.1

  • Update grape to 1.3.1 and rake to 13.0.1. Fix rspecs

Update Peatio API documentation (#2477)

Update roadmap.md

Update Order model for compatibility with Finex (#2440)

Co-authored-by: Yaroslav Savchuk <savchukyarpolk@gmail.com>

#Version 2.3.54

Released 2020-02-20

Imrove Deposit and Withdraw filters (#2456)

#Version 2.3.53

Released 2020-02-19

Fix: Add report exception to screen for OrderProcessor initialize (#2452)

#Version 2.3.52

Released 2020-02-12

Add ability to select orders with different states (#2447)

#Version 2.3.51

Released 2020-01-31

Fix: disable beneficiary validation on withdrawal failing (#2442)

#Version 2.3.50

Released 2020-01-23

Enhauncement: update sdk version (#2436)

#Version 2.3.49

Released 2019-11-27

Enhancement: Update sdk image (#2425)

#Version 2.3.48

Released 2019-11-22

#Version 2.3.47

Released 2019-11-20

Fix: docs generated step for drone pipeline (#2422)

#Version 2.3.46

Released 2019-11-16

Upgrade rack-cors to version 1.0.4

fix CVE-2019-18978

#Version 2.3.45

Released 2019-11-15

Ability to edit market through management API (#2384)

Add ability to set member group, select member by uid and get all existing groups (#2401)

Add pagination to currencies markets & balances. Expose currency position (#2394)

Add deposits and withdraws history to one API endpoint (#2392)

Add ability to update currency through management api (#2389)

Add visible, deposit_enabled, withdrawal_enabled columns to Currency (#2374)

  • Add visible, deposit_enabled, withdrawal_enabled columns to currency model

  • Change enabled to visible

Add endpoint to get currency by code to management API (#2372)

Add details about fees in trade API (#2363)

  • Add details about fees in trade API

  • Expose fee on /api/v2/market/trades

Add ability to change markets precision in Admin API (#2361)

Add endpoint for create fiat deposit (#2357)

Add endpoint to select specified adjustment (#2354)

Add actions endpoints for Withdraw and Deposit Admin API (#2351)

  • Add Account Kind to Operation's response

  • Add action endpoint for withdraws

  • Add actions endpoint for deposits

  • Finish action endpoint

  • Add rescue to prevent Internal Error

Add public endpoint for trading_fees (#2353)

Add user information in event_api (#2349)

Add uid and email field for withdrawal and deposits admin entities (#2350)

Add adjusments (#2325)

Co-authored-by: mnaichuk <mnaichuk@heliostech.fr> Co-authored-by: dnfd <dfedorchenko@heliostech.fr>

Add Admin and Management API for TradingFees (#2334)

Add endpoint to list all blockchain clients (#2339)

  • Allow filtering by disabled markets

Add missing -y in bin/gendocs (#2332)

Add validation specs for blockchain_key in Currency (#2158)

Add ability to bump & tag stable branches (#2328)

Add attr_readonly to some Order attributes (#2189)

Add specs for Operations::Account validations (#2175)

Add parity wallet gataway and use it instead of peth. Deprecate peth (#2295)

Admin API module for tower (#2264)

Feature admin panel api

Orders Blockchains Currencies Markets Wallets Deposits Withdraws Trades Operations Members Unify API doc files structure and naming.

Co-authored-by: dnfd dfedorchenko@heliostech.fr Co-authored-by: chumaknadya nchumak@heliostech.fr Co-authored-by: ysv ysavchuk@heliostech.fr

Allow filtering by multiple states in admin/withdraws (#2397)

Beneficiaries model with ability to manage via user API (#2347)

Add Beneficiary model which can store both fiat crypto beneficiary data. Custom beneficiary fields like country, account_number, bank_swift_code are stored in JSON format. Also beneficiary contains name, description & currency_id in string format.

On beneficiary creation pin generated and saved in DB user needs to activate beneficiary with pin sent by email. Create & update actions are published to RabbitMQ by Event API.

There are 3 states of beneficiary:

  • pending - requires activation with pin;
  • active - activated by user and can be used for withdrawal;
  • achieved - equal to removed except fact that admin can read it.

Beneficiary account API consists of 5 endpoints:

  • GET /beneficiaries - get paginated list of beneficiaries for user;
  • GET /beneficiaries/:id - get single beneficiary by id;
  • POST /beneficiaries - create beneficiary for user;
  • PATH /beneficiaries/:id/activate - activate beneficiary with pin;
  • DELETE /beneficiaries/:id - delete beneficiary (actually change state to archived).

Co-authored-by: ysv <ysavchuk@heliostech.fr> Co-authored-by: mod <lbellet@heliostech.fr>

Change run Peatio::Application to Rails.application in config.ru (#2316)

Using Rails::Application subclass to start the server is deprecated and was removed in Rails 6.0. https://github.com/rails/rails/commit/553b86fc751c751db504bcbe2d033eb2bb5b6a0b

Crash daemons on Mysql connection error (#2367)

Do not expose wallet sensitive settings data on admin api (#2403)

Do not log full backtrace on order creation (#2368)

Drop step from blockchain model (#2282)

Expose explorer transaction and address in admin api (#2396)

Fail ethereum withdrawal in case of fail status in blockchain (#2302)

Feature: improve bump step in drone pipeline && change docs structure (#2415)

Feature: update version of plugins (#2416)

Feature: add confirmations field to transactions API (#2413)

Feature: add ability to add note to withdraw by management api (#2412)

Feature: add notify step to drone pipeline (#2407)

Feature: Add tid to /account deposits endpoints (#2393)

Feature: Use drone CI && Update the CI to use SDK for version bumps (#2405)

Feature: add gem for support dash (#2338)

Feature scale puma to 4 workers

Fix: rename assets folder && change images path in websocket_api.md (#2409)

Fix asks order in api (#2406)

Fix: move travis to openware repo

Fix #update_legacy_balance for locked accounts (#2380)

Fix 422 response on successful actions (#2358)

Increase trading fees maker & taker precision to 6 digits (#2360)

Integrate ability to withdraw both fiat & crypto with Beneficiary model (#2355)

Since we can store Beneficiaries in peatio starting from #2347 now we can implement user withdraw API for both fiat & crypto currencies. Itmeans that in this patch we have replaced POST accounts/withdraw rid param with beneficiary_id. This change gives ability to use active beneficiaries for both fiat & crypto withdrawals.

Beneficiary is now exposed in Admin API as field of Withdraw so admin can validate it directly.

beneficiary_id foreign key was added to Withdraw model so now it has optional belongs_to association with Beneficiary.

Also this patch improves Withdraw sum & amount precision logic. Instead of rounding attributes on creation now attributes precision is validated on Withdraw creation.

This patch also adds additional validation for Beneficiary data attribute

Integrate vault-rails (#2310)

  • Update migration

Market & Currency admin forms corrections & improvements (#2278)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Minor Admin fixes for Blockchain, Order, Trade, Currency (#2352)

  • Blockchain:

      ** Increase height max value
    
  • Orders Add ability to cancel single Cancel all orders by market, by side ** Change order type filter from ask/bid to sell/buy

  • Trades ** Replace maker/taker_order_id with maker/taker_order_email

  • Currency ** Base factor usage

Minor Wallet Admin API fixes & improvements. Drop parent & nsig from Wallet (#2348)

  • Use currency in wallet creation

  • Remove parent and nsig(api only)

  • List wallet gateways and wallet kinds

  • Fix typo

  • Remove Nsig and Parent

OrderProcessor must process order cancel after TradeExecutor (#2371)

Refactoring to maker-taker fee model. Major Trade model rework (#2292)

This patch replaces side-related (buy or sell) with maker-taker fee model. Its basic structure gives a fee discount to market makers providing liquidity (the makers); and charges higher fee to customers who take liquidity out of the market (the takers). Fee could be configured per market. Next changes were produced by switching to maker-taker fee model:

  • Replace ask_fee and bid_fee with maker_fee and taker_fee in Market model;
  • Replace fee with maker_fee and taker_fee in Order model;
  • Update Entities for Market and Trade models in user API, Trade model in management API;
  • Update Trade Accounting with maker/taker_fee;
  • Update Trade_executor and Matching_engine with new Trade model;
  • Update Market seeds;
  • Specs for maker/taker_fee;

Trade model rework consist of next changes:

  • Update Trade model structure:
    • ask_id -> maker_order_id;
    • bid_id -> taker_order_id;
    • ask_member_id -> maker_id;
    • bid_member_id -> taker_id;
    • volume -> amount;
    • funds -> total;
    • drop trend;

Remove uid length limit in members table (#2346)

Remove jq package from gendocs (#2333)

Remove legacy withdraw factories (#2198)

  • Remove legacy_btc_withdraw

  • Remove legacy_usd_withdraw

  • Remove unused legacy_{eth,trst,ring}_withdraw factories

Reraise errors in #submit and #cancel methods (#2375)

Return member accounts for all currencies for admin (#2387)

Rewrite validation for buy and sell order in trade_executor (#2335)

Start 2-3 development 💰

Stop use validations in migrations (#2331)

Support beneficiary_id in management API create withdraw (#2378)

  • Support beneficiary_id in management API create withdraw

  • Add currency check for deposits, update error messages + fixes

Trading Fee Schedule based on Member group (#2321)

Trading Fee Schedule based on Member group

Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>" Co-authored-by: ysv <ysavchuk@heliostech.fr>

Update gem versions (#2414)

Update ruby to 2.6.5 for security reasons (#2386)

Update Transher model (#2356)

  • Key changed to String;
  • Kind changed to enum Category, possible categories %w[wire refund purchases commission];
  • Desc changed to Description;

Update specs for swagger (#2340)

Update README.md

Update gem versions to reduce vulnerabilities (#2318)

The following vulnerabilities are fixed with an upgrade:

Update peatio-ripple gem version (#2298)

Use redis gem with hiredis instead of rails-redis (#2390)

Use grape entity for exposing & documenting market ticker (#2365)

Use Faker::Blockchain::Bitcoin instead of Faker::Bitcoin (#2343)

Use update_attribute in migrations (#2324)

Validate order price and origin_volume only on creating (#2385)

Validate accounting on Transfer & Adjustment creation. Create account on fly if does not exist (#2370)

  • Accounting check on Transfer/Adjustment creation

#Version 2.2.33

Released 2019-11-15

AMQP messages for third party trading engine integration (#2215)

  • Publish message to RMQ on Liability create

  • Publish message to RMQ on API order submit

Add deposits and withdraws history to one API endpoint (#2207)

Add ability to bump & tag stable branches (#2328) (#2329)

Add rake task for load users and balances (#2287)

Add bitcoincash and ripple (#2286)

Add min_confirmations field to currency entity (#2276)

Add reload before load blockchain height in blockchain daemon (#2269)

Add password generator (#2245)

Add WS message for market order executed event (#2208)

  • Add ranger call for market order execute event

  • Unify ranger payloads

Add management API endpoint for listing trades (#2182)

Add optional fields for operations API (#2140)

  • Delete pagination from API for liabilities and add optional fields

  • Reset pagination and small fixes after review

  • Change timestamp to time range in API for liabilities

  • Add optional param reference_type for assets, expenses and revenues

  • Add time_from and time_to params to operations API

Add ability to deposit from admin panel (#2164)

Add missing end in Admin::Deposits::FiatsController (#2162)

Add filter by date in market/trades (#2126)

Add missing paginations for deposit & withdraw on admin panel (#2156)

Add note to withdraw (#2157)

Add ability to cancel all orders for specific market (#2125)

Adding trigger tables for Advance order types

Admin panel RBAC. New admin roles support (#2217)

  • Initailize RBAC logic

  • Add role permissions

Avoid message in controllers by overriding Grape::AllowBlankValidator (#2094)

Benchmark tasks for Matching TradeExecution and OrderProcessing (#2133)

  • Benchmark tasks for Matching TradeExecution and OrderProcessing

  • Implement Matching bench

  • Implement TradeExecutor bench

  • Implement OrderProcessor bench

  • Implement Dummy & Bitfinex Order injecotrs

  • Add bench config templates

  • Add bitfinex injector data

  • Expose RabbitMQ management API admin panel

  • Implement Deposit & Member factories

  • Add simple RabbitMQHTTP client

  • Fix failures:trade_errors rake task

  • Temporary skip feature specs

Co-authored-by: shal <ashanaakh@heliostech.fr> Co-authored-by: ysv <ysavchuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

  • Direct benchmarks for matching, trade_executor and order_processing (#2138)

Change: config/database.yml – use port value from ENV (#2254)

Change order 'state' to int for order_processor (#2205)

Crash daemons on Mysql connection error (#2383)

  • Crash daemons on Mysql connection error (#2367)

  • Reraise errors in #submit and #cancel methods

Disable colorize logging in production (#2261)

Fail ethereum withdrawal in case of fail status in blockchain (#2302) (#2327)

Feature: update version of plugins (#2417)

Feature: Use drone CI (#2411)

Filter orders by type (#2167)

Fix double spending issue on withdraw (#2280)

Fix withdraws to include all currencies not just coins (#2222)

Fixes Issue #2128

Fix travis release (#2275)

Fix issue with JWT Token (#2265)

Fix bin/gendocs (#2150)

Fix release:travis rake task (#2145)

Improve sentry-raven error reporting (#2236)

Limit number of returned data from ranger global.update (#2153)

Major trading engine and logic rework with precision, rounding and matching flow improvements (#2258)

  • Update Peatio::Bench with matching engine bug
  • min_amount depends on amount_precision
  • Clear Matching Error classes
  • Finalize Engine #submit & replace Trade with Trade Struct
  • MarketOrderbookError in case of market order in orderbook
  • Define fractional parts for funds and fee
  • Fix market validations and spec
  • Add max_price precision validation
  • Remove price and volume rounding. Validate precision instead
  • Don't validate if attr not present
  • Fix sell market order. Rename AbstractOrder -> BaseOrder
  • Make migration more friendly. Remove attr_readonly from amount_precision & price_precision

Major Market model rework (#2241)

  • Replace Market enabled with state and list new states (without logic implementation)
  • Rework public/market API response structure
  • Rename Market API error name market.market.doesnt_exist -> market.market.doesnt_exist_or_not_enabled
  • Add ability to disable all markets
  • Remove precision equivalence validation (now amount and price precision could be different)
  • Add precisions sum validation (amount + price precision < 16)
  • Merge min_bid_amount & min_ask_amount to min_amount
  • Update admin views & controllers with new Market table structure
  • Update Market seeds
  • Rename ask_precision -> amount_precision, bid_precision -> price_precision
  • Rename min_ask_price -> min_price, max_bid_price -> max_price
  • Rename ask_unit -> base_unit, bid_unit -> quote_unit
  • Order fix_number_precision -> round_amount_and_price
  • Market fix_number_precision -> round_amount, round_price
  • Remove legacy Order & Market methods

Market & Currency admin forms corrections & improvements (#2303)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Move slave book from amqp to ruby daemons (#2267)

Move order submit to order_processor and remove Ordering (#2147)

  • Add new state Pending for orders;
  • Add fast check_balance before publishing message;
  • Publish message for submitting order from API;
  • Delete Ordering module;

Multi coin support for altcoins (#2243)

  • multi coin support for altcoins

Altcoins using same clients like dash so cache key collide. First coin get block number in other hand it s ignor get second lastest block number

  • Update blockchain_service.rb

Operations spec fix by saving timestamps in variables

Plugable coins API (#2168)

Major feature: rewritten blockchain and wallet api to enable easy implementation of 3rd party plugins

Peatio Plugin API v2 gives ability to extend Peatio with any coin which fits into basic Blockchain and Wallet interfaces described inside peatio-core gem.

Please see the following plugin example for your implementation: peatio-litecoin

Refactor and improve blockchain daemon performance (#2257)

  • Fix issues with timeout.
  • Split blockchains sync into threads.
  • Speed up sync using typhoeus adapter.
  • Use one BlockchainService instance per thread.
  • Use one connection per thread.
  • Sleep 10 seconds if synced.

Remove withdrawal attempts (#2281)

Remove http request for confirmations method (#2262)

  • Remove http call for confirmations method

  • Fix Adapter error in views

Remove peatio.tech brand from admin panel (#2072)

Remove gem grape_strip

Remove plugin API v1 (closes #2076) (#2090)

Remove deprecated fees API (closes #2077) (#2091)

Remove legacy member UI (#2051)

  • Remove yarn;
  • Remove Gems (rails-i18n, gon, angularjs-rails);
  • Remove /assets for funds page;
  • Remove application_controller methods related to funds page;
  • Remove /private and /concern controllers;
  • Remove application_helpers methods related to funds page;
  • Rewrite links and notices for deposits and withdraws in admin panel;
  • Remove private views and templates;
  • Remove config/locales;
  • Clean routes.rb and application.yml.erb;

Co-authored-by: dinesh-skyach <dinesh.skyach@gmail.com> Co-authored-by: ritesh-skyach <ritesh.skyach@gmail.com> Co-authored-by: ysv <ysavchuk@heliostech.fr>

Reorganization ruby and amqp workers (#2242)

Retry withdraw on failure (#2233)

  • Retry withdraw on failure

Rewrite callbacks for avoid using redirect_to :back (#2169)

  • Change redirect_to to render (#2113)

  • Rewrite callbacks for avoid using redirect_to :back

Skip withdraw in case of insufficient balance on hot wallet (#2179)

Start 2-1 development 🔌

Start 2.1.0 development 💫

Unify trade taker_type with Ranger and api (#2121)

Update peatio-ripple gem version (#2306)

Update bin/gendocs (#2272)

Update ruby version and gems (#2263)

  • Update ruby version and gems

  • Update hashdiff and rubocop gems

Update logger for withdraw coin daemon (#2234)

Update Readme (#2250)

Change links from peatio.tech to openware.com

Update RBAC roles (#2237)

Update ruby version to 2.6.2 (#2191)

  • update ruby version to 2.6.2

  • Update README.md

Update gem Boostrap scssc for CVE-2019-8331

Update application.yml.erb (#2098)

#2038 endpoint api/v2/members/me dosen't exists any more

Update README.md (#2092)

Update to use rubykube peatio git repo (#2093)

Updating database structure

Upgrade ruby to 2.6.2 (#2160)

Upgrade Ruby on Rails to 5.2 (#2146)

Upgrade Ruby on Rails to 5.0 (#2095)

Migration to newer rails gem version: 5.0.7.

We suggest to following tasks in the topic after this will be merged:

  • Update grape and relative gems.
  • Update to ruby 2.6.
  • Update to rails 5.1.

Co-authored-by: shal ashanaakh@heliostech.fr Co-authored-by: ysv ysavchuk@heliostech.fr

Use Faker::Blockchain::Bitcoin instead of Faker::Bitcoin (#2344)

Use json format for logs (#2232)

#Version 2.0.41

Released 2019-11-14

Add password generator (#2247)

Benchmark tasks for Matching TradeExecution and OrderProcessing (#2136)

  • Implement Matching bench
  • Implement TradeExecutor bench
  • Implement OrderProcessor bench
  • Implement Dummy & Bitfinex Order injecotrs
  • Add bench config templates
  • Add bitfinex injector data
  • Expose RabbitMQ management API admin panel
  • Implement Deposit & Member factories
  • Add simple RabbitMQHTTP client
  • Fix failures:trade_errors rake task
  • Temporary skip feature specs

Co-authored-by: shal <ashanaakh@heliostech.fr> Co-authored-by: ysv <ysavchuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Change redirect_to to render (#2113)

Get rid off grape_strip gem (#2116)

Release 2-0-stable

Rewrite callbacks for avoid using redirect_to :back (#2176)

  • Change redirect_to to render (#2113)

  • Rewrite callbacks for avoid using redirect_to :back

Rewrite callbacks for avoid using redirect_to :back

  • Change redirect_to to render (#2113)

  • Rewrite callbacks for avoid using redirect_to :back

Skip withdraw in case of insufficient balance on hot wallet (#2178)

Use drone CI (#2408)

#Version 2.2.32

Released 2019-11-14

Feature: Use drone CI (#2411)

#Version 2.2.31

Released 2019-11-12

Add deposits and withdraws history to one API endpoint (#2207)

Add ability to bump & tag stable branches (#2328) (#2329)

Crash daemons on Mysql connection error (#2383)

  • Crash daemons on Mysql connection error (#2367)

  • Reraise errors in #submit and #cancel methods

Fail ethereum withdrawal in case of fail status in blockchain (#2302) (#2327)

Market & Currency admin forms corrections & improvements (#2303)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Update peatio-ripple gem version (#2306)

Use Faker::Blockchain::Bitcoin instead of Faker::Bitcoin (#2344)

#Version 2.3.44

Released 2019-11-07

Expose explorer transaction and address in admin api (#2396)

Fix: move travis to openware repo

#Version 2.3.43

Released 2019-10-15

Use redis gem with hiredis instead of rails-redis (#2390)

#Version 2.3.42

Released 2019-10-10

Add ability to update currency through management api (#2389)

#Version 2.3.41

Released 2019-10-07

Return member accounts for all currencies for admin (#2387)

Validate order price and origin_volume only on creating (#2385)

#Version 2.3.40

Released 2019-10-04

Ability to edit market through management API (#2384)

#Version 2.3.39

Released 2019-10-04

Add visible, deposit_enabled, withdrawal_enabled columns to Currency (#2374)

  • Add visible, deposit_enabled, withdrawal_enabled columns to currency model

  • Change enabled to visible

Add endpoint to get currency by code to management API (#2372)

Add details about fees in trade API (#2363)

  • Add details about fees in trade API

  • Expose fee on /api/v2/market/trades

Add ability to change markets precision in Admin API (#2361)

Add endpoint for create fiat deposit (#2357)

Add endpoint to select specified adjustment (#2354)

Add actions endpoints for Withdraw and Deposit Admin API (#2351)

  • Add Account Kind to Operation's response

  • Add action endpoint for withdraws

  • Add actions endpoint for deposits

  • Finish action endpoint

  • Add rescue to prevent Internal Error

Add public endpoint for trading_fees (#2353)

Add user information in event_api (#2349)

Add uid and email field for withdrawal and deposits admin entities (#2350)

Add adjusments (#2325)

Co-authored-by: mnaichuk <mnaichuk@heliostech.fr> Co-authored-by: dnfd <dfedorchenko@heliostech.fr>

Add Admin and Management API for TradingFees (#2334)

Add endpoint to list all blockchain clients (#2339)

  • Allow filtering by disabled markets

Add missing -y in bin/gendocs (#2332)

Add validation specs for blockchain_key in Currency (#2158)

Add ability to bump & tag stable branches (#2328)

Add attr_readonly to some Order attributes (#2189)

Add specs for Operations::Account validations (#2175)

Add parity wallet gataway and use it instead of peth. Deprecate peth (#2295)

Admin API module for tower (#2264)

Feature admin panel api

Orders Blockchains Currencies Markets Wallets Deposits Withdraws Trades Operations Members Unify API doc files structure and naming.

Co-authored-by: dnfd dfedorchenko@heliostech.fr Co-authored-by: chumaknadya nchumak@heliostech.fr Co-authored-by: ysv ysavchuk@heliostech.fr

Beneficiaries model with ability to manage via user API (#2347)

Add Beneficiary model which can store both fiat crypto beneficiary data. Custom beneficiary fields like country, account_number, bank_swift_code are stored in JSON format. Also beneficiary contains name, description & currency_id in string format.

On beneficiary creation pin generated and saved in DB user needs to activate beneficiary with pin sent by email. Create & update actions are published to RabbitMQ by Event API.

There are 3 states of beneficiary:

  • pending - requires activation with pin;
  • active - activated by user and can be used for withdrawal;
  • achieved - equal to removed except fact that admin can read it.

Beneficiary account API consists of 5 endpoints:

  • GET /beneficiaries - get paginated list of beneficiaries for user;
  • GET /beneficiaries/:id - get single beneficiary by id;
  • POST /beneficiaries - create beneficiary for user;
  • PATH /beneficiaries/:id/activate - activate beneficiary with pin;
  • DELETE /beneficiaries/:id - delete beneficiary (actually change state to archived).

Co-authored-by: ysv <ysavchuk@heliostech.fr> Co-authored-by: mod <lbellet@heliostech.fr>

Change run Peatio::Application to Rails.application in config.ru (#2316)

Using Rails::Application subclass to start the server is deprecated and was removed in Rails 6.0. https://github.com/rails/rails/commit/553b86fc751c751db504bcbe2d033eb2bb5b6a0b

Crash daemons on Mysql connection error (#2367)

Do not log full backtrace on order creation (#2368)

Drop step from blockchain model (#2282)

Fail ethereum withdrawal in case of fail status in blockchain (#2302)

Feature: add gem for support dash (#2338)

Feature scale puma to 4 workers

Fix #update_legacy_balance for locked accounts (#2380)

Fix 422 response on successful actions (#2358)

Increase trading fees maker & taker precision to 6 digits (#2360)

Integrate ability to withdraw both fiat & crypto with Beneficiary model (#2355)

Since we can store Beneficiaries in peatio starting from #2347 now we can implement user withdraw API for both fiat & crypto currencies. Itmeans that in this patch we have replaced POST accounts/withdraw rid param with beneficiary_id. This change gives ability to use active beneficiaries for both fiat & crypto withdrawals.

Beneficiary is now exposed in Admin API as field of Withdraw so admin can validate it directly.

beneficiary_id foreign key was added to Withdraw model so now it has optional belongs_to association with Beneficiary.

Also this patch improves Withdraw sum & amount precision logic. Instead of rounding attributes on creation now attributes precision is validated on Withdraw creation.

This patch also adds additional validation for Beneficiary data attribute

Integrate vault-rails (#2310)

  • Update migration

Market & Currency admin forms corrections & improvements (#2278)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Minor Admin fixes for Blockchain, Order, Trade, Currency (#2352)

  • Blockchain:

      ** Increase height max value
    
  • Orders Add ability to cancel single Cancel all orders by market, by side ** Change order type filter from ask/bid to sell/buy

  • Trades ** Replace maker/taker_order_id with maker/taker_order_email

  • Currency ** Base factor usage

Minor Wallet Admin API fixes & improvements. Drop parent & nsig from Wallet (#2348)

  • Use currency in wallet creation

  • Remove parent and nsig(api only)

  • List wallet gateways and wallet kinds

  • Fix typo

  • Remove Nsig and Parent

OrderProcessor must process order cancel after TradeExecutor (#2371)

Refactoring to maker-taker fee model. Major Trade model rework (#2292)

This patch replaces side-related (buy or sell) with maker-taker fee model. Its basic structure gives a fee discount to market makers providing liquidity (the makers); and charges higher fee to customers who take liquidity out of the market (the takers). Fee could be configured per market. Next changes were produced by switching to maker-taker fee model:

  • Replace ask_fee and bid_fee with maker_fee and taker_fee in Market model;
  • Replace fee with maker_fee and taker_fee in Order model;
  • Update Entities for Market and Trade models in user API, Trade model in management API;
  • Update Trade Accounting with maker/taker_fee;
  • Update Trade_executor and Matching_engine with new Trade model;
  • Update Market seeds;
  • Specs for maker/taker_fee;

Trade model rework consist of next changes:

  • Update Trade model structure:
    • ask_id -> maker_order_id;
    • bid_id -> taker_order_id;
    • ask_member_id -> maker_id;
    • bid_member_id -> taker_id;
    • volume -> amount;
    • funds -> total;
    • drop trend;

Remove uid length limit in members table (#2346)

Remove jq package from gendocs (#2333)

Remove legacy withdraw factories (#2198)

  • Remove legacy_btc_withdraw

  • Remove legacy_usd_withdraw

  • Remove unused legacy_{eth,trst,ring}_withdraw factories

Reraise errors in #submit and #cancel methods (#2375)

Rewrite validation for buy and sell order in trade_executor (#2335)

Start 2-3 development 💰

Stop use validations in migrations (#2331)

Support beneficiary_id in management API create withdraw (#2378)

  • Support beneficiary_id in management API create withdraw

  • Add currency check for deposits, update error messages + fixes

Trading Fee Schedule based on Member group (#2321)

Trading Fee Schedule based on Member group

Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>" Co-authored-by: ysv <ysavchuk@heliostech.fr>

Update ruby to 2.6.5 for security reasons (#2386)

Update Transher model (#2356)

  • Key changed to String;
  • Kind changed to enum Category, possible categories %w[wire refund purchases commission];
  • Desc changed to Description;

Update specs for swagger (#2340)

Update README.md

Update gem versions to reduce vulnerabilities (#2318)

The following vulnerabilities are fixed with an upgrade:

Update peatio-ripple gem version (#2298)

Use grape entity for exposing & documenting market ticker (#2365)

Use Faker::Blockchain::Bitcoin instead of Faker::Bitcoin (#2343)

Use update_attribute in migrations (#2324)

Validate accounting on Transfer & Adjustment creation. Create account on fly if does not exist (#2370)

  • Accounting check on Transfer/Adjustment creation

#Version 2.2.30

Released 2019-10-04

Add ability to bump & tag stable branches (#2328) (#2329)

Crash daemons on Mysql connection error (#2383)

  • Crash daemons on Mysql connection error (#2367)

  • Reraise errors in #submit and #cancel methods

Fail ethereum withdrawal in case of fail status in blockchain (#2302) (#2327)

Market & Currency admin forms corrections & improvements (#2303)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Update peatio-ripple gem version (#2306)

Use Faker::Blockchain::Bitcoin instead of Faker::Bitcoin (#2344)

#Version 2.3.38

Released 2019-09-30

Support beneficiary_id in management API create withdraw (#2378)

  • Support beneficiary_id in management API create withdraw

  • Add currency check for deposits, update error messages + fixes

#Version 2.3.37

Released 2019-09-26

Add visible, deposit_enabled, withdrawal_enabled columns to Currency (#2374)

  • Add visible, deposit_enabled, withdrawal_enabled columns to currency model

  • Change enabled to visible

OrderProcessor must process order cancel after TradeExecutor (#2371)

#Version 2.3.36

Released 2019-09-25

Add endpoint to get currency by code to management API (#2372)

Reraise errors in #submit and #cancel methods (#2375)

#Version 2.3.35

Released 2019-09-24

Do not log full backtrace on order creation (#2368)

#Version 2.3.34

Released 2019-09-22

Validate accounting on Transfer & Adjustment creation. Create account on fly if does not exist (#2370)

  • Accounting check on Transfer/Adjustment creation

#Version 2.3.33

Released 2019-09-18

Crash daemons on Mysql connection error (#2367)

Use grape entity for exposing & documenting market ticker (#2365)

#Version 2.3.32

Released 2019-09-13

Add details about fees in trade API (#2363)

  • Add details about fees in trade API

  • Expose fee on /api/v2/market/trades

#Version 2.3.31

Released 2019-09-11

Add ability to change markets precision in Admin API (#2361)

#Version 2.3.30

Released 2019-09-10

Increase trading fees maker & taker precision to 6 digits (#2360)

#Version 2.3.29

Released 2019-09-06

Fix 422 response on successful actions (#2358)

#Version 2.3.28

Released 2019-09-06

Integrate ability to withdraw both fiat & crypto with Beneficiary model (#2355)

Since we can store Beneficiaries in peatio starting from #2347 now we can implement user withdraw API for both fiat & crypto currencies. Itmeans that in this patch we have replaced POST accounts/withdraw rid param with beneficiary_id. This change gives ability to use active beneficiaries for both fiat & crypto withdrawals.

Beneficiary is now exposed in Admin API as field of Withdraw so admin can validate it directly.

beneficiary_id foreign key was added to Withdraw model so now it has optional belongs_to association with Beneficiary.

Also this patch improves Withdraw sum & amount precision logic. Instead of rounding attributes on creation now attributes precision is validated on Withdraw creation.

This patch also adds additional validation for Beneficiary data attribute

#Version 2.3.27

Released 2019-09-06

Add endpoint for create fiat deposit (#2357)

#Version 2.3.26

Released 2019-09-06

Add endpoint to select specified adjustment (#2354)

#Version 2.3.25

Released 2019-09-05

Update Transher model (#2356)

  • Key changed to String;
  • Kind changed to enum Category, possible categories %w[wire refund purchases commission];
  • Desc changed to Description;

#Version 2.3.24

Released 2019-09-05

Add actions endpoints for Withdraw and Deposit Admin API (#2351)

  • Add Account Kind to Operation's response

  • Add action endpoint for withdraws

  • Add actions endpoint for deposits

  • Finish action endpoint

  • Add rescue to prevent Internal Error

#Version 2.3.23

Released 2019-09-05

Minor Admin fixes for Blockchain, Order, Trade, Currency (#2352)

  • Blockchain:

      ** Increase height max value
    
  • Orders Add ability to cancel single Cancel all orders by market, by side ** Change order type filter from ask/bid to sell/buy

  • Trades ** Replace maker/taker_order_id with maker/taker_order_email

  • Currency ** Base factor usage

#Version 2.3.22

Released 2019-09-04

Beneficiaries model with ability to manage via user API (#2347)

Add Beneficiary model which can store both fiat crypto beneficiary data. Custom beneficiary fields like country, account_number, bank_swift_code are stored in JSON format. Also beneficiary contains name, description & currency_id in string format.

On beneficiary creation pin generated and saved in DB user needs to activate beneficiary with pin sent by email. Create & update actions are published to RabbitMQ by Event API.

There are 3 states of beneficiary:

  • pending - requires activation with pin;
  • active - activated by user and can be used for withdrawal;
  • achieved - equal to removed except fact that admin can read it.

Beneficiary account API consists of 5 endpoints:

  • GET /beneficiaries - get paginated list of beneficiaries for user;
  • GET /beneficiaries/:id - get single beneficiary by id;
  • POST /beneficiaries - create beneficiary for user;
  • PATH /beneficiaries/:id/activate - activate beneficiary with pin;
  • DELETE /beneficiaries/:id - delete beneficiary (actually change state to archived).

Co-authored-by: ysv <ysavchuk@heliostech.fr> Co-authored-by: mod <lbellet@heliostech.fr>

#Version 2.3.21

Released 2019-09-03

Add public endpoint for trading_fees (#2353)

#Version 2.3.20

Released 2019-09-03

Add user information in event_api (#2349)

#Version 2.3.19

Released 2019-09-03

Add uid and email field for withdrawal and deposits admin entities (#2350)

#Version 2.3.18

Released 2019-09-02

Minor Wallet Admin API fixes & improvements. Drop parent & nsig from Wallet (#2348)

  • Use currency in wallet creation

  • Remove parent and nsig(api only)

  • List wallet gateways and wallet kinds

  • Fix typo

  • Remove Nsig and Parent

#Version 2.3.17

Released 2019-09-01

Add adjusments (#2325)

Co-authored-by: mnaichuk <mnaichuk@heliostech.fr> Co-authored-by: dnfd <dfedorchenko@heliostech.fr>

Add Admin and Management API for TradingFees (#2334)

#Version 2.3.16

Released 2019-08-29

Remove uid length limit in members table (#2346)

#Version 2.3.15

Released 2019-08-27

Add endpoint to list all blockchain clients (#2339)

  • Allow filtering by disabled markets

Add missing -y in bin/gendocs (#2332)

Add validation specs for blockchain_key in Currency (#2158)

Add ability to bump & tag stable branches (#2328)

Add attr_readonly to some Order attributes (#2189)

Add specs for Operations::Account validations (#2175)

Add parity wallet gataway and use it instead of peth. Deprecate peth (#2295)

Admin API module for tower (#2264)

Feature admin panel api

Orders Blockchains Currencies Markets Wallets Deposits Withdraws Trades Operations Members Unify API doc files structure and naming.

Co-authored-by: dnfd dfedorchenko@heliostech.fr Co-authored-by: chumaknadya nchumak@heliostech.fr Co-authored-by: ysv ysavchuk@heliostech.fr

Change run Peatio::Application to Rails.application in config.ru (#2316)

Using Rails::Application subclass to start the server is deprecated and was removed in Rails 6.0. https://github.com/rails/rails/commit/553b86fc751c751db504bcbe2d033eb2bb5b6a0b

Drop step from blockchain model (#2282)

Fail ethereum withdrawal in case of fail status in blockchain (#2302)

Feature: add gem for support dash (#2338)

Feature scale puma to 4 workers

Integrate vault-rails (#2310)

  • Update migration

Market & Currency admin forms corrections & improvements (#2278)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Refactoring to maker-taker fee model. Major Trade model rework (#2292)

This patch replaces side-related (buy or sell) with maker-taker fee model. Its basic structure gives a fee discount to market makers providing liquidity (the makers); and charges higher fee to customers who take liquidity out of the market (the takers). Fee could be configured per market. Next changes were produced by switching to maker-taker fee model:

  • Replace ask_fee and bid_fee with maker_fee and taker_fee in Market model;
  • Replace fee with maker_fee and taker_fee in Order model;
  • Update Entities for Market and Trade models in user API, Trade model in management API;
  • Update Trade Accounting with maker/taker_fee;
  • Update Trade_executor and Matching_engine with new Trade model;
  • Update Market seeds;
  • Specs for maker/taker_fee;

Trade model rework consist of next changes:

  • Update Trade model structure:
    • ask_id -> maker_order_id;
    • bid_id -> taker_order_id;
    • ask_member_id -> maker_id;
    • bid_member_id -> taker_id;
    • volume -> amount;
    • funds -> total;
    • drop trend;

Remove jq package from gendocs (#2333)

Remove legacy withdraw factories (#2198)

  • Remove legacy_btc_withdraw

  • Remove legacy_usd_withdraw

  • Remove unused legacy_{eth,trst,ring}_withdraw factories

Rewrite validation for buy and sell order in trade_executor (#2335)

Start 2-3 development 💰

Stop use validations in migrations (#2331)

Trading Fee Schedule based on Member group (#2321)

Trading Fee Schedule based on Member group

Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>" Co-authored-by: ysv <ysavchuk@heliostech.fr>

Update specs for swagger (#2340)

Update README.md

Update gem versions to reduce vulnerabilities (#2318)

The following vulnerabilities are fixed with an upgrade:

Update peatio-ripple gem version (#2298)

Use Faker::Blockchain::Bitcoin instead of Faker::Bitcoin (#2343)

Use update_attribute in migrations (#2324)

#Version 2.2.29

Released 2019-08-27

Add ability to bump & tag stable branches (#2328) (#2329)

Fail ethereum withdrawal in case of fail status in blockchain (#2302) (#2327)

Market & Currency admin forms corrections & improvements (#2303)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Update peatio-ripple gem version (#2306)

Use Faker::Blockchain::Bitcoin instead of Faker::Bitcoin (#2344)

#Version 2.3.14

Released 2019-08-26

Feature: add gem for support dash (#2338)

#Version 2.3.13

Released 2019-08-22

AMQP messages for third party trading engine integration (#2215)

  • Publish message to RMQ on Liability create

  • Publish message to RMQ on API order submit

Add missing -y in bin/gendocs (#2332)

Add validation specs for blockchain_key in Currency (#2158)

Add ability to bump & tag stable branches (#2328)

Add attr_readonly to some Order attributes (#2189)

Add specs for Operations::Account validations (#2175)

Add parity wallet gataway and use it instead of peth. Deprecate peth (#2295)

Add rake task for load users and balances (#2287)

Add bitcoincash and ripple (#2286)

Add min_confirmations field to currency entity (#2276)

Add reload before load blockchain height in blockchain daemon (#2269)

Add password generator (#2245)

Add WS message for market order executed event (#2208)

  • Add ranger call for market order execute event

  • Unify ranger payloads

Add management API endpoint for listing trades (#2182)

Adding trigger tables for Advance order types

Admin API module for tower (#2264)

Feature admin panel api

Orders Blockchains Currencies Markets Wallets Deposits Withdraws Trades Operations Members Unify API doc files structure and naming.

Co-authored-by: dnfd dfedorchenko@heliostech.fr Co-authored-by: chumaknadya nchumak@heliostech.fr Co-authored-by: ysv ysavchuk@heliostech.fr

Admin panel RBAC. New admin roles support (#2217)

  • Initailize RBAC logic

  • Add role permissions

Change run Peatio::Application to Rails.application in config.ru (#2316)

Using Rails::Application subclass to start the server is deprecated and was removed in Rails 6.0. https://github.com/rails/rails/commit/553b86fc751c751db504bcbe2d033eb2bb5b6a0b

Change: config/database.yml – use port value from ENV (#2254)

Change order 'state' to int for order_processor (#2205)

Disable colorize logging in production (#2261)

Drop step from blockchain model (#2282)

Fail ethereum withdrawal in case of fail status in blockchain (#2302)

Feature scale puma to 4 workers

Fix double spending issue on withdraw (#2280)

Fix withdraws to include all currencies not just coins (#2222)

Fixes Issue #2128

Fix travis release (#2275)

Fix issue with JWT Token (#2265)

Improve sentry-raven error reporting (#2236)

Integrate vault-rails (#2310)

  • Update migration

Major trading engine and logic rework with precision, rounding and matching flow improvements (#2258)

  • Update Peatio::Bench with matching engine bug
  • min_amount depends on amount_precision
  • Clear Matching Error classes
  • Finalize Engine #submit & replace Trade with Trade Struct
  • MarketOrderbookError in case of market order in orderbook
  • Define fractional parts for funds and fee
  • Fix market validations and spec
  • Add max_price precision validation
  • Remove price and volume rounding. Validate precision instead
  • Don't validate if attr not present
  • Fix sell market order. Rename AbstractOrder -> BaseOrder
  • Make migration more friendly. Remove attr_readonly from amount_precision & price_precision

Major Market model rework (#2241)

  • Replace Market enabled with state and list new states (without logic implementation)
  • Rework public/market API response structure
  • Rename Market API error name market.market.doesnt_exist -> market.market.doesnt_exist_or_not_enabled
  • Add ability to disable all markets
  • Remove precision equivalence validation (now amount and price precision could be different)
  • Add precisions sum validation (amount + price precision < 16)
  • Merge min_bid_amount & min_ask_amount to min_amount
  • Update admin views & controllers with new Market table structure
  • Update Market seeds
  • Rename ask_precision -> amount_precision, bid_precision -> price_precision
  • Rename min_ask_price -> min_price, max_bid_price -> max_price
  • Rename ask_unit -> base_unit, bid_unit -> quote_unit
  • Order fix_number_precision -> round_amount_and_price
  • Market fix_number_precision -> round_amount, round_price
  • Remove legacy Order & Market methods

Market & Currency admin forms corrections & improvements (#2278)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Move slave book from amqp to ruby daemons (#2267)

Multi coin support for altcoins (#2243)

  • multi coin support for altcoins

Altcoins using same clients like dash so cache key collide. First coin get block number in other hand it s ignor get second lastest block number

  • Update blockchain_service.rb

Operations spec fix by saving timestamps in variables

Plugable coins API (#2168)

Major feature: rewritten blockchain and wallet api to enable easy implementation of 3rd party plugins

Peatio Plugin API v2 gives ability to extend Peatio with any coin which fits into basic Blockchain and Wallet interfaces described inside peatio-core gem.

Please see the following plugin example for your implementation: peatio-litecoin

Refactor and improve blockchain daemon performance (#2257)

  • Fix issues with timeout.
  • Split blockchains sync into threads.
  • Speed up sync using typhoeus adapter.
  • Use one BlockchainService instance per thread.
  • Use one connection per thread.
  • Sleep 10 seconds if synced.

Refactoring to maker-taker fee model. Major Trade model rework (#2292)

This patch replaces side-related (buy or sell) with maker-taker fee model. Its basic structure gives a fee discount to market makers providing liquidity (the makers); and charges higher fee to customers who take liquidity out of the market (the takers). Fee could be configured per market. Next changes were produced by switching to maker-taker fee model:

  • Replace ask_fee and bid_fee with maker_fee and taker_fee in Market model;
  • Replace fee with maker_fee and taker_fee in Order model;
  • Update Entities for Market and Trade models in user API, Trade model in management API;
  • Update Trade Accounting with maker/taker_fee;
  • Update Trade_executor and Matching_engine with new Trade model;
  • Update Market seeds;
  • Specs for maker/taker_fee;

Trade model rework consist of next changes:

  • Update Trade model structure:
    • ask_id -> maker_order_id;
    • bid_id -> taker_order_id;
    • ask_member_id -> maker_id;
    • bid_member_id -> taker_id;
    • volume -> amount;
    • funds -> total;
    • drop trend;

Remove jq package from gendocs (#2333)

Remove legacy withdraw factories (#2198)

  • Remove legacy_btc_withdraw

  • Remove legacy_usd_withdraw

  • Remove unused legacy_{eth,trst,ring}_withdraw factories

Remove withdrawal attempts (#2281)

Remove http request for confirmations method (#2262)

  • Remove http call for confirmations method

  • Fix Adapter error in views

Reorganization ruby and amqp workers (#2242)

Retry withdraw on failure (#2233)

  • Retry withdraw on failure

Rewrite validation for buy and sell order in trade_executor (#2335)

Start 2-3 development 💰

Start 2-1 development 🔌

Stop use validations in migrations (#2331)

Trading Fee Schedule based on Member group (#2321)

Trading Fee Schedule based on Member group

Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>" Co-authored-by: ysv <ysavchuk@heliostech.fr>

Update README.md

Update gem versions to reduce vulnerabilities (#2318)

The following vulnerabilities are fixed with an upgrade:

Update peatio-ripple gem version (#2298)

Update bin/gendocs (#2272)

Update ruby version and gems (#2263)

  • Update ruby version and gems

  • Update hashdiff and rubocop gems

Update logger for withdraw coin daemon (#2234)

Update Readme (#2250)

Change links from peatio.tech to openware.com

Update RBAC roles (#2237)

Update ruby version to 2.6.2 (#2191)

  • update ruby version to 2.6.2

  • Update README.md

Updating database structure

Use update_attribute in migrations (#2324)

Use json format for logs (#2232)

#Version 2.1.21

Released 2019-08-20

Add ability to bump & tag stable branches (#2330)

Add password generator (#2248)

Fix Bitgo WalletService & WalletClient build_raw_transaction (#2206)

  • Raise Faraday::Error in Bitgo build_raw_transaction
  • Multiply deposit amount by 0.9 for successful build_raw_transaction

Release 2-1-stable

#Version 2.2.28

Released 2019-08-20

Add ability to bump & tag stable branches (#2328) (#2329)

Fail ethereum withdrawal in case of fail status in blockchain (#2302) (#2327)

Market & Currency admin forms corrections & improvements (#2303)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Update peatio-ripple gem version (#2306)

#Version 2.3.12

Released 2019-08-20

Add ability to bump & tag stable branches (#2328)

#Version 2.3.11

Released 2019-08-16

Use update_attribute in migrations (#2324)

#Version 2.3.10

Released 2019-08-16

Fail ethereum withdrawal in case of fail status in blockchain (#2302)

Feature scale puma to 4 workers

Remove legacy withdraw factories (#2198)

  • Remove legacy_btc_withdraw

  • Remove legacy_usd_withdraw

  • Remove unused legacy_{eth,trst,ring}_withdraw factories

#Version 2.3.9

Released 2019-08-15

Add attr_readonly to some Order attributes (#2189)

Add specs for Operations::Account validations (#2175)

#Version 2.3.8

Released 2019-08-15

Refactoring to maker-taker fee model. Major Trade model rework (#2292)

This patch replaces side-related (buy or sell) with maker-taker fee model. Its basic structure gives a fee discount to market makers providing liquidity (the makers); and charges higher fee to customers who take liquidity out of the market (the takers). Fee could be configured per market. Next changes were produced by switching to maker-taker fee model:

  • Replace ask_fee and bid_fee with maker_fee and taker_fee in Market model;
  • Replace fee with maker_fee and taker_fee in Order model;
  • Update Entities for Market and Trade models in user API, Trade model in management API;
  • Update Trade Accounting with maker/taker_fee;
  • Update Trade_executor and Matching_engine with new Trade model;
  • Update Market seeds;
  • Specs for maker/taker_fee;

Trade model rework consist of next changes:

  • Update Trade model structure:
    • ask_id -> maker_order_id;
    • bid_id -> taker_order_id;
    • ask_member_id -> maker_id;
    • bid_member_id -> taker_id;
    • volume -> amount;
    • funds -> total;
    • drop trend;

#Version 2.3.7

Released 2019-08-14

Update gem versions to reduce vulnerabilities (#2318)

The following vulnerabilities are fixed with an upgrade:

#Version 2.3.6

Released 2019-08-12

Change run Peatio::Application to Rails.application in config.ru (#2316)

Using Rails::Application subclass to start the server is deprecated and was removed in Rails 6.0. https://github.com/rails/rails/commit/553b86fc751c751db504bcbe2d033eb2bb5b6a0b

#Version 2.3.5

Released 2019-08-09

Integrate vault-rails (#2310)

  • Update migration

#Version 2.3.4

Released 2019-08-09

Drop step from blockchain model (#2282)

#Version 2.3.3

Released 2019-08-08

Add parity wallet gataway and use it instead of peth. Deprecate peth (#2295)

#Version 2.3.2

Released 2019-08-05

Market & Currency admin forms corrections & improvements (#2278)

  • Improve Market form validations and errors
    • Ask/Bid fee -> Quote/Base currency fee
    • Base/Quote unit -> Base/Quote currency
    • Use number_field for decimals
    • Id has already been taken -> #{base}, #{quote} market already exists
    • Validate amount_precision instead of precisions sum
    • Validate price_preciosion to be less than FUNDS_PRECISION
    • Validate amount_precision to be less than FUNDS_PRECISION - price_precision
  • Update deposit table columns
  • Validate code instead of id in Currency
  • Define convention for organizing Ruby On Rails Models
  • Use 'withdrawal' instead of 'withdraw' everywhere

Start 2-3 development 💰

Update peatio-ripple gem version (#2298)

#Version 2.3.1

Released 2019-08-01

Start 2-2 development 💰

#Version 2.2.27

Released 2019-08-01

Add rake task for load users and balances (#2287)

Fix double spending issue on withdraw (#2280)

#Version 2.2.26

Released 2019-07-31

Add bitcoincash and ripple (#2286)

Fix withdraws to include all currencies not just coins (#2222)

Fixes Issue #2128

#Version 2.2.25

Released 2019-07-24

Multi coin support for altcoins (#2243)

  • multi coin support for altcoins

Altcoins using same clients like dash so cache key collide. First coin get block number in other hand it s ignor get second lastest block number

  • Update blockchain_service.rb

Remove withdrawal attempts (#2281)

#Version 2.2.24

Released 2019-07-23

Add min_confirmations field to currency entity (#2276)

#Version 2.2.23

Released 2019-07-22

Fix travis release (#2275)

Major trading engine and logic rework with precision, rounding and matching flow improvements (#2258)

  • Update Peatio::Bench with matching engine bug
  • min_amount depends on amount_precision
  • Clear Matching Error classes
  • Finalize Engine #submit & replace Trade with Trade Struct
  • MarketOrderbookError in case of market order in orderbook
  • Define fractional parts for funds and fee
  • Fix market validations and spec
  • Add max_price precision validation
  • Remove price and volume rounding. Validate precision instead
  • Don't validate if attr not present
  • Fix sell market order. Rename AbstractOrder -> BaseOrder
  • Make migration more friendly. Remove attr_readonly from amount_precision & price_precision

Update bin/gendocs (#2272)

Update ruby version and gems (#2263)

  • Update ruby version and gems

  • Update hashdiff and rubocop gems

#Version 2.2.22

Released 2019-07-16

Add reload before load blockchain height in blockchain daemon (#2269)

#Version 2.2.21

Released 2019-07-16

Fix issue with JWT Token (#2265)

Move slave book from amqp to ruby daemons (#2267)

#Version 2.2.20

Released 2019-07-15

Remove http request for confirmations method (#2262)

  • Remove http call for confirmations method

  • Fix Adapter error in views

#Version 2.2.19

Released 2019-07-12

Refactor and improve blockchain daemon performance (#2257)

  • Fix issues with timeout.
  • Split blockchains sync into threads.
  • Speed up sync using typhoeus adapter.
  • Use one BlockchainService instance per thread.
  • Use one connection per thread.
  • Sleep 10 seconds if synced.

#Version 2.2.18

Released 2019-07-11

Disable colorize logging in production (#2261)

#Version 2.2.17

Released 2019-07-11

Change: config/database.yml – use port value from ENV (#2254)

Update logger for withdraw coin daemon (#2234)

#Version 2.2.16

Released 2019-07-05

Improve sentry-raven error reporting (#2236)

#Version 2.2.15

Released 2019-07-02

Update Readme (#2250)

Change links from peatio.tech to openware.com

#Version 2.2.14

Released 2019-07-01

AMQP messages for third party trading engine integration (#2215)

  • Publish message to RMQ on Liability create

  • Publish message to RMQ on API order submit

Ability to change VAULT_TOKEN (#2086)

Ability to set custom gas_limit & gas_price per currency.

Ability to use null reference for operation

Account Withdraw API With OTP

  • Add POST /api/v2/account/withdraws
  • Integrate Vault to travis & compose
  • Integrate Vault::TOTP client
  • Add ENABLE_ACCOUNT_WITHDRAWAL_API, VAULT_URL & VAULT_TOKEN envs

Co-authored-by: Yaroslav Savchuk <ysavchuk@heliostech.fr> Co-authored-by: Dinesh Chohda <dinesh.skyach@gmail.com>

Add password generator (#2245)

Add WS message for market order executed event (#2208)

  • Add ranger call for market order execute event

  • Unify ranger payloads

Add management API endpoint for listing trades (#2182)

Add optional fields for operations API (#2140)

  • Delete pagination from API for liabilities and add optional fields

  • Reset pagination and small fixes after review

  • Change timestamp to time range in API for liabilities

  • Add optional param reference_type for assets, expenses and revenues

  • Add time_from and time_to params to operations API

Add ability to deposit from admin panel (#2164)

Add missing end in Admin::Deposits::FiatsController (#2162)

Add filter by date in market/trades (#2126)

Add missing paginations for deposit & withdraw on admin panel (#2156)

Add note to withdraw (#2157)

Add ability to cancel all orders for specific market (#2125)

Add PR trigger to Drone CI (#2062)

Add close, avg_price & price_change_percent to WS & REST API (#2000)

  • Add close, avg_price & price_change_percent
  • Update WS API doc
  • Move & refactor Market #change_ratio to Global
  • Add ticker specs

closes #1991

Add Peatio UI removal alert

Add swagger.json in prettyjson format (#1984)

Add CONTRIBUTING guide [skip ci]

Add manualy loading withdrawal from admin panel and validations for events

Add min withdraw amount for currencies

Add automatic docs generation for v2

Add Currency Name

Add missing deposit "skipped" translation (#1926)

Add opportunity to define minimum amount for trade

Add missing method

Adding trigger tables for Advance order types

Admin panel RBAC. New admin roles support (#2217)

  • Initailize RBAC logic

  • Add role permissions

Apigate integration

Integrate Ambassador gateway. Remove OAuth Authentication and Peatio session support New grape api organisation into account, market, public endpoints Remove CORS

Co-authored-by: Yaroslav Savchuk <ysavchuk@heliostech.fr> Co-authored-by: Maksim Naichuk <mnaichuk@heliostech.fr> Co-authored-by: Louis Bellet <lbellet@openware.com>

Average 24h price using VWAP ratio. Minor Global & Market refactor

  • Calculate average 24 hours price using VWAP ratio
  • Move #avg_24h_price from Trade to Global
  • Update caching for #avg_h24_price and #h24_volume
  • Refactor Global #key
  • Use delegate instead of single-line method in Market
  • Add RedisTestHelper Rspec Helper
  • Global #avg_h24_price specs
  • Update Market delegation specs

closes #2001

Avoid message in controllers by overriding Grape::AllowBlankValidator (#2094)

Benchmark tasks for Matching TradeExecution and OrderProcessing (#2133)

  • Benchmark tasks for Matching TradeExecution and OrderProcessing

  • Implement Matching bench

  • Implement TradeExecutor bench

  • Implement OrderProcessor bench

  • Implement Dummy & Bitfinex Order injecotrs

  • Add bench config templates

  • Add bitfinex injector data

  • Expose RabbitMQ management API admin panel

  • Implement Deposit & Member factories

  • Add simple RabbitMQHTTP client

  • Fix failures:trade_errors rake task

  • Temporary skip feature specs

Co-authored-by: shal <ashanaakh@heliostech.fr> Co-authored-by: ysv <ysavchuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

  • Direct benchmarks for matching, trade_executor and order_processing (#2138)

Change order 'state' to int for order_processor (#2205)

Change health checks request types for k8s (#2087)

Change liveness/readiness probes request types to GET from HEAD. Closes #2085.

Change http status for permitting actions

Documentation clean up [skip ci] (#2011)

  • Remove doc/setup-{osx,ubuntu}.md
  • Deprecate workbench Applogic & Peatio-trading-ui

closes #2010

Event API serializers imporvements (closes #1376, #1396) (#1442)

  • #1376: Add account model event
  • #1396: Add id to order and trade events

Experimental Transfer table & Management API. Operations refactor

  • Add Transfers model
  • Add Transfers /new & specs
  • Add Entities::Transfer & specs
  • Replace Operations::Chart with Operations::Account
  • Implement chart of accounts seed file & rake task
  • Require account code on Operation create
  • Refactor Operations /new endpoints
  • Management::Helpers #create_operation!
  • Refactor Operations #credit! #debit!
  • Remove Operations::Liability #credit! #debit!
  • Allow null for Operations::Liability member_id
  • Add Revenue member_id (revenues source)
  • Add Operations::Account & Transfer factories
  • Update Revenues record specs
  • Create list of default accounts on each spec

closes #2024

Expose Trade market maker and don't expose null side

Extend entities specs

Filter orders by type (#2167)

Fix bin/gendocs (#2150)

Fix release:travis rake task (#2145)

Fix user opportunity to create mirror market pairs (#2039)

  • Add validation for prevent user to create mirror market pairs;
  • Change market seed template (delete mirror pairs and change ask/bid_precision for pairs with fiat);

Fix the kline event json format was duplicate

Fix for_notify in pusher_market daemon

Fix specs for model Global

Fix dangerous migration

  • update :min_ask_price & :max_bid_price precision
  • change_column_null :markets, :max_bid_price
  • add_column :currencies, :position

Fix migration for currencies position and market entity

Fix markets seed file (#2009)

Fix private order update event (#2007)

Improve pagination for /markets /public APIs

  • Add api-pagination gem for account/deposits, account/withdraws, market/orders, market/trades;
  • Rewrite unify params for market/orders and market/trades, accounts/deposits and account/withdraws;
  • Sort by desc for market/orders;
  • Rewrite side for Trade model;

Improve /account and /market APIs

Improve deposit collection fees daemon (#1925)

Improve deposit collection daemon and add ability to reject fiat deposit

Income Statement (#1845) (#1849)

Limit number of returned data from ranger global.update (#2153)

List liability with specs

List assets,revenues,expenses with specs

Load balance from hot wallet before make quick withdraw (#1935)

Major Market model rework (#2241)

  • Replace Market enabled with state and list new states (without logic implementation)
  • Rework public/market API response structure
  • Rename Market API error name market.market.doesnt_exist -> market.market.doesnt_exist_or_not_enabled
  • Add ability to disable all markets
  • Remove precision equivalence validation (now amount and price precision could be different)
  • Add precisions sum validation (amount + price precision < 16)
  • Merge min_bid_amount & min_ask_amount to min_amount
  • Update admin views & controllers with new Market table structure
  • Update Market seeds
  • Rename ask_precision -> amount_precision, bid_precision -> price_precision
  • Rename min_ask_price -> min_price, max_bid_price -> max_price
  • Rename ask_unit -> base_unit, bid_unit -> quote_unit
  • Order fix_number_precision -> round_amount_and_price
  • Market fix_number_precision -> round_amount, round_price
  • Remove legacy Order & Market methods

Managemetn API for creating asset, revenue, expense and libility with specs

Migrate to Ambassador 0.50.0 & peatio 0.4.5. Update Ranger WS API

Move order submit to order_processor and remove Ordering (#2147)

  • Add new state Pending for orders;
  • Add fast check_balance before publishing message;
  • Publish message for submitting order from API;
  • Delete Ordering module;

Move health probes to Grape API v2 (closes #2066) (#2071)

Operations spec fix by saving timestamps in variables

Parity Blockchain/Wallet clients/services implementation (#1933)

Co-authored-by: Ohill <ybondur@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>"

Performance optimization for trade executor

Plugable coins API (#2168)

Major feature: rewritten blockchain and wallet api to enable easy implementation of 3rd party plugins

Peatio Plugin API v2 gives ability to extend Peatio with any coin which fits into basic Blockchain and Wallet interfaces described inside peatio-core gem.

Please see the following plugin example for your implementation: peatio-litecoin

Public version API endpoint

Publish WS event on k-line updates. Improve k-daemon performance

  • Publish MQ event on #update_point or #append_point
  • Update WS API doc
  • Skip unnecessary k point updates
  • Use lset instead of pop & push
  • Add TODO to k.rb
  • Add k-line comments
  • KLineService #humanize_period(period)

closes #1995

Release script updated

Remove peatio.tech brand from admin panel (#2072)

Remove gem grape_strip

Remove plugin API v1 (closes #2076) (#2090)

Remove deprecated fees API (closes #2077) (#2091)

Remove legacy member UI (#2051)

  • Remove yarn;
  • Remove Gems (rails-i18n, gon, angularjs-rails);
  • Remove /assets for funds page;
  • Remove application_controller methods related to funds page;
  • Remove /private and /concern controllers;
  • Remove application_helpers methods related to funds page;
  • Rewrite links and notices for deposits and withdraws in admin panel;
  • Remove private views and templates;
  • Remove config/locales;
  • Clean routes.rb and application.yml.erb;

Co-authored-by: dinesh-skyach <dinesh.skyach@gmail.com> Co-authored-by: ritesh-skyach <ritesh.skyach@gmail.com> Co-authored-by: ysv <ysavchuk@heliostech.fr>

Remove ActionDispatch Session. Disable CSRF

Remove REDIS_PASSWORD env which is always overridden by REDIS_URL (#1856)

Rename entities fields (#2070)

  • return in API entities and websocket api order volume as remaining_volume;
  • remove alias for origin_volume;
  • expose taker_type in trade entities;

Reorganization ruby and amqp workers (#2242)

Retry withdraw on failure (#2233)

  • Retry withdraw on failure

Revert Travis CI & Drop Drone CI (#2081)

  • Move Drone CI docker build step to tag trigger

  • Backport Travis CI for running specs

  • Backport Travis CI

  • Drop Drone CI

Rework Peatio accounting using double entry accounting system (#1777)

Add Operation Base model and tables

Add Operations::Asset,Liability,Revenue,Expense Add Operations::Chart which define class of items for which money spent or received Record Asset, Liability and Revenue operations on Deposit accept Record Liability transfer on Order create Record Liability transfer on Order cancel Record Liability transfer and Revenue creation on Trade create Deprecate legacy funds plus lock unlock and subtract funds Add Admin rubric for tracking Operations and Balance sheet Add Admin with Balance sheet

Rewrite callbacks for avoid using redirect_to :back (#2169)

  • Change redirect_to to render (#2113)

  • Rewrite callbacks for avoid using redirect_to :back

Rewrite get_depth to fetch data from db (#1894)

Rewrite api entities for docs. Split user and management api (#1958)

Skip withdraw in case of insufficient balance on hot wallet (#2179)

Sort orders by updated_at column (#2061)

  • Orders by updated_at instead of id in API::V2::Market::Orders
  • Add index_trade_on_created_at and index_orders_on_updated_at
  • Expose order updated_at
  • Update /api/v2/market/orders specs

closes #2060

Specs for account/balances and code polishing

Speed up RSpec test (closes #1932) (#2044)

  • Speed up RSpec test (closes #1932)

Start 2-1 development 🔌

Start 2.1.0 development 💫

Store Currency options as JSON and define accessors

Switch from Travis to Drone CI

  • Drop outdated documentation docs/ops/ci.md.
  • Drop Travis configuration file .drone.yml.
  • Replace old rake task release:travis to new one release:drone.
  • Add Drone pipeline:
    • Install dependencies.
    • Cache gems between CI builds.
    • Run RSpec tests.
    • Semver bump and push json/markdown docs.
    • Build docker image with following tags: latest,&lt;branch&gt;,&lt;tag&gt;.
    • Cache docker image between CI builds (Speed up docker build step).

Co-authored-by: Ali Shanaakh ashanaakh[@heliostech](https://github.com/heliostech).fr Co-authored-by: Yaroslav Savchuk ysavchuk[@heliostech](https://github.com/heliostech).fr

Unify trade taker_type with Ranger and api (#2121)

Unify API errors structure and messages (#2053)

  • Unify API errors for api/v2/market/* (#2058)

  • Unify API errors for api/v2/account/ and api/v2/public/ (#2063)

  • Add errors.md with list of Member API errors (#2080)

  • Move all REST API errors to single structure {errors: []}
  • Detailed description for order & withdraw POST failures
  • Add missing values validations
  • Add missing allow_blank validations
  • Add custom errors message for:
    • values validations
    • types validations
    • allow_blank validations
    • presence validations
    • custom validations
  • Add errors.md with errors list & description
  • Remove DB queries from desc
  • Remove API::V2::Error and descendants
  • Update ExceptionHandlers
  • Move NamedParams to /market
  • Add Order::InsufficientMarketLiquidity
  • include_api_error rspec matcher

Co-authored-by: Yaroslav Savchuk <ysavchuk@heliostech.fr> Co-authored-by: Maksim Naichuk <mnaichuk@heliostech.fr> Co-authored-by: Ali Shanaakh <ashanaakh@heliostech.fr>

Update RBAC roles (#2237)

Update ruby version to 2.6.2 (#2191)

  • update ruby version to 2.6.2

  • Update README.md

Update gem Boostrap scssc for CVE-2019-8331

Update application.yml.erb (#2098)

#2038 endpoint api/v2/members/me dosen't exists any more

Update README.md (#2092)

Update to use rubykube peatio git repo (#2093)

Update updated_at on trade executor (closes #2069) (#2078)

Update specs & Minore spec refactor

Updating database structure

Upgrade ruby to 2.6.2 (#2160)

Upgrade Ruby on Rails to 5.2 (#2146)

Upgrade Ruby on Rails to 5.0 (#2095)

Migration to newer rails gem version: 5.0.7.

We suggest to following tasks in the topic after this will be merged:

  • Update grape and relative gems.
  • Update to ruby 2.6.
  • Update to rails 5.1.

Co-authored-by: shal ashanaakh@heliostech.fr Co-authored-by: ysv ysavchuk@heliostech.fr

use local seeds

Problem: workbench has old seeds config files Solution: use local seeds

Use json format for logs (#2232)

Use strict variant of save in Member#from_payload (#2088)

Pull Requests

Merge pull request #1989 from mnaichuk/new-market-api

Merge pull request #1966 from mnaichuk/2-0-add-cors

#Version 1.9.24

Released 2019-07-01

Ability to set custom gas_limit & gas_price per currency.

Add password generator (#2246)

Add close, avg_price & price_change_percent to WS & REST API

  • Add close, avg_price & price_change_percent
  • Update WS API doc
  • Move & refactor Market #change_ratio to Global
  • Add ticker specs

closes #1991

Add manualy loading withdrawal from admin panel and validations for events

Add min withdraw amount for currencies

Add Currency Name (#1944)

Add opportunity to define minimum amount for trade

Add missing method

Benchmark tasks for Matching TradeExecution and OrderProcessing (#2132)

  • Implement Matching bench
  • Implement TradeExecutor bench
  • Implement OrderProcessor bench
  • Implement Dummy & Bitfinex Order injecotrs
  • Add bench config templates
  • Add bitfinex injector data
  • Expose RabbitMQ management API admin panel
  • Implement Deposit & Member factories
  • Add simple RabbitMQHTTP client
  • Fix failures:trade_errors rake task
  • Temporary skip feature specs

Co-authored-by: shal <ashanaakh@heliostech.fr> Co-authored-by: ysv <ysavchuk@heliostech.fr> Co-authored-by: mnaichuk <mnaichuk@heliostech.fr>

Event API serializers imporvements (closes #1376, #1396) (#1442)

  • #1376: Add account model event
  • #1396: Add id to order and trade events

Expose Trade market maker and don't expose null side

Fixed Market Type should not appear on Trading-ui

Fixed member private event when order updated

Freeze bundler version in 1.17.1

Improve deposit collection daemon and add ability to reject fiat deposit

Load balance from hot wallet before make quick withdraw (#1934)

Massive gem updates

On successful trade trigger ranger private order event

Publish WS event on k-line updates. Improve k-daemon performance

  • Publish MQ event on #update_point or #append_point
  • Update WS API doc
  • Skip unnecessary k point updates
  • Use lset instead of pop & push
  • Add TODO to k.rb
  • Add k-line comments
  • KLineService #humanize_period(period)

closes #1995

Rails security update

Remove REDIS_PASSWORD env which is always overridden by REDIS_URL (#1857)

Revert "Add grape_strip to resolve whitespace in input params" (#2117)

This reverts commit 44a653a10901090811e88067b4d1f3f72f597cb5.

Rewrite get_depth to fetch data from db

Store Currency options as JSON and define accessors v1.9

Update setup-ubuntu.md (#2103)

rabbitmq no longer used here.

Update setup-ubuntu.md (#2043)

Updating api docs

#Version 2.0.40

Released 2019-07-01

Add password generator (