Reformatted
This commit is contained in:
parent
5a9b8240cc
commit
5a49ef7b13
@ -589,6 +589,7 @@ public class Exchange {
|
|||||||
*/
|
*/
|
||||||
public long createOrder(double account_id, OrderType type, double volume, double limit) {
|
public long createOrder(double account_id, OrderType type, double volume, double limit) {
|
||||||
|
|
||||||
|
|
||||||
Account a = accounts.get(account_id);
|
Account a = accounts.get(account_id);
|
||||||
if (a == null) {
|
if (a == null) {
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user