Skip to content

Boomerang#76

Closed
ctubio wants to merge 210 commits intomichaelgrosner:masterfrom
ctubio:boomerang
Closed

Boomerang#76
ctubio wants to merge 210 commits intomichaelgrosner:masterfrom
ctubio:boomerang

Conversation

@ctubio
Copy link
Copy Markdown
Contributor

@ctubio ctubio commented Jul 30, 2016

Hello michael''
here is a new quoting mode like PingPong but taking into account not only the last trade but also all other previous trades still opened.

A trade is considered opened once it is done, and will remain as opened until another matching trade of the opposite side plus the margin of the width is also done. Then both trades are merged and flagged as closed.

Closed trades as well as the whole history of trades can be cleaned using ui buttons.
Also the ui features optional audio and the size input was split into two inputs: buySz and sellSz.
Message table is not displayed anymore and market_display table took over its space.

Included in this PR, is also #74 and #75, and a major silent of console.log and filesystem log messages (together with truncated database collections to 1 single record [less than trades collection, that is unlimited and is loaded all at startup without limit by start_time]) to avoid hitting the limit of the harddisk after 2 hours of run.

Sorry for the horrible commit messages, i didnt expected for this to be shared, but here it comes!


public submit = () => {
var msg = new Models.OrderRequestFromUI(this.side, this.price, this.quantity, this.timeInForce, this.orderType);
this._log.info("submitting order", msg);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you getting rid of the client-side logging?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not related to the full space of the vmdk of docker, but instead is to minimize the traffic of the application. I preffer the app to send data to the exchange api rathen than to the client (if that msg to the client is just a notice of an action already known by the client by other means [rich gui]).

Also, users do not look at the console; if this is for devs, let devs activate (uncomment) this stream of debuggin data when needed rather than force all users to transmit it..

if you dont agree i can uncomment it in a next commit easy 😊

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not following the first paragraph "this is not related to the full space of the vmdk of docker...".

The logging is for development but if you'd like the ability to eliminate it, I'd prefer either

a) Changing it to Debug level then using logProvider (https://docs.angularjs.org/api/ng/provider/$logProvider) to turn it off
a) Wholly remove it, don't leave the commented version around.

Copy link
Copy Markdown
Contributor Author

@ctubio ctubio Aug 6, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! marked as TODO soon

Restored logs at 54ab3f6 (still need to try option A)

about the vmdk of docker comment, i found the hard disk of my virtual boxes completely full after a few days of run.

@ctubio ctubio force-pushed the boomerang branch 2 times, most recently from 585c66c to 311c0a9 Compare August 6, 2016 21:37
@ctubio ctubio closed this Dec 30, 2016
@ctubio ctubio deleted the boomerang branch December 30, 2016 02:27
@ctubio ctubio restored the boomerang branch December 30, 2016 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants