Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #28 from amirulzin/patch-add-timeinforce
Browse files Browse the repository at this point in the history
Fix missing Fill or Kill in TimeInForce.
  • Loading branch information
joaopsilva authored Jan 11, 2018
2 parents f9d65c0 + dc1c4f1 commit 5f66558
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/com/binance/api/client/domain/TimeInForce.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
*
* GTC (Good-Til-Canceled) orders are effective until they are executed or canceled.
* IOC (Immediate or Cancel) orders fills all or part of an order immediately and cancels the remaining part of the order.
* FOK (Fill or Kill) orders fills all in its entirety, otherwise, the entire order will be cancelled.
*
* @see <a href="http://www.investopedia.com/terms/t/timeinforce.asp">http://www.investopedia.com/terms/t/timeinforce.asp</a>
*/
public enum TimeInForce {
GTC,
IOC
IOC,
FOK
}

0 comments on commit 5f66558

Please sign in to comment.