Yes, it is using JavaScript.

Here is the function is calls:

var marginAvailableCalculator = Class.create(FXMathBase, {
    initialize: function($super) {
        $super($A(["accountCurrencies", "currencyPairs", "customRateBase", 
"marginRatios", "unitAmount"]), $A(["marginUsed"]))
    },
    marginUsed: function() {
        return this.createInput("Margin Used", "marginUsed", {
            listenTo: "accountCurrencies"
        })
    },
    calculate: function() {
        if (this.startCalc() && this.checkFieldErrors()) {
            var a = "(customRateBase*unitAmount)/marginRatios";
            this.results.get("marginUsed").node.value = this.round(this.
evaluateFormula(a), 2)
        }
    }
}); 


I found that in the debugger, under www.oanda.com\wandacache\fxmatch-*

If you wanted to capture that you would have to use something that supports 
JavaScript.
I use selenium / PhantomJS and Scrapy together in order to do this.

David

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to