|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
JFUtil an open source JForex utilities library |
[quantisan]
|
Post subject: JFUtil an open source JForex utilities library |
Post rating: 1
|
Posted: Wed 24 Nov, 2010, 16:33
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
I am sharing a library of common JForex utilities such as multi-threaded ordering, P&L calculation, rounding numbers, accessing JForex indicators, etc. Instead of everyone re-inventing the wheel, this can save JForex strategy programmers some time and enhance the quality of each of our trading strategies by collaborating on the resuable, non-proprietary codes. See my blog post for details on how to download or contribute to " the JFUtil open source project". What do you think about this? Update: March 2011, JFUtil 2.0 alpha release. JFUtil 2.0 has been redesigned from the ground up. This version incorporate your feedback from 1.0 and implements design patterns to help you achieve better manageable code.
|
|
|
|
 |
dreamtheater
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Wed 24 Nov, 2010, 17:11
|
|
User rating: 1
Joined: Mon 23 May, 2011, 07:52 Posts: 57 Location: Bulgaria,
|
No comment quantisan, if anyone was like you .............. Thank you 
|
|
|
|
 |
[quantisan]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Sat 27 Nov, 2010, 01:10
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
just pushed a major update to the repository
Ordering now has multi-threaded trailing step setter, market exposure check, etc. If anything, this class is worth a look. Some updates and fixes to the other classes as well
Next update will be to consolidate the bid and ask in Ordering to a generic submit order method
|
|
|
|
 |
nicofr0707
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Sun 28 Nov, 2010, 12:52
|
|
User rating: 5
Joined: Fri 02 Sep, 2011, 10:08 Posts: 157 Location: FranceFrance
|
This is a great idea and will help the JForex community grow.
|
|
|
|
 |
dedalus
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Mon 29 Nov, 2010, 04:50
|
|
User rating: 0
Joined: Tue 24 May, 2011, 00:41 Posts: 38 Location: United KingdomUnited Kingdom
|
Great update, quantisan.
Thank you so much for sharing this.
|
|
|
|
 |
buyandhold
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Wed 01 Dec, 2010, 17:36
|
|
User rating: 0
Joined: Wed 18 May, 2011, 23:26 Posts: 40 Location: Switzerland,
|
Good idea quantisan - will take a look.
|
|
|
|
 |
[quantisan]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Sun 05 Dec, 2010, 23:04
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
I updated the Ordering class for more freedom in labeling orders.
|
|
|
|
 |
[Saidar]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Tue 07 Dec, 2010, 11:31
|
|
User rating: 0
Joined: Tue 07 Dec, 2010, 10:51 Posts: 39
|
quantisan wrote: I am sharing a library of common JForex utilities such as multi-threaded ordering, P&L calculation, rounding numbers, accessing JForex indicators, etc. Instead of everyone re-inventing the wheel, this can save JForex strategy programmers some time and enhance the quality of each of our trading strategies by collaborating on the resuable, non-proprietary codes. See my blog post for details on how to download or contribute to " the JFUtil open source project". What do you think about this? Hey quantisan, I'm new to JForex, trying to learn this but with the limited documentation and no tips while coding it gets kinda confusing at times. Don't know if I'm blind or stupid but where is your blog? UPDATE: Found it! Thanks
|
|
|
|
 |
API Support
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Thu 16 Dec, 2010, 13:40
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
[quantisan]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Thu 16 Dec, 2010, 18:03
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
|
|
|
 |
[trixifx]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Mon 03 Jan, 2011, 04:11
|
|
User rating: 0
Joined: Fri 19 Nov, 2010, 16:34 Posts: 2
|
Hi quantisan,
I found your utilities and they look really great.
Could you please help me with which files need to be installed where on my Mac? I couldn't find any documentation on this.
Also, how do I get JForex to add these utilities to the program?
Sorry for all the questions, but I am a Java and JForex newbie.
Thanks for all the help.
|
|
|
|
 |
[quantisan]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Wed 05 Jan, 2011, 16:27
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
@trixifx, make a JAR file of the library and then use @Library annotation in your strategy to import them to your strategy jfx
|
|
|
|
 |
[quantisan]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Tue 22 Mar, 2011, 14:15
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
|
|
|
 |
[quantisan]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Fri 25 Mar, 2011, 17:42
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
|
|
|
 |
[trottel]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Mon 02 May, 2011, 11:27
|
|
User rating: 0
Joined: Wed 27 Apr, 2011, 13:56 Posts: 18
|
Hello,
First of all, thank you very much for library. Where this jar should be placed so that JForex find them during compilation?
|
|
|
|
 |
[trottel]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Mon 02 May, 2011, 11:57
|
|
User rating: 0
Joined: Wed 27 Apr, 2011, 13:56 Posts: 18
|
Are you sure that your code related to indicator values working? Because I constantly get NPE in the line ema = Indicating.calculate(Instrument.EURUSD, Period.ONE_MIN,
below is the code:
// get an EMA indicator value by building an indicator bean MovingAverage maBean = IndicatorBeanFactory.getMovingAverage(); // then sets its parameters with obvious method names maBean.setAppliedPrice(IIndicators.AppliedPrice.MEDIAN_PRICE) .setMAType(IIndicators.MaType.EMA).setWidth(14); // all of these // are // optional // parameters // feed the bean into a generic calculation method to get the result double ema = 1; try { ema = Indicating.calculate(Instrument.EURUSD, Period.ONE_MIN, maBean); } catch (JFException e) { // TODO Auto-generated catch block e.printStackTrace(); } console.getOut().println("value: " + ema);
|
|
|
|
 |
[androw95220]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Thu 05 May, 2011, 19:42
|
|
User rating: 0
Joined: Fri 25 Jun, 2010, 12:48 Posts: 12
|
Hi Quantisan, Thanks for this useful library
Can I make use of some snippets of your code under the GPL license ?
Thanks in advance
|
|
|
|
 |
[quantisan]
|
Post subject: Re: JFUtil: an open source JForex utilities library |
Post rating: 0
|
Posted: Sat 07 May, 2011, 03:05
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
|
|
|
 |
proTrader
|
Post subject: JFUtils don't work |
Post rating: 0
|
Posted: Thu 15 Dec, 2011, 17:58
|
|
User rating: 0
Joined: Thu 11 Aug, 2011, 14:18 Posts: 2 Location: Russian Federation,
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|