Minor refactoring (organizing in packages)
This commit is contained in:
17
src/main/java/storage/Trade.java
Normal file
17
src/main/java/storage/Trade.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package storage;
|
||||
|
||||
public class Trade {
|
||||
public double price;
|
||||
public double volume;
|
||||
public int time;
|
||||
public String buyorsell;
|
||||
public String marketorlimit;
|
||||
|
||||
public Trade(double price, double volume, int time, String buyorsell, String marketorlimit){
|
||||
this.price = price;
|
||||
this.volume = volume;
|
||||
this.time = time;
|
||||
this.buyorsell = buyorsell;
|
||||
this.marketorlimit = marketorlimit;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user