[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: - getting comodities and FOREX data



PureBytes Links

Trading Reference Links


Hi,

It would be really great to have real time forex quotes from our forex
broker in Amibroker. That's why I was trying to get things work with
hyperserver.

Haven't tried hyperorder yet. HS+AB is a priority for me. Historical
quotes are retrieved OK. the problem is that real time quotes don't
work, no matter what. The turnaround I have found is to do manual
refreshes.

I'm using a demo version of AB. Does it something to do with?

Feel free to correct my spelling. :-P

Pedro.


--- In amibroker@xxxxxxxxxxxxxxx, "Thomas Zmuck" <tzg@xxxx> wrote:
> Hello,
> 
>  
> 
> Check out this thread: http://forum.hypertrader.ws/showthread.php?t=434
> 
>  
> 
> At least their support told me that currently it doesn't work !
> 
> They will work on it if they have time, but currently they have no
time :-(
> 
>  
> 
> Have you tried their hyperorder tool ?
> 
> I have tried through the email dispatcher and it works.
> 
> However they also give the posibility to use their SDK (API)
> 
> This would allow to get informations about open positions, etc...
> 
>  
> 
> Unfortunately i have no idea how to to use it with amibroker.
> 
> Maybe someone is interested too and so we could get it to work.
> 
>  
> 
> Below ist he description i have found in the hypertrader SDK help:
> 
> Would be really excellent if someone can describe the use for amibroker.
> 
> 
> BuyMarket
> 
> 
> The BuyMarket function is aimed to place an order to purchase a
security at
> current market price. It can be used to open a long position or to
close out
> a short position.
> 
> 
> 
> Delphi
> 
> 
> function BuyMarket(Symbol: PChar; SymType: PChar; Expiry: PChar; Right:
> PChar; Strike: Single; Exchange: PChar; Currency: PChar; Quantity:
Integer):
> longint; stdcall 
>   external 'hocts.dll' name 'BUYMARKET';
> 
>  
> 
> JScript
> 
> 
> var hocts=new DLL("hocts.dll");
>    hocts.addFunction("BuyMarket",DLL.INT,DLL.STDCALL,"BUYMARKET",
>    DLL.STRING,DLL.STRING,DLL.STRING,DLL.STRING,DLL.FLOAT,
>    DLL.STRING,DLL.STRING,DLL.SHORT); 
> 
>  
> 
> 
> Parameters
> 
> 
> Symbol 
> 
> Pointer to a null-terminated string of name of symbol. 
> 
> SymType 
> 
> Pointer to a null-terminated string of symbol type. Possible values
are - 
> 
> *        STK - Stock. 
> 
> *        OPT - Option. 
> 
> *        FUT - Futures. 
> 
> *        FOP - Futures Option. 
> 
> *        CASH - Cash. 
> 
> Expiry 
> 
> Pointer to a null-terminated string of expiration. For futures,
options and
> future options it should be specified in following format - YYYYMM,
where
> YYYY is a four digit year, MM - two digit month. For example, 200412 is
> expiration of December 2004.
> For other symbol types use empty string. 
> 
> Right 
> 
> Pointer to a null-terminated string of Put / Call information. This
> parameter should be specified for options and future options only.
For other
> symbol types use empty string. Possible values are - P / PUT and C /
CALL. 
> 
> Strike 
> 
> Float value of symbol's strike price. This parameter should be
specified for
> options and future options only. For other symbol types use zero. 
> 
> Exchange 
> 
> Pointer to a null-terminated string of symbol's exchange in Broker
Feed. 
> 
> Currency 
> 
> Pointer to a null-terminated string of currency. This parameter
should be
> specified for cash orders only. For other symbol types use empty
string. 
> 
> Quantity 
> 
> Numeric value of total amount of securities you want to buy. 
> 
> Return Values
> 
> The function returns numeric unique order ID assigned to this order by
> Broker Feed. Function returns zero if the Host program didn't
transmit this
> order to Broker Feed. 
> 
> See Also
> 
> SellMerket
>
<mk:@MSITStore:C:\Programme\HyperOrder\SDK\HyperOrder%20SDK.chm::/HTML/F_Sel
> lMarket.htm> 
> 
>  
> 
>  
> 
>  
> 
>  
> 
> _ _ _ _ _ _ _ _ _ _ _ _ 
> 
>  
> 
> Best regards
> 
>  
> 
>  
> 
> Thomas Zmuck
> 
>  
> 
> www.tradingbasis.com <http://www.tradingbasis.com/> 
> 
> _ _ _ _ _ _ _ _ _ _ _ _ 
> 
>  
> 
>  
> 
> -----Original Message-----
> From: maineimisbond [mailto:maineimisbond@x...] 
> Sent: Tuesday, November 16, 2004 12:56 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: - getting comodities and FOREX data
> 
>  
> 
>  
> 
>  
> 
>  
> 
> I'm trying to make AB-Hyperserver (on demand) connection (Alpari
> 
> feeded), historical quotes are retrieved but I can't obtain realtime
> 
> quotes, I have to do manual refreshes.
> 
>  
> 
> If you like this way, you can try it. Symbol quotes are the same used
> 
> in Metatrader (EURUSD, USDAUD, and so on).
> 
>  
> 
> Good luck.
> 
> Pedro.
> 
>  
> 
> --- In amibroker@xxxxxxxxxxxxxxx, das300@xxxx wrote:
> 
> > 
> 
> > - does anyone know where i can find the definitions of the FOREX for 
> 
> > Amiquote ?
> 
> > I cannot get the FOREX import happening say aussie dollar
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
>  
> 
> Check AmiBroker web page at:
> 
> http://www.amibroker.com/
> 
>  
> 
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Yahoo! Groups Links
> 
>  
> 
>     http://groups.yahoo.com/group/amibroker/
> 
>  
> 
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>  
> 
>     http://docs.yahoo.com/info/terms/
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> 
> [Non-text portions of this message have been removed]





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/