This is the Personal Stock Monitor scripting developers forum.
Subscribe to RSS Feed
Developing Custom Stock Market Software using PSM -> Location, Location, Location
Not logged in.
2010-02-06 11:13:35
1 of 6
#1689
Years ago when I was "doctoring up" our unix/bbx based accounting software my biggest problem was the initial location and setup of the package. I have read most of your documentation and have looked in various directories, but have not been able to find locations for files such as "Reports" so that I can view a file to determine if I can comprehend it and add a line here or there.
Also, I had trouble with the HTML.chm object model download. I have attached an image of the screen so that you can possibly tell me where I went wrong.
Did Maryland get any snow?
Object Model
Posted by: sandie
2010-02-06 14:48:42
2 of 6
#1690
in reply to #1689
It's funny that you mention that. I was considering writing up an article on that very subject because, depending on OS and configuration, endlessly forgetting where what files go.

As for the reports, they are in a database file and can't be edited directly by end users. What you want is to start with the downloadable extensions on the website. That's where all the code is. See the articles:

http://www.personalstockmonitor.com/developing-custom-s...

http://www.personalstockmonitor.com/developing-custom-s...

Go to Tools->Extensions and see if you have the one you want to work on installed. If it is, uninstall it. Put the code in a text file and use the INSTALL button on the Tools->Extensions dialog to re-install the extension with any changes you've made. It's actually quite easy. The code is commented and as I mentioned there's an entire article describing how to write a report extension.

As for the chm file problem, I'm not sure. I'll have to pass that one on to Anatoly (I'm a unix/linux guy myself and do all the server software). When I do script development I just use the documentation in the browser.

If you have any questions, just post them here or if you'd like to chat one on one we can schedule a time to chat in CollabInvest.

As for snow, yea, we got a light dusting:

A light dustring of snow
Posted by: Yermo
2010-02-07 12:17:32
3 of 6
#1691
in reply to #1689
Or you can just ask an I'll send you the source code. It's certainly no secret, and we would be happy to have more people developing extensions or even tweaking our existing ones.
Posted by: Anatoly
2010-03-20 15:11:54
4 of 6
#1920
in reply to #1689
I was wondering the same thing when I came across this thread. Basically, I just want to change the default values in Trailing Stops.

I found the percent and changed it, then saved the file. However, it's currently just a txt file. From my rusty (creaking, atrophied <G>) knowledge of VBScript, it expects to have a specific type of file. You reference 'not moving the XML file' -- is that the extension that's needed? Does this have to be compiled in any way? Is there a default directory where it should be kept? Right now, I've added a new folder to the PSM folder that holds the portfolios, intraday and end-of day History.

And one more question -- I cannot seem to find what controls the alert action choice -- is that in the code, or called from elsewhere (like Alerts)?

Thanks!
Posted by: Litewriter
2010-03-21 10:20:13
5 of 6
#1922
in reply to #1920
Did you see this article?

http://www.personalstockmonitor.com/fv-b-16-125/Introdu...

Basically extensions get copied into a database, so you need to first "install" them from the Tools->Extensions menu item. There's an install button, which lets you browse for your properly formatted extension file which contains the VBScript code.

If you make a modification, you first have to uninstall the existing extension before installing a new version.
Posted by: Yermo
2010-03-22 09:22:15
6 of 6
#1936
in reply to #1922
Yes, I saw it, but there's a fair number of holes for where I'm coming from. I'll go off and re-learn VBScript from the links you have to MS, when I've got time. Thanks though!
Posted by: Litewriter