forked from RollinCupcake/thenextquant--
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dba9842
commit e3cea07
Showing
4 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ class Asset: | |
platform: Exchange platform name, e.g. binance/bitmex. | ||
account: Trade account name, e.g. [email protected]. | ||
assets: Asset information, e.g. {"BTC": {"free": "1.1", "locked": "2.2", "total": "3.3"}, ... } | ||
timestamp: Published time, microsecond. | ||
timestamp: Published time, millisecond. | ||
update: If any update? True or False. | ||
""" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,7 +188,7 @@ class EventAsset(Event): | |
platform: Exchange platform name, e.g. bitmex. | ||
account: Trading account name, e.g. [email protected]. | ||
assets: Asset details. | ||
timestamp: Publish time, microsecond. | ||
timestamp: Publish time, millisecond. | ||
update: If any update in this publish. | ||
* NOTE: | ||
|
@@ -234,8 +234,8 @@ class EventOrder(Event): | |
status: Order status. | ||
avg_price: Average price that filled. | ||
order_type: Order type, only for future order. | ||
ctime: Order create time, microsecond. | ||
utime: Order update time, microsecond. | ||
ctime: Order create time, millisecond. | ||
utime: Order update time, millisecond. | ||
* NOTE: | ||
Publisher: Strategy Server. | ||
|
@@ -289,7 +289,7 @@ class EventKline(Event): | |
low: Lowest price. | ||
close: Close price. | ||
volume: Trade volume. | ||
timestamp: Publish time, microsecond. | ||
timestamp: Publish time, millisecond. | ||
kline_type: Kline type, kline/kline_5min/kline_15min. | ||
* NOTE: | ||
|
@@ -342,7 +342,7 @@ class EventOrderbook(Event): | |
symbol: Trading pair, e.g. BTC/USD. | ||
asks: Asks, e.g. [[price, quantity], ... ] | ||
bids: Bids, e.g. [[price, quantity], ... ] | ||
timestamp: Publish time, microsecond. | ||
timestamp: Publish time, millisecond. | ||
* NOTE: | ||
Publisher: Market server. | ||
|
@@ -380,7 +380,7 @@ class EventTrade(Event): | |
action: Trading side, BUY or SELL. | ||
price: Order price. | ||
quantity: Order size. | ||
timestamp: Publish time, microsecond. | ||
timestamp: Publish time, millisecond. | ||
* NOTE: | ||
Publisher: Market server. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters