我正在与Git挣扎,我似乎无法添加我的文件.我跑来ls显示文件在当前目录中,然后运行git add .然后git status显示"没有提交".
JJ-Computer:first_app JJ$ git init
Reinitialized existing Git repository in /Users/JJ/rails_projects/first_app/.git/
JJ-Computer:first_app JJ$ ls
Diary.txt README.rdoc config.ru log tmp
Gemfile Rakefile db public vendor
Gemfile.lock app doc script
README config lib test
JJ-Computer:first_app JJ$ git add .
JJ-Computer:first_app Jenn$ git status
# On branch master
nothing to commit (working directory clean)
JJ-Computer:first_app JJ$
Run Code Online (Sandbox Code Playgroud) 我正在查看 Binance Websocket Stream 并有一个关于事件时间和交易时间的问题。如果这是原始交易信息,“交易”怎么会有 2 个不同的时间?什么是“活动时间”?
来自 github API 文档:
贸易流
贸易流推送原始贸易信息;每笔交易都有一个独特的买家和卖家。
流名称:@trade
有效载荷:
{
"e": "trade", // Event type
"E": 123456789, // Event time
"s": "BNBBTC", // Symbol
"t": 12345, // Trade ID
"p": "0.001", // Price
"q": "100", // Quantity
"b": 88, // Buyer order Id
"a": 50, // Seller order Id
"T": 123456785, // Trade time
"m": true, // Is the buyer the market maker?
"M": true // Ignore.
}
Run Code Online (Sandbox Code Playgroud)