-
Notifications
You must be signed in to change notification settings - Fork 952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boomerang #76
Closed
Closed
Boomerang #76
Changes from all commits
Commits
Show all changes
210 commits
Select commit
Hold shift + click to select a range
567d945
Added audio file.
ctubio 531d08a
Removed useless files.
ctubio 63beeee
Added bold to Value.
ctubio 177cc40
Added max/min.
ctubio 62fe449
Added default values.
ctubio 908e114
Removed useless block.
ctubio 14799a7
Added moar mktN.
ctubio f660253
Fixed width of val column.
ctubio d205e64
Added Top to min/max.
ctubio b3cffc9
Added displays.
ctubio a3ac6fb
Added fiat value.
ctubio e514764
Updated fiat value.
ctubio e814d29
Updated fiat value.
ctubio b2dd025
Fixed qty column.
ctubio aa9c894
Added moar digits.
ctubio 6ea6ecb
Added width of qBid/qAsk.
ctubio 7f03f93
Fixed morning typo.
ctubio bb0ed27
Added dummy quote style.
ctubio e57f908
Fixed style.
ctubio 38a0e92
Merged remote-branch upstream/master.
ctubio 9254765
Merge remote-tracking branch 'origin/master' into pingpong
ctubio 0712509
Added PingPong display.
ctubio c73a758
Added PingPong calc.
ctubio 9cc64c0
Fixed ts.
ctubio 89dd479
Fixed ts.
ctubio 06d17eb
Fixed prev trades.
ctubio 54a07bf
Fixed trades calc.
ctubio c5b1bde
Fixed trades calc.
ctubio f25e5f6
Fixed trades calc.
ctubio 5aee9ad
Fixed trades calc.
ctubio 876b286
Fixed trades calc.
ctubio 0fbfd42
Fixed trades calc.
ctubio 50b76d3
Added debug.
ctubio 19254bc
Added debug.
ctubio ff6d7f3
Added debug.
ctubio 4fbe732
Added debug.
ctubio 0035b16
Thank you debug\!
ctubio 4d73381
Fixed max calc.
ctubio 1a23171
Fixed max calc.
ctubio 5ea09aa
Fixed calc display.
ctubio e8a1aeb
Added PingPong calc.
ctubio ba9cfd3
Merge branch 'pingpong'
ctubio 53174fd
Fixed morning typo.
ctubio c3dd436
Fixed price accommodation.
ctubio 8299c8f
Merge remote-tracking branch 'upstream/master'.
ctubio 80491ad
Merge remote-tracking branch 'upstream/master'.
ctubio f70ad4a
Merge remote-tracking branch 'upstream/master'.
ctubio 067095f
Fixed displays.
ctubio 6bf362d
Merge branch 'add_pingpong_quotingmode' into ctubio
ctubio 70d91c6
Merge remote-tracking branch 'upstream/master' into ctubio
ctubio 5b8e7e9
Fixed calc.
ctubio 7d5d113
Fixed calc.
ctubio 7980611
Fixed new ETH.
ctubio 32cbfc2
Fixed new ETH.
ctubio 0a84d5b
Fixed new ETH.
ctubio f390d15
Fixed new ETH.
ctubio 093edfa
Added Boomerang quoting style.
ctubio 7f59d04
Added Boomerang calcs.
ctubio 29f82db
Added Boomerang calcs.
ctubio bb2ca02
Added Boomerang calcs.
ctubio 938b512
Added Boomerang calcs.
ctubio fd55163
Added Boomerang calcs.
ctubio 0fad077
Added Boomerang calcs.
ctubio 16d619d
Added Boomerang calcs.
ctubio 95886b7
Added Boomerang calcs.
ctubio 6d07003
Added Boomerang calcs.
ctubio fb2adc7
Added Boomerang calcs.
ctubio cd28f40
Added Boomerang calcs.
ctubio 275fa14
Added Boomerang calcs.
ctubio feb1694
Added Boomerang calcs.
ctubio 7ce716e
Added Boomerang calcs.
ctubio 3d026c1
Added Boomerang calcs.
ctubio 0de9409
Added Boomerang calcs.
ctubio 3f0eaaa
Added CAD currency.
ctubio 8f8367d
Fixed loop.
ctubio 54a1e92
Fixed side.
ctubio c5a3f75
Fixed calcs.
ctubio e986346
Fixed calcs.
ctubio 3ba3b2b
Fixed calcs.
ctubio 750d1a2
Fixed calcs.
ctubio e383e57
Fixed calcs.
ctubio c8ed754
Fixed calcs.
ctubio 1cf9aea
Fixed calcs.
ctubio ff67848
Fixed calcs.
ctubio 15be468
Fixed calcs.
ctubio f3dbdac
Fixed calcs.
ctubio 3cccc24
Fixed calcs.
ctubio 9afa850
Fixed calcs.
ctubio 6471897
Fixed loop.
ctubio 11d30ff
Fixed calcs.
ctubio eaf2e56
Fixed calcs.
ctubio dcd12ed
Fixed calcs.
ctubio f4d8df8
Fixed calcs.
ctubio b6d75c7
Fixed calcs.
ctubio 446d2d8
Fixed calcs.
ctubio 7cb64a1
Fixed calcs.
ctubio 4b95bc6
Fixed calcs.
ctubio 2ba9bad
Fixed calcs.
ctubio 6d50c8f
Fixed calcs.
ctubio fe46716
Fixed calcs.
ctubio f04aa84
Fixed calcs.
ctubio 417c39e
Fixed calcs.
ctubio e764957
Fixed calcs.
ctubio ca4a14a
Fixed calcs.
ctubio 7a212f8
Fixed calcs.
ctubio 61bdaaa
Fixed calcs.
ctubio 75c711b
Fixed calcs.
ctubio b51a4b5
Fixed calcs.
ctubio 08f06f8
Fixed calcs.
ctubio 3dca3f0
Fixed calcs.
ctubio 5d4934a
Fixed calcs.
ctubio d3ca3f8
Fixed calcs.
ctubio de8a96c
Fixed calcs.
ctubio 8caf7fc
Fixed calcs.
ctubio 82922de
Fixed calcs.
ctubio 54e6c23
Fixed calcs.
ctubio 77595e2
Fixed calcs.
ctubio 4e6d9d4
Fixed calcs.
ctubio 66465a4
Fixed calcs.
ctubio 406174b
Fixed calcs.
ctubio c6f48f6
Fixed calcs.
ctubio f1d274f
Fixed calcs.
ctubio 808b608
Fixed calcs.
ctubio 49e9d0d
Fixed calcs.
ctubio baae0a5
Fixed calcs.
ctubio 0d7440a
Fixed calcs.
ctubio a06d70a
Fixed calcs.
ctubio 010946c
Fixed calcs.
ctubio d0353dd
Fixed calcs.
ctubio f68cd36
Added sounds.
ctubio b7d6f11
Fixed calcs.
ctubio 65fca11
Fixed calcs.
ctubio cfb9a0e
Fixed calcs.
ctubio 3a5a947
Fixed calcs.
ctubio f7a855d
Updated upstream
ctubio 5838798
Fixed calcs.
ctubio 5d0f3de
Fixed calcs.
ctubio 5762885
Fixed calcs.
ctubio 7aa6c6f
Fixed calcs.
ctubio e35b9c8
Fixed calcs.
ctubio 77f973b
Fixed calcs.
ctubio d96d118
Fixed calcs.
ctubio 87c93e2
Fixed calcs.
ctubio b688153
Fixed calcs.
ctubio 894f7c6
Fixed calcs.
ctubio a32a5e3
Fixed calcs.
ctubio 80a2aec
Fixed calcs.
ctubio 28dbd83
Fixed calcs.
ctubio e885e4f
Fixed calcs.
ctubio abd813e
Fixed calcs.
ctubio 392319d
Fixed calcs.
ctubio aa348bc
Fixed calcs.
ctubio a3b3d76
Fixed calcs.
ctubio bfc6bfb
Fixed calcs.
ctubio 886d396
Fixed calcs.
ctubio fa9f055
Fixed calcs.
ctubio 65c2c2a
Fixed calcs.
ctubio a030530
Fixed calcs.
ctubio 1a49477
Fixed calcs.
ctubio d74649d
Fixed calcs.
ctubio 1a2598f
Fixed calcs.
ctubio a839bef
Fixed calcs.
ctubio f43d358
Fixed calcs.
ctubio c84b130
Merge remote-tracking branch 'upstream/master' into boomerang
ctubio 8098c18
Fixed calcs.
ctubio 724f261
Fixed calcs.
ctubio dd10cc5
Fixed calcs.
ctubio 65db8b4
Fixed calcs.
ctubio dc8abcf
Fixed calcs.
ctubio 9ecfc6e
Fixed calcs.
ctubio 9d9f308
Fixed calcs.
ctubio 2f1a9c5
Fixed calcs.
ctubio 80f7bc5
Fixed calcs.
ctubio 61dc8a2
Fixed calcs.
ctubio 2b5fd5d
Fixed calcs.
ctubio ebd04a7
Fixed calcs.
ctubio a56d85d
Fixed calcs.
ctubio 2fccf43
Fixed calcs.
ctubio bd8dc13
Fixed calcs.
ctubio 29d54d1
Fixed calcs.
ctubio 41fc71d
Fixed calcs.
ctubio 7d9fb50
Fixed calcs.
ctubio 53c2d2d
Fixed calcs.
ctubio 2c77d29
Fixed calcs.
ctubio a2321d9
Fixed calcs.
ctubio e786899
Fixed calcs.
ctubio 47324fc
Fixed calcs.
ctubio 44e5373
Fixed calcs.
ctubio 8349dff
Fixed calcs.
ctubio 5bd671e
Fixed calcs.
ctubio 16fff8c
Fixed calcs.
ctubio 1ef01f1
Fixed calcs.
ctubio b9ec9de
Fixed calcs.
ctubio 5ff0232
Fixed calcs.
ctubio 296e5c2
Fixed calcs.
ctubio 128f5bd
Fixed calcs.
ctubio bacdc19
Fixed calcs.
ctubio 40103a5
Fixed calcs.
ctubio 73474d9
Fixed calcs.
ctubio 09302ab
Fixed calcs.
ctubio b6577ea
Fixed calcs.
ctubio 784f4bf
Fixed calcs.
ctubio 276900d
Fixed calcs.
ctubio 71a2625
Fixed commented log about Event looped blocked.
ctubio 47c6fa0
Fixed broken ewmaProtection after matching trades.
ctubio e234555
Fixed audioReady timer.
ctubio 54ab3f6
Fixed commented log msgs.
ctubio 8b95170
Fixed audioReady timer.
ctubio 26821a2
Fixed old naming.
ctubio 7bfd458
Fixed truncated collections.
ctubio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,4 +128,4 @@ angular | |
template: template, | ||
controller: MarketTradeGrid | ||
} | ||
}); | ||
}); |
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
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
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 |
---|---|---|
|
@@ -48,4 +48,4 @@ angular | |
template: template, | ||
controller: TargetBasePositionController | ||
} | ||
}); | ||
}); |
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 |
---|---|---|
|
@@ -14,6 +14,8 @@ import Shared = require("./shared_directives"); | |
interface TradeSafetyScope extends ng.IScope { | ||
buySafety: number; | ||
sellSafety: number; | ||
buySizeSafety: number; | ||
sellSizeSafety: number; | ||
tradeSafetyValue : number; | ||
} | ||
|
||
|
@@ -24,12 +26,16 @@ var TradeSafetyController = ($scope : TradeSafetyScope, $log : ng.ILogService, s | |
$scope.tradeSafetyValue = value.combined; | ||
$scope.buySafety = value.buy; | ||
$scope.sellSafety = value.sell; | ||
$scope.buySizeSafety = value.buyPing; | ||
$scope.sellSizeSafety = value.sellPong; | ||
}; | ||
|
||
var clear = () => { | ||
$scope.tradeSafetyValue = null; | ||
$scope.buySafety = null; | ||
$scope.sellSafety = null; | ||
$scope.buySizeSafety = null; | ||
$scope.sellSizeSafety = null; | ||
}; | ||
|
||
var subscriber = subscriberFactory.getSubscriber($scope, Messaging.Topics.TradeSafetyValue) | ||
|
@@ -49,7 +55,7 @@ export var tradeSafetyDirective = "tradeSafetyDirective"; | |
angular | ||
.module(tradeSafetyDirective, ['sharedDirectives']) | ||
.directive("tradeSafety", () => { | ||
var template = '<span>BuyTS: {{ buySafety|number:2 }}, SellTS: {{ sellSafety|number:2 }}, TotalTS: {{ tradeSafetyValue|number:2 }}</span>'; | ||
var template = '<span>BuyLT: <b>{{ buySizeSafety|number:2 }}</b>, SellLT: <b>{{ sellSizeSafety|number:2 }}</b>, BuyTS: {{ buySafety|number:2 }}, SellTS: {{ sellSafety|number:2 }}, TotalTS: {{ tradeSafetyValue|number:2 }}</span>'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this displays the current safety values based on the history of trades (im not sure how to not display this in all other quoting modes) |
||
|
||
return { | ||
restrict: 'E', | ||
|
@@ -58,4 +64,4 @@ angular | |
template: template, | ||
controller: TradeSafetyController | ||
} | ||
}); | ||
}); |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain the trading necessity to have a UI element for cleaning trades? Is cleaning a manual process when the market moves away enough that trading won't match any longer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this button because now trades are always displayed forever. The user can look at all the trades opened and also at all closed trades where the final net income is displayed.
Using this button, the user can manualy clean the closed trades and "start a new cycle" anytime he/she wishes.
For example, for myself, i wakeup on the morning and see all closed trades during the night with all the net incomes. Then i clean all closed trades and go to work. Once im back in the afternoon i can examinate what new trades has been closed and the net incomes during the day. Then clean them and go to sleep. And so on every day :D
The other button of clean all orders, is because what you said, in case the market moves way too off, you can manualy clean all the historic and therefore assume the losses if any.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ctubio Are you running these current changes in this pull request? Is everything stable?