1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594
|
1999-08-12 Stefan <sstratos@pathcom.com>
GSTALKER
- added header files for all source files
GSTALKER
* chart_objects.c
- new source file to put routines to draw chart objects ie trendlines, text, symbols etc.
* draw.c
(draw_chart_objects)
- added routine to draw chart objects on charts.
* charts.c
(yes_delete_chart)
- fixed bug that didn't update groups when a chart is deleted
* group.c
(save_options)
- fixed bug that didn't update the active chart properly if options were changed.
1999-08-09 Stefan <sstratos@pathcom.com>
* draw.c
(get_interval)
- removed routine (replaced with new routine 'calculate_chart_range')
(draw_grid)
- changed slightly how grid is drawn
(draw_scale)
- same as the above
* callbacks.c
(maxlow_interval_loop)
- this calculates the config.maxlow value.
(maxhigh_interval_loop)
- calculates the config.maxhigh value.
(calculate_chart_range)
- improved a little how scaling is calculated for the high and low points for each
chart, I wanted the scale grids to be nice even intervals that are multiples of 25, 50
100, 500 etc.
* gstalker.h
- added 2 new values to the record struct
config.interval and config.scale_interval.
* file.c
(load_file)
- changed slightly to use new scaling routines.
1999-08-06 Stefan <sstratos@pathcom.com>
* quotes.c
(ok_update_quotes)
- fixed download bug caused by pulling a 4 digit year instead of 2 digit year
(quote_source_changed)
- added routine to assign the currently used source name to config.quote_source
when the source combo entry has changed
1999-07-27 Stefan <sstratos@pathcom.com>
* GSTALKER
- added pixmaps to all buttons
* edit_indicators.c
- changed the dialog to edit indicators to be more dynamic and accomodate an unlimited
amount of indicators.
* GSTALKER
- changed the way indicators are recorded and edited.
you can now have any amount of each type of indicator.
indicator data is stored in the ~/.gnome/gstalker file [Indicators] section.
the first item is 'indicators=' which is the total number of indicators currently used
the rest of the data is a string describing an indicator, the format is:
1) indicator name
2) R,G,B color data
3) indicator variable (ie MA period)
4) indicator variable 2 (only used for RSI)
5) indicator variable 3 (only used for RSI)
1999-07-23 Stefan <sstratos@pathcom.com>
* gstalker.h
- added define for LABEL_SECONDS_ELAPSED
* monitor.c
(show_monitor)
- added clock widget for counting the seconds between updates called *clock_counter
to the monitor window
* main.c
- added global GtkWidget *clock_counter.
1999-07-17 Stefan <sstratos@pathcom.com>
* GSTALKER
- removed many externs
* gstalker.h
- added some new variables to record struct instead of some externs
* GSTALKER
- changed MA,MA2,MA3,RSI,ROC,MOM arrays to local variables for all functions
no more external GArray's
1999-07-13 Stefan <sstratos@pathcom.com>
* portfolio.c:
- added new portfolio file to gstalker
* gstalker.h
(struct record)
- added portfolio_path to hold the file path to the portfolio DB file
* callbacks.c
(init_variables)
- added portfolio_path
(exit_program)
- added portfolio_path
* config.c
(read_config)
- added entry for portfolio_path
(save_state)
- added entry for portfolio_path
1999-07-12 Stefan <sstratos@pathcom.com>
* edit_indicators.c:
(edit_indicators):
- increased the size of the checkboxes so the momentum label fits
* currency.c:
* gstalker.h:
- added Sweden to currency exchange routines
* group.c;
(edit_group_ok_button):
- fixed bug that didn't update the currently loaded group if edits were saved
* gstalker.h
* GSTALKER
- added a global struct index_header_temp to use for temp header changes.
1999-07-11 Stefan <sstratos@pathcom.com>
* GSTALKER
- Merged all my changes with Mikael's, now there is 1 code base.
Changes too numerous to list.
* GSTALKER
- ported all file functions to use DB BTREE
* gstalker.h:
- new struct for chart index info called record2
* GSTALKER
- moved as many global variables into record struct
* GSTALKER
- removed many externs
* GSTALKER
- alot of stuff I can't remember, I should have made notes...
1999-06-30 Mikael Hallendal <micke@hallendal.net>
* draw.c:
(draw_rsi):
- Fixed bug so that over_bought and over_sold could draw outside the RSI
draw_area
(get_scale):
- Skips the initial -1's in the indicator-arrays
- Now sets scale->min = 0 and scale_max = 100
* GSTALKER:
- Added ROC
1999-06-29 Mikael Hallendal <micke@hallendal.net>
* main.c:
- Added ROC
* edit_options.c:
- Added color-selection for RSI and Momentum
* file.c:
- now includes indicators.h
1999-06-28 Mikael Hallendal <micke@hallendal.net>
* draw.c:
(draw_momentum):
- Now uses the global variable mom_array
(draw_rsi):
- Now uses the global variable rsi_array
* GSTALKER: Reversed to using global ma_array's
* edit_indicators.c (edit_indicators):
- Put all signal-handling after update_indicator_window
* draw.c (draw_rsi):
- draws the RSI indicator
* edit_indicators.c (ei_ma_checked):
- All checkbuttons for MA uses the same ei_ma_checked
1999-06-27 Mikael Hallendal <micke@hallendal.net>
* edit_indicators.c (ei_ma_spinner_changed):
- Changed so that ei_ma_spinner_changed now takes care of all MA-spinners.
(ei_ma_combo_changed):
- All combo's in MA-ei uses the same ei_ma_combo_changed
* main.c:
- cleaned up a bit.
1999-06-24 Mikael Hallendal <micke@hallendal.net>
* gstalker.h:
- Added GS_CHART_STYLE_DOTS to GsChartStyle
* draw.c (get_interval):
- Created function get_interval called by draw_scale and draw_grid
(get_pixelspace):
- extracted get_pixelspace ();
(draw_price):
- changed so that draw_line_diagram is used to draw line diagram.
* callbacks.c (update_data_window):
- Got segfault because I doesn't use the global variables for moving-a.
* draw.c (draw_date):
- Using G_DATE_ to compare with instead of numbers.
- Extracted the font-string to draw.h
(draw_scale):
- Extracted the font-string to draw.h
* gstalker.h:
- Added the type GsChartStyle which defines chart-style
* edit_indicators.c:
- Changed to GsMovingAType and GS_MA_SIMPLE...
* indicators.h:
- Changed to GsMovingAType and GS_MA_SIMPLE...
* indicators.c (calculate_MA):
- Changed to GsMovingAType and GS_MA_SIMPLE...
* callbacks.c:
- Using the new enum in chart-style context
* draw.c:
- Using the new enum in chart-style context
* gstalker.h:
- Added enum GsChartStyle
* indicators.h:
- Changed name from MovingAType to GsMovingAType
- Added GS_ in all GsMovingAType
1999-06-23 Mikael Hallendal <micke@hallendal.net>
* quotes.c:
- structured variables declarations
* monitor.c:
- structured variables declarations
* main.c:
- structured variables declarations
* indicators.c:
- structured variables declarations
* import.c:
- structured variables declarations
* group.c:
- structured variables declarations
* file.c:
- structured variables declarations
(load_file):
- changed mlow = 999999 to mlow = G_MAXFLOAT and wlow=999999 to wlow G_MAXFLOAT
* edit_options.c:
- structured variables declarations
* edit_indicators.c:
- structured variables declarations
* edit_chart_data.c:
- structured variables declarations
* currency.c:
- structured variables declarations
* charts.c:
- structured variables declarations
* callbacks.c:
- structured variables declarations
* alerts.c:
- structured variables declarations
1999-06-22 Mikael Hallendal <micke@hallendal.net>
* TODO:
- Translated to-fix to english :-)
* quotes.c:
- changed to GNU coding style
* import.c:
- changed to GNU coding style
* group.c:
- changed to GNU coding style
* file.c:
- changed to GNU coding style
* edit_options.c:
- changed to GNU coding style
* edit_chart_data.c:
- changed to GNU coding style
* currency.c:
- changed to GNU coding style
* charts.c:
- changed to GNU coding style
* callbacks.c:
- changed to GNU coding style
* alerts.c:
- changed to GNU coding style
* edit_indicators.c
(ei_ma_spinner_changed):
- No longer calls calculate_ma
(ei_ma2_spinner_changed):
- No longer calls calculate_ma2
(ei_ma3_spinner_changed):
- No longer calls calculate_ma3
(ei_ma2_combo_changed):
- No longer calls calculate_ma
- Now using MovingAType instead of 1,2,3
(ei_ma3_combo_changed):
- No longer calls calculate_ma2
- Now using MovingAType instead of 1,2,3
(ei_ma_checked):
- No longer calls calculate_ma3
- Now using MovingAType instead of 1,2,3
(update_indicator_window):
- Now using MovingAType instead of 1,2,3
(edit_indicators):
- Structured var-decl.
* indicators.h:
- Created to handle data in indicators.c
* draw.h:
- Created to handle data in draw.c
* indicators.c
- Created, containes calculations of all indicators.
(calculate_MA):
- Calculates moving avarage for all three MA
- Structured var-declare better
(get_simple_movavg):
- Moved from Callbacks.c
- structured variable declarations
(get_weighted_movavg):
- Moved from Callbacks.c
- structured variable declarations
(get_exponential_movavg):
- Moved from Callbacks.c
- structured variable declarations
(calculate_momentum):
- Created. Calculates the momentum-values
* draw.c
(draw_histogram):
- Created to draw histograms
- Draws from horizontal line a the zero-line
(draw_horizontal_line):
- Created to draw horizontal lines.
(draw_line_diagram):
- Created. Draws line-diagrams (as for example moving-av.)
(draw_dot_diagram):
- Created. Draws dot-diagrams
(draw_oscillator):
- Created. Draws oscillators
- Draws horizontal lines and line-diagram
(get_color):
- Created. Returns color from RGB-value
(set_color):
- Created. Sets color to an already defined color
(blank_chart):
- now calls get_color ()
- fixed variable declarations to look more structured
(draw_grid):
- Structured var-declare better
- Calls get_color ()
(draw_date):
- Structured var-declare better
- Calls get_color ()
(draw_scale):
- Structured var-declare better
- Calls get_color ()
(draw_price):
- Structured var-declare better
- Calls get_color ()
(draw):
- Structured var-declare better
- Calls get_color ()
- Added a momentum on the main-graph for testing
(draw_volume):
- Structured var-declare better
- Calls get_color ()
- Rewritten to use draw_histogram () instead of doing the drawing by it self
(draw_moving_average):
- Structured var-declare better
- Calls get_color ()
- Now takes care of all moving avarages.
(draw_momentum):
- Created draws the momentum indicator
(get_scale):
- Created. Looks for maximum and minimum in a serie of values
Changes since 1.1
-----------------
- gstalker is now a GNOME based app.
- removed alot of redundant functions.
- now using GNU wget for quotes instead of tcp4u socket library.
- changed all files to ascii based.
- better import function, can create custom field formats now.
- daily, weekly and monthly chart compression.
- quotes can be downloaded by date ranges.
- now using GTK 1.2 libs.
- lots of things I can't remember right now.
Changes since 1.0.7
-------------------
- added quotes retreival from Yahoo....Yahoo!
- using the tcp4u socket library for quote updates, included into the distribution.
- added an external program to convert data files from version 1.0.6 to version 1.0.7
called gstalker-convert.
- added routine to reset config file to new versions on start up.
- applied patch for Makefile to fix compile problems for new external programs.
- multiple selections are now used for certain list boxes.
- changed path for pixmaps to /usr/share/gstalker.
- fixed bug that didn't save changes to a group after deleting members.
- changed edit chart gui.
- added file version checking.
Changes since 1.0.6
-------------------
- fixed bug that didn't update data, alert and indiactor windows if you loaded a single chart,
then loaded a group.
- added uninstall option to the makefile.
- recoded charts to load using new structures, this is going to break all the data already
imported to gstalker. A re-import of all the data is has to be done to fix it. Sorry folks.
- path for pixmaps checked before starting up.
- can now resize to minimal size for low resolutions.
- added gstalker version field to config file.
- chart now updates if any colors are changed with out a manual reload.
- changed edit options window "ok" button to "save", button just saves config and doesn't
close the window anymore.
- added more colors.
- added progress bar and status messages to export functions.
- fixed a couple of bugs for the import function:
now ignores "/" in the date field this time!
now blank lines are ignored
better date validation
- new look to the alert and edit indicators window, you can now view the status,
edit and turn on and off all indiactors and alerts from a single window.
- recoded all the drawing routines to allow easier indicator additions.
- alot of code cleaned up and routines moved around, so beware any of you out there
making changes to this code.
- groups are now updated if a chart is deleted.
- fixed import behaviour when chart is active, no longer loads the new chart imported
that was imported.
- added 2 more moving average types (weighted and exponential).
- changed color selection to display actual colors.
- grid and volume and style button settings saved from each session now.
- global indicator and alert settings added.
- changed push buttons to toggle buttons for grid, volume, edit alert, edit indicator
and data window on the button bar.
- alerts now work for all moving average types.
- fixed bug that didn't draw chart properly if only close data was available.
- changed the style button to a global setting for all charts.
- added record # column to the data window.
- removed the right side volume scale ticks (kinda redundant when using the mouse).
- settings for import options are now saved from the previous session.
- changed grid from lines to points, looks nicer.
- added an external program (gstalker-import) that enables you to import data from a batch file.
- added color options for background and borders.
Changes since 1.0.5
-------------------
- fixed memory leak for all statusbar stacks.
- fixed segv on startup error if this is a new install.
- fixed segv if chart style is changed with no chart loaded.
Changes since 1.0.4
-------------------
- changed tooltip color background to yellow.
- added quotes around help text, added GSTALKER_DIR environment label for IRIX compile
(thanks d. hall for the patch)
- fixed bug in View menu, OHLC style choice didn't switch style properly.
- removed seperator selection from import window.
- added more date formats to import and export windows.
- added AUTHORS file to the source package.
- fixed typecast error for unsigned long arrays in load file.
- applied patch for new error message routines. (thanks Robert Anderson for the patch)
- seperated alert settings from indicators into it's own window, along with new button
on the button bar.
- added color settings for indicators and grid in options.
- started code clean up and reorg.
- changed chart header format to add fields for style, density and # of records in chart.
- moving average now has up to 3 individual plots at once.
- added auto upgrade function to convert data to new format.
- added goto record function in edit chart section.
- changed all pixmap creations to read from disk file, removed pixmaps.c file.
- changed make file to create and install pixmaps into /usr/local/share/gstalker.
- removed load_file.c file and put into chart.c file.
- added pixmap directory field to options dialog
Changes since 1.0b3:
--------------------
- now using new version scheme, now starting at 1.0.4
- changed edit chart to display rounded numbers for all fields.
- added save changes warning to edit chart.
- removed startup message complaining about group being empty.
- fixed spelling on View menu Expand chart.
- changed makefile to use gtk-config. (thanks Dirk Eddelbuettel for the patch)
- edit indicators now auto saves if edited and chart changes.
- fixed bug in progress bars for import and alerts. (thanks Steffen Kerr for the patch)
- put all extern declarations for sub routines into myheader.h for egcs and IRIX compilation
(thanks d. hall for the patch)
- added warning save dialogs for edit options and edit indicators windows.
- added moving average data to data window.
Changes since 1.0b2:
--------------------
- fixed bug in edit chart, that didn't handle deleting last record properly.
- fixed permissions when creating gstalker directories, was aborting immediately.
Changes since 1.0b1:
--------------------
- when you create a new group, it now launches directly into the group editor.
- goto list now centers and highlights the active chart.
- added symbol and name info to titlebar of edit indicators window.
- added vertical grid lines to charts.
- fixed major bug in edit chart that didn't save or display the name field correctly.
- removed symbol editing field from the edit chart window, it was breaking links to groups.
For now, if you want to change a symbol name, you have to delete it and then import it
as a new symbol.
- changed date format displayed in the data window to MM/DD/YYYY.
- fixed bug that didn't update stats bar when turning it off/on.
- currently loaded chart now updates if an edit is made.
- added sample data for import located in samples directory.
- those annoying compilation and xpm startup error messages now gone
(thanks Steffen Kerr for the patch).
- recoded directory reads to standard methods.
- added notification when first starting up for directory creation.
|