Support liquidation flag on trade object

Open
#4,553 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Start by locating org.knowm.xchange.dto.marketdata.Trade and inspect its existing fields and constructors. Add the proposed liquidation flag with a default of false, then verify that existing Trade creation remains compatible and that the field can represent liquidation status.

Written by the indexing model from the issue text.

Description

A number of exchanges provide weather a given trade is the result of a liquidation event, this is very useful information and I am keen is it capture.

Unless there is any objections I suggest adding a liquidation filed to the org.knowm.xchange.dto.marketdata.Trade object with a default of false

Dominant language
Java
Stars
4.1k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
21

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from knowm/XChange

All issues in knowm/XChange

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.